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_wxICOHandler swig_types[57]
2524 #define SWIGTYPE_p_wxIcon swig_types[58]
2525 #define SWIGTYPE_p_wxIconBundle swig_types[59]
2526 #define SWIGTYPE_p_wxIconLocation swig_types[60]
2527 #define SWIGTYPE_p_wxIconizeEvent swig_types[61]
2528 #define SWIGTYPE_p_wxIdleEvent swig_types[62]
2529 #define SWIGTYPE_p_wxImage swig_types[63]
2530 #define SWIGTYPE_p_wxImageHandler swig_types[64]
2531 #define SWIGTYPE_p_wxImageList swig_types[65]
2532 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[66]
2533 #define SWIGTYPE_p_wxInitDialogEvent swig_types[67]
2534 #define SWIGTYPE_p_wxJPEGHandler swig_types[68]
2535 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
2536 #define SWIGTYPE_p_wxLanguageInfo swig_types[70]
2537 #define SWIGTYPE_p_wxLayoutConstraints swig_types[71]
2538 #define SWIGTYPE_p_wxLocale swig_types[72]
2539 #define SWIGTYPE_p_wxMask swig_types[73]
2540 #define SWIGTYPE_p_wxMaximizeEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMemoryDC swig_types[75]
2542 #define SWIGTYPE_p_wxMenu swig_types[76]
2543 #define SWIGTYPE_p_wxMenuBar swig_types[77]
2544 #define SWIGTYPE_p_wxMenuEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMenuItem swig_types[79]
2546 #define SWIGTYPE_p_wxMetaFile swig_types[80]
2547 #define SWIGTYPE_p_wxMetaFileDC swig_types[81]
2548 #define SWIGTYPE_p_wxMirrorDC swig_types[82]
2549 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[83]
2550 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[84]
2551 #define SWIGTYPE_p_wxMouseEvent swig_types[85]
2552 #define SWIGTYPE_p_wxMoveEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[87]
2554 #define SWIGTYPE_p_wxNativeFontInfo swig_types[88]
2555 #define SWIGTYPE_p_wxNativePixelData swig_types[89]
2556 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[90]
2557 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[91]
2558 #define SWIGTYPE_p_wxNcPaintEvent swig_types[92]
2559 #define SWIGTYPE_p_wxNotifyEvent swig_types[93]
2560 #define SWIGTYPE_p_wxObject swig_types[94]
2561 #define SWIGTYPE_p_wxPCXHandler swig_types[95]
2562 #define SWIGTYPE_p_wxPNGHandler swig_types[96]
2563 #define SWIGTYPE_p_wxPNMHandler swig_types[97]
2564 #define SWIGTYPE_p_wxPaintDC swig_types[98]
2565 #define SWIGTYPE_p_wxPaintEvent swig_types[99]
2566 #define SWIGTYPE_p_wxPalette swig_types[100]
2567 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxPaperSize swig_types[102]
2569 #define SWIGTYPE_p_wxPen swig_types[103]
2570 #define SWIGTYPE_p_wxPenList swig_types[104]
2571 #define SWIGTYPE_p_wxPixelDataBase swig_types[105]
2572 #define SWIGTYPE_p_wxPoint swig_types[106]
2573 #define SWIGTYPE_p_wxPostScriptDC swig_types[107]
2574 #define SWIGTYPE_p_wxPrintData swig_types[108]
2575 #define SWIGTYPE_p_wxPrinterDC swig_types[109]
2576 #define SWIGTYPE_p_wxPseudoDC swig_types[110]
2577 #define SWIGTYPE_p_wxPyApp swig_types[111]
2578 #define SWIGTYPE_p_wxPyCommandEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[114]
2581 #define SWIGTYPE_p_wxPyImageHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPyLocale swig_types[116]
2583 #define SWIGTYPE_p_wxPySizer swig_types[117]
2584 #define SWIGTYPE_p_wxPyValidator swig_types[118]
2585 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[119]
2586 #define SWIGTYPE_p_wxRect swig_types[120]
2587 #define SWIGTYPE_p_wxRegion swig_types[121]
2588 #define SWIGTYPE_p_wxRegionIterator swig_types[122]
2589 #define SWIGTYPE_p_wxRendererNative swig_types[123]
2590 #define SWIGTYPE_p_wxRendererVersion swig_types[124]
2591 #define SWIGTYPE_p_wxScreenDC swig_types[125]
2592 #define SWIGTYPE_p_wxScrollEvent swig_types[126]
2593 #define SWIGTYPE_p_wxScrollWinEvent swig_types[127]
2594 #define SWIGTYPE_p_wxSetCursorEvent swig_types[128]
2595 #define SWIGTYPE_p_wxShowEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSize swig_types[130]
2597 #define SWIGTYPE_p_wxSizeEvent swig_types[131]
2598 #define SWIGTYPE_p_wxSizer swig_types[132]
2599 #define SWIGTYPE_p_wxSizerItem swig_types[133]
2600 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[134]
2601 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
2602 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[136]
2603 #define SWIGTYPE_p_wxStockGDI swig_types[137]
2604 #define SWIGTYPE_p_wxString swig_types[138]
2605 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[139]
2606 #define SWIGTYPE_p_wxTIFFHandler swig_types[140]
2607 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[141]
2608 #define SWIGTYPE_p_wxValidator swig_types[142]
2609 #define SWIGTYPE_p_wxWindow swig_types[143]
2610 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[144]
2611 #define SWIGTYPE_p_wxWindowDC swig_types[145]
2612 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[146]
2613 #define SWIGTYPE_p_wxXPMHandler swig_types[147]
2614 static swig_type_info
*swig_types
[149];
2615 static swig_module_info swig_module
= {swig_types
, 148, 0, 0, 0, 0};
2616 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2617 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2619 /* -------- TYPES TABLE (END) -------- */
2621 #if (PY_VERSION_HEX <= 0x02000000)
2622 # if !defined(SWIG_PYTHON_CLASSIC)
2623 # error "This python version requires to use swig with the '-classic' option"
2626 #if (PY_VERSION_HEX <= 0x02020000)
2627 # error "This python version requires to use swig with the '-nomodern' option"
2629 #if (PY_VERSION_HEX <= 0x02020000)
2630 # error "This python version requires to use swig with the '-nomodernargs' option"
2633 # error "This python version requires to use swig with the '-nofastunpack' option"
2636 /*-----------------------------------------------
2637 @(target):= _gdi_.so
2638 ------------------------------------------------*/
2639 #define SWIG_init init_gdi_
2641 #define SWIG_name "_gdi_"
2643 #define SWIGVERSION 0x010329
2646 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2647 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2650 #include <stdexcept>
2654 class PyObject_ptr
{
2659 PyObject_ptr() :_obj(0)
2663 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2668 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2670 if (initial_ref
) Py_XINCREF(_obj
);
2673 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2675 Py_XINCREF(item
._obj
);
2686 operator PyObject
*() const
2691 PyObject
*operator->() const
2700 struct PyObject_var
: PyObject_ptr
{
2701 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2703 PyObject_var
& operator = (PyObject
* obj
)
2713 #include "wx/wxPython/wxPython.h"
2714 #include "wx/wxPython/pyclasses.h"
2717 static const wxString
wxPyEmptyString(wxEmptyString
);
2719 #define SWIG_From_long PyInt_FromLong
2722 SWIGINTERNINLINE PyObject
*
2723 SWIG_From_int (int value
)
2725 return SWIG_From_long (value
);
2731 # define LLONG_MIN LONG_LONG_MIN
2734 # define LLONG_MAX LONG_LONG_MAX
2737 # define ULLONG_MAX ULONG_LONG_MAX
2742 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2744 if (PyNumber_Check(obj
)) {
2745 if (val
) *val
= PyInt_AsLong(obj
);
2748 return SWIG_TypeError
;
2753 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2756 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2757 return SWIG_TypeError
;
2760 *val
= (unsigned long)v
;
2766 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2769 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2770 if (SWIG_IsOK(res
)) {
2771 if ((v
> UCHAR_MAX
)) {
2772 return SWIG_OverflowError
;
2774 if (val
) *val
= static_cast< unsigned char >(v
);
2781 SWIGINTERNINLINE PyObject
*
2782 SWIG_From_unsigned_SS_long (unsigned long value
)
2784 return (value
> LONG_MAX
) ?
2785 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2789 SWIGINTERNINLINE PyObject
*
2790 SWIG_From_unsigned_SS_char (unsigned char value
)
2792 return SWIG_From_unsigned_SS_long (value
);
2795 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2796 wxColour temp
, *obj
= &temp
;
2797 if ( other
== Py_None
) return false;
2798 if ( ! wxColour_helper(other
, &obj
) ) {
2802 return self
->operator==(*obj
);
2804 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2805 wxColour temp
, *obj
= &temp
;
2806 if ( other
== Py_None
) return true;
2807 if ( ! wxColour_helper(other
, &obj
)) {
2811 return self
->operator!=(*obj
);
2815 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2817 if (obj
== Py_True
) {
2818 if (val
) *val
= true;
2820 } else if (obj
== Py_False
) {
2821 if (val
) *val
= false;
2825 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2826 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2831 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2832 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2836 int alpha
= wxALPHA_OPAQUE
;
2839 green
= self
->Green();
2840 blue
= self
->Blue();
2841 alpha
= self
->Alpha();
2843 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2844 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2845 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2847 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2850 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2851 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2855 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2858 int res
= SWIG_AsVal_long (obj
, &v
);
2859 if (SWIG_IsOK(res
)) {
2860 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2861 return SWIG_OverflowError
;
2863 if (val
) *val
= static_cast< int >(v
);
2869 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2871 int count
= self
->GetDashes(&dashes
);
2872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2873 PyObject
* retval
= PyList_New(0);
2874 for (int x
=0; x
<count
; x
++) {
2875 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2876 PyList_Append(retval
, pyint
);
2879 wxPyEndBlockThreads(blocked
);
2882 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2883 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2884 int size
= PyList_Size(pyDashes
);
2885 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2887 // black magic warning! The array of wxDashes needs to exist as
2888 // long as the pen does because wxPen does not copy the array. So
2889 // stick a copy in a Python string object and attach it to _self,
2890 // and then call SetDashes with a pointer to that array. Then
2891 // when the Python pen object is destroyed the array will be
2893 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2894 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2896 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2898 Py_DECREF(strDashes
);
2899 wxPyEndBlockThreads(blocked
);
2901 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2902 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2904 SWIGINTERNINLINE PyObject
*
2905 SWIG_From_short (short value
)
2907 return SWIG_From_long (value
);
2912 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2915 int res
= SWIG_AsVal_long (obj
, &v
);
2916 if (SWIG_IsOK(res
)) {
2917 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2918 return SWIG_OverflowError
;
2920 if (val
) *val
= static_cast< short >(v
);
2927 #include <wx/rawbmp.h>
2930 #include <wx/image.h>
2932 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2933 char** cArray
= NULL
;
2936 if (!PyList_Check(listOfStrings
)) {
2937 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2940 count
= PyList_Size(listOfStrings
);
2941 cArray
= new char*[count
];
2943 for(int x
=0; x
<count
; x
++) {
2944 // TODO: Need some validation and error checking here
2945 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2951 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2952 char** cArray
= NULL
;
2955 cArray
= ConvertListOfStrings(listOfStrings
);
2958 bmp
= new wxBitmap(cArray
);
2962 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2965 PyString_AsStringAndSize(bits
, &buf
, &length
);
2966 return new wxBitmap(buf
, width
, height
, depth
);
2968 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2969 wxSize
size(self
->GetWidth(), self
->GetHeight());
2972 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2973 wxMask
*mask
= new wxMask(*self
, colour
);
2974 self
->SetMask(mask
);
2976 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2977 self
->SetWidth(size
.x
);
2978 self
->SetHeight(size
.y
);
2980 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2981 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2983 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2984 // appears to me that the other platforms are already doing it, so I'll just
2985 // automatically do it for wxMSW here.
2987 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2988 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2990 #define wxPy_premultiply(p, a) (p)
2991 #define wxPy_unpremultiply(p, a) (p)
2995 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2996 buffer data
, int DATASIZE
,
2997 buffer alpha
, int ALPHASIZE
)
2999 if (DATASIZE
!= width
*height
*3) {
3000 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3004 if (ALPHASIZE
!= width
*height
) {
3005 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3009 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3010 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3012 // raise an exception...
3013 wxPyErr_SetString(PyExc_RuntimeError
,
3014 "Failed to gain raw access to bitmap data.");
3019 wxAlphaPixelData::Iterator
p(pixData
);
3020 for (int y
=0; y
<height
; y
++) {
3021 wxAlphaPixelData::Iterator rowStart
= p
;
3022 for (int x
=0; x
<width
; x
++) {
3023 byte a
= *(alpha
++);
3024 p
.Red() = wxPy_premultiply(*(data
++), a
);
3025 p
.Green() = wxPy_premultiply(*(data
++), a
);
3026 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3031 p
.OffsetY(pixData
, 1);
3036 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3038 if (DATASIZE
!= width
*height
*3) {
3039 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3043 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3044 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3046 // raise an exception...
3047 wxPyErr_SetString(PyExc_RuntimeError
,
3048 "Failed to gain raw access to bitmap data.");
3052 wxNativePixelData::Iterator
p(pixData
);
3053 for (int y
=0; y
<height
; y
++) {
3054 wxNativePixelData::Iterator rowStart
= p
;
3055 for (int x
=0; x
<width
; x
++) {
3056 p
.Red() = *(data
++);
3057 p
.Green() = *(data
++);
3058 p
.Blue() = *(data
++);
3062 p
.OffsetY(pixData
, 1);
3068 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3070 if (DATASIZE
!= width
*height
*4) {
3071 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3075 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3076 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3078 // raise an exception...
3079 wxPyErr_SetString(PyExc_RuntimeError
,
3080 "Failed to gain raw access to bitmap data.");
3085 wxAlphaPixelData::Iterator
p(pixData
);
3086 for (int y
=0; y
<height
; y
++) {
3087 wxAlphaPixelData::Iterator rowStart
= p
;
3088 for (int x
=0; x
<width
; x
++) {
3090 p
.Red() = wxPy_premultiply(*(data
++), a
);
3091 p
.Green() = wxPy_premultiply(*(data
++), a
);
3092 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3093 p
.Alpha() = a
; data
++;
3097 p
.OffsetY(pixData
, 1);
3103 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3105 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3106 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3107 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3109 self
->Green() = green
;
3110 self
->Blue() = blue
;
3112 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3113 PyObject
* rv
= PyTuple_New(3);
3114 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3115 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3116 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3120 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3122 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3123 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3124 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3125 self
->Red() = wxPy_premultiply(red
, alpha
);
3126 self
->Green() = wxPy_premultiply(green
, alpha
);
3127 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3128 self
->Alpha() = alpha
;
3130 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3131 PyObject
* rv
= PyTuple_New(4);
3132 int red
= self
->Red();
3133 int green
= self
->Green();
3134 int blue
= self
->Blue();
3135 int alpha
= self
->Alpha();
3137 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3138 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3139 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3140 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3143 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3145 return new wxMask(bitmap
, *wxBLACK
);
3147 return new wxMask(bitmap
, colour
);
3150 #include <wx/iconbndl.h>
3152 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3153 wxIcon
* icon
= new wxIcon();
3154 icon
->CopyFromBitmap(bmp
);
3157 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3158 char** cArray
= NULL
;
3161 cArray
= ConvertListOfStrings(listOfStrings
);
3164 icon
= new wxIcon(cArray
);
3168 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3172 return new wxIconLocation(*filename
);
3175 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3182 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3189 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3191 wxImage
img(cursorName
, type
);
3192 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3193 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3194 return new wxCursor(img
);
3196 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3201 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3204 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3205 return self
->operator bool();
3208 #include <wx/fontutil.h>
3209 #include <wx/fontmap.h>
3210 #include <wx/fontenum.h>
3212 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3213 return self
->ToString();
3216 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3217 static wxNativeEncodingInfo info
;
3218 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3225 SWIGINTERNINLINE PyObject
*
3226 SWIG_From_size_t (size_t value
)
3228 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3232 SWIGINTERNINLINE
int
3233 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3236 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3237 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3241 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3242 wxFontEncoding alt_enc
;
3243 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3244 return PyInt_FromLong(alt_enc
);
3250 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3251 wxNativeFontInfo nfi
;
3252 nfi
.FromString(info
);
3253 return new wxFont(nfi
);
3255 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3256 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3258 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3259 return wxFontBase::New(pixelSize
, family
,
3260 style
, weight
, underlined
,
3263 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3264 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3266 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3267 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3269 class wxPyFontEnumerator
: public wxFontEnumerator
{
3271 wxPyFontEnumerator() {}
3272 ~wxPyFontEnumerator() {}
3274 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3275 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3280 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3281 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3284 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3286 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3287 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3288 ret
= wxArrayString2PyList_helper(arr
);
3289 wxPyEndBlockThreads(blocked
);
3292 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3294 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3295 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3296 ret
= wxArrayString2PyList_helper(arr
);
3297 wxPyEndBlockThreads(blocked
);
3303 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3306 loc
= new wxLocale();
3308 loc
= new wxLocale(language
, flags
);
3309 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3310 // for the floating point conversions and such to work right.
3311 #if PY_VERSION_HEX < 0x02040000
3312 setlocale(LC_NUMERIC
, "C");
3316 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3317 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3318 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3319 // for the floating point conversions and such to work right.
3320 #if PY_VERSION_HEX < 0x02040000
3321 setlocale(LC_NUMERIC
, "C");
3325 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3326 bool rc
= self
->Init(language
, flags
);
3327 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3328 // for the floating point conversions and such to work right.
3329 #if PY_VERSION_HEX < 0x02040000
3330 setlocale(LC_NUMERIC
, "C");
3335 class wxPyLocale
: public wxLocale
3340 wxPyLocale(const wxChar
*szName
, // name (for messages)
3341 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3342 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3343 bool bLoadDefault
= true, // preload wxstd.mo?
3344 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3346 wxPyLocale(int language
, // wxLanguage id or custom language
3347 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3351 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3352 const wxChar
*szDomain
= NULL
) const;
3353 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3354 const wxChar
*szOrigString2
, size_t n
,
3355 const wxChar
*szDomain
= NULL
) const;
3357 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3358 const wxChar
*szDomain
= NULL
) const;
3359 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3360 const wxChar
*szOrigString2
, size_t n
,
3361 const wxChar
*szDomain
= NULL
) const;
3365 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3368 wxPyLocale::wxPyLocale() : wxLocale()
3372 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3373 const wxChar
*szShort
, // dir prefix (for msg files)
3374 const wxChar
*szLocale
, // locale (for setlocale)
3375 bool bLoadDefault
, // preload wxstd.mo?
3376 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3377 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3381 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3382 int flags
) : wxLocale(language
, flags
)
3386 wxPyLocale::~wxPyLocale()
3390 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3391 const wxChar
*szDomain
) const
3393 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3394 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3397 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3398 const wxChar
*szOrigString2
, size_t n
,
3399 const wxChar
*szDomain
) const
3401 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3402 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3405 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3406 const wxChar
*szDomain
) const
3409 static wxString str
;
3410 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.
3411 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3412 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3413 PyObject
* param1
= wx2PyString(szOrigString
);
3414 PyObject
* param2
= wx2PyString(szDomain
);
3415 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3419 str
= Py2wxString(ret
);
3423 wxPyEndBlockThreads(blocked
);
3424 return (found
? (wxChar
*)str
.c_str() : NULL
);
3427 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3428 const wxChar
*szOrigString2
, size_t n
,
3429 const wxChar
*szDomain
) const
3432 static wxString str
;
3433 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.
3434 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3435 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3436 PyObject
* param1
= wx2PyString(szOrigString
);
3437 PyObject
* param2
= wx2PyString(szOrigString2
);
3438 PyObject
* param4
= wx2PyString(szDomain
);
3439 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3444 str
= Py2wxString(ret
);
3448 wxPyEndBlockThreads(blocked
);
3449 return (found
? (wxChar
*)str
.c_str() : NULL
);
3452 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3455 loc
= new wxPyLocale();
3457 loc
= new wxPyLocale(language
, flags
);
3458 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3459 // for the floating point conversions and such to work right.
3460 #if PY_VERSION_HEX < 0x02040000
3461 setlocale(LC_NUMERIC
, "C");
3466 #include "wx/wxPython/pydrawxxx.h"
3468 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3470 self
->GetPixel(x
, y
, &col
);
3473 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3475 self
->GetPixel(pt
, &col
);
3480 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3482 if (PyNumber_Check(obj
)) {
3483 if (val
) *val
= PyFloat_AsDouble(obj
);
3486 return SWIG_TypeError
;
3489 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3491 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3494 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3496 self
->GetClippingBox(rect
);
3499 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3501 self
->GetPartialTextExtents(text
, widths
);
3505 #define SWIG_From_double PyFloat_FromDouble
3507 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3508 self
->SetLogicalOrigin(point
.x
, point
.y
);
3510 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3511 self
->SetDeviceOrigin(point
.x
, point
.y
);
3513 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3514 self
->CalcBoundingBox(point
.x
, point
.y
);
3516 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3517 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3519 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3520 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3522 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3523 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3525 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3526 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3528 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3529 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3531 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3532 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3535 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3543 #include <wx/dcbuffer.h>
3546 #include <wx/dcps.h>
3549 #include <wx/metafile.h>
3553 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3554 self
->AddColour(name
, wxColour(red
, green
, blue
));
3557 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3558 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3559 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3560 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3563 #include <wx/effects.h>
3566 #include "wx/renderer.h"
3569 SWIGINTERNINLINE PyObject
*
3570 SWIG_From_bool (bool value
)
3572 return PyBool_FromLong(value
? 1 : 0);
3576 #include "wx/wxPython/pseudodc.h"
3578 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3580 self
->GetIdBounds(id
, rect
);
3586 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3587 PyObject
*resultobj
= 0;
3588 wxGDIObject
*result
= 0 ;
3590 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3592 if (!wxPyCheckForApp()) SWIG_fail
;
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 result
= (wxGDIObject
*)new wxGDIObject();
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3605 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3606 PyObject
*resultobj
= 0;
3607 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3610 PyObject
*swig_obj
[1] ;
3612 if (!args
) SWIG_fail
;
3614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3615 if (!SWIG_IsOK(res1
)) {
3616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3618 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) SWIG_fail
;
3626 resultobj
= SWIG_Py_Void();
3633 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3634 PyObject
*resultobj
= 0;
3635 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3639 PyObject
*swig_obj
[1] ;
3641 if (!args
) SWIG_fail
;
3643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3644 if (!SWIG_IsOK(res1
)) {
3645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3647 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3650 result
= (bool)(arg1
)->IsNull();
3651 wxPyEndAllowThreads(__tstate
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3663 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3666 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3667 return SWIG_Py_Void();
3670 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3671 return SWIG_Python_InitShadowInstance(args
);
3674 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
*resultobj
= 0;
3676 byte arg1
= (byte
) 0 ;
3677 byte arg2
= (byte
) 0 ;
3678 byte arg3
= (byte
) 0 ;
3679 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3680 wxColour
*result
= 0 ;
3681 unsigned char val1
;
3683 unsigned char val2
;
3685 unsigned char val3
;
3687 unsigned char val4
;
3689 PyObject
* obj0
= 0 ;
3690 PyObject
* obj1
= 0 ;
3691 PyObject
* obj2
= 0 ;
3692 PyObject
* obj3
= 0 ;
3693 char * kwnames
[] = {
3694 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3699 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3700 if (!SWIG_IsOK(ecode1
)) {
3701 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3703 arg1
= static_cast< byte
>(val1
);
3706 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3707 if (!SWIG_IsOK(ecode2
)) {
3708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3710 arg2
= static_cast< byte
>(val2
);
3713 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3714 if (!SWIG_IsOK(ecode3
)) {
3715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3717 arg3
= static_cast< byte
>(val3
);
3720 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3721 if (!SWIG_IsOK(ecode4
)) {
3722 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3724 arg4
= static_cast< byte
>(val4
);
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3739 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
*resultobj
= 0;
3741 wxString
*arg1
= 0 ;
3742 wxColour
*result
= 0 ;
3743 bool temp1
= false ;
3744 PyObject
* obj0
= 0 ;
3745 char * kwnames
[] = {
3746 (char *) "colorName", NULL
3749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3751 arg1
= wxString_in_helper(obj0
);
3752 if (arg1
== NULL
) SWIG_fail
;
3756 if (!wxPyCheckForApp()) SWIG_fail
;
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3777 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
*resultobj
= 0;
3779 unsigned long arg1
;
3780 wxColour
*result
= 0 ;
3781 unsigned long val1
;
3783 PyObject
* obj0
= 0 ;
3784 char * kwnames
[] = {
3785 (char *) "colRGB", NULL
3788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3789 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3790 if (!SWIG_IsOK(ecode1
)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3793 arg1
= static_cast< unsigned long >(val1
);
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 result
= (wxColour
*)new wxColour(arg1
);
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3800 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3807 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3808 PyObject
*resultobj
= 0;
3809 wxColour
*arg1
= (wxColour
*) 0 ;
3812 PyObject
*swig_obj
[1] ;
3814 if (!args
) SWIG_fail
;
3816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3817 if (!SWIG_IsOK(res1
)) {
3818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3820 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3828 resultobj
= SWIG_Py_Void();
3835 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3836 PyObject
*resultobj
= 0;
3837 wxColour
*arg1
= (wxColour
*) 0 ;
3841 PyObject
*swig_obj
[1] ;
3843 if (!args
) SWIG_fail
;
3845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3846 if (!SWIG_IsOK(res1
)) {
3847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3849 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 result
= (byte
)(arg1
)->Red();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3863 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3864 PyObject
*resultobj
= 0;
3865 wxColour
*arg1
= (wxColour
*) 0 ;
3869 PyObject
*swig_obj
[1] ;
3871 if (!args
) SWIG_fail
;
3873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3874 if (!SWIG_IsOK(res1
)) {
3875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3877 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 result
= (byte
)(arg1
)->Green();
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3884 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3891 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3892 PyObject
*resultobj
= 0;
3893 wxColour
*arg1
= (wxColour
*) 0 ;
3897 PyObject
*swig_obj
[1] ;
3899 if (!args
) SWIG_fail
;
3901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3902 if (!SWIG_IsOK(res1
)) {
3903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3905 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 result
= (byte
)(arg1
)->Blue();
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) SWIG_fail
;
3912 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3919 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3920 PyObject
*resultobj
= 0;
3921 wxColour
*arg1
= (wxColour
*) 0 ;
3925 PyObject
*swig_obj
[1] ;
3927 if (!args
) SWIG_fail
;
3929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3930 if (!SWIG_IsOK(res1
)) {
3931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
3933 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3936 result
= (byte
)(arg1
)->Alpha();
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) SWIG_fail
;
3940 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3947 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3948 PyObject
*resultobj
= 0;
3949 wxColour
*arg1
= (wxColour
*) 0 ;
3953 PyObject
*swig_obj
[1] ;
3955 if (!args
) SWIG_fail
;
3957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3958 if (!SWIG_IsOK(res1
)) {
3959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3961 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 result
= (bool)(arg1
)->Ok();
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3977 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
*resultobj
= 0;
3979 wxColour
*arg1
= (wxColour
*) 0 ;
3983 byte arg5
= (byte
) wxALPHA_OPAQUE
;
3986 unsigned char val2
;
3988 unsigned char val3
;
3990 unsigned char val4
;
3992 unsigned char val5
;
3994 PyObject
* obj0
= 0 ;
3995 PyObject
* obj1
= 0 ;
3996 PyObject
* obj2
= 0 ;
3997 PyObject
* obj3
= 0 ;
3998 PyObject
* obj4
= 0 ;
3999 char * kwnames
[] = {
4000 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4005 if (!SWIG_IsOK(res1
)) {
4006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4008 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4009 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4010 if (!SWIG_IsOK(ecode2
)) {
4011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4013 arg2
= static_cast< byte
>(val2
);
4014 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4015 if (!SWIG_IsOK(ecode3
)) {
4016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4018 arg3
= static_cast< byte
>(val3
);
4019 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4020 if (!SWIG_IsOK(ecode4
)) {
4021 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4023 arg4
= static_cast< byte
>(val4
);
4025 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4026 if (!SWIG_IsOK(ecode5
)) {
4027 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4029 arg5
= static_cast< byte
>(val5
);
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= SWIG_Py_Void();
4044 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
*resultobj
= 0;
4046 wxColour
*arg1
= (wxColour
*) 0 ;
4047 unsigned long arg2
;
4050 unsigned long val2
;
4052 PyObject
* obj0
= 0 ;
4053 PyObject
* obj1
= 0 ;
4054 char * kwnames
[] = {
4055 (char *) "self",(char *) "colRGB", NULL
4058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4060 if (!SWIG_IsOK(res1
)) {
4061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4063 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4064 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4065 if (!SWIG_IsOK(ecode2
)) {
4066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4068 arg2
= static_cast< unsigned long >(val2
);
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4075 resultobj
= SWIG_Py_Void();
4082 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
= 0;
4084 wxColour
*arg1
= (wxColour
*) 0 ;
4085 wxString
*arg2
= 0 ;
4088 bool temp2
= false ;
4089 PyObject
* obj0
= 0 ;
4090 PyObject
* obj1
= 0 ;
4091 char * kwnames
[] = {
4092 (char *) "self",(char *) "colourName", NULL
4095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4097 if (!SWIG_IsOK(res1
)) {
4098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4100 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4102 arg2
= wxString_in_helper(obj1
);
4103 if (arg2
== NULL
) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 (arg1
)->InitFromName((wxString
const &)*arg2
);
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 resultobj
= SWIG_Py_Void();
4127 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
= 0;
4129 wxColour
*arg1
= (wxColour
*) 0 ;
4130 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4136 PyObject
* obj0
= 0 ;
4137 PyObject
* obj1
= 0 ;
4138 char * kwnames
[] = {
4139 (char *) "self",(char *) "flags", NULL
4142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4144 if (!SWIG_IsOK(res1
)) {
4145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4147 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4149 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4150 if (!SWIG_IsOK(ecode2
)) {
4151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4153 arg2
= static_cast< long >(val2
);
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4174 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4175 PyObject
*resultobj
= 0;
4176 wxColour
*arg1
= (wxColour
*) 0 ;
4180 PyObject
*swig_obj
[1] ;
4182 if (!args
) SWIG_fail
;
4184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4185 if (!SWIG_IsOK(res1
)) {
4186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4188 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4192 wxPyEndAllowThreads(__tstate
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 resultobj
= SWIG_From_long(static_cast< long >(result
));
4202 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
= 0;
4204 wxColour
*arg1
= (wxColour
*) 0 ;
4205 PyObject
*arg2
= (PyObject
*) 0 ;
4209 PyObject
* obj0
= 0 ;
4210 PyObject
* obj1
= 0 ;
4211 char * kwnames
[] = {
4212 (char *) "self",(char *) "other", NULL
4215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4217 if (!SWIG_IsOK(res1
)) {
4218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4220 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4223 result
= (bool)wxColour___eq__(arg1
,arg2
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4235 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
= 0;
4237 wxColour
*arg1
= (wxColour
*) 0 ;
4238 PyObject
*arg2
= (PyObject
*) 0 ;
4242 PyObject
* obj0
= 0 ;
4243 PyObject
* obj1
= 0 ;
4244 char * kwnames
[] = {
4245 (char *) "self",(char *) "other", NULL
4248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4250 if (!SWIG_IsOK(res1
)) {
4251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4253 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4256 result
= (bool)wxColour___ne__(arg1
,arg2
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4268 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
*resultobj
= 0;
4270 wxColour
*arg1
= (wxColour
*) 0 ;
4271 bool arg2
= (bool) false ;
4272 PyObject
*result
= 0 ;
4277 PyObject
* obj0
= 0 ;
4278 PyObject
* obj1
= 0 ;
4279 char * kwnames
[] = {
4280 (char *) "self",(char *) "includeAlpha", NULL
4283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4285 if (!SWIG_IsOK(res1
)) {
4286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4288 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4290 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4291 if (!SWIG_IsOK(ecode2
)) {
4292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4294 arg2
= static_cast< bool >(val2
);
4297 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4307 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4308 PyObject
*resultobj
= 0;
4309 wxColour
*arg1
= (wxColour
*) 0 ;
4310 unsigned long result
;
4313 PyObject
*swig_obj
[1] ;
4315 if (!args
) SWIG_fail
;
4317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4318 if (!SWIG_IsOK(res1
)) {
4319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4321 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4323 result
= (unsigned long)wxColour_GetRGB(arg1
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4326 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4333 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4336 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4337 return SWIG_Py_Void();
4340 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4341 return SWIG_Python_InitShadowInstance(args
);
4344 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
= 0;
4347 unsigned char *arg2
= (unsigned char *) 0 ;
4348 unsigned char *arg3
= (unsigned char *) 0 ;
4349 unsigned char *arg4
= (unsigned char *) 0 ;
4350 wxPalette
*result
= 0 ;
4359 PyObject
* obj0
= 0 ;
4360 PyObject
* obj1
= 0 ;
4361 PyObject
* obj2
= 0 ;
4362 PyObject
* obj3
= 0 ;
4363 char * kwnames
[] = {
4364 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4368 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4369 if (!SWIG_IsOK(ecode1
)) {
4370 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4372 arg1
= static_cast< int >(val1
);
4373 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4374 if (!SWIG_IsOK(res2
)) {
4375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4377 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4378 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4379 if (!SWIG_IsOK(res3
)) {
4380 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4382 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4383 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4384 if (!SWIG_IsOK(res4
)) {
4385 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4387 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4389 if (!wxPyCheckForApp()) SWIG_fail
;
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4402 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4403 PyObject
*resultobj
= 0;
4404 wxPalette
*arg1
= (wxPalette
*) 0 ;
4407 PyObject
*swig_obj
[1] ;
4409 if (!args
) SWIG_fail
;
4411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4412 if (!SWIG_IsOK(res1
)) {
4413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4415 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= SWIG_Py_Void();
4430 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
= 0;
4432 wxPalette
*arg1
= (wxPalette
*) 0 ;
4439 unsigned char val2
;
4441 unsigned char val3
;
4443 unsigned char val4
;
4445 PyObject
* obj0
= 0 ;
4446 PyObject
* obj1
= 0 ;
4447 PyObject
* obj2
= 0 ;
4448 PyObject
* obj3
= 0 ;
4449 char * kwnames
[] = {
4450 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4455 if (!SWIG_IsOK(res1
)) {
4456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4458 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4459 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4460 if (!SWIG_IsOK(ecode2
)) {
4461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4463 arg2
= static_cast< byte
>(val2
);
4464 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4465 if (!SWIG_IsOK(ecode3
)) {
4466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4468 arg3
= static_cast< byte
>(val3
);
4469 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4470 if (!SWIG_IsOK(ecode4
)) {
4471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4473 arg4
= static_cast< byte
>(val4
);
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= SWIG_From_int(static_cast< int >(result
));
4487 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
= 0;
4489 wxPalette
*arg1
= (wxPalette
*) 0 ;
4491 byte
*arg3
= (byte
*) 0 ;
4492 byte
*arg4
= (byte
*) 0 ;
4493 byte
*arg5
= (byte
*) 0 ;
4500 int res3
= SWIG_TMPOBJ
;
4502 int res4
= SWIG_TMPOBJ
;
4504 int res5
= SWIG_TMPOBJ
;
4505 PyObject
* obj0
= 0 ;
4506 PyObject
* obj1
= 0 ;
4507 char * kwnames
[] = {
4508 (char *) "self",(char *) "pixel", NULL
4514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4516 if (!SWIG_IsOK(res1
)) {
4517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4519 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4521 if (!SWIG_IsOK(ecode2
)) {
4522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4524 arg2
= static_cast< int >(val2
);
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) SWIG_fail
;
4532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4534 if (SWIG_IsTmpObj(res3
)) {
4535 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4537 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4538 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4540 if (SWIG_IsTmpObj(res4
)) {
4541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4543 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4546 if (SWIG_IsTmpObj(res5
)) {
4547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4549 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4550 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4558 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4559 PyObject
*resultobj
= 0;
4560 wxPalette
*arg1
= (wxPalette
*) 0 ;
4564 PyObject
*swig_obj
[1] ;
4566 if (!args
) SWIG_fail
;
4568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4569 if (!SWIG_IsOK(res1
)) {
4570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4572 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4575 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4579 resultobj
= SWIG_From_int(static_cast< int >(result
));
4586 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4587 PyObject
*resultobj
= 0;
4588 wxPalette
*arg1
= (wxPalette
*) 0 ;
4592 PyObject
*swig_obj
[1] ;
4594 if (!args
) SWIG_fail
;
4596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4597 if (!SWIG_IsOK(res1
)) {
4598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4600 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 result
= (bool)(arg1
)->Ok();
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4616 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4618 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4619 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4620 return SWIG_Py_Void();
4623 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4624 return SWIG_Python_InitShadowInstance(args
);
4627 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
*resultobj
= 0;
4629 wxColour
*arg1
= 0 ;
4630 int arg2
= (int) 1 ;
4631 int arg3
= (int) wxSOLID
;
4638 PyObject
* obj0
= 0 ;
4639 PyObject
* obj1
= 0 ;
4640 PyObject
* obj2
= 0 ;
4641 char * kwnames
[] = {
4642 (char *) "colour",(char *) "width",(char *) "style", NULL
4645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4648 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4652 if (!SWIG_IsOK(ecode2
)) {
4653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4655 arg2
= static_cast< int >(val2
);
4658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4659 if (!SWIG_IsOK(ecode3
)) {
4660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4662 arg3
= static_cast< int >(val3
);
4665 if (!wxPyCheckForApp()) SWIG_fail
;
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4667 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4678 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4679 PyObject
*resultobj
= 0;
4680 wxPen
*arg1
= (wxPen
*) 0 ;
4683 PyObject
*swig_obj
[1] ;
4685 if (!args
) SWIG_fail
;
4687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4688 if (!SWIG_IsOK(res1
)) {
4689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4691 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4699 resultobj
= SWIG_Py_Void();
4706 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4707 PyObject
*resultobj
= 0;
4708 wxPen
*arg1
= (wxPen
*) 0 ;
4712 PyObject
*swig_obj
[1] ;
4714 if (!args
) SWIG_fail
;
4716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4717 if (!SWIG_IsOK(res1
)) {
4718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4720 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (int)(arg1
)->GetCap();
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4727 resultobj
= SWIG_From_int(static_cast< int >(result
));
4734 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4735 PyObject
*resultobj
= 0;
4736 wxPen
*arg1
= (wxPen
*) 0 ;
4740 PyObject
*swig_obj
[1] ;
4742 if (!args
) SWIG_fail
;
4744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4745 if (!SWIG_IsOK(res1
)) {
4746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4748 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 result
= (arg1
)->GetColour();
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4755 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4762 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4763 PyObject
*resultobj
= 0;
4764 wxPen
*arg1
= (wxPen
*) 0 ;
4768 PyObject
*swig_obj
[1] ;
4770 if (!args
) SWIG_fail
;
4772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4773 if (!SWIG_IsOK(res1
)) {
4774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4776 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4779 result
= (int)(arg1
)->GetJoin();
4780 wxPyEndAllowThreads(__tstate
);
4781 if (PyErr_Occurred()) SWIG_fail
;
4783 resultobj
= SWIG_From_int(static_cast< int >(result
));
4790 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4791 PyObject
*resultobj
= 0;
4792 wxPen
*arg1
= (wxPen
*) 0 ;
4796 PyObject
*swig_obj
[1] ;
4798 if (!args
) SWIG_fail
;
4800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4801 if (!SWIG_IsOK(res1
)) {
4802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4804 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 result
= (int)(arg1
)->GetStyle();
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= SWIG_From_int(static_cast< int >(result
));
4818 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4819 PyObject
*resultobj
= 0;
4820 wxPen
*arg1
= (wxPen
*) 0 ;
4824 PyObject
*swig_obj
[1] ;
4826 if (!args
) SWIG_fail
;
4828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4829 if (!SWIG_IsOK(res1
)) {
4830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4832 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 result
= (int)(arg1
)->GetWidth();
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4839 resultobj
= SWIG_From_int(static_cast< int >(result
));
4846 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4847 PyObject
*resultobj
= 0;
4848 wxPen
*arg1
= (wxPen
*) 0 ;
4852 PyObject
*swig_obj
[1] ;
4854 if (!args
) SWIG_fail
;
4856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4857 if (!SWIG_IsOK(res1
)) {
4858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4860 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 result
= (bool)(arg1
)->Ok();
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4876 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
*resultobj
= 0;
4878 wxPen
*arg1
= (wxPen
*) 0 ;
4884 PyObject
* obj0
= 0 ;
4885 PyObject
* obj1
= 0 ;
4886 char * kwnames
[] = {
4887 (char *) "self",(char *) "cap_style", NULL
4890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4892 if (!SWIG_IsOK(res1
)) {
4893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4895 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4897 if (!SWIG_IsOK(ecode2
)) {
4898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4900 arg2
= static_cast< int >(val2
);
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 (arg1
)->SetCap(arg2
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= SWIG_Py_Void();
4914 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
= 0;
4916 wxPen
*arg1
= (wxPen
*) 0 ;
4917 wxColour
*arg2
= 0 ;
4921 PyObject
* obj0
= 0 ;
4922 PyObject
* obj1
= 0 ;
4923 char * kwnames
[] = {
4924 (char *) "self",(char *) "colour", NULL
4927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4929 if (!SWIG_IsOK(res1
)) {
4930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4932 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4935 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 (arg1
)->SetColour(*arg2
);
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4943 resultobj
= SWIG_Py_Void();
4950 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
*resultobj
= 0;
4952 wxPen
*arg1
= (wxPen
*) 0 ;
4958 PyObject
* obj0
= 0 ;
4959 PyObject
* obj1
= 0 ;
4960 char * kwnames
[] = {
4961 (char *) "self",(char *) "join_style", NULL
4964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4966 if (!SWIG_IsOK(res1
)) {
4967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4969 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4971 if (!SWIG_IsOK(ecode2
)) {
4972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4974 arg2
= static_cast< int >(val2
);
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 (arg1
)->SetJoin(arg2
);
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4981 resultobj
= SWIG_Py_Void();
4988 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
*resultobj
= 0;
4990 wxPen
*arg1
= (wxPen
*) 0 ;
4996 PyObject
* obj0
= 0 ;
4997 PyObject
* obj1
= 0 ;
4998 char * kwnames
[] = {
4999 (char *) "self",(char *) "style", NULL
5002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5004 if (!SWIG_IsOK(res1
)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5007 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5009 if (!SWIG_IsOK(ecode2
)) {
5010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5012 arg2
= static_cast< int >(val2
);
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 (arg1
)->SetStyle(arg2
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5019 resultobj
= SWIG_Py_Void();
5026 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
*resultobj
= 0;
5028 wxPen
*arg1
= (wxPen
*) 0 ;
5034 PyObject
* obj0
= 0 ;
5035 PyObject
* obj1
= 0 ;
5036 char * kwnames
[] = {
5037 (char *) "self",(char *) "width", NULL
5040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5042 if (!SWIG_IsOK(res1
)) {
5043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5045 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5047 if (!SWIG_IsOK(ecode2
)) {
5048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5050 arg2
= static_cast< int >(val2
);
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 (arg1
)->SetWidth(arg2
);
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 resultobj
= SWIG_Py_Void();
5064 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
= 0;
5066 wxPen
*arg1
= (wxPen
*) 0 ;
5068 wxDash
*arg3
= (wxDash
*) 0 ;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5073 char * kwnames
[] = {
5074 (char *) "self",(char *) "dashes", NULL
5077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5079 if (!SWIG_IsOK(res1
)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5082 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5084 arg2
= PyList_Size(obj1
);
5085 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5086 if (arg3
== NULL
) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 (arg1
)->SetDashes(arg2
,arg3
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 resultobj
= SWIG_Py_Void();
5096 if (arg3
) delete [] arg3
;
5101 if (arg3
) delete [] arg3
;
5107 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5108 PyObject
*resultobj
= 0;
5109 wxPen
*arg1
= (wxPen
*) 0 ;
5110 PyObject
*result
= 0 ;
5113 PyObject
*swig_obj
[1] ;
5115 if (!args
) SWIG_fail
;
5117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5118 if (!SWIG_IsOK(res1
)) {
5119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5121 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5125 wxPyEndAllowThreads(__tstate
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5135 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
= 0;
5137 wxPen
*arg1
= (wxPen
*) 0 ;
5138 PyObject
*arg2
= (PyObject
*) 0 ;
5139 PyObject
*arg3
= (PyObject
*) 0 ;
5142 PyObject
* obj0
= 0 ;
5143 PyObject
* obj1
= 0 ;
5144 PyObject
* obj2
= 0 ;
5145 char * kwnames
[] = {
5146 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5151 if (!SWIG_IsOK(res1
)) {
5152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5154 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 wxPen__SetDashes(arg1
,arg2
,arg3
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5163 resultobj
= SWIG_Py_Void();
5170 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
*resultobj
= 0;
5172 wxPen
*arg1
= (wxPen
*) 0 ;
5173 wxPen
*arg2
= (wxPen
*) 0 ;
5179 PyObject
* obj0
= 0 ;
5180 PyObject
* obj1
= 0 ;
5181 char * kwnames
[] = {
5182 (char *) "self",(char *) "other", NULL
5185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5187 if (!SWIG_IsOK(res1
)) {
5188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5190 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5191 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5192 if (!SWIG_IsOK(res2
)) {
5193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5195 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5211 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
= 0;
5213 wxPen
*arg1
= (wxPen
*) 0 ;
5214 wxPen
*arg2
= (wxPen
*) 0 ;
5220 PyObject
* obj0
= 0 ;
5221 PyObject
* obj1
= 0 ;
5222 char * kwnames
[] = {
5223 (char *) "self",(char *) "other", NULL
5226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5228 if (!SWIG_IsOK(res1
)) {
5229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5231 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5232 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5233 if (!SWIG_IsOK(res2
)) {
5234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5236 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5252 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5254 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5255 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5256 return SWIG_Py_Void();
5259 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5260 return SWIG_Python_InitShadowInstance(args
);
5263 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
= 0;
5265 wxColour
*arg1
= 0 ;
5266 int arg2
= (int) wxSOLID
;
5267 wxBrush
*result
= 0 ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5273 char * kwnames
[] = {
5274 (char *) "colour",(char *) "style", NULL
5277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5280 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5284 if (!SWIG_IsOK(ecode2
)) {
5285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5287 arg2
= static_cast< int >(val2
);
5290 if (!wxPyCheckForApp()) SWIG_fail
;
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5293 wxPyEndAllowThreads(__tstate
);
5294 if (PyErr_Occurred()) SWIG_fail
;
5296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5303 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
*resultobj
= 0;
5305 wxBitmap
*arg1
= 0 ;
5306 wxBrush
*result
= 0 ;
5309 PyObject
* obj0
= 0 ;
5310 char * kwnames
[] = {
5311 (char *) "stippleBitmap", NULL
5314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5315 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5316 if (!SWIG_IsOK(res1
)) {
5317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5320 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5322 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5324 if (!wxPyCheckForApp()) SWIG_fail
;
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5337 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5338 PyObject
*resultobj
= 0;
5339 wxBrush
*arg1
= (wxBrush
*) 0 ;
5342 PyObject
*swig_obj
[1] ;
5344 if (!args
) SWIG_fail
;
5346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5347 if (!SWIG_IsOK(res1
)) {
5348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5350 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 resultobj
= SWIG_Py_Void();
5365 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
= 0;
5367 wxBrush
*arg1
= (wxBrush
*) 0 ;
5368 wxColour
*arg2
= 0 ;
5372 PyObject
* obj0
= 0 ;
5373 PyObject
* obj1
= 0 ;
5374 char * kwnames
[] = {
5375 (char *) "self",(char *) "col", NULL
5378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5380 if (!SWIG_IsOK(res1
)) {
5381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5383 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5386 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 (arg1
)->SetColour((wxColour
const &)*arg2
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= SWIG_Py_Void();
5401 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
*resultobj
= 0;
5403 wxBrush
*arg1
= (wxBrush
*) 0 ;
5409 PyObject
* obj0
= 0 ;
5410 PyObject
* obj1
= 0 ;
5411 char * kwnames
[] = {
5412 (char *) "self",(char *) "style", NULL
5415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5417 if (!SWIG_IsOK(res1
)) {
5418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5420 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5422 if (!SWIG_IsOK(ecode2
)) {
5423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5425 arg2
= static_cast< int >(val2
);
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 (arg1
)->SetStyle(arg2
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= SWIG_Py_Void();
5439 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
= 0;
5441 wxBrush
*arg1
= (wxBrush
*) 0 ;
5442 wxBitmap
*arg2
= 0 ;
5447 PyObject
* obj0
= 0 ;
5448 PyObject
* obj1
= 0 ;
5449 char * kwnames
[] = {
5450 (char *) "self",(char *) "stipple", NULL
5453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5455 if (!SWIG_IsOK(res1
)) {
5456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5458 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5459 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5460 if (!SWIG_IsOK(res2
)) {
5461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5466 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 resultobj
= SWIG_Py_Void();
5480 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5481 PyObject
*resultobj
= 0;
5482 wxBrush
*arg1
= (wxBrush
*) 0 ;
5486 PyObject
*swig_obj
[1] ;
5488 if (!args
) SWIG_fail
;
5490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5491 if (!SWIG_IsOK(res1
)) {
5492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5494 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 result
= ((wxBrush
const *)arg1
)->GetColour();
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5501 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5508 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5509 PyObject
*resultobj
= 0;
5510 wxBrush
*arg1
= (wxBrush
*) 0 ;
5514 PyObject
*swig_obj
[1] ;
5516 if (!args
) SWIG_fail
;
5518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5519 if (!SWIG_IsOK(res1
)) {
5520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5522 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5529 resultobj
= SWIG_From_int(static_cast< int >(result
));
5536 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5537 PyObject
*resultobj
= 0;
5538 wxBrush
*arg1
= (wxBrush
*) 0 ;
5539 wxBitmap
*result
= 0 ;
5542 PyObject
*swig_obj
[1] ;
5544 if (!args
) SWIG_fail
;
5546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5547 if (!SWIG_IsOK(res1
)) {
5548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5550 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5564 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5565 PyObject
*resultobj
= 0;
5566 wxBrush
*arg1
= (wxBrush
*) 0 ;
5570 PyObject
*swig_obj
[1] ;
5572 if (!args
) SWIG_fail
;
5574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5575 if (!SWIG_IsOK(res1
)) {
5576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5578 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5594 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5595 PyObject
*resultobj
= 0;
5596 wxBrush
*arg1
= (wxBrush
*) 0 ;
5600 PyObject
*swig_obj
[1] ;
5602 if (!args
) SWIG_fail
;
5604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5605 if (!SWIG_IsOK(res1
)) {
5606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5608 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 result
= (bool)(arg1
)->Ok();
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5624 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5625 PyObject
*resultobj
= 0;
5626 wxBrush
*arg1
= (wxBrush
*) 0 ;
5630 PyObject
*swig_obj
[1] ;
5632 if (!args
) SWIG_fail
;
5634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5635 if (!SWIG_IsOK(res1
)) {
5636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5638 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 result
= (short)(arg1
)->MacGetTheme();
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 resultobj
= SWIG_From_short(static_cast< short >(result
));
5652 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
= 0;
5654 wxBrush
*arg1
= (wxBrush
*) 0 ;
5660 PyObject
* obj0
= 0 ;
5661 PyObject
* obj1
= 0 ;
5662 char * kwnames
[] = {
5663 (char *) "self",(char *) "macThemeBrush", NULL
5666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5668 if (!SWIG_IsOK(res1
)) {
5669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5671 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5672 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
5673 if (!SWIG_IsOK(ecode2
)) {
5674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
5676 arg2
= static_cast< short >(val2
);
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 (arg1
)->MacSetTheme(arg2
);
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5683 resultobj
= SWIG_Py_Void();
5690 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5692 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5693 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5694 return SWIG_Py_Void();
5697 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5698 return SWIG_Python_InitShadowInstance(args
);
5701 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
*resultobj
= 0;
5703 wxString
*arg1
= 0 ;
5704 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5705 wxBitmap
*result
= 0 ;
5706 bool temp1
= false ;
5709 PyObject
* obj0
= 0 ;
5710 PyObject
* obj1
= 0 ;
5711 char * kwnames
[] = {
5712 (char *) "name",(char *) "type", NULL
5715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5717 arg1
= wxString_in_helper(obj0
);
5718 if (arg1
== NULL
) SWIG_fail
;
5722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5723 if (!SWIG_IsOK(ecode2
)) {
5724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5726 arg2
= static_cast< wxBitmapType
>(val2
);
5729 if (!wxPyCheckForApp()) SWIG_fail
;
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5732 wxPyEndAllowThreads(__tstate
);
5733 if (PyErr_Occurred()) SWIG_fail
;
5735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5750 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5751 PyObject
*resultobj
= 0;
5752 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5755 PyObject
*swig_obj
[1] ;
5757 if (!args
) SWIG_fail
;
5759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5760 if (!SWIG_IsOK(res1
)) {
5761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5763 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5769 resultobj
= SWIG_Py_Void();
5776 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
*resultobj
= 0;
5780 int arg3
= (int) -1 ;
5781 wxBitmap
*result
= 0 ;
5788 PyObject
* obj0
= 0 ;
5789 PyObject
* obj1
= 0 ;
5790 PyObject
* obj2
= 0 ;
5791 char * kwnames
[] = {
5792 (char *) "width",(char *) "height",(char *) "depth", NULL
5795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5796 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5797 if (!SWIG_IsOK(ecode1
)) {
5798 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5800 arg1
= static_cast< int >(val1
);
5801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5802 if (!SWIG_IsOK(ecode2
)) {
5803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5805 arg2
= static_cast< int >(val2
);
5807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5808 if (!SWIG_IsOK(ecode3
)) {
5809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5811 arg3
= static_cast< int >(val3
);
5814 if (!wxPyCheckForApp()) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5817 wxPyEndAllowThreads(__tstate
);
5818 if (PyErr_Occurred()) SWIG_fail
;
5820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5827 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
*resultobj
= 0;
5830 wxBitmap
*result
= 0 ;
5833 PyObject
* obj0
= 0 ;
5834 char * kwnames
[] = {
5835 (char *) "icon", NULL
5838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5839 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5840 if (!SWIG_IsOK(res1
)) {
5841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5846 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5848 if (!wxPyCheckForApp()) SWIG_fail
;
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5861 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
*resultobj
= 0;
5864 int arg2
= (int) -1 ;
5865 wxBitmap
*result
= 0 ;
5870 PyObject
* obj0
= 0 ;
5871 PyObject
* obj1
= 0 ;
5872 char * kwnames
[] = {
5873 (char *) "image",(char *) "depth", NULL
5876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5877 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5878 if (!SWIG_IsOK(res1
)) {
5879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5884 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5887 if (!SWIG_IsOK(ecode2
)) {
5888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5890 arg2
= static_cast< int >(val2
);
5893 if (!wxPyCheckForApp()) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5906 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
*resultobj
= 0;
5908 PyObject
*arg1
= (PyObject
*) 0 ;
5909 wxBitmap
*result
= 0 ;
5910 PyObject
* obj0
= 0 ;
5911 char * kwnames
[] = {
5912 (char *) "listOfStrings", NULL
5915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5918 if (!wxPyCheckForApp()) SWIG_fail
;
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5931 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
*resultobj
= 0;
5933 PyObject
*arg1
= (PyObject
*) 0 ;
5936 int arg4
= (int) 1 ;
5937 wxBitmap
*result
= 0 ;
5944 PyObject
* obj0
= 0 ;
5945 PyObject
* obj1
= 0 ;
5946 PyObject
* obj2
= 0 ;
5947 PyObject
* obj3
= 0 ;
5948 char * kwnames
[] = {
5949 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5955 if (!SWIG_IsOK(ecode2
)) {
5956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5958 arg2
= static_cast< int >(val2
);
5959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5960 if (!SWIG_IsOK(ecode3
)) {
5961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5963 arg3
= static_cast< int >(val3
);
5965 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5966 if (!SWIG_IsOK(ecode4
)) {
5967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5969 arg4
= static_cast< int >(val4
);
5972 if (!wxPyCheckForApp()) SWIG_fail
;
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5985 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5986 PyObject
*resultobj
= 0;
5987 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5991 PyObject
*swig_obj
[1] ;
5993 if (!args
) SWIG_fail
;
5995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5996 if (!SWIG_IsOK(res1
)) {
5997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
5999 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6001 result
= (bool)(arg1
)->Ok();
6002 if (PyErr_Occurred()) SWIG_fail
;
6005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6013 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6014 PyObject
*resultobj
= 0;
6015 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6019 PyObject
*swig_obj
[1] ;
6021 if (!args
) SWIG_fail
;
6023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6024 if (!SWIG_IsOK(res1
)) {
6025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6027 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6029 result
= (int)(arg1
)->GetWidth();
6030 if (PyErr_Occurred()) SWIG_fail
;
6032 resultobj
= SWIG_From_int(static_cast< int >(result
));
6039 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6040 PyObject
*resultobj
= 0;
6041 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6045 PyObject
*swig_obj
[1] ;
6047 if (!args
) SWIG_fail
;
6049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6050 if (!SWIG_IsOK(res1
)) {
6051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6053 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6055 result
= (int)(arg1
)->GetHeight();
6056 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= SWIG_From_int(static_cast< int >(result
));
6065 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6066 PyObject
*resultobj
= 0;
6067 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6071 PyObject
*swig_obj
[1] ;
6073 if (!args
) SWIG_fail
;
6075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6076 if (!SWIG_IsOK(res1
)) {
6077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6079 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6081 result
= (int)(arg1
)->GetDepth();
6082 if (PyErr_Occurred()) SWIG_fail
;
6084 resultobj
= SWIG_From_int(static_cast< int >(result
));
6091 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6092 PyObject
*resultobj
= 0;
6093 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6097 PyObject
*swig_obj
[1] ;
6099 if (!args
) SWIG_fail
;
6101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6102 if (!SWIG_IsOK(res1
)) {
6103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6105 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6107 result
= wxBitmap_GetSize(arg1
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6110 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6117 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6118 PyObject
*resultobj
= 0;
6119 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6120 SwigValueWrapper
<wxImage
> result
;
6123 PyObject
*swig_obj
[1] ;
6125 if (!args
) SWIG_fail
;
6127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6128 if (!SWIG_IsOK(res1
)) {
6129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6131 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6133 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6143 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6144 PyObject
*resultobj
= 0;
6145 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6146 wxMask
*result
= 0 ;
6149 PyObject
*swig_obj
[1] ;
6151 if (!args
) SWIG_fail
;
6153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6154 if (!SWIG_IsOK(res1
)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6157 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6159 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6169 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
= 0;
6171 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6172 wxMask
*arg2
= (wxMask
*) 0 ;
6176 PyObject
* obj0
= 0 ;
6177 PyObject
* obj1
= 0 ;
6178 char * kwnames
[] = {
6179 (char *) "self",(char *) "mask", NULL
6182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6184 if (!SWIG_IsOK(res1
)) {
6185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6187 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6188 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6189 if (!SWIG_IsOK(res2
)) {
6190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6193 (arg1
)->SetMask(arg2
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6196 resultobj
= SWIG_Py_Void();
6203 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
*resultobj
= 0;
6205 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6206 wxColour
*arg2
= 0 ;
6210 PyObject
* obj0
= 0 ;
6211 PyObject
* obj1
= 0 ;
6212 char * kwnames
[] = {
6213 (char *) "self",(char *) "colour", NULL
6216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6218 if (!SWIG_IsOK(res1
)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6221 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6224 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6227 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6230 resultobj
= SWIG_Py_Void();
6237 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
*resultobj
= 0;
6239 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6241 SwigValueWrapper
<wxBitmap
> result
;
6245 PyObject
* obj0
= 0 ;
6246 PyObject
* obj1
= 0 ;
6247 char * kwnames
[] = {
6248 (char *) "self",(char *) "rect", NULL
6251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6253 if (!SWIG_IsOK(res1
)) {
6254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6256 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6259 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6262 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6265 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6272 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
= 0;
6274 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6275 wxString
*arg2
= 0 ;
6277 wxPalette
*arg4
= (wxPalette
*) NULL
;
6281 bool temp2
= false ;
6286 PyObject
* obj0
= 0 ;
6287 PyObject
* obj1
= 0 ;
6288 PyObject
* obj2
= 0 ;
6289 PyObject
* obj3
= 0 ;
6290 char * kwnames
[] = {
6291 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6296 if (!SWIG_IsOK(res1
)) {
6297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6299 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6301 arg2
= wxString_in_helper(obj1
);
6302 if (arg2
== NULL
) SWIG_fail
;
6305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6306 if (!SWIG_IsOK(ecode3
)) {
6307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6309 arg3
= static_cast< wxBitmapType
>(val3
);
6311 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6312 if (!SWIG_IsOK(res4
)) {
6313 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6315 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6318 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6338 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
*resultobj
= 0;
6340 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6341 wxString
*arg2
= 0 ;
6346 bool temp2
= false ;
6349 PyObject
* obj0
= 0 ;
6350 PyObject
* obj1
= 0 ;
6351 PyObject
* obj2
= 0 ;
6352 char * kwnames
[] = {
6353 (char *) "self",(char *) "name",(char *) "type", NULL
6356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6358 if (!SWIG_IsOK(res1
)) {
6359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6361 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6363 arg2
= wxString_in_helper(obj1
);
6364 if (arg2
== NULL
) SWIG_fail
;
6367 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6368 if (!SWIG_IsOK(ecode3
)) {
6369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6371 arg3
= static_cast< wxBitmapType
>(val3
);
6373 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6393 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6394 PyObject
*resultobj
= 0;
6395 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6396 wxPalette
*result
= 0 ;
6399 PyObject
*swig_obj
[1] ;
6401 if (!args
) SWIG_fail
;
6403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6404 if (!SWIG_IsOK(res1
)) {
6405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6407 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6409 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6410 if (PyErr_Occurred()) SWIG_fail
;
6412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6419 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
*resultobj
= 0;
6421 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6430 char * kwnames
[] = {
6431 (char *) "self",(char *) "icon", NULL
6434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",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_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6439 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6440 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6441 if (!SWIG_IsOK(res2
)) {
6442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6447 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6449 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6461 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
*resultobj
= 0;
6463 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6469 PyObject
* obj0
= 0 ;
6470 PyObject
* obj1
= 0 ;
6471 char * kwnames
[] = {
6472 (char *) "self",(char *) "height", NULL
6475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6477 if (!SWIG_IsOK(res1
)) {
6478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6480 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6482 if (!SWIG_IsOK(ecode2
)) {
6483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6485 arg2
= static_cast< int >(val2
);
6487 (arg1
)->SetHeight(arg2
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6490 resultobj
= SWIG_Py_Void();
6497 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
= 0;
6499 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6505 PyObject
* obj0
= 0 ;
6506 PyObject
* obj1
= 0 ;
6507 char * kwnames
[] = {
6508 (char *) "self",(char *) "width", NULL
6511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6513 if (!SWIG_IsOK(res1
)) {
6514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6516 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6518 if (!SWIG_IsOK(ecode2
)) {
6519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6521 arg2
= static_cast< int >(val2
);
6523 (arg1
)->SetWidth(arg2
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 resultobj
= SWIG_Py_Void();
6533 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
= 0;
6535 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6541 PyObject
* obj0
= 0 ;
6542 PyObject
* obj1
= 0 ;
6543 char * kwnames
[] = {
6544 (char *) "self",(char *) "depth", NULL
6547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6549 if (!SWIG_IsOK(res1
)) {
6550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6552 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6554 if (!SWIG_IsOK(ecode2
)) {
6555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6557 arg2
= static_cast< int >(val2
);
6559 (arg1
)->SetDepth(arg2
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= SWIG_Py_Void();
6569 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
= 0;
6571 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6576 PyObject
* obj0
= 0 ;
6577 PyObject
* obj1
= 0 ;
6578 char * kwnames
[] = {
6579 (char *) "self",(char *) "size", NULL
6582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6584 if (!SWIG_IsOK(res1
)) {
6585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6587 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6590 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6593 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 resultobj
= SWIG_Py_Void();
6603 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
= 0;
6605 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6606 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6612 PyObject
* obj0
= 0 ;
6613 PyObject
* obj1
= 0 ;
6614 char * kwnames
[] = {
6615 (char *) "self",(char *) "other", NULL
6618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6620 if (!SWIG_IsOK(res1
)) {
6621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6623 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6624 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6625 if (!SWIG_IsOK(res2
)) {
6626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6628 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6630 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6642 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
= 0;
6644 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6645 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6652 PyObject
* obj1
= 0 ;
6653 char * kwnames
[] = {
6654 (char *) "self",(char *) "other", NULL
6657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6659 if (!SWIG_IsOK(res1
)) {
6660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6662 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6663 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6664 if (!SWIG_IsOK(res2
)) {
6665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6667 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6669 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6681 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6683 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6684 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6685 return SWIG_Py_Void();
6688 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6689 return SWIG_Python_InitShadowInstance(args
);
6692 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
= 0;
6700 wxBitmap
*result
= 0 ;
6707 PyObject
* obj0
= 0 ;
6708 PyObject
* obj1
= 0 ;
6709 PyObject
* obj2
= 0 ;
6710 PyObject
* obj3
= 0 ;
6711 char * kwnames
[] = {
6712 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6716 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6717 if (!SWIG_IsOK(ecode1
)) {
6718 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6720 arg1
= static_cast< int >(val1
);
6721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6722 if (!SWIG_IsOK(ecode2
)) {
6723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6725 arg2
= static_cast< int >(val2
);
6727 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6731 if (obj3
!= Py_None
) {
6732 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6737 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6747 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
= 0;
6753 wxBitmap
*result
= 0 ;
6759 PyObject
* obj0
= 0 ;
6760 PyObject
* obj1
= 0 ;
6761 PyObject
* obj2
= 0 ;
6762 char * kwnames
[] = {
6763 (char *) "width",(char *) "height",(char *) "data", NULL
6766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6767 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6768 if (!SWIG_IsOK(ecode1
)) {
6769 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6771 arg1
= static_cast< int >(val1
);
6772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6773 if (!SWIG_IsOK(ecode2
)) {
6774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6776 arg2
= static_cast< int >(val2
);
6778 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6782 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6792 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
= 0;
6798 wxBitmap
*result
= 0 ;
6804 PyObject
* obj0
= 0 ;
6805 PyObject
* obj1
= 0 ;
6806 PyObject
* obj2
= 0 ;
6807 char * kwnames
[] = {
6808 (char *) "width",(char *) "height",(char *) "data", NULL
6811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6812 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6813 if (!SWIG_IsOK(ecode1
)) {
6814 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6816 arg1
= static_cast< int >(val1
);
6817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6818 if (!SWIG_IsOK(ecode2
)) {
6819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6821 arg2
= static_cast< int >(val2
);
6823 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6827 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6837 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6838 PyObject
*resultobj
= 0;
6839 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6843 PyObject
*swig_obj
[1] ;
6845 if (!args
) SWIG_fail
;
6847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6848 if (!SWIG_IsOK(res1
)) {
6849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6851 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6853 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6854 if (PyErr_Occurred()) SWIG_fail
;
6856 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6863 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6864 PyObject
*resultobj
= 0;
6865 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6869 PyObject
*swig_obj
[1] ;
6871 if (!args
) SWIG_fail
;
6873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6874 if (!SWIG_IsOK(res1
)) {
6875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6877 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6879 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_From_int(static_cast< int >(result
));
6889 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6890 PyObject
*resultobj
= 0;
6891 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6895 PyObject
*swig_obj
[1] ;
6897 if (!args
) SWIG_fail
;
6899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6900 if (!SWIG_IsOK(res1
)) {
6901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6903 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6905 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 resultobj
= SWIG_From_int(static_cast< int >(result
));
6915 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6916 PyObject
*resultobj
= 0;
6917 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6921 PyObject
*swig_obj
[1] ;
6923 if (!args
) SWIG_fail
;
6925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6926 if (!SWIG_IsOK(res1
)) {
6927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6929 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6931 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
6932 if (PyErr_Occurred()) SWIG_fail
;
6934 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6941 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6942 PyObject
*resultobj
= 0;
6943 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6947 PyObject
*swig_obj
[1] ;
6949 if (!args
) SWIG_fail
;
6951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6952 if (!SWIG_IsOK(res1
)) {
6953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6955 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6957 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
6958 if (PyErr_Occurred()) SWIG_fail
;
6960 resultobj
= SWIG_From_int(static_cast< int >(result
));
6967 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6970 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
6971 return SWIG_Py_Void();
6974 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
6975 PyObject
*resultobj
= 0;
6976 wxBitmap
*arg1
= 0 ;
6977 wxNativePixelData
*result
= 0 ;
6981 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
6982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
6983 if (!SWIG_IsOK(res1
)) {
6984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6989 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6991 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7001 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7002 PyObject
*resultobj
= 0;
7003 wxBitmap
*arg1
= 0 ;
7005 wxNativePixelData
*result
= 0 ;
7010 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7012 if (!SWIG_IsOK(res1
)) {
7013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7018 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7021 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7024 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7034 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7035 PyObject
*resultobj
= 0;
7036 wxBitmap
*arg1
= 0 ;
7039 wxNativePixelData
*result
= 0 ;
7045 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7047 if (!SWIG_IsOK(res1
)) {
7048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7053 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7056 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7060 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7063 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7073 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7077 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7080 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7083 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7086 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7090 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7095 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7096 PyObject
*resultobj
= 0;
7097 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7100 PyObject
*swig_obj
[1] ;
7102 if (!args
) SWIG_fail
;
7104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7105 if (!SWIG_IsOK(res1
)) {
7106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7108 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 resultobj
= SWIG_Py_Void();
7121 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7122 PyObject
*resultobj
= 0;
7123 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7124 wxNativePixelData_Accessor result
;
7127 PyObject
*swig_obj
[1] ;
7129 if (!args
) SWIG_fail
;
7131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7132 if (!SWIG_IsOK(res1
)) {
7133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7135 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7137 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7147 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7148 PyObject
*resultobj
= 0;
7149 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7152 PyObject
*swig_obj
[1] ;
7154 if (!args
) SWIG_fail
;
7156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7157 if (!SWIG_IsOK(res1
)) {
7158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7160 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 resultobj
= SWIG_Py_Void();
7172 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7173 PyObject
*resultobj
= 0;
7174 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7178 PyObject
*swig_obj
[1] ;
7180 if (!args
) SWIG_fail
;
7182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7183 if (!SWIG_IsOK(res1
)) {
7184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7186 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7188 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7200 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7202 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7203 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7204 return SWIG_Py_Void();
7207 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7208 return SWIG_Python_InitShadowInstance(args
);
7211 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7212 PyObject
*resultobj
= 0;
7213 wxNativePixelData
*arg1
= 0 ;
7214 wxNativePixelData_Accessor
*result
= 0 ;
7218 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7220 if (!SWIG_IsOK(res1
)) {
7221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7226 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7228 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7238 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7239 PyObject
*resultobj
= 0;
7240 wxBitmap
*arg1
= 0 ;
7241 wxNativePixelData
*arg2
= 0 ;
7242 wxNativePixelData_Accessor
*result
= 0 ;
7248 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7250 if (!SWIG_IsOK(res1
)) {
7251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7256 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7257 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7258 if (!SWIG_IsOK(res2
)) {
7259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7264 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7266 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7276 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7277 PyObject
*resultobj
= 0;
7278 wxNativePixelData_Accessor
*result
= 0 ;
7280 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7282 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7292 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7296 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7299 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7302 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7305 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7309 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7314 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7315 PyObject
*resultobj
= 0;
7316 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7319 PyObject
*swig_obj
[1] ;
7321 if (!args
) SWIG_fail
;
7323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7324 if (!SWIG_IsOK(res1
)) {
7325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7327 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 resultobj
= SWIG_Py_Void();
7340 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
= 0;
7342 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7343 wxNativePixelData
*arg2
= 0 ;
7348 PyObject
* obj0
= 0 ;
7349 PyObject
* obj1
= 0 ;
7350 char * kwnames
[] = {
7351 (char *) "self",(char *) "data", NULL
7354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7356 if (!SWIG_IsOK(res1
)) {
7357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7359 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7361 if (!SWIG_IsOK(res2
)) {
7362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7367 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7369 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 resultobj
= SWIG_Py_Void();
7379 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7380 PyObject
*resultobj
= 0;
7381 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7385 PyObject
*swig_obj
[1] ;
7387 if (!args
) SWIG_fail
;
7389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7390 if (!SWIG_IsOK(res1
)) {
7391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7393 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7395 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7396 if (PyErr_Occurred()) SWIG_fail
;
7399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7407 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7408 PyObject
*resultobj
= 0;
7409 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7412 PyObject
*swig_obj
[1] ;
7414 if (!args
) SWIG_fail
;
7416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7417 if (!SWIG_IsOK(res1
)) {
7418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7420 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7422 wxNativePixelData_Accessor_nextPixel(arg1
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7425 resultobj
= SWIG_Py_Void();
7432 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
*resultobj
= 0;
7434 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7435 wxNativePixelData
*arg2
= 0 ;
7446 PyObject
* obj0
= 0 ;
7447 PyObject
* obj1
= 0 ;
7448 PyObject
* obj2
= 0 ;
7449 PyObject
* obj3
= 0 ;
7450 char * kwnames
[] = {
7451 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7456 if (!SWIG_IsOK(res1
)) {
7457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7459 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7461 if (!SWIG_IsOK(res2
)) {
7462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7467 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7469 if (!SWIG_IsOK(ecode3
)) {
7470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7472 arg3
= static_cast< int >(val3
);
7473 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7474 if (!SWIG_IsOK(ecode4
)) {
7475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7477 arg4
= static_cast< int >(val4
);
7479 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7482 resultobj
= SWIG_Py_Void();
7489 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7490 PyObject
*resultobj
= 0;
7491 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7492 wxNativePixelData
*arg2
= 0 ;
7500 PyObject
* obj0
= 0 ;
7501 PyObject
* obj1
= 0 ;
7502 PyObject
* obj2
= 0 ;
7503 char * kwnames
[] = {
7504 (char *) "self",(char *) "data",(char *) "x", NULL
7507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7509 if (!SWIG_IsOK(res1
)) {
7510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7512 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7513 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7514 if (!SWIG_IsOK(res2
)) {
7515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7520 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7521 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7522 if (!SWIG_IsOK(ecode3
)) {
7523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7525 arg3
= static_cast< int >(val3
);
7527 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= SWIG_Py_Void();
7537 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
= 0;
7539 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7540 wxNativePixelData
*arg2
= 0 ;
7548 PyObject
* obj0
= 0 ;
7549 PyObject
* obj1
= 0 ;
7550 PyObject
* obj2
= 0 ;
7551 char * kwnames
[] = {
7552 (char *) "self",(char *) "data",(char *) "y", NULL
7555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7557 if (!SWIG_IsOK(res1
)) {
7558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7560 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7561 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7562 if (!SWIG_IsOK(res2
)) {
7563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7566 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7568 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7569 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7570 if (!SWIG_IsOK(ecode3
)) {
7571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7573 arg3
= static_cast< int >(val3
);
7575 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= SWIG_Py_Void();
7585 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
= 0;
7587 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7588 wxNativePixelData
*arg2
= 0 ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7601 PyObject
* obj2
= 0 ;
7602 PyObject
* obj3
= 0 ;
7603 char * kwnames
[] = {
7604 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7609 if (!SWIG_IsOK(res1
)) {
7610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7612 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7614 if (!SWIG_IsOK(res2
)) {
7615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7620 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7621 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7622 if (!SWIG_IsOK(ecode3
)) {
7623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7625 arg3
= static_cast< int >(val3
);
7626 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7627 if (!SWIG_IsOK(ecode4
)) {
7628 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7630 arg4
= static_cast< int >(val4
);
7632 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_Py_Void();
7642 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
= 0;
7644 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7650 unsigned char val2
;
7652 unsigned char val3
;
7654 unsigned char val4
;
7656 PyObject
* obj0
= 0 ;
7657 PyObject
* obj1
= 0 ;
7658 PyObject
* obj2
= 0 ;
7659 PyObject
* obj3
= 0 ;
7660 char * kwnames
[] = {
7661 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7666 if (!SWIG_IsOK(res1
)) {
7667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7669 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7670 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7671 if (!SWIG_IsOK(ecode2
)) {
7672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7674 arg2
= static_cast< byte
>(val2
);
7675 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7676 if (!SWIG_IsOK(ecode3
)) {
7677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7679 arg3
= static_cast< byte
>(val3
);
7680 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7681 if (!SWIG_IsOK(ecode4
)) {
7682 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7684 arg4
= static_cast< byte
>(val4
);
7686 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= SWIG_Py_Void();
7696 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7697 PyObject
*resultobj
= 0;
7698 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7699 PyObject
*result
= 0 ;
7702 PyObject
*swig_obj
[1] ;
7704 if (!args
) SWIG_fail
;
7706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7707 if (!SWIG_IsOK(res1
)) {
7708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7710 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7712 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7722 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7725 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7726 return SWIG_Py_Void();
7729 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7730 return SWIG_Python_InitShadowInstance(args
);
7733 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7734 PyObject
*resultobj
= 0;
7735 wxBitmap
*arg1
= 0 ;
7736 wxAlphaPixelData
*result
= 0 ;
7740 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7742 if (!SWIG_IsOK(res1
)) {
7743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7748 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7750 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7760 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7761 PyObject
*resultobj
= 0;
7762 wxBitmap
*arg1
= 0 ;
7764 wxAlphaPixelData
*result
= 0 ;
7769 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7771 if (!SWIG_IsOK(res1
)) {
7772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7777 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7780 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7783 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7793 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7794 PyObject
*resultobj
= 0;
7795 wxBitmap
*arg1
= 0 ;
7798 wxAlphaPixelData
*result
= 0 ;
7804 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7806 if (!SWIG_IsOK(res1
)) {
7807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7812 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7815 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7819 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7822 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7832 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7836 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7839 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7842 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7845 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7849 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7854 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7855 PyObject
*resultobj
= 0;
7856 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7859 PyObject
*swig_obj
[1] ;
7861 if (!args
) SWIG_fail
;
7863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
7864 if (!SWIG_IsOK(res1
)) {
7865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7867 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7873 resultobj
= SWIG_Py_Void();
7880 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7881 PyObject
*resultobj
= 0;
7882 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7883 wxAlphaPixelData_Accessor result
;
7886 PyObject
*swig_obj
[1] ;
7888 if (!args
) SWIG_fail
;
7890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7891 if (!SWIG_IsOK(res1
)) {
7892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
7894 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7896 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
7897 if (PyErr_Occurred()) SWIG_fail
;
7899 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7906 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7907 PyObject
*resultobj
= 0;
7908 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7911 PyObject
*swig_obj
[1] ;
7913 if (!args
) SWIG_fail
;
7915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7916 if (!SWIG_IsOK(res1
)) {
7917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7919 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 resultobj
= SWIG_Py_Void();
7931 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7932 PyObject
*resultobj
= 0;
7933 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7937 PyObject
*swig_obj
[1] ;
7939 if (!args
) SWIG_fail
;
7941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7942 if (!SWIG_IsOK(res1
)) {
7943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7945 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7947 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7959 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7962 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
7963 return SWIG_Py_Void();
7966 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7967 return SWIG_Python_InitShadowInstance(args
);
7970 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7971 PyObject
*resultobj
= 0;
7972 wxAlphaPixelData
*arg1
= 0 ;
7973 wxAlphaPixelData_Accessor
*result
= 0 ;
7977 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
7979 if (!SWIG_IsOK(res1
)) {
7980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
7983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
7985 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7987 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7997 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7998 PyObject
*resultobj
= 0;
7999 wxBitmap
*arg1
= 0 ;
8000 wxAlphaPixelData
*arg2
= 0 ;
8001 wxAlphaPixelData_Accessor
*result
= 0 ;
8007 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8009 if (!SWIG_IsOK(res1
)) {
8010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8015 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8016 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8017 if (!SWIG_IsOK(res2
)) {
8018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8023 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8025 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8035 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8036 PyObject
*resultobj
= 0;
8037 wxAlphaPixelData_Accessor
*result
= 0 ;
8039 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8041 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8042 if (PyErr_Occurred()) SWIG_fail
;
8044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8051 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8055 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8058 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8061 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8064 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8068 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8073 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8074 PyObject
*resultobj
= 0;
8075 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8078 PyObject
*swig_obj
[1] ;
8080 if (!args
) SWIG_fail
;
8082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8083 if (!SWIG_IsOK(res1
)) {
8084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8086 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 resultobj
= SWIG_Py_Void();
8099 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
= 0;
8101 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8102 wxAlphaPixelData
*arg2
= 0 ;
8107 PyObject
* obj0
= 0 ;
8108 PyObject
* obj1
= 0 ;
8109 char * kwnames
[] = {
8110 (char *) "self",(char *) "data", NULL
8113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8115 if (!SWIG_IsOK(res1
)) {
8116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8118 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8119 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8120 if (!SWIG_IsOK(res2
)) {
8121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8126 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8128 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8131 resultobj
= SWIG_Py_Void();
8138 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8139 PyObject
*resultobj
= 0;
8140 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8144 PyObject
*swig_obj
[1] ;
8146 if (!args
) SWIG_fail
;
8148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8149 if (!SWIG_IsOK(res1
)) {
8150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8152 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8154 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8155 if (PyErr_Occurred()) SWIG_fail
;
8158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8166 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8167 PyObject
*resultobj
= 0;
8168 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8171 PyObject
*swig_obj
[1] ;
8173 if (!args
) SWIG_fail
;
8175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8176 if (!SWIG_IsOK(res1
)) {
8177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8179 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8181 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 resultobj
= SWIG_Py_Void();
8191 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
= 0;
8193 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8194 wxAlphaPixelData
*arg2
= 0 ;
8205 PyObject
* obj0
= 0 ;
8206 PyObject
* obj1
= 0 ;
8207 PyObject
* obj2
= 0 ;
8208 PyObject
* obj3
= 0 ;
8209 char * kwnames
[] = {
8210 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8215 if (!SWIG_IsOK(res1
)) {
8216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8218 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8220 if (!SWIG_IsOK(res2
)) {
8221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8226 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8228 if (!SWIG_IsOK(ecode3
)) {
8229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8231 arg3
= static_cast< int >(val3
);
8232 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8233 if (!SWIG_IsOK(ecode4
)) {
8234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8236 arg4
= static_cast< int >(val4
);
8238 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= SWIG_Py_Void();
8248 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
= 0;
8250 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8251 wxAlphaPixelData
*arg2
= 0 ;
8259 PyObject
* obj0
= 0 ;
8260 PyObject
* obj1
= 0 ;
8261 PyObject
* obj2
= 0 ;
8262 char * kwnames
[] = {
8263 (char *) "self",(char *) "data",(char *) "x", NULL
8266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8268 if (!SWIG_IsOK(res1
)) {
8269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8271 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8272 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8273 if (!SWIG_IsOK(res2
)) {
8274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8279 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8280 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8281 if (!SWIG_IsOK(ecode3
)) {
8282 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8284 arg3
= static_cast< int >(val3
);
8286 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8289 resultobj
= SWIG_Py_Void();
8296 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
= 0;
8298 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8299 wxAlphaPixelData
*arg2
= 0 ;
8307 PyObject
* obj0
= 0 ;
8308 PyObject
* obj1
= 0 ;
8309 PyObject
* obj2
= 0 ;
8310 char * kwnames
[] = {
8311 (char *) "self",(char *) "data",(char *) "y", NULL
8314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8316 if (!SWIG_IsOK(res1
)) {
8317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8319 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8320 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8321 if (!SWIG_IsOK(res2
)) {
8322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8327 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8328 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8329 if (!SWIG_IsOK(ecode3
)) {
8330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8332 arg3
= static_cast< int >(val3
);
8334 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 resultobj
= SWIG_Py_Void();
8344 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
= 0;
8346 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8347 wxAlphaPixelData
*arg2
= 0 ;
8358 PyObject
* obj0
= 0 ;
8359 PyObject
* obj1
= 0 ;
8360 PyObject
* obj2
= 0 ;
8361 PyObject
* obj3
= 0 ;
8362 char * kwnames
[] = {
8363 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8368 if (!SWIG_IsOK(res1
)) {
8369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8371 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8373 if (!SWIG_IsOK(res2
)) {
8374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8379 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8381 if (!SWIG_IsOK(ecode3
)) {
8382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8384 arg3
= static_cast< int >(val3
);
8385 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8386 if (!SWIG_IsOK(ecode4
)) {
8387 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8389 arg4
= static_cast< int >(val4
);
8391 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 resultobj
= SWIG_Py_Void();
8401 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
= 0;
8403 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8410 unsigned char val2
;
8412 unsigned char val3
;
8414 unsigned char val4
;
8416 unsigned char val5
;
8418 PyObject
* obj0
= 0 ;
8419 PyObject
* obj1
= 0 ;
8420 PyObject
* obj2
= 0 ;
8421 PyObject
* obj3
= 0 ;
8422 PyObject
* obj4
= 0 ;
8423 char * kwnames
[] = {
8424 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8429 if (!SWIG_IsOK(res1
)) {
8430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8432 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8433 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8434 if (!SWIG_IsOK(ecode2
)) {
8435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8437 arg2
= static_cast< byte
>(val2
);
8438 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8439 if (!SWIG_IsOK(ecode3
)) {
8440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8442 arg3
= static_cast< byte
>(val3
);
8443 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8444 if (!SWIG_IsOK(ecode4
)) {
8445 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8447 arg4
= static_cast< byte
>(val4
);
8448 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8449 if (!SWIG_IsOK(ecode5
)) {
8450 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8452 arg5
= static_cast< byte
>(val5
);
8454 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8457 resultobj
= SWIG_Py_Void();
8464 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8465 PyObject
*resultobj
= 0;
8466 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8467 PyObject
*result
= 0 ;
8470 PyObject
*swig_obj
[1] ;
8472 if (!args
) SWIG_fail
;
8474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8475 if (!SWIG_IsOK(res1
)) {
8476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8478 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8480 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8490 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8492 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8493 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8494 return SWIG_Py_Void();
8497 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8498 return SWIG_Python_InitShadowInstance(args
);
8501 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
= 0;
8503 wxBitmap
*arg1
= 0 ;
8504 wxColour
const &arg2_defvalue
= wxNullColour
;
8505 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8506 wxMask
*result
= 0 ;
8510 PyObject
* obj0
= 0 ;
8511 PyObject
* obj1
= 0 ;
8512 char * kwnames
[] = {
8513 (char *) "bitmap",(char *) "colour", NULL
8516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8517 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8518 if (!SWIG_IsOK(res1
)) {
8519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8524 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8528 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8532 if (!wxPyCheckForApp()) SWIG_fail
;
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8545 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8546 PyObject
*resultobj
= 0;
8547 wxMask
*arg1
= (wxMask
*) 0 ;
8550 PyObject
*swig_obj
[1] ;
8552 if (!args
) SWIG_fail
;
8554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8555 if (!SWIG_IsOK(res1
)) {
8556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8558 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= SWIG_Py_Void();
8571 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8573 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8574 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8575 return SWIG_Py_Void();
8578 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8579 return SWIG_Python_InitShadowInstance(args
);
8582 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
*resultobj
= 0;
8584 wxString
*arg1
= 0 ;
8586 int arg3
= (int) -1 ;
8587 int arg4
= (int) -1 ;
8588 wxIcon
*result
= 0 ;
8589 bool temp1
= false ;
8596 PyObject
* obj0
= 0 ;
8597 PyObject
* obj1
= 0 ;
8598 PyObject
* obj2
= 0 ;
8599 PyObject
* obj3
= 0 ;
8600 char * kwnames
[] = {
8601 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8606 arg1
= wxString_in_helper(obj0
);
8607 if (arg1
== NULL
) SWIG_fail
;
8610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8611 if (!SWIG_IsOK(ecode2
)) {
8612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8614 arg2
= static_cast< wxBitmapType
>(val2
);
8616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8617 if (!SWIG_IsOK(ecode3
)) {
8618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8620 arg3
= static_cast< int >(val3
);
8623 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8624 if (!SWIG_IsOK(ecode4
)) {
8625 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8627 arg4
= static_cast< int >(val4
);
8630 if (!wxPyCheckForApp()) SWIG_fail
;
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8651 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8652 PyObject
*resultobj
= 0;
8653 wxIcon
*arg1
= (wxIcon
*) 0 ;
8656 PyObject
*swig_obj
[1] ;
8658 if (!args
) SWIG_fail
;
8660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8661 if (!SWIG_IsOK(res1
)) {
8662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8664 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 resultobj
= SWIG_Py_Void();
8679 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8680 PyObject
*resultobj
= 0;
8681 wxIcon
*result
= 0 ;
8683 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8685 if (!wxPyCheckForApp()) SWIG_fail
;
8686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8687 result
= (wxIcon
*)new wxIcon();
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8698 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8699 PyObject
*resultobj
= 0;
8700 wxIconLocation
*arg1
= 0 ;
8701 wxIcon
*result
= 0 ;
8704 PyObject
* obj0
= 0 ;
8705 char * kwnames
[] = {
8706 (char *) "loc", NULL
8709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8710 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8711 if (!SWIG_IsOK(res1
)) {
8712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8717 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8719 if (!wxPyCheckForApp()) SWIG_fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8732 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
= 0;
8734 wxBitmap
*arg1
= 0 ;
8735 wxIcon
*result
= 0 ;
8738 PyObject
* obj0
= 0 ;
8739 char * kwnames
[] = {
8740 (char *) "bmp", NULL
8743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8744 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8745 if (!SWIG_IsOK(res1
)) {
8746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8751 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8753 if (!wxPyCheckForApp()) SWIG_fail
;
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8766 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
*resultobj
= 0;
8768 PyObject
*arg1
= (PyObject
*) 0 ;
8769 wxIcon
*result
= 0 ;
8770 PyObject
* obj0
= 0 ;
8771 char * kwnames
[] = {
8772 (char *) "listOfStrings", NULL
8775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8778 if (!wxPyCheckForApp()) SWIG_fail
;
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 result
= (wxIcon
*)new_wxIcon(arg1
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8791 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8792 PyObject
*resultobj
= 0;
8793 wxIcon
*arg1
= (wxIcon
*) 0 ;
8797 PyObject
*swig_obj
[1] ;
8799 if (!args
) SWIG_fail
;
8801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8802 if (!SWIG_IsOK(res1
)) {
8803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
8805 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8808 result
= (bool)(arg1
)->Ok();
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8821 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8822 PyObject
*resultobj
= 0;
8823 wxIcon
*arg1
= (wxIcon
*) 0 ;
8827 PyObject
*swig_obj
[1] ;
8829 if (!args
) SWIG_fail
;
8831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8832 if (!SWIG_IsOK(res1
)) {
8833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8835 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 result
= (int)(arg1
)->GetWidth();
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= SWIG_From_int(static_cast< int >(result
));
8849 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8850 PyObject
*resultobj
= 0;
8851 wxIcon
*arg1
= (wxIcon
*) 0 ;
8855 PyObject
*swig_obj
[1] ;
8857 if (!args
) SWIG_fail
;
8859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8860 if (!SWIG_IsOK(res1
)) {
8861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8863 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 result
= (int)(arg1
)->GetHeight();
8867 wxPyEndAllowThreads(__tstate
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8870 resultobj
= SWIG_From_int(static_cast< int >(result
));
8877 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8878 PyObject
*resultobj
= 0;
8879 wxIcon
*arg1
= (wxIcon
*) 0 ;
8883 PyObject
*swig_obj
[1] ;
8885 if (!args
) SWIG_fail
;
8887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8888 if (!SWIG_IsOK(res1
)) {
8889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
8891 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 result
= (int)(arg1
)->GetDepth();
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= SWIG_From_int(static_cast< int >(result
));
8905 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
= 0;
8907 wxIcon
*arg1
= (wxIcon
*) 0 ;
8913 PyObject
* obj0
= 0 ;
8914 PyObject
* obj1
= 0 ;
8915 char * kwnames
[] = {
8916 (char *) "self",(char *) "w", NULL
8919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8921 if (!SWIG_IsOK(res1
)) {
8922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8924 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8926 if (!SWIG_IsOK(ecode2
)) {
8927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
8929 arg2
= static_cast< int >(val2
);
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 (arg1
)->SetWidth(arg2
);
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 resultobj
= SWIG_Py_Void();
8943 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
= 0;
8945 wxIcon
*arg1
= (wxIcon
*) 0 ;
8951 PyObject
* obj0
= 0 ;
8952 PyObject
* obj1
= 0 ;
8953 char * kwnames
[] = {
8954 (char *) "self",(char *) "h", NULL
8957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8959 if (!SWIG_IsOK(res1
)) {
8960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8962 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8964 if (!SWIG_IsOK(ecode2
)) {
8965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
8967 arg2
= static_cast< int >(val2
);
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 (arg1
)->SetHeight(arg2
);
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8974 resultobj
= SWIG_Py_Void();
8981 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
*resultobj
= 0;
8983 wxIcon
*arg1
= (wxIcon
*) 0 ;
8989 PyObject
* obj0
= 0 ;
8990 PyObject
* obj1
= 0 ;
8991 char * kwnames
[] = {
8992 (char *) "self",(char *) "d", NULL
8995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8997 if (!SWIG_IsOK(res1
)) {
8998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9000 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9002 if (!SWIG_IsOK(ecode2
)) {
9003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9005 arg2
= static_cast< int >(val2
);
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 (arg1
)->SetDepth(arg2
);
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9012 resultobj
= SWIG_Py_Void();
9019 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
= 0;
9021 wxIcon
*arg1
= (wxIcon
*) 0 ;
9022 wxBitmap
*arg2
= 0 ;
9027 PyObject
* obj0
= 0 ;
9028 PyObject
* obj1
= 0 ;
9029 char * kwnames
[] = {
9030 (char *) "self",(char *) "bmp", NULL
9033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9035 if (!SWIG_IsOK(res1
)) {
9036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9038 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9039 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9040 if (!SWIG_IsOK(res2
)) {
9041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9046 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= SWIG_Py_Void();
9060 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9062 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9063 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9064 return SWIG_Py_Void();
9067 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9068 return SWIG_Python_InitShadowInstance(args
);
9071 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
*resultobj
= 0;
9073 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9074 int arg2
= (int) 0 ;
9075 wxIconLocation
*result
= 0 ;
9076 bool temp1
= false ;
9079 PyObject
* obj0
= 0 ;
9080 PyObject
* obj1
= 0 ;
9081 char * kwnames
[] = {
9082 (char *) "filename",(char *) "num", NULL
9085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9088 arg1
= wxString_in_helper(obj0
);
9089 if (arg1
== NULL
) SWIG_fail
;
9094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9095 if (!SWIG_IsOK(ecode2
)) {
9096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9098 arg2
= static_cast< int >(val2
);
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9106 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9121 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9122 PyObject
*resultobj
= 0;
9123 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9126 PyObject
*swig_obj
[1] ;
9128 if (!args
) SWIG_fail
;
9130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9131 if (!SWIG_IsOK(res1
)) {
9132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9134 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 wxPyEndAllowThreads(__tstate
);
9140 if (PyErr_Occurred()) SWIG_fail
;
9142 resultobj
= SWIG_Py_Void();
9149 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9150 PyObject
*resultobj
= 0;
9151 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9155 PyObject
*swig_obj
[1] ;
9157 if (!args
) SWIG_fail
;
9159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9160 if (!SWIG_IsOK(res1
)) {
9161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9163 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9167 wxPyEndAllowThreads(__tstate
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9179 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
= 0;
9181 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9182 wxString
*arg2
= 0 ;
9185 bool temp2
= false ;
9186 PyObject
* obj0
= 0 ;
9187 PyObject
* obj1
= 0 ;
9188 char * kwnames
[] = {
9189 (char *) "self",(char *) "filename", NULL
9192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9194 if (!SWIG_IsOK(res1
)) {
9195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9197 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9199 arg2
= wxString_in_helper(obj1
);
9200 if (arg2
== NULL
) SWIG_fail
;
9204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9205 (arg1
)->SetFileName((wxString
const &)*arg2
);
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 resultobj
= SWIG_Py_Void();
9224 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9225 PyObject
*resultobj
= 0;
9226 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9227 wxString
*result
= 0 ;
9230 PyObject
*swig_obj
[1] ;
9232 if (!args
) SWIG_fail
;
9234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9235 if (!SWIG_IsOK(res1
)) {
9236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9238 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9243 result
= (wxString
*) &_result_ref
;
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9250 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9252 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9261 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
*resultobj
= 0;
9263 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9269 PyObject
* obj0
= 0 ;
9270 PyObject
* obj1
= 0 ;
9271 char * kwnames
[] = {
9272 (char *) "self",(char *) "num", NULL
9275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9277 if (!SWIG_IsOK(res1
)) {
9278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9280 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9282 if (!SWIG_IsOK(ecode2
)) {
9283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9285 arg2
= static_cast< int >(val2
);
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 wxIconLocation_SetIndex(arg1
,arg2
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= SWIG_Py_Void();
9299 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9300 PyObject
*resultobj
= 0;
9301 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9305 PyObject
*swig_obj
[1] ;
9307 if (!args
) SWIG_fail
;
9309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9310 if (!SWIG_IsOK(res1
)) {
9311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9313 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 result
= (int)wxIconLocation_GetIndex(arg1
);
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= SWIG_From_int(static_cast< int >(result
));
9327 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9329 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9330 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9331 return SWIG_Py_Void();
9334 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9335 return SWIG_Python_InitShadowInstance(args
);
9338 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9339 PyObject
*resultobj
= 0;
9340 wxIconBundle
*result
= 0 ;
9342 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 result
= (wxIconBundle
*)new wxIconBundle();
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9356 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9357 PyObject
*resultobj
= 0;
9358 wxString
*arg1
= 0 ;
9360 wxIconBundle
*result
= 0 ;
9361 bool temp1
= false ;
9364 PyObject
* obj0
= 0 ;
9365 PyObject
* obj1
= 0 ;
9366 char * kwnames
[] = {
9367 (char *) "file",(char *) "type", NULL
9370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9372 arg1
= wxString_in_helper(obj0
);
9373 if (arg1
== NULL
) SWIG_fail
;
9376 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9377 if (!SWIG_IsOK(ecode2
)) {
9378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9380 arg2
= static_cast< long >(val2
);
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9383 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9402 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
= 0;
9405 wxIconBundle
*result
= 0 ;
9408 PyObject
* obj0
= 0 ;
9409 char * kwnames
[] = {
9410 (char *) "icon", NULL
9413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9414 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9415 if (!SWIG_IsOK(res1
)) {
9416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9419 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9421 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9425 wxPyEndAllowThreads(__tstate
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9435 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9436 PyObject
*resultobj
= 0;
9437 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9440 PyObject
*swig_obj
[1] ;
9442 if (!args
) SWIG_fail
;
9444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9445 if (!SWIG_IsOK(res1
)) {
9446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9448 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= SWIG_Py_Void();
9463 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9464 PyObject
*resultobj
= 0;
9465 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9471 PyObject
* obj0
= 0 ;
9472 PyObject
* obj1
= 0 ;
9473 char * kwnames
[] = {
9474 (char *) "self",(char *) "icon", NULL
9477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9479 if (!SWIG_IsOK(res1
)) {
9480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9482 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9483 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9484 if (!SWIG_IsOK(res2
)) {
9485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9490 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9497 resultobj
= SWIG_Py_Void();
9504 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
*resultobj
= 0;
9506 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9507 wxString
*arg2
= 0 ;
9511 bool temp2
= false ;
9514 PyObject
* obj0
= 0 ;
9515 PyObject
* obj1
= 0 ;
9516 PyObject
* obj2
= 0 ;
9517 char * kwnames
[] = {
9518 (char *) "self",(char *) "file",(char *) "type", NULL
9521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9523 if (!SWIG_IsOK(res1
)) {
9524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9526 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9528 arg2
= wxString_in_helper(obj1
);
9529 if (arg2
== NULL
) SWIG_fail
;
9532 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9533 if (!SWIG_IsOK(ecode3
)) {
9534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9536 arg3
= static_cast< long >(val3
);
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 resultobj
= SWIG_Py_Void();
9558 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
= 0;
9560 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9562 wxIcon
*result
= 0 ;
9566 PyObject
* obj0
= 0 ;
9567 PyObject
* obj1
= 0 ;
9568 char * kwnames
[] = {
9569 (char *) "self",(char *) "size", NULL
9572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9574 if (!SWIG_IsOK(res1
)) {
9575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9577 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9580 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9586 result
= (wxIcon
*) &_result_ref
;
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9592 wxIcon
* resultptr
= new wxIcon(*result
);
9593 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9601 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9604 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9605 return SWIG_Py_Void();
9608 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9609 return SWIG_Python_InitShadowInstance(args
);
9612 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
*resultobj
= 0;
9614 wxString
*arg1
= 0 ;
9616 int arg3
= (int) 0 ;
9617 int arg4
= (int) 0 ;
9618 wxCursor
*result
= 0 ;
9619 bool temp1
= false ;
9626 PyObject
* obj0
= 0 ;
9627 PyObject
* obj1
= 0 ;
9628 PyObject
* obj2
= 0 ;
9629 PyObject
* obj3
= 0 ;
9630 char * kwnames
[] = {
9631 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9636 arg1
= wxString_in_helper(obj0
);
9637 if (arg1
== NULL
) SWIG_fail
;
9640 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9641 if (!SWIG_IsOK(ecode2
)) {
9642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9644 arg2
= static_cast< long >(val2
);
9646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9647 if (!SWIG_IsOK(ecode3
)) {
9648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9650 arg3
= static_cast< int >(val3
);
9653 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9654 if (!SWIG_IsOK(ecode4
)) {
9655 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9657 arg4
= static_cast< int >(val4
);
9660 if (!wxPyCheckForApp()) SWIG_fail
;
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9681 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9682 PyObject
*resultobj
= 0;
9683 wxCursor
*arg1
= (wxCursor
*) 0 ;
9686 PyObject
*swig_obj
[1] ;
9688 if (!args
) SWIG_fail
;
9690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9691 if (!SWIG_IsOK(res1
)) {
9692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9694 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= SWIG_Py_Void();
9709 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
= 0;
9712 wxCursor
*result
= 0 ;
9715 PyObject
* obj0
= 0 ;
9716 char * kwnames
[] = {
9720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9721 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9722 if (!SWIG_IsOK(ecode1
)) {
9723 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9725 arg1
= static_cast< int >(val1
);
9727 if (!wxPyCheckForApp()) SWIG_fail
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 result
= (wxCursor
*)new wxCursor(arg1
);
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9740 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
*resultobj
= 0;
9743 wxCursor
*result
= 0 ;
9746 PyObject
* obj0
= 0 ;
9747 char * kwnames
[] = {
9748 (char *) "image", NULL
9751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9752 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9753 if (!SWIG_IsOK(res1
)) {
9754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9759 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9761 if (!wxPyCheckForApp()) SWIG_fail
;
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9774 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9775 PyObject
*resultobj
= 0;
9776 wxCursor
*arg1
= (wxCursor
*) 0 ;
9780 PyObject
*swig_obj
[1] ;
9782 if (!args
) SWIG_fail
;
9784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9785 if (!SWIG_IsOK(res1
)) {
9786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
9788 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 result
= (bool)(arg1
)->Ok();
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9804 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9806 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9807 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9808 return SWIG_Py_Void();
9811 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9812 return SWIG_Python_InitShadowInstance(args
);
9815 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
= 0;
9817 int arg1
= (int) 0 ;
9818 int arg2
= (int) 0 ;
9819 int arg3
= (int) 0 ;
9820 int arg4
= (int) 0 ;
9821 wxRegion
*result
= 0 ;
9830 PyObject
* obj0
= 0 ;
9831 PyObject
* obj1
= 0 ;
9832 PyObject
* obj2
= 0 ;
9833 PyObject
* obj3
= 0 ;
9834 char * kwnames
[] = {
9835 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9840 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9841 if (!SWIG_IsOK(ecode1
)) {
9842 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
9844 arg1
= static_cast< int >(val1
);
9847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9848 if (!SWIG_IsOK(ecode2
)) {
9849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
9851 arg2
= static_cast< int >(val2
);
9854 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9855 if (!SWIG_IsOK(ecode3
)) {
9856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
9858 arg3
= static_cast< int >(val3
);
9861 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9862 if (!SWIG_IsOK(ecode4
)) {
9863 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
9865 arg4
= static_cast< int >(val4
);
9868 if (!wxPyCheckForApp()) SWIG_fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
9881 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9882 PyObject
*resultobj
= 0;
9883 wxBitmap
*arg1
= 0 ;
9884 wxRegion
*result
= 0 ;
9887 PyObject
* obj0
= 0 ;
9888 char * kwnames
[] = {
9889 (char *) "bmp", NULL
9892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9893 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9894 if (!SWIG_IsOK(res1
)) {
9895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9900 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9902 if (!wxPyCheckForApp()) SWIG_fail
;
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9915 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
*resultobj
= 0;
9917 wxBitmap
*arg1
= 0 ;
9918 wxColour
*arg2
= 0 ;
9919 int arg3
= (int) 0 ;
9920 wxRegion
*result
= 0 ;
9926 PyObject
* obj0
= 0 ;
9927 PyObject
* obj1
= 0 ;
9928 PyObject
* obj2
= 0 ;
9929 char * kwnames
[] = {
9930 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
9933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9934 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9935 if (!SWIG_IsOK(res1
)) {
9936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9941 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9944 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9947 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9948 if (!SWIG_IsOK(ecode3
)) {
9949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
9951 arg3
= static_cast< int >(val3
);
9954 if (!wxPyCheckForApp()) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9967 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9968 PyObject
*resultobj
= 0;
9970 wxPoint
*arg2
= (wxPoint
*) 0 ;
9971 int arg3
= (int) wxWINDING_RULE
;
9972 wxRegion
*result
= 0 ;
9975 PyObject
* obj0
= 0 ;
9976 PyObject
* obj1
= 0 ;
9977 char * kwnames
[] = {
9978 (char *) "points",(char *) "fillStyle", NULL
9981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9983 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
9984 if (arg2
== NULL
) SWIG_fail
;
9987 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
9988 if (!SWIG_IsOK(ecode3
)) {
9989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
9991 arg3
= static_cast< int >(val3
);
9994 if (!wxPyCheckForApp()) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10002 if (arg2
) delete [] arg2
;
10007 if (arg2
) delete [] arg2
;
10013 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10014 PyObject
*resultobj
= 0;
10015 wxRegion
*arg1
= (wxRegion
*) 0 ;
10018 PyObject
*swig_obj
[1] ;
10020 if (!args
) SWIG_fail
;
10021 swig_obj
[0] = args
;
10022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10023 if (!SWIG_IsOK(res1
)) {
10024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10026 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10034 resultobj
= SWIG_Py_Void();
10041 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10042 PyObject
*resultobj
= 0;
10043 wxRegion
*arg1
= (wxRegion
*) 0 ;
10046 PyObject
*swig_obj
[1] ;
10048 if (!args
) SWIG_fail
;
10049 swig_obj
[0] = args
;
10050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10051 if (!SWIG_IsOK(res1
)) {
10052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10054 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10061 resultobj
= SWIG_Py_Void();
10068 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
= 0;
10070 wxRegion
*arg1
= (wxRegion
*) 0 ;
10080 PyObject
* obj0
= 0 ;
10081 PyObject
* obj1
= 0 ;
10082 PyObject
* obj2
= 0 ;
10083 char * kwnames
[] = {
10084 (char *) "self",(char *) "x",(char *) "y", NULL
10087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10089 if (!SWIG_IsOK(res1
)) {
10090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10092 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10094 if (!SWIG_IsOK(ecode2
)) {
10095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10097 arg2
= static_cast< int >(val2
);
10098 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10099 if (!SWIG_IsOK(ecode3
)) {
10100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10102 arg3
= static_cast< int >(val3
);
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10118 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
*resultobj
= 0;
10120 wxRegion
*arg1
= (wxRegion
*) 0 ;
10123 wxRegionContain result
;
10130 PyObject
* obj0
= 0 ;
10131 PyObject
* obj1
= 0 ;
10132 PyObject
* obj2
= 0 ;
10133 char * kwnames
[] = {
10134 (char *) "self",(char *) "x",(char *) "y", NULL
10137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10139 if (!SWIG_IsOK(res1
)) {
10140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10142 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10144 if (!SWIG_IsOK(ecode2
)) {
10145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10147 arg2
= static_cast< int >(val2
);
10148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10149 if (!SWIG_IsOK(ecode3
)) {
10150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10152 arg3
= static_cast< int >(val3
);
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10156 wxPyEndAllowThreads(__tstate
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10159 resultobj
= SWIG_From_int(static_cast< int >(result
));
10166 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
*resultobj
= 0;
10168 wxRegion
*arg1
= (wxRegion
*) 0 ;
10169 wxPoint
*arg2
= 0 ;
10170 wxRegionContain result
;
10174 PyObject
* obj0
= 0 ;
10175 PyObject
* obj1
= 0 ;
10176 char * kwnames
[] = {
10177 (char *) "self",(char *) "pt", NULL
10180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10182 if (!SWIG_IsOK(res1
)) {
10183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10185 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10188 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= SWIG_From_int(static_cast< int >(result
));
10203 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
= 0;
10205 wxRegion
*arg1
= (wxRegion
*) 0 ;
10207 wxRegionContain result
;
10211 PyObject
* obj0
= 0 ;
10212 PyObject
* obj1
= 0 ;
10213 char * kwnames
[] = {
10214 (char *) "self",(char *) "rect", NULL
10217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10219 if (!SWIG_IsOK(res1
)) {
10220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10222 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10225 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= SWIG_From_int(static_cast< int >(result
));
10240 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10241 PyObject
*resultobj
= 0;
10242 wxRegion
*arg1
= (wxRegion
*) 0 ;
10247 wxRegionContain result
;
10258 PyObject
* obj0
= 0 ;
10259 PyObject
* obj1
= 0 ;
10260 PyObject
* obj2
= 0 ;
10261 PyObject
* obj3
= 0 ;
10262 PyObject
* obj4
= 0 ;
10263 char * kwnames
[] = {
10264 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10269 if (!SWIG_IsOK(res1
)) {
10270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10272 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10274 if (!SWIG_IsOK(ecode2
)) {
10275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10277 arg2
= static_cast< int >(val2
);
10278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10279 if (!SWIG_IsOK(ecode3
)) {
10280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10282 arg3
= static_cast< int >(val3
);
10283 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10284 if (!SWIG_IsOK(ecode4
)) {
10285 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10287 arg4
= static_cast< int >(val4
);
10288 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10289 if (!SWIG_IsOK(ecode5
)) {
10290 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10292 arg5
= static_cast< int >(val5
);
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= SWIG_From_int(static_cast< int >(result
));
10306 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10307 PyObject
*resultobj
= 0;
10308 wxRegion
*arg1
= (wxRegion
*) 0 ;
10312 PyObject
*swig_obj
[1] ;
10314 if (!args
) SWIG_fail
;
10315 swig_obj
[0] = args
;
10316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10317 if (!SWIG_IsOK(res1
)) {
10318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10320 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10323 result
= (arg1
)->GetBox();
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10334 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
= 0;
10336 wxRegion
*arg1
= (wxRegion
*) 0 ;
10352 PyObject
* obj0
= 0 ;
10353 PyObject
* obj1
= 0 ;
10354 PyObject
* obj2
= 0 ;
10355 PyObject
* obj3
= 0 ;
10356 PyObject
* obj4
= 0 ;
10357 char * kwnames
[] = {
10358 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10363 if (!SWIG_IsOK(res1
)) {
10364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10366 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10368 if (!SWIG_IsOK(ecode2
)) {
10369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10371 arg2
= static_cast< int >(val2
);
10372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10373 if (!SWIG_IsOK(ecode3
)) {
10374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10376 arg3
= static_cast< int >(val3
);
10377 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10378 if (!SWIG_IsOK(ecode4
)) {
10379 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10381 arg4
= static_cast< int >(val4
);
10382 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10383 if (!SWIG_IsOK(ecode5
)) {
10384 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10386 arg5
= static_cast< int >(val5
);
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10402 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
*resultobj
= 0;
10404 wxRegion
*arg1
= (wxRegion
*) 0 ;
10410 PyObject
* obj0
= 0 ;
10411 PyObject
* obj1
= 0 ;
10412 char * kwnames
[] = {
10413 (char *) "self",(char *) "rect", NULL
10416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10418 if (!SWIG_IsOK(res1
)) {
10419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10421 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10424 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10441 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10442 PyObject
*resultobj
= 0;
10443 wxRegion
*arg1
= (wxRegion
*) 0 ;
10444 wxRegion
*arg2
= 0 ;
10450 PyObject
* obj0
= 0 ;
10451 PyObject
* obj1
= 0 ;
10452 char * kwnames
[] = {
10453 (char *) "self",(char *) "region", NULL
10456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10458 if (!SWIG_IsOK(res1
)) {
10459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10461 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10462 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10463 if (!SWIG_IsOK(res2
)) {
10464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10469 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10485 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10486 PyObject
*resultobj
= 0;
10487 wxRegion
*arg1
= (wxRegion
*) 0 ;
10491 PyObject
*swig_obj
[1] ;
10493 if (!args
) SWIG_fail
;
10494 swig_obj
[0] = args
;
10495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10496 if (!SWIG_IsOK(res1
)) {
10497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10499 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 result
= (bool)(arg1
)->IsEmpty();
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10515 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
= 0;
10517 wxRegion
*arg1
= (wxRegion
*) 0 ;
10533 PyObject
* obj0
= 0 ;
10534 PyObject
* obj1
= 0 ;
10535 PyObject
* obj2
= 0 ;
10536 PyObject
* obj3
= 0 ;
10537 PyObject
* obj4
= 0 ;
10538 char * kwnames
[] = {
10539 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10544 if (!SWIG_IsOK(res1
)) {
10545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10547 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10549 if (!SWIG_IsOK(ecode2
)) {
10550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10552 arg2
= static_cast< int >(val2
);
10553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10554 if (!SWIG_IsOK(ecode3
)) {
10555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10557 arg3
= static_cast< int >(val3
);
10558 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10559 if (!SWIG_IsOK(ecode4
)) {
10560 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10562 arg4
= static_cast< int >(val4
);
10563 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10564 if (!SWIG_IsOK(ecode5
)) {
10565 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10567 arg5
= static_cast< int >(val5
);
10569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10570 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10571 wxPyEndAllowThreads(__tstate
);
10572 if (PyErr_Occurred()) SWIG_fail
;
10575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10583 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
= 0;
10585 wxRegion
*arg1
= (wxRegion
*) 0 ;
10591 PyObject
* obj0
= 0 ;
10592 PyObject
* obj1
= 0 ;
10593 char * kwnames
[] = {
10594 (char *) "self",(char *) "rect", NULL
10597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10599 if (!SWIG_IsOK(res1
)) {
10600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10602 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10605 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10622 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
= 0;
10624 wxRegion
*arg1
= (wxRegion
*) 0 ;
10625 wxRegion
*arg2
= 0 ;
10631 PyObject
* obj0
= 0 ;
10632 PyObject
* obj1
= 0 ;
10633 char * kwnames
[] = {
10634 (char *) "self",(char *) "region", NULL
10637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10639 if (!SWIG_IsOK(res1
)) {
10640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10642 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10643 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10644 if (!SWIG_IsOK(res2
)) {
10645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10650 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10666 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
= 0;
10668 wxRegion
*arg1
= (wxRegion
*) 0 ;
10684 PyObject
* obj0
= 0 ;
10685 PyObject
* obj1
= 0 ;
10686 PyObject
* obj2
= 0 ;
10687 PyObject
* obj3
= 0 ;
10688 PyObject
* obj4
= 0 ;
10689 char * kwnames
[] = {
10690 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10695 if (!SWIG_IsOK(res1
)) {
10696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10698 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10700 if (!SWIG_IsOK(ecode2
)) {
10701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10703 arg2
= static_cast< int >(val2
);
10704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10705 if (!SWIG_IsOK(ecode3
)) {
10706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10708 arg3
= static_cast< int >(val3
);
10709 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10710 if (!SWIG_IsOK(ecode4
)) {
10711 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10713 arg4
= static_cast< int >(val4
);
10714 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10715 if (!SWIG_IsOK(ecode5
)) {
10716 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10718 arg5
= static_cast< int >(val5
);
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10734 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10735 PyObject
*resultobj
= 0;
10736 wxRegion
*arg1
= (wxRegion
*) 0 ;
10742 PyObject
* obj0
= 0 ;
10743 PyObject
* obj1
= 0 ;
10744 char * kwnames
[] = {
10745 (char *) "self",(char *) "rect", NULL
10748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10750 if (!SWIG_IsOK(res1
)) {
10751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10753 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10756 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10760 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10773 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
*resultobj
= 0;
10775 wxRegion
*arg1
= (wxRegion
*) 0 ;
10776 wxRegion
*arg2
= 0 ;
10782 PyObject
* obj0
= 0 ;
10783 PyObject
* obj1
= 0 ;
10784 char * kwnames
[] = {
10785 (char *) "self",(char *) "region", NULL
10788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10790 if (!SWIG_IsOK(res1
)) {
10791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10793 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10794 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10795 if (!SWIG_IsOK(res2
)) {
10796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10801 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10804 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10817 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
= 0;
10819 wxRegion
*arg1
= (wxRegion
*) 0 ;
10835 PyObject
* obj0
= 0 ;
10836 PyObject
* obj1
= 0 ;
10837 PyObject
* obj2
= 0 ;
10838 PyObject
* obj3
= 0 ;
10839 PyObject
* obj4
= 0 ;
10840 char * kwnames
[] = {
10841 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10846 if (!SWIG_IsOK(res1
)) {
10847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
10849 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10851 if (!SWIG_IsOK(ecode2
)) {
10852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
10854 arg2
= static_cast< int >(val2
);
10855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10856 if (!SWIG_IsOK(ecode3
)) {
10857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
10859 arg3
= static_cast< int >(val3
);
10860 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10861 if (!SWIG_IsOK(ecode4
)) {
10862 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
10864 arg4
= static_cast< int >(val4
);
10865 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10866 if (!SWIG_IsOK(ecode5
)) {
10867 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
10869 arg5
= static_cast< int >(val5
);
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10885 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
= 0;
10887 wxRegion
*arg1
= (wxRegion
*) 0 ;
10893 PyObject
* obj0
= 0 ;
10894 PyObject
* obj1
= 0 ;
10895 char * kwnames
[] = {
10896 (char *) "self",(char *) "rect", NULL
10899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10901 if (!SWIG_IsOK(res1
)) {
10902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10904 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10907 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10924 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
= 0;
10926 wxRegion
*arg1
= (wxRegion
*) 0 ;
10927 wxRegion
*arg2
= 0 ;
10933 PyObject
* obj0
= 0 ;
10934 PyObject
* obj1
= 0 ;
10935 char * kwnames
[] = {
10936 (char *) "self",(char *) "region", NULL
10939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10941 if (!SWIG_IsOK(res1
)) {
10942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10944 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10945 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10946 if (!SWIG_IsOK(res2
)) {
10947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10952 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10968 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10969 PyObject
*resultobj
= 0;
10970 wxRegion
*arg1
= (wxRegion
*) 0 ;
10971 SwigValueWrapper
<wxBitmap
> result
;
10974 PyObject
*swig_obj
[1] ;
10976 if (!args
) SWIG_fail
;
10977 swig_obj
[0] = args
;
10978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10979 if (!SWIG_IsOK(res1
)) {
10980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
10982 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 result
= (arg1
)->ConvertToBitmap();
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
10996 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
= 0;
10998 wxRegion
*arg1
= (wxRegion
*) 0 ;
10999 wxBitmap
*arg2
= 0 ;
11005 PyObject
* obj0
= 0 ;
11006 PyObject
* obj1
= 0 ;
11007 char * kwnames
[] = {
11008 (char *) "self",(char *) "bmp", NULL
11011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11013 if (!SWIG_IsOK(res1
)) {
11014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11016 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11017 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11018 if (!SWIG_IsOK(res2
)) {
11019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11024 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11040 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
= 0;
11042 wxRegion
*arg1
= (wxRegion
*) 0 ;
11043 wxBitmap
*arg2
= 0 ;
11044 wxColour
*arg3
= 0 ;
11045 int arg4
= (int) 0 ;
11054 PyObject
* obj0
= 0 ;
11055 PyObject
* obj1
= 0 ;
11056 PyObject
* obj2
= 0 ;
11057 PyObject
* obj3
= 0 ;
11058 char * kwnames
[] = {
11059 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11064 if (!SWIG_IsOK(res1
)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11067 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11068 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11069 if (!SWIG_IsOK(res2
)) {
11070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11075 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11078 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11081 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11082 if (!SWIG_IsOK(ecode4
)) {
11083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11085 arg4
= static_cast< int >(val4
);
11088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11089 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11102 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11105 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11106 return SWIG_Py_Void();
11109 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11110 return SWIG_Python_InitShadowInstance(args
);
11113 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
= 0;
11115 wxRegion
*arg1
= 0 ;
11116 wxRegionIterator
*result
= 0 ;
11119 PyObject
* obj0
= 0 ;
11120 char * kwnames
[] = {
11121 (char *) "region", NULL
11124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11125 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11126 if (!SWIG_IsOK(res1
)) {
11127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11132 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11134 if (!wxPyCheckForApp()) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11147 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11148 PyObject
*resultobj
= 0;
11149 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11152 PyObject
*swig_obj
[1] ;
11154 if (!args
) SWIG_fail
;
11155 swig_obj
[0] = args
;
11156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11157 if (!SWIG_IsOK(res1
)) {
11158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11160 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= SWIG_Py_Void();
11175 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11176 PyObject
*resultobj
= 0;
11177 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11181 PyObject
*swig_obj
[1] ;
11183 if (!args
) SWIG_fail
;
11184 swig_obj
[0] = args
;
11185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11186 if (!SWIG_IsOK(res1
)) {
11187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11189 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 result
= (int)(arg1
)->GetX();
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11196 resultobj
= SWIG_From_int(static_cast< int >(result
));
11203 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11204 PyObject
*resultobj
= 0;
11205 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11209 PyObject
*swig_obj
[1] ;
11211 if (!args
) SWIG_fail
;
11212 swig_obj
[0] = args
;
11213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11214 if (!SWIG_IsOK(res1
)) {
11215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11217 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 result
= (int)(arg1
)->GetY();
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= SWIG_From_int(static_cast< int >(result
));
11231 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11232 PyObject
*resultobj
= 0;
11233 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11237 PyObject
*swig_obj
[1] ;
11239 if (!args
) SWIG_fail
;
11240 swig_obj
[0] = args
;
11241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11242 if (!SWIG_IsOK(res1
)) {
11243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11245 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 result
= (int)(arg1
)->GetW();
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= SWIG_From_int(static_cast< int >(result
));
11259 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11260 PyObject
*resultobj
= 0;
11261 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11265 PyObject
*swig_obj
[1] ;
11267 if (!args
) SWIG_fail
;
11268 swig_obj
[0] = args
;
11269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11270 if (!SWIG_IsOK(res1
)) {
11271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11273 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 result
= (int)(arg1
)->GetWidth();
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= SWIG_From_int(static_cast< int >(result
));
11287 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11288 PyObject
*resultobj
= 0;
11289 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11293 PyObject
*swig_obj
[1] ;
11295 if (!args
) SWIG_fail
;
11296 swig_obj
[0] = args
;
11297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11298 if (!SWIG_IsOK(res1
)) {
11299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11301 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 result
= (int)(arg1
)->GetH();
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= SWIG_From_int(static_cast< int >(result
));
11315 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11316 PyObject
*resultobj
= 0;
11317 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11321 PyObject
*swig_obj
[1] ;
11323 if (!args
) SWIG_fail
;
11324 swig_obj
[0] = args
;
11325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11326 if (!SWIG_IsOK(res1
)) {
11327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11329 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 result
= (int)(arg1
)->GetHeight();
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11336 resultobj
= SWIG_From_int(static_cast< int >(result
));
11343 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11344 PyObject
*resultobj
= 0;
11345 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11349 PyObject
*swig_obj
[1] ;
11351 if (!args
) SWIG_fail
;
11352 swig_obj
[0] = args
;
11353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11354 if (!SWIG_IsOK(res1
)) {
11355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11357 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11360 result
= (arg1
)->GetRect();
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11364 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11371 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11372 PyObject
*resultobj
= 0;
11373 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11377 PyObject
*swig_obj
[1] ;
11379 if (!args
) SWIG_fail
;
11380 swig_obj
[0] = args
;
11381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11382 if (!SWIG_IsOK(res1
)) {
11383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11385 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 result
= (bool)(arg1
)->HaveRects();
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11401 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11402 PyObject
*resultobj
= 0;
11403 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11406 PyObject
*swig_obj
[1] ;
11408 if (!args
) SWIG_fail
;
11409 swig_obj
[0] = args
;
11410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11411 if (!SWIG_IsOK(res1
)) {
11412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11414 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= SWIG_Py_Void();
11428 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11429 PyObject
*resultobj
= 0;
11430 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11433 PyObject
*swig_obj
[1] ;
11435 if (!args
) SWIG_fail
;
11436 swig_obj
[0] = args
;
11437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11438 if (!SWIG_IsOK(res1
)) {
11439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11441 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 wxRegionIterator_Next(arg1
);
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 resultobj
= SWIG_Py_Void();
11455 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11456 PyObject
*resultobj
= 0;
11457 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11461 PyObject
*swig_obj
[1] ;
11463 if (!args
) SWIG_fail
;
11464 swig_obj
[0] = args
;
11465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11466 if (!SWIG_IsOK(res1
)) {
11467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11469 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11485 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11488 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11489 return SWIG_Py_Void();
11492 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11493 return SWIG_Python_InitShadowInstance(args
);
11496 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11497 PyObject
*resultobj
= 0;
11498 wxNativeFontInfo
*result
= 0 ;
11500 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11514 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11515 PyObject
*resultobj
= 0;
11516 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11519 PyObject
*swig_obj
[1] ;
11521 if (!args
) SWIG_fail
;
11522 swig_obj
[0] = args
;
11523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11524 if (!SWIG_IsOK(res1
)) {
11525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11527 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11535 resultobj
= SWIG_Py_Void();
11542 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11543 PyObject
*resultobj
= 0;
11544 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11547 PyObject
*swig_obj
[1] ;
11549 if (!args
) SWIG_fail
;
11550 swig_obj
[0] = args
;
11551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11552 if (!SWIG_IsOK(res1
)) {
11553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11555 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11562 resultobj
= SWIG_Py_Void();
11569 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
= 0;
11571 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 PyObject
* obj1
= 0 ;
11579 char * kwnames
[] = {
11580 (char *) "self",(char *) "font", NULL
11583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11585 if (!SWIG_IsOK(res1
)) {
11586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11588 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11589 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11590 if (!SWIG_IsOK(res2
)) {
11591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11596 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11600 wxPyEndAllowThreads(__tstate
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= SWIG_Py_Void();
11610 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11611 PyObject
*resultobj
= 0;
11612 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11616 PyObject
*swig_obj
[1] ;
11618 if (!args
) SWIG_fail
;
11619 swig_obj
[0] = args
;
11620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11621 if (!SWIG_IsOK(res1
)) {
11622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11624 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11627 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11631 resultobj
= SWIG_From_int(static_cast< int >(result
));
11638 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11639 PyObject
*resultobj
= 0;
11640 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11641 wxFontStyle result
;
11644 PyObject
*swig_obj
[1] ;
11646 if (!args
) SWIG_fail
;
11647 swig_obj
[0] = args
;
11648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11649 if (!SWIG_IsOK(res1
)) {
11650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11652 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= SWIG_From_int(static_cast< int >(result
));
11666 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11667 PyObject
*resultobj
= 0;
11668 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11669 wxFontWeight result
;
11672 PyObject
*swig_obj
[1] ;
11674 if (!args
) SWIG_fail
;
11675 swig_obj
[0] = args
;
11676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11677 if (!SWIG_IsOK(res1
)) {
11678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11680 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11684 wxPyEndAllowThreads(__tstate
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11687 resultobj
= SWIG_From_int(static_cast< int >(result
));
11694 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11695 PyObject
*resultobj
= 0;
11696 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11700 PyObject
*swig_obj
[1] ;
11702 if (!args
) SWIG_fail
;
11703 swig_obj
[0] = args
;
11704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11705 if (!SWIG_IsOK(res1
)) {
11706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11708 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11724 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11725 PyObject
*resultobj
= 0;
11726 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11730 PyObject
*swig_obj
[1] ;
11732 if (!args
) SWIG_fail
;
11733 swig_obj
[0] = args
;
11734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11735 if (!SWIG_IsOK(res1
)) {
11736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11738 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11758 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11759 PyObject
*resultobj
= 0;
11760 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11761 wxFontFamily result
;
11764 PyObject
*swig_obj
[1] ;
11766 if (!args
) SWIG_fail
;
11767 swig_obj
[0] = args
;
11768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11769 if (!SWIG_IsOK(res1
)) {
11770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11772 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11775 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11776 wxPyEndAllowThreads(__tstate
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11779 resultobj
= SWIG_From_int(static_cast< int >(result
));
11786 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11787 PyObject
*resultobj
= 0;
11788 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11789 wxFontEncoding result
;
11792 PyObject
*swig_obj
[1] ;
11794 if (!args
) SWIG_fail
;
11795 swig_obj
[0] = args
;
11796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11797 if (!SWIG_IsOK(res1
)) {
11798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11800 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
11804 wxPyEndAllowThreads(__tstate
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11807 resultobj
= SWIG_From_int(static_cast< int >(result
));
11814 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11815 PyObject
*resultobj
= 0;
11816 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11822 PyObject
* obj0
= 0 ;
11823 PyObject
* obj1
= 0 ;
11824 char * kwnames
[] = {
11825 (char *) "self",(char *) "pointsize", NULL
11828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11830 if (!SWIG_IsOK(res1
)) {
11831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11833 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11835 if (!SWIG_IsOK(ecode2
)) {
11836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
11838 arg2
= static_cast< int >(val2
);
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 (arg1
)->SetPointSize(arg2
);
11842 wxPyEndAllowThreads(__tstate
);
11843 if (PyErr_Occurred()) SWIG_fail
;
11845 resultobj
= SWIG_Py_Void();
11852 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11853 PyObject
*resultobj
= 0;
11854 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11860 PyObject
* obj0
= 0 ;
11861 PyObject
* obj1
= 0 ;
11862 char * kwnames
[] = {
11863 (char *) "self",(char *) "style", NULL
11866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11868 if (!SWIG_IsOK(res1
)) {
11869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11871 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11873 if (!SWIG_IsOK(ecode2
)) {
11874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
11876 arg2
= static_cast< wxFontStyle
>(val2
);
11878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11879 (arg1
)->SetStyle(arg2
);
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= SWIG_Py_Void();
11890 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
= 0;
11892 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11893 wxFontWeight arg2
;
11898 PyObject
* obj0
= 0 ;
11899 PyObject
* obj1
= 0 ;
11900 char * kwnames
[] = {
11901 (char *) "self",(char *) "weight", NULL
11904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11906 if (!SWIG_IsOK(res1
)) {
11907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11909 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11911 if (!SWIG_IsOK(ecode2
)) {
11912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
11914 arg2
= static_cast< wxFontWeight
>(val2
);
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 (arg1
)->SetWeight(arg2
);
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= SWIG_Py_Void();
11928 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
= 0;
11930 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11936 PyObject
* obj0
= 0 ;
11937 PyObject
* obj1
= 0 ;
11938 char * kwnames
[] = {
11939 (char *) "self",(char *) "underlined", NULL
11942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11944 if (!SWIG_IsOK(res1
)) {
11945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11947 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11948 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11949 if (!SWIG_IsOK(ecode2
)) {
11950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
11952 arg2
= static_cast< bool >(val2
);
11954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11955 (arg1
)->SetUnderlined(arg2
);
11956 wxPyEndAllowThreads(__tstate
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11959 resultobj
= SWIG_Py_Void();
11966 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
= 0;
11968 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11973 PyObject
* obj0
= 0 ;
11974 PyObject
* obj1
= 0 ;
11975 char * kwnames
[] = {
11976 (char *) "self",(char *) "facename", NULL
11979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11981 if (!SWIG_IsOK(res1
)) {
11982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11984 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11986 wxString
* sptr
= wxString_in_helper(obj1
);
11987 if (sptr
== NULL
) SWIG_fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= (bool)(arg1
)->SetFaceName(arg2
);
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12006 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
= 0;
12008 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12009 wxFontFamily arg2
;
12014 PyObject
* obj0
= 0 ;
12015 PyObject
* obj1
= 0 ;
12016 char * kwnames
[] = {
12017 (char *) "self",(char *) "family", NULL
12020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12022 if (!SWIG_IsOK(res1
)) {
12023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12025 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12027 if (!SWIG_IsOK(ecode2
)) {
12028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12030 arg2
= static_cast< wxFontFamily
>(val2
);
12032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12033 (arg1
)->SetFamily(arg2
);
12034 wxPyEndAllowThreads(__tstate
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12037 resultobj
= SWIG_Py_Void();
12044 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12045 PyObject
*resultobj
= 0;
12046 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12047 wxFontEncoding arg2
;
12052 PyObject
* obj0
= 0 ;
12053 PyObject
* obj1
= 0 ;
12054 char * kwnames
[] = {
12055 (char *) "self",(char *) "encoding", NULL
12058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12060 if (!SWIG_IsOK(res1
)) {
12061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12063 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12065 if (!SWIG_IsOK(ecode2
)) {
12066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12068 arg2
= static_cast< wxFontEncoding
>(val2
);
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 (arg1
)->SetEncoding(arg2
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12075 resultobj
= SWIG_Py_Void();
12082 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
= 0;
12084 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12085 wxString
*arg2
= 0 ;
12089 bool temp2
= false ;
12090 PyObject
* obj0
= 0 ;
12091 PyObject
* obj1
= 0 ;
12092 char * kwnames
[] = {
12093 (char *) "self",(char *) "s", NULL
12096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12098 if (!SWIG_IsOK(res1
)) {
12099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12101 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12103 arg2
= wxString_in_helper(obj1
);
12104 if (arg2
== NULL
) SWIG_fail
;
12108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12109 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12130 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12131 PyObject
*resultobj
= 0;
12132 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12136 PyObject
*swig_obj
[1] ;
12138 if (!args
) SWIG_fail
;
12139 swig_obj
[0] = args
;
12140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12141 if (!SWIG_IsOK(res1
)) {
12142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12144 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12147 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12164 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12165 PyObject
*resultobj
= 0;
12166 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12170 PyObject
*swig_obj
[1] ;
12172 if (!args
) SWIG_fail
;
12173 swig_obj
[0] = args
;
12174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12175 if (!SWIG_IsOK(res1
)) {
12176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12178 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 result
= wxNativeFontInfo___str__(arg1
);
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12198 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
= 0;
12200 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12201 wxString
*arg2
= 0 ;
12205 bool temp2
= false ;
12206 PyObject
* obj0
= 0 ;
12207 PyObject
* obj1
= 0 ;
12208 char * kwnames
[] = {
12209 (char *) "self",(char *) "s", NULL
12212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12214 if (!SWIG_IsOK(res1
)) {
12215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12217 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12219 arg2
= wxString_in_helper(obj1
);
12220 if (arg2
== NULL
) SWIG_fail
;
12224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12225 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12226 wxPyEndAllowThreads(__tstate
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12246 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12247 PyObject
*resultobj
= 0;
12248 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12252 PyObject
*swig_obj
[1] ;
12254 if (!args
) SWIG_fail
;
12255 swig_obj
[0] = args
;
12256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12257 if (!SWIG_IsOK(res1
)) {
12258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12260 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12263 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12280 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12282 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12283 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12284 return SWIG_Py_Void();
12287 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12288 return SWIG_Python_InitShadowInstance(args
);
12291 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12292 PyObject
*resultobj
= 0;
12293 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12294 wxString
*arg2
= (wxString
*) 0 ;
12297 bool temp2
= false ;
12298 PyObject
*swig_obj
[2] ;
12300 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12302 if (!SWIG_IsOK(res1
)) {
12303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12305 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12307 arg2
= wxString_in_helper(swig_obj
[1]);
12308 if (arg2
== NULL
) SWIG_fail
;
12311 if (arg1
) (arg1
)->facename
= *arg2
;
12313 resultobj
= SWIG_Py_Void();
12328 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12329 PyObject
*resultobj
= 0;
12330 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12331 wxString
*result
= 0 ;
12334 PyObject
*swig_obj
[1] ;
12336 if (!args
) SWIG_fail
;
12337 swig_obj
[0] = args
;
12338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12339 if (!SWIG_IsOK(res1
)) {
12340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12342 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12343 result
= (wxString
*)& ((arg1
)->facename
);
12346 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12348 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12357 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12358 PyObject
*resultobj
= 0;
12359 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12360 wxFontEncoding arg2
;
12365 PyObject
*swig_obj
[2] ;
12367 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12369 if (!SWIG_IsOK(res1
)) {
12370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12372 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12373 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12374 if (!SWIG_IsOK(ecode2
)) {
12375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12377 arg2
= static_cast< wxFontEncoding
>(val2
);
12378 if (arg1
) (arg1
)->encoding
= arg2
;
12380 resultobj
= SWIG_Py_Void();
12387 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12388 PyObject
*resultobj
= 0;
12389 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12390 wxFontEncoding result
;
12393 PyObject
*swig_obj
[1] ;
12395 if (!args
) SWIG_fail
;
12396 swig_obj
[0] = args
;
12397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12398 if (!SWIG_IsOK(res1
)) {
12399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12401 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12402 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12403 resultobj
= SWIG_From_int(static_cast< int >(result
));
12410 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12411 PyObject
*resultobj
= 0;
12412 wxNativeEncodingInfo
*result
= 0 ;
12414 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12418 wxPyEndAllowThreads(__tstate
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12428 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12429 PyObject
*resultobj
= 0;
12430 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12433 PyObject
*swig_obj
[1] ;
12435 if (!args
) SWIG_fail
;
12436 swig_obj
[0] = args
;
12437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12438 if (!SWIG_IsOK(res1
)) {
12439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12441 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12449 resultobj
= SWIG_Py_Void();
12456 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12457 PyObject
*resultobj
= 0;
12458 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12459 wxString
*arg2
= 0 ;
12463 bool temp2
= false ;
12464 PyObject
* obj0
= 0 ;
12465 PyObject
* obj1
= 0 ;
12466 char * kwnames
[] = {
12467 (char *) "self",(char *) "s", NULL
12470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12472 if (!SWIG_IsOK(res1
)) {
12473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12475 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12477 arg2
= wxString_in_helper(obj1
);
12478 if (arg2
== NULL
) SWIG_fail
;
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12504 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12505 PyObject
*resultobj
= 0;
12506 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12510 PyObject
*swig_obj
[1] ;
12512 if (!args
) SWIG_fail
;
12513 swig_obj
[0] = args
;
12514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12515 if (!SWIG_IsOK(res1
)) {
12516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12518 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12538 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12540 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12541 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12542 return SWIG_Py_Void();
12545 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12546 return SWIG_Python_InitShadowInstance(args
);
12549 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
= 0;
12551 wxFontEncoding arg1
;
12552 wxNativeEncodingInfo
*result
= 0 ;
12555 PyObject
* obj0
= 0 ;
12556 char * kwnames
[] = {
12557 (char *) "encoding", NULL
12560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12561 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12562 if (!SWIG_IsOK(ecode1
)) {
12563 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12565 arg1
= static_cast< wxFontEncoding
>(val1
);
12567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12579 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
= 0;
12581 wxNativeEncodingInfo
*arg1
= 0 ;
12585 PyObject
* obj0
= 0 ;
12586 char * kwnames
[] = {
12587 (char *) "info", NULL
12590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12591 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12592 if (!SWIG_IsOK(res1
)) {
12593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12596 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12598 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12614 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12615 PyObject
*resultobj
= 0;
12616 wxFontMapper
*result
= 0 ;
12618 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12621 result
= (wxFontMapper
*)new wxFontMapper();
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12632 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12633 PyObject
*resultobj
= 0;
12634 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12637 PyObject
*swig_obj
[1] ;
12639 if (!args
) SWIG_fail
;
12640 swig_obj
[0] = args
;
12641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12642 if (!SWIG_IsOK(res1
)) {
12643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12645 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12653 resultobj
= SWIG_Py_Void();
12660 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12661 PyObject
*resultobj
= 0;
12662 wxFontMapper
*result
= 0 ;
12664 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 result
= (wxFontMapper
*)wxFontMapper::Get();
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12678 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
= 0;
12680 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12681 wxFontMapper
*result
= 0 ;
12684 PyObject
* obj0
= 0 ;
12685 char * kwnames
[] = {
12686 (char *) "mapper", NULL
12689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12691 if (!SWIG_IsOK(res1
)) {
12692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12694 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12697 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12708 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
= 0;
12710 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12711 wxString
*arg2
= 0 ;
12712 bool arg3
= (bool) true ;
12713 wxFontEncoding result
;
12716 bool temp2
= false ;
12719 PyObject
* obj0
= 0 ;
12720 PyObject
* obj1
= 0 ;
12721 PyObject
* obj2
= 0 ;
12722 char * kwnames
[] = {
12723 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12728 if (!SWIG_IsOK(res1
)) {
12729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12731 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12733 arg2
= wxString_in_helper(obj1
);
12734 if (arg2
== NULL
) SWIG_fail
;
12738 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12739 if (!SWIG_IsOK(ecode3
)) {
12740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12742 arg3
= static_cast< bool >(val3
);
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= SWIG_From_int(static_cast< int >(result
));
12765 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12766 PyObject
*resultobj
= 0;
12769 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12783 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
= 0;
12786 wxFontEncoding result
;
12789 PyObject
* obj0
= 0 ;
12790 char * kwnames
[] = {
12794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
12795 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
12796 if (!SWIG_IsOK(ecode1
)) {
12797 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
12799 arg1
= static_cast< size_t >(val1
);
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12802 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 resultobj
= SWIG_From_int(static_cast< int >(result
));
12813 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
= 0;
12815 wxFontEncoding arg1
;
12819 PyObject
* obj0
= 0 ;
12820 char * kwnames
[] = {
12821 (char *) "encoding", NULL
12824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
12825 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12826 if (!SWIG_IsOK(ecode1
)) {
12827 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12829 arg1
= static_cast< wxFontEncoding
>(val1
);
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 result
= wxFontMapper::GetEncodingName(arg1
);
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12849 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
= 0;
12851 wxFontEncoding arg1
;
12855 PyObject
* obj0
= 0 ;
12856 char * kwnames
[] = {
12857 (char *) "encoding", NULL
12860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
12861 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12862 if (!SWIG_IsOK(ecode1
)) {
12863 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12865 arg1
= static_cast< wxFontEncoding
>(val1
);
12867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12868 result
= wxFontMapper::GetEncodingDescription(arg1
);
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12885 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12886 PyObject
*resultobj
= 0;
12887 wxString
*arg1
= 0 ;
12888 wxFontEncoding result
;
12889 bool temp1
= false ;
12890 PyObject
* obj0
= 0 ;
12891 char * kwnames
[] = {
12892 (char *) "name", NULL
12895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
12897 arg1
= wxString_in_helper(obj0
);
12898 if (arg1
== NULL
) SWIG_fail
;
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 resultobj
= SWIG_From_int(static_cast< int >(result
));
12922 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
*resultobj
= 0;
12924 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12925 wxString
*arg2
= 0 ;
12928 bool temp2
= false ;
12929 PyObject
* obj0
= 0 ;
12930 PyObject
* obj1
= 0 ;
12931 char * kwnames
[] = {
12932 (char *) "self",(char *) "prefix", NULL
12935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12937 if (!SWIG_IsOK(res1
)) {
12938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12940 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12942 arg2
= wxString_in_helper(obj1
);
12943 if (arg2
== NULL
) SWIG_fail
;
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 resultobj
= SWIG_Py_Void();
12967 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12968 PyObject
*resultobj
= 0;
12971 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 result
= wxFontMapper::GetDefaultConfigPath();
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12991 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
= 0;
12993 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12994 wxFontEncoding arg2
;
12995 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12996 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12997 bool arg4
= (bool) true ;
12998 PyObject
*result
= 0 ;
13003 bool temp3
= false ;
13006 PyObject
* obj0
= 0 ;
13007 PyObject
* obj1
= 0 ;
13008 PyObject
* obj2
= 0 ;
13009 PyObject
* obj3
= 0 ;
13010 char * kwnames
[] = {
13011 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13016 if (!SWIG_IsOK(res1
)) {
13017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13019 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13021 if (!SWIG_IsOK(ecode2
)) {
13022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13024 arg2
= static_cast< wxFontEncoding
>(val2
);
13027 arg3
= wxString_in_helper(obj2
);
13028 if (arg3
== NULL
) SWIG_fail
;
13033 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13034 if (!SWIG_IsOK(ecode4
)) {
13035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13037 arg4
= static_cast< bool >(val4
);
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 resultobj
= result
;
13060 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
= 0;
13062 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13063 wxFontEncoding arg2
;
13064 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13065 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13071 bool temp3
= false ;
13072 PyObject
* obj0
= 0 ;
13073 PyObject
* obj1
= 0 ;
13074 PyObject
* obj2
= 0 ;
13075 char * kwnames
[] = {
13076 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13081 if (!SWIG_IsOK(res1
)) {
13082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13084 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13086 if (!SWIG_IsOK(ecode2
)) {
13087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13089 arg2
= static_cast< wxFontEncoding
>(val2
);
13092 arg3
= wxString_in_helper(obj2
);
13093 if (arg3
== NULL
) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13120 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13121 PyObject
*resultobj
= 0;
13122 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13123 wxWindow
*arg2
= (wxWindow
*) 0 ;
13128 PyObject
* obj0
= 0 ;
13129 PyObject
* obj1
= 0 ;
13130 char * kwnames
[] = {
13131 (char *) "self",(char *) "parent", NULL
13134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13136 if (!SWIG_IsOK(res1
)) {
13137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13139 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13141 if (!SWIG_IsOK(res2
)) {
13142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13144 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 (arg1
)->SetDialogParent(arg2
);
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 resultobj
= SWIG_Py_Void();
13158 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
= 0;
13160 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13161 wxString
*arg2
= 0 ;
13164 bool temp2
= false ;
13165 PyObject
* obj0
= 0 ;
13166 PyObject
* obj1
= 0 ;
13167 char * kwnames
[] = {
13168 (char *) "self",(char *) "title", NULL
13171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13173 if (!SWIG_IsOK(res1
)) {
13174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13176 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13178 arg2
= wxString_in_helper(obj1
);
13179 if (arg2
== NULL
) SWIG_fail
;
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13188 resultobj
= SWIG_Py_Void();
13203 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13205 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13206 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13207 return SWIG_Py_Void();
13210 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13211 return SWIG_Python_InitShadowInstance(args
);
13214 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
= 0;
13220 bool arg5
= (bool) false ;
13221 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13222 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13223 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13224 wxFont
*result
= 0 ;
13235 bool temp6
= false ;
13238 PyObject
* obj0
= 0 ;
13239 PyObject
* obj1
= 0 ;
13240 PyObject
* obj2
= 0 ;
13241 PyObject
* obj3
= 0 ;
13242 PyObject
* obj4
= 0 ;
13243 PyObject
* obj5
= 0 ;
13244 PyObject
* obj6
= 0 ;
13245 char * kwnames
[] = {
13246 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13250 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13251 if (!SWIG_IsOK(ecode1
)) {
13252 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13254 arg1
= static_cast< int >(val1
);
13255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13256 if (!SWIG_IsOK(ecode2
)) {
13257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13259 arg2
= static_cast< int >(val2
);
13260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13261 if (!SWIG_IsOK(ecode3
)) {
13262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13264 arg3
= static_cast< int >(val3
);
13265 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13266 if (!SWIG_IsOK(ecode4
)) {
13267 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13269 arg4
= static_cast< int >(val4
);
13271 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13272 if (!SWIG_IsOK(ecode5
)) {
13273 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13275 arg5
= static_cast< bool >(val5
);
13279 arg6
= wxString_in_helper(obj5
);
13280 if (arg6
== NULL
) SWIG_fail
;
13285 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13286 if (!SWIG_IsOK(ecode7
)) {
13287 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13289 arg7
= static_cast< wxFontEncoding
>(val7
);
13292 if (!wxPyCheckForApp()) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13313 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13314 PyObject
*resultobj
= 0;
13315 wxFont
*arg1
= (wxFont
*) 0 ;
13318 PyObject
*swig_obj
[1] ;
13320 if (!args
) SWIG_fail
;
13321 swig_obj
[0] = args
;
13322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13323 if (!SWIG_IsOK(res1
)) {
13324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13326 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 resultobj
= SWIG_Py_Void();
13341 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
*resultobj
= 0;
13343 wxNativeFontInfo
*arg1
= 0 ;
13344 wxFont
*result
= 0 ;
13347 PyObject
* obj0
= 0 ;
13348 char * kwnames
[] = {
13349 (char *) "info", NULL
13352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13353 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13354 if (!SWIG_IsOK(res1
)) {
13355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13360 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13362 if (!wxPyCheckForApp()) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13375 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
= 0;
13377 wxString
*arg1
= 0 ;
13378 wxFont
*result
= 0 ;
13379 bool temp1
= false ;
13380 PyObject
* obj0
= 0 ;
13381 char * kwnames
[] = {
13382 (char *) "info", NULL
13385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13387 arg1
= wxString_in_helper(obj0
);
13388 if (arg1
== NULL
) SWIG_fail
;
13392 if (!wxPyCheckForApp()) SWIG_fail
;
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13413 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
= 0;
13416 wxFontFamily arg2
;
13417 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13418 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13419 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13420 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13421 wxFont
*result
= 0 ;
13428 bool temp4
= false ;
13431 PyObject
* obj0
= 0 ;
13432 PyObject
* obj1
= 0 ;
13433 PyObject
* obj2
= 0 ;
13434 PyObject
* obj3
= 0 ;
13435 PyObject
* obj4
= 0 ;
13436 char * kwnames
[] = {
13437 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13441 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13442 if (!SWIG_IsOK(ecode1
)) {
13443 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13445 arg1
= static_cast< int >(val1
);
13446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13447 if (!SWIG_IsOK(ecode2
)) {
13448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13450 arg2
= static_cast< wxFontFamily
>(val2
);
13452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13453 if (!SWIG_IsOK(ecode3
)) {
13454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13456 arg3
= static_cast< int >(val3
);
13460 arg4
= wxString_in_helper(obj3
);
13461 if (arg4
== NULL
) SWIG_fail
;
13466 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13467 if (!SWIG_IsOK(ecode5
)) {
13468 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13470 arg5
= static_cast< wxFontEncoding
>(val5
);
13473 if (!wxPyCheckForApp()) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13494 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13495 PyObject
*resultobj
= 0;
13500 bool arg5
= (bool) false ;
13501 wxString
const &arg6_defvalue
= wxEmptyString
;
13502 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13503 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13504 wxFont
*result
= 0 ;
13514 bool temp6
= false ;
13517 PyObject
* obj0
= 0 ;
13518 PyObject
* obj1
= 0 ;
13519 PyObject
* obj2
= 0 ;
13520 PyObject
* obj3
= 0 ;
13521 PyObject
* obj4
= 0 ;
13522 PyObject
* obj5
= 0 ;
13523 PyObject
* obj6
= 0 ;
13524 char * kwnames
[] = {
13525 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13531 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13534 if (!SWIG_IsOK(ecode2
)) {
13535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13537 arg2
= static_cast< int >(val2
);
13538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13539 if (!SWIG_IsOK(ecode3
)) {
13540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13542 arg3
= static_cast< int >(val3
);
13543 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13544 if (!SWIG_IsOK(ecode4
)) {
13545 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13547 arg4
= static_cast< int >(val4
);
13549 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13550 if (!SWIG_IsOK(ecode5
)) {
13551 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13553 arg5
= static_cast< bool >(val5
);
13557 arg6
= wxString_in_helper(obj5
);
13558 if (arg6
== NULL
) SWIG_fail
;
13563 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13564 if (!SWIG_IsOK(ecode7
)) {
13565 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13567 arg7
= static_cast< wxFontEncoding
>(val7
);
13570 if (!wxPyCheckForApp()) SWIG_fail
;
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13573 wxPyEndAllowThreads(__tstate
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13591 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13592 PyObject
*resultobj
= 0;
13594 wxFontFamily arg2
;
13595 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13596 wxString
const &arg4_defvalue
= wxEmptyString
;
13597 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13598 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13599 wxFont
*result
= 0 ;
13605 bool temp4
= false ;
13608 PyObject
* obj0
= 0 ;
13609 PyObject
* obj1
= 0 ;
13610 PyObject
* obj2
= 0 ;
13611 PyObject
* obj3
= 0 ;
13612 PyObject
* obj4
= 0 ;
13613 char * kwnames
[] = {
13614 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13620 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13623 if (!SWIG_IsOK(ecode2
)) {
13624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13626 arg2
= static_cast< wxFontFamily
>(val2
);
13628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13629 if (!SWIG_IsOK(ecode3
)) {
13630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13632 arg3
= static_cast< int >(val3
);
13636 arg4
= wxString_in_helper(obj3
);
13637 if (arg4
== NULL
) SWIG_fail
;
13642 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13643 if (!SWIG_IsOK(ecode5
)) {
13644 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13646 arg5
= static_cast< wxFontEncoding
>(val5
);
13649 if (!wxPyCheckForApp()) SWIG_fail
;
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13670 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13671 PyObject
*resultobj
= 0;
13672 wxFont
*arg1
= (wxFont
*) 0 ;
13676 PyObject
*swig_obj
[1] ;
13678 if (!args
) SWIG_fail
;
13679 swig_obj
[0] = args
;
13680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13681 if (!SWIG_IsOK(res1
)) {
13682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
13684 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 result
= (bool)((wxFont
const *)arg1
)->Ok();
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13700 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13701 PyObject
*resultobj
= 0;
13702 wxFont
*arg1
= (wxFont
*) 0 ;
13703 wxFont
*arg2
= (wxFont
*) 0 ;
13709 PyObject
* obj0
= 0 ;
13710 PyObject
* obj1
= 0 ;
13711 char * kwnames
[] = {
13712 (char *) "self",(char *) "other", NULL
13715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13717 if (!SWIG_IsOK(res1
)) {
13718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13720 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13721 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13722 if (!SWIG_IsOK(res2
)) {
13723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13725 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13728 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13741 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13742 PyObject
*resultobj
= 0;
13743 wxFont
*arg1
= (wxFont
*) 0 ;
13744 wxFont
*arg2
= (wxFont
*) 0 ;
13750 PyObject
* obj0
= 0 ;
13751 PyObject
* obj1
= 0 ;
13752 char * kwnames
[] = {
13753 (char *) "self",(char *) "other", NULL
13756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13758 if (!SWIG_IsOK(res1
)) {
13759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13761 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13762 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13763 if (!SWIG_IsOK(res2
)) {
13764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13766 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13782 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13783 PyObject
*resultobj
= 0;
13784 wxFont
*arg1
= (wxFont
*) 0 ;
13788 PyObject
*swig_obj
[1] ;
13790 if (!args
) SWIG_fail
;
13791 swig_obj
[0] = args
;
13792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13793 if (!SWIG_IsOK(res1
)) {
13794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13796 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13803 resultobj
= SWIG_From_int(static_cast< int >(result
));
13810 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13811 PyObject
*resultobj
= 0;
13812 wxFont
*arg1
= (wxFont
*) 0 ;
13816 PyObject
*swig_obj
[1] ;
13818 if (!args
) SWIG_fail
;
13819 swig_obj
[0] = args
;
13820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13821 if (!SWIG_IsOK(res1
)) {
13822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13824 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13827 result
= ((wxFont
const *)arg1
)->GetPixelSize();
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13831 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
13838 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13839 PyObject
*resultobj
= 0;
13840 wxFont
*arg1
= (wxFont
*) 0 ;
13844 PyObject
*swig_obj
[1] ;
13846 if (!args
) SWIG_fail
;
13847 swig_obj
[0] = args
;
13848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13849 if (!SWIG_IsOK(res1
)) {
13850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
13852 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13868 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13869 PyObject
*resultobj
= 0;
13870 wxFont
*arg1
= (wxFont
*) 0 ;
13874 PyObject
*swig_obj
[1] ;
13876 if (!args
) SWIG_fail
;
13877 swig_obj
[0] = args
;
13878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13879 if (!SWIG_IsOK(res1
)) {
13880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
13882 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 result
= (int)((wxFont
const *)arg1
)->GetFamily();
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 resultobj
= SWIG_From_int(static_cast< int >(result
));
13896 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13897 PyObject
*resultobj
= 0;
13898 wxFont
*arg1
= (wxFont
*) 0 ;
13902 PyObject
*swig_obj
[1] ;
13904 if (!args
) SWIG_fail
;
13905 swig_obj
[0] = args
;
13906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13907 if (!SWIG_IsOK(res1
)) {
13908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
13910 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 result
= (int)((wxFont
const *)arg1
)->GetStyle();
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13917 resultobj
= SWIG_From_int(static_cast< int >(result
));
13924 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13925 PyObject
*resultobj
= 0;
13926 wxFont
*arg1
= (wxFont
*) 0 ;
13930 PyObject
*swig_obj
[1] ;
13932 if (!args
) SWIG_fail
;
13933 swig_obj
[0] = args
;
13934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13935 if (!SWIG_IsOK(res1
)) {
13936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
13938 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13941 result
= (int)((wxFont
const *)arg1
)->GetWeight();
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 resultobj
= SWIG_From_int(static_cast< int >(result
));
13952 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13953 PyObject
*resultobj
= 0;
13954 wxFont
*arg1
= (wxFont
*) 0 ;
13958 PyObject
*swig_obj
[1] ;
13960 if (!args
) SWIG_fail
;
13961 swig_obj
[0] = args
;
13962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13963 if (!SWIG_IsOK(res1
)) {
13964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
13966 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13969 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
13970 wxPyEndAllowThreads(__tstate
);
13971 if (PyErr_Occurred()) SWIG_fail
;
13974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13982 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13983 PyObject
*resultobj
= 0;
13984 wxFont
*arg1
= (wxFont
*) 0 ;
13988 PyObject
*swig_obj
[1] ;
13990 if (!args
) SWIG_fail
;
13991 swig_obj
[0] = args
;
13992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13993 if (!SWIG_IsOK(res1
)) {
13994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
13996 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13999 result
= ((wxFont
const *)arg1
)->GetFaceName();
14000 wxPyEndAllowThreads(__tstate
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14016 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14017 PyObject
*resultobj
= 0;
14018 wxFont
*arg1
= (wxFont
*) 0 ;
14019 wxFontEncoding result
;
14022 PyObject
*swig_obj
[1] ;
14024 if (!args
) SWIG_fail
;
14025 swig_obj
[0] = args
;
14026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14027 if (!SWIG_IsOK(res1
)) {
14028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14030 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14034 wxPyEndAllowThreads(__tstate
);
14035 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= SWIG_From_int(static_cast< int >(result
));
14044 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14045 PyObject
*resultobj
= 0;
14046 wxFont
*arg1
= (wxFont
*) 0 ;
14047 wxNativeFontInfo
*result
= 0 ;
14050 PyObject
*swig_obj
[1] ;
14052 if (!args
) SWIG_fail
;
14053 swig_obj
[0] = args
;
14054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14055 if (!SWIG_IsOK(res1
)) {
14056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14058 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14062 wxPyEndAllowThreads(__tstate
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14072 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14073 PyObject
*resultobj
= 0;
14074 wxFont
*arg1
= (wxFont
*) 0 ;
14078 PyObject
*swig_obj
[1] ;
14080 if (!args
) SWIG_fail
;
14081 swig_obj
[0] = args
;
14082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14083 if (!SWIG_IsOK(res1
)) {
14084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14086 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14102 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14103 PyObject
*resultobj
= 0;
14104 wxFont
*arg1
= (wxFont
*) 0 ;
14108 PyObject
*swig_obj
[1] ;
14110 if (!args
) SWIG_fail
;
14111 swig_obj
[0] = args
;
14112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14113 if (!SWIG_IsOK(res1
)) {
14114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14116 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14120 wxPyEndAllowThreads(__tstate
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14136 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14137 PyObject
*resultobj
= 0;
14138 wxFont
*arg1
= (wxFont
*) 0 ;
14142 PyObject
*swig_obj
[1] ;
14144 if (!args
) SWIG_fail
;
14145 swig_obj
[0] = args
;
14146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14147 if (!SWIG_IsOK(res1
)) {
14148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14150 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14153 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14154 wxPyEndAllowThreads(__tstate
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14170 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14171 PyObject
*resultobj
= 0;
14172 wxFont
*arg1
= (wxFont
*) 0 ;
14178 PyObject
* obj0
= 0 ;
14179 PyObject
* obj1
= 0 ;
14180 char * kwnames
[] = {
14181 (char *) "self",(char *) "pointSize", NULL
14184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14186 if (!SWIG_IsOK(res1
)) {
14187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14189 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14191 if (!SWIG_IsOK(ecode2
)) {
14192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14194 arg2
= static_cast< int >(val2
);
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 (arg1
)->SetPointSize(arg2
);
14198 wxPyEndAllowThreads(__tstate
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14201 resultobj
= SWIG_Py_Void();
14208 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
= 0;
14210 wxFont
*arg1
= (wxFont
*) 0 ;
14215 PyObject
* obj0
= 0 ;
14216 PyObject
* obj1
= 0 ;
14217 char * kwnames
[] = {
14218 (char *) "self",(char *) "pixelSize", NULL
14221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14223 if (!SWIG_IsOK(res1
)) {
14224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14226 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14229 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14237 resultobj
= SWIG_Py_Void();
14244 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
= 0;
14246 wxFont
*arg1
= (wxFont
*) 0 ;
14252 PyObject
* obj0
= 0 ;
14253 PyObject
* obj1
= 0 ;
14254 char * kwnames
[] = {
14255 (char *) "self",(char *) "family", NULL
14258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14260 if (!SWIG_IsOK(res1
)) {
14261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14263 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14265 if (!SWIG_IsOK(ecode2
)) {
14266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14268 arg2
= static_cast< int >(val2
);
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14271 (arg1
)->SetFamily(arg2
);
14272 wxPyEndAllowThreads(__tstate
);
14273 if (PyErr_Occurred()) SWIG_fail
;
14275 resultobj
= SWIG_Py_Void();
14282 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14283 PyObject
*resultobj
= 0;
14284 wxFont
*arg1
= (wxFont
*) 0 ;
14290 PyObject
* obj0
= 0 ;
14291 PyObject
* obj1
= 0 ;
14292 char * kwnames
[] = {
14293 (char *) "self",(char *) "style", NULL
14296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14298 if (!SWIG_IsOK(res1
)) {
14299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14301 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14303 if (!SWIG_IsOK(ecode2
)) {
14304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14306 arg2
= static_cast< int >(val2
);
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 (arg1
)->SetStyle(arg2
);
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14313 resultobj
= SWIG_Py_Void();
14320 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14321 PyObject
*resultobj
= 0;
14322 wxFont
*arg1
= (wxFont
*) 0 ;
14328 PyObject
* obj0
= 0 ;
14329 PyObject
* obj1
= 0 ;
14330 char * kwnames
[] = {
14331 (char *) "self",(char *) "weight", NULL
14334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14336 if (!SWIG_IsOK(res1
)) {
14337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14339 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14341 if (!SWIG_IsOK(ecode2
)) {
14342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14344 arg2
= static_cast< int >(val2
);
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 (arg1
)->SetWeight(arg2
);
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 resultobj
= SWIG_Py_Void();
14358 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
= 0;
14360 wxFont
*arg1
= (wxFont
*) 0 ;
14361 wxString
*arg2
= 0 ;
14365 bool temp2
= false ;
14366 PyObject
* obj0
= 0 ;
14367 PyObject
* obj1
= 0 ;
14368 char * kwnames
[] = {
14369 (char *) "self",(char *) "faceName", NULL
14372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14374 if (!SWIG_IsOK(res1
)) {
14375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14377 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14379 arg2
= wxString_in_helper(obj1
);
14380 if (arg2
== NULL
) SWIG_fail
;
14384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14385 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14386 wxPyEndAllowThreads(__tstate
);
14387 if (PyErr_Occurred()) SWIG_fail
;
14390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14406 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
*resultobj
= 0;
14408 wxFont
*arg1
= (wxFont
*) 0 ;
14414 PyObject
* obj0
= 0 ;
14415 PyObject
* obj1
= 0 ;
14416 char * kwnames
[] = {
14417 (char *) "self",(char *) "underlined", NULL
14420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14422 if (!SWIG_IsOK(res1
)) {
14423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14425 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14426 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14427 if (!SWIG_IsOK(ecode2
)) {
14428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14430 arg2
= static_cast< bool >(val2
);
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 (arg1
)->SetUnderlined(arg2
);
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 resultobj
= SWIG_Py_Void();
14444 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14445 PyObject
*resultobj
= 0;
14446 wxFont
*arg1
= (wxFont
*) 0 ;
14447 wxFontEncoding arg2
;
14452 PyObject
* obj0
= 0 ;
14453 PyObject
* obj1
= 0 ;
14454 char * kwnames
[] = {
14455 (char *) "self",(char *) "encoding", NULL
14458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14460 if (!SWIG_IsOK(res1
)) {
14461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14463 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14465 if (!SWIG_IsOK(ecode2
)) {
14466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14468 arg2
= static_cast< wxFontEncoding
>(val2
);
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 (arg1
)->SetEncoding(arg2
);
14472 wxPyEndAllowThreads(__tstate
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14475 resultobj
= SWIG_Py_Void();
14482 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14483 PyObject
*resultobj
= 0;
14484 wxFont
*arg1
= (wxFont
*) 0 ;
14485 wxNativeFontInfo
*arg2
= 0 ;
14490 PyObject
* obj0
= 0 ;
14491 PyObject
* obj1
= 0 ;
14492 char * kwnames
[] = {
14493 (char *) "self",(char *) "info", NULL
14496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14498 if (!SWIG_IsOK(res1
)) {
14499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14501 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14502 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14503 if (!SWIG_IsOK(res2
)) {
14504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14509 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= SWIG_Py_Void();
14523 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14524 PyObject
*resultobj
= 0;
14525 wxFont
*arg1
= (wxFont
*) 0 ;
14526 wxString
*arg2
= 0 ;
14530 bool temp2
= false ;
14531 PyObject
* obj0
= 0 ;
14532 PyObject
* obj1
= 0 ;
14533 char * kwnames
[] = {
14534 (char *) "self",(char *) "info", NULL
14537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14539 if (!SWIG_IsOK(res1
)) {
14540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14542 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14544 arg2
= wxString_in_helper(obj1
);
14545 if (arg2
== NULL
) SWIG_fail
;
14549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14550 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14571 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14572 PyObject
*resultobj
= 0;
14573 wxFont
*arg1
= (wxFont
*) 0 ;
14574 wxString
*arg2
= 0 ;
14578 bool temp2
= false ;
14579 PyObject
* obj0
= 0 ;
14580 PyObject
* obj1
= 0 ;
14581 char * kwnames
[] = {
14582 (char *) "self",(char *) "info", NULL
14585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14587 if (!SWIG_IsOK(res1
)) {
14588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14590 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14592 arg2
= wxString_in_helper(obj1
);
14593 if (arg2
== NULL
) SWIG_fail
;
14597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14598 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14599 wxPyEndAllowThreads(__tstate
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14619 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14620 PyObject
*resultobj
= 0;
14621 wxFont
*arg1
= (wxFont
*) 0 ;
14625 PyObject
*swig_obj
[1] ;
14627 if (!args
) SWIG_fail
;
14628 swig_obj
[0] = args
;
14629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14630 if (!SWIG_IsOK(res1
)) {
14631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14633 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14636 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14653 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14654 PyObject
*resultobj
= 0;
14655 wxFont
*arg1
= (wxFont
*) 0 ;
14659 PyObject
*swig_obj
[1] ;
14661 if (!args
) SWIG_fail
;
14662 swig_obj
[0] = args
;
14663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14664 if (!SWIG_IsOK(res1
)) {
14665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14667 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 result
= ((wxFont
const *)arg1
)->GetStyleString();
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14687 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14688 PyObject
*resultobj
= 0;
14689 wxFont
*arg1
= (wxFont
*) 0 ;
14693 PyObject
*swig_obj
[1] ;
14695 if (!args
) SWIG_fail
;
14696 swig_obj
[0] = args
;
14697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14698 if (!SWIG_IsOK(res1
)) {
14699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14701 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 result
= ((wxFont
const *)arg1
)->GetWeightString();
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14721 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
= 0;
14723 wxFont
*arg1
= (wxFont
*) 0 ;
14724 bool arg2
= (bool) true ;
14729 PyObject
* obj0
= 0 ;
14730 PyObject
* obj1
= 0 ;
14731 char * kwnames
[] = {
14732 (char *) "self",(char *) "no", NULL
14735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14737 if (!SWIG_IsOK(res1
)) {
14738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14740 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14742 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14743 if (!SWIG_IsOK(ecode2
)) {
14744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14746 arg2
= static_cast< bool >(val2
);
14749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14750 (arg1
)->SetNoAntiAliasing(arg2
);
14751 wxPyEndAllowThreads(__tstate
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 resultobj
= SWIG_Py_Void();
14761 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14762 PyObject
*resultobj
= 0;
14763 wxFont
*arg1
= (wxFont
*) 0 ;
14767 PyObject
*swig_obj
[1] ;
14769 if (!args
) SWIG_fail
;
14770 swig_obj
[0] = args
;
14771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14772 if (!SWIG_IsOK(res1
)) {
14773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14775 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14778 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14791 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14792 PyObject
*resultobj
= 0;
14793 wxFontEncoding result
;
14795 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
14797 if (!wxPyCheckForApp()) SWIG_fail
;
14798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14799 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
14800 wxPyEndAllowThreads(__tstate
);
14801 if (PyErr_Occurred()) SWIG_fail
;
14803 resultobj
= SWIG_From_int(static_cast< int >(result
));
14810 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14811 PyObject
*resultobj
= 0;
14812 wxFontEncoding arg1
;
14815 PyObject
* obj0
= 0 ;
14816 char * kwnames
[] = {
14817 (char *) "encoding", NULL
14820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
14821 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14822 if (!SWIG_IsOK(ecode1
)) {
14823 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14825 arg1
= static_cast< wxFontEncoding
>(val1
);
14827 if (!wxPyCheckForApp()) SWIG_fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 wxFont::SetDefaultEncoding(arg1
);
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14833 resultobj
= SWIG_Py_Void();
14840 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14842 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14843 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
14844 return SWIG_Py_Void();
14847 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14848 return SWIG_Python_InitShadowInstance(args
);
14851 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14852 PyObject
*resultobj
= 0;
14853 wxPyFontEnumerator
*result
= 0 ;
14855 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
14857 if (!wxPyCheckForApp()) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
14870 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14871 PyObject
*resultobj
= 0;
14872 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14875 PyObject
*swig_obj
[1] ;
14877 if (!args
) SWIG_fail
;
14878 swig_obj
[0] = args
;
14879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
14880 if (!SWIG_IsOK(res1
)) {
14881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14883 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14891 resultobj
= SWIG_Py_Void();
14898 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14899 PyObject
*resultobj
= 0;
14900 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14901 PyObject
*arg2
= (PyObject
*) 0 ;
14902 PyObject
*arg3
= (PyObject
*) 0 ;
14908 PyObject
* obj0
= 0 ;
14909 PyObject
* obj1
= 0 ;
14910 PyObject
* obj2
= 0 ;
14911 PyObject
* obj3
= 0 ;
14912 char * kwnames
[] = {
14913 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
14916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
14918 if (!SWIG_IsOK(res1
)) {
14919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14921 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14924 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14925 if (!SWIG_IsOK(ecode4
)) {
14926 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
14928 arg4
= static_cast< bool >(val4
);
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14935 resultobj
= SWIG_Py_Void();
14942 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14943 PyObject
*resultobj
= 0;
14944 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14945 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
14946 bool arg3
= (bool) false ;
14954 PyObject
* obj0
= 0 ;
14955 PyObject
* obj1
= 0 ;
14956 PyObject
* obj2
= 0 ;
14957 char * kwnames
[] = {
14958 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
14961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
14963 if (!SWIG_IsOK(res1
)) {
14964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14966 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14969 if (!SWIG_IsOK(ecode2
)) {
14970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14972 arg2
= static_cast< wxFontEncoding
>(val2
);
14975 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14976 if (!SWIG_IsOK(ecode3
)) {
14977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
14979 arg3
= static_cast< bool >(val3
);
14982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14983 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
14984 wxPyEndAllowThreads(__tstate
);
14985 if (PyErr_Occurred()) SWIG_fail
;
14988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14996 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
= 0;
14998 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14999 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15000 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15004 bool temp2
= false ;
15005 PyObject
* obj0
= 0 ;
15006 PyObject
* obj1
= 0 ;
15007 char * kwnames
[] = {
15008 (char *) "self",(char *) "facename", NULL
15011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15013 if (!SWIG_IsOK(res1
)) {
15014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15016 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15019 arg2
= wxString_in_helper(obj1
);
15020 if (arg2
== NULL
) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15047 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15048 PyObject
*resultobj
= 0;
15049 PyObject
*result
= 0 ;
15051 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15054 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15055 wxPyEndAllowThreads(__tstate
);
15056 if (PyErr_Occurred()) SWIG_fail
;
15058 resultobj
= result
;
15065 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15066 PyObject
*resultobj
= 0;
15067 PyObject
*result
= 0 ;
15069 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15072 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15073 wxPyEndAllowThreads(__tstate
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15076 resultobj
= result
;
15083 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
= 0;
15085 wxString
*arg1
= 0 ;
15087 bool temp1
= false ;
15088 PyObject
* obj0
= 0 ;
15089 char * kwnames
[] = {
15090 (char *) "str", NULL
15093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15095 arg1
= wxString_in_helper(obj0
);
15096 if (arg1
== NULL
) SWIG_fail
;
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15102 wxPyEndAllowThreads(__tstate
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15122 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15125 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15126 return SWIG_Py_Void();
15129 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15130 return SWIG_Python_InitShadowInstance(args
);
15133 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15134 PyObject
*resultobj
= 0;
15135 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15141 PyObject
*swig_obj
[2] ;
15143 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15145 if (!SWIG_IsOK(res1
)) {
15146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15148 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15149 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15150 if (!SWIG_IsOK(ecode2
)) {
15151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15153 arg2
= static_cast< int >(val2
);
15154 if (arg1
) (arg1
)->Language
= arg2
;
15156 resultobj
= SWIG_Py_Void();
15163 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15164 PyObject
*resultobj
= 0;
15165 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15169 PyObject
*swig_obj
[1] ;
15171 if (!args
) SWIG_fail
;
15172 swig_obj
[0] = args
;
15173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15174 if (!SWIG_IsOK(res1
)) {
15175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15177 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15178 result
= (int) ((arg1
)->Language
);
15179 resultobj
= SWIG_From_int(static_cast< int >(result
));
15186 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15187 PyObject
*resultobj
= 0;
15188 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15189 wxString
*arg2
= (wxString
*) 0 ;
15192 bool temp2
= false ;
15193 PyObject
*swig_obj
[2] ;
15195 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15197 if (!SWIG_IsOK(res1
)) {
15198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15200 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15202 arg2
= wxString_in_helper(swig_obj
[1]);
15203 if (arg2
== NULL
) SWIG_fail
;
15206 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15208 resultobj
= SWIG_Py_Void();
15223 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15224 PyObject
*resultobj
= 0;
15225 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15226 wxString
*result
= 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_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15237 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15238 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15241 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15243 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15252 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15253 PyObject
*resultobj
= 0;
15254 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15255 wxString
*arg2
= (wxString
*) 0 ;
15258 bool temp2
= false ;
15259 PyObject
*swig_obj
[2] ;
15261 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15263 if (!SWIG_IsOK(res1
)) {
15264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15266 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15268 arg2
= wxString_in_helper(swig_obj
[1]);
15269 if (arg2
== NULL
) SWIG_fail
;
15272 if (arg1
) (arg1
)->Description
= *arg2
;
15274 resultobj
= SWIG_Py_Void();
15289 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15290 PyObject
*resultobj
= 0;
15291 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15292 wxString
*result
= 0 ;
15295 PyObject
*swig_obj
[1] ;
15297 if (!args
) SWIG_fail
;
15298 swig_obj
[0] = args
;
15299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15300 if (!SWIG_IsOK(res1
)) {
15301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15303 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15304 result
= (wxString
*)& ((arg1
)->Description
);
15307 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15309 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15318 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15321 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15322 return SWIG_Py_Void();
15325 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15326 PyObject
*resultobj
= 0;
15327 int arg1
= (int) -1 ;
15328 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15329 wxLocale
*result
= 0 ;
15334 PyObject
* obj0
= 0 ;
15335 PyObject
* obj1
= 0 ;
15336 char * kwnames
[] = {
15337 (char *) "language",(char *) "flags", NULL
15340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15342 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15343 if (!SWIG_IsOK(ecode1
)) {
15344 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15346 arg1
= static_cast< int >(val1
);
15349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15350 if (!SWIG_IsOK(ecode2
)) {
15351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15353 arg2
= static_cast< int >(val2
);
15356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15357 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15358 wxPyEndAllowThreads(__tstate
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15368 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15369 PyObject
*resultobj
= 0;
15370 wxLocale
*arg1
= (wxLocale
*) 0 ;
15373 PyObject
*swig_obj
[1] ;
15375 if (!args
) SWIG_fail
;
15376 swig_obj
[0] = args
;
15377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15378 if (!SWIG_IsOK(res1
)) {
15379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15381 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15389 resultobj
= SWIG_Py_Void();
15396 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15397 PyObject
*resultobj
= 0;
15398 wxLocale
*arg1
= (wxLocale
*) 0 ;
15399 wxString
*arg2
= 0 ;
15400 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15401 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15402 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15403 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15404 bool arg5
= (bool) true ;
15405 bool arg6
= (bool) false ;
15409 bool temp2
= false ;
15410 bool temp3
= false ;
15411 bool temp4
= false ;
15416 PyObject
* obj0
= 0 ;
15417 PyObject
* obj1
= 0 ;
15418 PyObject
* obj2
= 0 ;
15419 PyObject
* obj3
= 0 ;
15420 PyObject
* obj4
= 0 ;
15421 PyObject
* obj5
= 0 ;
15422 char * kwnames
[] = {
15423 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15428 if (!SWIG_IsOK(res1
)) {
15429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15431 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15433 arg2
= wxString_in_helper(obj1
);
15434 if (arg2
== NULL
) SWIG_fail
;
15439 arg3
= wxString_in_helper(obj2
);
15440 if (arg3
== NULL
) SWIG_fail
;
15446 arg4
= wxString_in_helper(obj3
);
15447 if (arg4
== NULL
) SWIG_fail
;
15452 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15453 if (!SWIG_IsOK(ecode5
)) {
15454 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15456 arg5
= static_cast< bool >(val5
);
15459 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15460 if (!SWIG_IsOK(ecode6
)) {
15461 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15463 arg6
= static_cast< bool >(val6
);
15466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15467 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15504 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
= 0;
15506 wxLocale
*arg1
= (wxLocale
*) 0 ;
15507 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15508 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15516 PyObject
* obj0
= 0 ;
15517 PyObject
* obj1
= 0 ;
15518 PyObject
* obj2
= 0 ;
15519 char * kwnames
[] = {
15520 (char *) "self",(char *) "language",(char *) "flags", NULL
15523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15525 if (!SWIG_IsOK(res1
)) {
15526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15528 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15531 if (!SWIG_IsOK(ecode2
)) {
15532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15534 arg2
= static_cast< int >(val2
);
15537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15538 if (!SWIG_IsOK(ecode3
)) {
15539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15541 arg3
= static_cast< int >(val3
);
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15546 wxPyEndAllowThreads(__tstate
);
15547 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15558 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15559 PyObject
*resultobj
= 0;
15562 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 result
= (int)wxLocale::GetSystemLanguage();
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15569 resultobj
= SWIG_From_int(static_cast< int >(result
));
15576 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15577 PyObject
*resultobj
= 0;
15578 wxFontEncoding result
;
15580 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15584 wxPyEndAllowThreads(__tstate
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15587 resultobj
= SWIG_From_int(static_cast< int >(result
));
15594 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15595 PyObject
*resultobj
= 0;
15598 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15601 result
= wxLocale::GetSystemEncodingName();
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15618 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15619 PyObject
*resultobj
= 0;
15620 wxLocale
*arg1
= (wxLocale
*) 0 ;
15624 PyObject
*swig_obj
[1] ;
15626 if (!args
) SWIG_fail
;
15627 swig_obj
[0] = args
;
15628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15629 if (!SWIG_IsOK(res1
)) {
15630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15632 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15635 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15648 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15649 PyObject
*resultobj
= 0;
15650 wxLocale
*arg1
= (wxLocale
*) 0 ;
15654 PyObject
*swig_obj
[1] ;
15656 if (!args
) SWIG_fail
;
15657 swig_obj
[0] = args
;
15658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15659 if (!SWIG_IsOK(res1
)) {
15660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15662 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 result
= ((wxLocale
const *)arg1
)->GetLocale();
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15671 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15673 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15682 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15683 PyObject
*resultobj
= 0;
15684 wxLocale
*arg1
= (wxLocale
*) 0 ;
15688 PyObject
*swig_obj
[1] ;
15690 if (!args
) SWIG_fail
;
15691 swig_obj
[0] = args
;
15692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15693 if (!SWIG_IsOK(res1
)) {
15694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15696 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15699 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15703 resultobj
= SWIG_From_int(static_cast< int >(result
));
15710 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15711 PyObject
*resultobj
= 0;
15712 wxLocale
*arg1
= (wxLocale
*) 0 ;
15716 PyObject
*swig_obj
[1] ;
15718 if (!args
) SWIG_fail
;
15719 swig_obj
[0] = args
;
15720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15721 if (!SWIG_IsOK(res1
)) {
15722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15724 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 result
= ((wxLocale
const *)arg1
)->GetSysName();
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15744 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15745 PyObject
*resultobj
= 0;
15746 wxLocale
*arg1
= (wxLocale
*) 0 ;
15750 PyObject
*swig_obj
[1] ;
15752 if (!args
) SWIG_fail
;
15753 swig_obj
[0] = args
;
15754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15755 if (!SWIG_IsOK(res1
)) {
15756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15758 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15767 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15769 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15778 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15779 PyObject
*resultobj
= 0;
15780 wxString
*arg1
= 0 ;
15781 bool temp1
= false ;
15782 PyObject
* obj0
= 0 ;
15783 char * kwnames
[] = {
15784 (char *) "prefix", NULL
15787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15789 arg1
= wxString_in_helper(obj0
);
15790 if (arg1
== NULL
) SWIG_fail
;
15794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15795 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
15796 wxPyEndAllowThreads(__tstate
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15799 resultobj
= SWIG_Py_Void();
15814 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
= 0;
15816 wxLocale
*arg1
= (wxLocale
*) 0 ;
15817 wxString
*arg2
= 0 ;
15821 bool temp2
= false ;
15822 PyObject
* obj0
= 0 ;
15823 PyObject
* obj1
= 0 ;
15824 char * kwnames
[] = {
15825 (char *) "self",(char *) "szDomain", NULL
15828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15830 if (!SWIG_IsOK(res1
)) {
15831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
15833 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15835 arg2
= wxString_in_helper(obj1
);
15836 if (arg2
== NULL
) SWIG_fail
;
15840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15841 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
15842 wxPyEndAllowThreads(__tstate
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15862 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15863 PyObject
*resultobj
= 0;
15864 wxLocale
*arg1
= (wxLocale
*) 0 ;
15865 wxString
*arg2
= 0 ;
15869 bool temp2
= false ;
15870 PyObject
* obj0
= 0 ;
15871 PyObject
* obj1
= 0 ;
15872 char * kwnames
[] = {
15873 (char *) "self",(char *) "szDomain", NULL
15876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15878 if (!SWIG_IsOK(res1
)) {
15879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
15881 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15883 arg2
= wxString_in_helper(obj1
);
15884 if (arg2
== NULL
) SWIG_fail
;
15888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15889 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15910 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15911 PyObject
*resultobj
= 0;
15913 wxLanguageInfo
*result
= 0 ;
15916 PyObject
* obj0
= 0 ;
15917 char * kwnames
[] = {
15918 (char *) "lang", NULL
15921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
15922 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15923 if (!SWIG_IsOK(ecode1
)) {
15924 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
15926 arg1
= static_cast< int >(val1
);
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15929 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
15930 wxPyEndAllowThreads(__tstate
);
15931 if (PyErr_Occurred()) SWIG_fail
;
15933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15940 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15941 PyObject
*resultobj
= 0;
15946 PyObject
* obj0
= 0 ;
15947 char * kwnames
[] = {
15948 (char *) "lang", NULL
15951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
15952 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15953 if (!SWIG_IsOK(ecode1
)) {
15954 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
15956 arg1
= static_cast< int >(val1
);
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 result
= wxLocale::GetLanguageName(arg1
);
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15976 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
= 0;
15978 wxString
*arg1
= 0 ;
15979 wxLanguageInfo
*result
= 0 ;
15980 bool temp1
= false ;
15981 PyObject
* obj0
= 0 ;
15982 char * kwnames
[] = {
15983 (char *) "locale", NULL
15986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
15988 arg1
= wxString_in_helper(obj0
);
15989 if (arg1
== NULL
) SWIG_fail
;
15993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15994 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
15995 wxPyEndAllowThreads(__tstate
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16013 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16014 PyObject
*resultobj
= 0;
16015 wxLanguageInfo
*arg1
= 0 ;
16018 PyObject
* obj0
= 0 ;
16019 char * kwnames
[] = {
16020 (char *) "info", NULL
16023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16024 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16025 if (!SWIG_IsOK(res1
)) {
16026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16031 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 resultobj
= SWIG_Py_Void();
16045 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
= 0;
16047 wxLocale
*arg1
= (wxLocale
*) 0 ;
16048 wxString
*arg2
= 0 ;
16049 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16050 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16054 bool temp2
= false ;
16055 bool temp3
= false ;
16056 PyObject
* obj0
= 0 ;
16057 PyObject
* obj1
= 0 ;
16058 PyObject
* obj2
= 0 ;
16059 char * kwnames
[] = {
16060 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16065 if (!SWIG_IsOK(res1
)) {
16066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16068 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16070 arg2
= wxString_in_helper(obj1
);
16071 if (arg2
== NULL
) SWIG_fail
;
16076 arg3
= wxString_in_helper(obj2
);
16077 if (arg3
== NULL
) SWIG_fail
;
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16116 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16117 PyObject
*resultobj
= 0;
16118 wxLocale
*arg1
= (wxLocale
*) 0 ;
16119 wxString
*result
= 0 ;
16122 PyObject
*swig_obj
[1] ;
16124 if (!args
) SWIG_fail
;
16125 swig_obj
[0] = args
;
16126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16127 if (!SWIG_IsOK(res1
)) {
16128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16130 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16134 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16135 result
= (wxString
*) &_result_ref
;
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16142 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16144 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16153 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16156 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16157 return SWIG_Py_Void();
16160 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16161 return SWIG_Python_InitShadowInstance(args
);
16164 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16165 PyObject
*resultobj
= 0;
16166 int arg1
= (int) -1 ;
16167 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16168 wxPyLocale
*result
= 0 ;
16173 PyObject
* obj0
= 0 ;
16174 PyObject
* obj1
= 0 ;
16175 char * kwnames
[] = {
16176 (char *) "language",(char *) "flags", NULL
16179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16181 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16182 if (!SWIG_IsOK(ecode1
)) {
16183 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16185 arg1
= static_cast< int >(val1
);
16188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16189 if (!SWIG_IsOK(ecode2
)) {
16190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16192 arg2
= static_cast< int >(val2
);
16195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16196 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16197 wxPyEndAllowThreads(__tstate
);
16198 if (PyErr_Occurred()) SWIG_fail
;
16200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16207 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16208 PyObject
*resultobj
= 0;
16209 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16212 PyObject
*swig_obj
[1] ;
16214 if (!args
) SWIG_fail
;
16215 swig_obj
[0] = args
;
16216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16217 if (!SWIG_IsOK(res1
)) {
16218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16220 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= SWIG_Py_Void();
16235 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16236 PyObject
*resultobj
= 0;
16237 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16238 PyObject
*arg2
= (PyObject
*) 0 ;
16239 PyObject
*arg3
= (PyObject
*) 0 ;
16242 PyObject
* obj0
= 0 ;
16243 PyObject
* obj1
= 0 ;
16244 PyObject
* obj2
= 0 ;
16245 char * kwnames
[] = {
16246 (char *) "self",(char *) "self",(char *) "_class", NULL
16249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16251 if (!SWIG_IsOK(res1
)) {
16252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16254 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16263 resultobj
= SWIG_Py_Void();
16270 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16271 PyObject
*resultobj
= 0;
16272 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16273 wxChar
*arg2
= (wxChar
*) 0 ;
16274 wxChar
*arg3
= (wxChar
*) NULL
;
16275 wxChar
*result
= 0 ;
16282 PyObject
* obj0
= 0 ;
16283 PyObject
* obj1
= 0 ;
16284 PyObject
* obj2
= 0 ;
16285 char * kwnames
[] = {
16286 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16291 if (!SWIG_IsOK(res1
)) {
16292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16294 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16295 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16296 if (!SWIG_IsOK(res2
)) {
16297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16299 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16301 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16302 if (!SWIG_IsOK(res3
)) {
16303 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16305 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16309 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16310 wxPyEndAllowThreads(__tstate
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16320 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16321 PyObject
*resultobj
= 0;
16322 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16323 wxChar
*arg2
= (wxChar
*) 0 ;
16324 wxChar
*arg3
= (wxChar
*) 0 ;
16326 wxChar
*arg5
= (wxChar
*) NULL
;
16327 wxChar
*result
= 0 ;
16338 PyObject
* obj0
= 0 ;
16339 PyObject
* obj1
= 0 ;
16340 PyObject
* obj2
= 0 ;
16341 PyObject
* obj3
= 0 ;
16342 PyObject
* obj4
= 0 ;
16343 char * kwnames
[] = {
16344 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16349 if (!SWIG_IsOK(res1
)) {
16350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16352 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16353 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16354 if (!SWIG_IsOK(res2
)) {
16355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16357 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16358 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16359 if (!SWIG_IsOK(res3
)) {
16360 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16362 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16363 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16364 if (!SWIG_IsOK(ecode4
)) {
16365 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16367 arg4
= static_cast< size_t >(val4
);
16369 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16370 if (!SWIG_IsOK(res5
)) {
16371 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16373 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16378 wxPyEndAllowThreads(__tstate
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16388 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16391 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16392 return SWIG_Py_Void();
16395 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16396 return SWIG_Python_InitShadowInstance(args
);
16399 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16400 PyObject
*resultobj
= 0;
16401 wxLocale
*result
= 0 ;
16403 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16406 result
= (wxLocale
*)wxGetLocale();
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16417 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16418 PyObject
*resultobj
= 0;
16419 wxString
*arg1
= 0 ;
16421 bool temp1
= false ;
16423 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16425 arg1
= wxString_in_helper(swig_obj
[0]);
16426 if (arg1
== NULL
) SWIG_fail
;
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 result
= wxGetTranslation((wxString
const &)*arg1
);
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16456 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16457 PyObject
*resultobj
= 0;
16458 wxString
*arg1
= 0 ;
16459 wxString
*arg2
= 0 ;
16461 bool temp1
= false ;
16462 bool temp2
= false ;
16464 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16466 arg1
= wxString_in_helper(swig_obj
[0]);
16467 if (arg1
== NULL
) SWIG_fail
;
16471 arg2
= wxString_in_helper(swig_obj
[1]);
16472 if (arg2
== NULL
) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16510 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16511 PyObject
*resultobj
= 0;
16512 wxString
*arg1
= 0 ;
16513 wxString
*arg2
= 0 ;
16516 bool temp1
= false ;
16517 bool temp2
= false ;
16521 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16523 arg1
= wxString_in_helper(swig_obj
[0]);
16524 if (arg1
== NULL
) SWIG_fail
;
16528 arg2
= wxString_in_helper(swig_obj
[1]);
16529 if (arg2
== NULL
) SWIG_fail
;
16532 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16533 if (!SWIG_IsOK(ecode3
)) {
16534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16536 arg3
= static_cast< size_t >(val3
);
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16572 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16573 PyObject
*resultobj
= 0;
16574 wxString
*arg1
= 0 ;
16575 wxString
*arg2
= 0 ;
16577 wxString
*arg4
= 0 ;
16579 bool temp1
= false ;
16580 bool temp2
= false ;
16583 bool temp4
= false ;
16585 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16587 arg1
= wxString_in_helper(swig_obj
[0]);
16588 if (arg1
== NULL
) SWIG_fail
;
16592 arg2
= wxString_in_helper(swig_obj
[1]);
16593 if (arg2
== NULL
) SWIG_fail
;
16596 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16597 if (!SWIG_IsOK(ecode3
)) {
16598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16600 arg3
= static_cast< size_t >(val3
);
16602 arg4
= wxString_in_helper(swig_obj
[3]);
16603 if (arg4
== NULL
) SWIG_fail
;
16607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16608 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16649 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16653 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16656 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16659 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16662 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16665 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16669 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16674 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16675 PyObject
*resultobj
= 0;
16676 wxEncodingConverter
*result
= 0 ;
16678 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16692 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16693 PyObject
*resultobj
= 0;
16694 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16697 PyObject
*swig_obj
[1] ;
16699 if (!args
) SWIG_fail
;
16700 swig_obj
[0] = args
;
16701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16702 if (!SWIG_IsOK(res1
)) {
16703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16705 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= SWIG_Py_Void();
16720 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
= 0;
16722 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16723 wxFontEncoding arg2
;
16724 wxFontEncoding arg3
;
16725 int arg4
= (int) wxCONVERT_STRICT
;
16735 PyObject
* obj0
= 0 ;
16736 PyObject
* obj1
= 0 ;
16737 PyObject
* obj2
= 0 ;
16738 PyObject
* obj3
= 0 ;
16739 char * kwnames
[] = {
16740 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16745 if (!SWIG_IsOK(res1
)) {
16746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16748 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16750 if (!SWIG_IsOK(ecode2
)) {
16751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16753 arg2
= static_cast< wxFontEncoding
>(val2
);
16754 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16755 if (!SWIG_IsOK(ecode3
)) {
16756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16758 arg3
= static_cast< wxFontEncoding
>(val3
);
16760 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16761 if (!SWIG_IsOK(ecode4
)) {
16762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
16764 arg4
= static_cast< int >(val4
);
16767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16768 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16781 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
= 0;
16783 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16784 wxString
*arg2
= 0 ;
16788 bool temp2
= false ;
16789 PyObject
* obj0
= 0 ;
16790 PyObject
* obj1
= 0 ;
16791 char * kwnames
[] = {
16792 (char *) "self",(char *) "input", NULL
16795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16797 if (!SWIG_IsOK(res1
)) {
16798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16800 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16802 arg2
= wxString_in_helper(obj1
);
16803 if (arg2
== NULL
) SWIG_fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= (arg1
)->Convert((wxString
const &)*arg2
);
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16833 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
= 0;
16835 wxFontEncoding arg1
;
16836 int arg2
= (int) wxPLATFORM_CURRENT
;
16837 wxFontEncodingArray result
;
16842 PyObject
* obj0
= 0 ;
16843 PyObject
* obj1
= 0 ;
16844 char * kwnames
[] = {
16845 (char *) "enc",(char *) "platform", NULL
16848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16849 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16850 if (!SWIG_IsOK(ecode1
)) {
16851 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16853 arg1
= static_cast< wxFontEncoding
>(val1
);
16855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16856 if (!SWIG_IsOK(ecode2
)) {
16857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
16859 arg2
= static_cast< int >(val2
);
16862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16863 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
16864 wxPyEndAllowThreads(__tstate
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16868 resultobj
= PyList_New(0);
16869 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
16870 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
16871 PyList_Append(resultobj
, number
);
16881 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16882 PyObject
*resultobj
= 0;
16883 wxFontEncoding arg1
;
16884 wxFontEncodingArray result
;
16887 PyObject
* obj0
= 0 ;
16888 char * kwnames
[] = {
16889 (char *) "enc", NULL
16892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
16893 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16894 if (!SWIG_IsOK(ecode1
)) {
16895 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16897 arg1
= static_cast< wxFontEncoding
>(val1
);
16899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16905 resultobj
= PyList_New(0);
16906 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
16907 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
16908 PyList_Append(resultobj
, number
);
16918 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
= 0;
16920 wxFontEncoding arg1
;
16921 wxFontEncoding arg2
;
16927 PyObject
* obj0
= 0 ;
16928 PyObject
* obj1
= 0 ;
16929 char * kwnames
[] = {
16930 (char *) "encIn",(char *) "encOut", NULL
16933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16934 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16935 if (!SWIG_IsOK(ecode1
)) {
16936 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16938 arg1
= static_cast< wxFontEncoding
>(val1
);
16939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16940 if (!SWIG_IsOK(ecode2
)) {
16941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16943 arg2
= static_cast< wxFontEncoding
>(val2
);
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16946 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
16947 wxPyEndAllowThreads(__tstate
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16959 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16962 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
16963 return SWIG_Py_Void();
16966 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16967 return SWIG_Python_InitShadowInstance(args
);
16970 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16971 PyObject
*resultobj
= 0;
16972 wxDC
*arg1
= (wxDC
*) 0 ;
16975 PyObject
*swig_obj
[1] ;
16977 if (!args
) SWIG_fail
;
16978 swig_obj
[0] = args
;
16979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
16980 if (!SWIG_IsOK(res1
)) {
16981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
16983 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= SWIG_Py_Void();
16998 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16999 PyObject
*resultobj
= 0;
17000 wxDC
*arg1
= (wxDC
*) 0 ;
17003 wxColour
*arg4
= 0 ;
17004 int arg5
= (int) wxFLOOD_SURFACE
;
17015 PyObject
* obj0
= 0 ;
17016 PyObject
* obj1
= 0 ;
17017 PyObject
* obj2
= 0 ;
17018 PyObject
* obj3
= 0 ;
17019 PyObject
* obj4
= 0 ;
17020 char * kwnames
[] = {
17021 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17026 if (!SWIG_IsOK(res1
)) {
17027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17029 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17031 if (!SWIG_IsOK(ecode2
)) {
17032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17034 arg2
= static_cast< int >(val2
);
17035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17036 if (!SWIG_IsOK(ecode3
)) {
17037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17039 arg3
= static_cast< int >(val3
);
17042 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17045 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17046 if (!SWIG_IsOK(ecode5
)) {
17047 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17049 arg5
= static_cast< int >(val5
);
17052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17053 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17066 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17067 PyObject
*resultobj
= 0;
17068 wxDC
*arg1
= (wxDC
*) 0 ;
17069 wxPoint
*arg2
= 0 ;
17070 wxColour
*arg3
= 0 ;
17071 int arg4
= (int) wxFLOOD_SURFACE
;
17079 PyObject
* obj0
= 0 ;
17080 PyObject
* obj1
= 0 ;
17081 PyObject
* obj2
= 0 ;
17082 PyObject
* obj3
= 0 ;
17083 char * kwnames
[] = {
17084 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17089 if (!SWIG_IsOK(res1
)) {
17090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17092 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17095 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17099 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17102 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17103 if (!SWIG_IsOK(ecode4
)) {
17104 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17106 arg4
= static_cast< int >(val4
);
17109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17110 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17111 wxPyEndAllowThreads(__tstate
);
17112 if (PyErr_Occurred()) SWIG_fail
;
17115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17123 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17124 PyObject
*resultobj
= 0;
17125 wxDC
*arg1
= (wxDC
*) 0 ;
17127 wxColour
*arg3
= 0 ;
17128 wxColour
*arg4
= 0 ;
17129 wxPoint
*arg5
= 0 ;
17136 PyObject
* obj0
= 0 ;
17137 PyObject
* obj1
= 0 ;
17138 PyObject
* obj2
= 0 ;
17139 PyObject
* obj3
= 0 ;
17140 PyObject
* obj4
= 0 ;
17141 char * kwnames
[] = {
17142 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17147 if (!SWIG_IsOK(res1
)) {
17148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17150 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17153 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17157 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17161 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17165 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17170 wxPyEndAllowThreads(__tstate
);
17171 if (PyErr_Occurred()) SWIG_fail
;
17173 resultobj
= SWIG_Py_Void();
17180 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
= 0;
17182 wxDC
*arg1
= (wxDC
*) 0 ;
17184 wxColour
*arg3
= 0 ;
17185 wxColour
*arg4
= 0 ;
17186 wxDirection arg5
= (wxDirection
) wxEAST
;
17194 PyObject
* obj0
= 0 ;
17195 PyObject
* obj1
= 0 ;
17196 PyObject
* obj2
= 0 ;
17197 PyObject
* obj3
= 0 ;
17198 PyObject
* obj4
= 0 ;
17199 char * kwnames
[] = {
17200 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17205 if (!SWIG_IsOK(res1
)) {
17206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17208 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17211 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17215 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17219 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17222 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17223 if (!SWIG_IsOK(ecode5
)) {
17224 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17226 arg5
= static_cast< wxDirection
>(val5
);
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= SWIG_Py_Void();
17241 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17242 PyObject
*resultobj
= 0;
17243 wxDC
*arg1
= (wxDC
*) 0 ;
17253 PyObject
* obj0
= 0 ;
17254 PyObject
* obj1
= 0 ;
17255 PyObject
* obj2
= 0 ;
17256 char * kwnames
[] = {
17257 (char *) "self",(char *) "x",(char *) "y", NULL
17260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17262 if (!SWIG_IsOK(res1
)) {
17263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17265 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17267 if (!SWIG_IsOK(ecode2
)) {
17268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17270 arg2
= static_cast< int >(val2
);
17271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17272 if (!SWIG_IsOK(ecode3
)) {
17273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17275 arg3
= static_cast< int >(val3
);
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17282 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17289 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17290 PyObject
*resultobj
= 0;
17291 wxDC
*arg1
= (wxDC
*) 0 ;
17292 wxPoint
*arg2
= 0 ;
17297 PyObject
* obj0
= 0 ;
17298 PyObject
* obj1
= 0 ;
17299 char * kwnames
[] = {
17300 (char *) "self",(char *) "pt", NULL
17303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17305 if (!SWIG_IsOK(res1
)) {
17306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17308 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17311 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17315 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17316 wxPyEndAllowThreads(__tstate
);
17317 if (PyErr_Occurred()) SWIG_fail
;
17319 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17326 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
= 0;
17328 wxDC
*arg1
= (wxDC
*) 0 ;
17343 PyObject
* obj0
= 0 ;
17344 PyObject
* obj1
= 0 ;
17345 PyObject
* obj2
= 0 ;
17346 PyObject
* obj3
= 0 ;
17347 PyObject
* obj4
= 0 ;
17348 char * kwnames
[] = {
17349 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_DrawLine" "', 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_DrawLine" "', 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_DrawLine" "', expected argument " "3"" of type '" "int""'");
17367 arg3
= static_cast< int >(val3
);
17368 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17369 if (!SWIG_IsOK(ecode4
)) {
17370 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17372 arg4
= static_cast< int >(val4
);
17373 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17374 if (!SWIG_IsOK(ecode5
)) {
17375 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17377 arg5
= static_cast< int >(val5
);
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17381 wxPyEndAllowThreads(__tstate
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17384 resultobj
= SWIG_Py_Void();
17391 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17392 PyObject
*resultobj
= 0;
17393 wxDC
*arg1
= (wxDC
*) 0 ;
17394 wxPoint
*arg2
= 0 ;
17395 wxPoint
*arg3
= 0 ;
17400 PyObject
* obj0
= 0 ;
17401 PyObject
* obj1
= 0 ;
17402 PyObject
* obj2
= 0 ;
17403 char * kwnames
[] = {
17404 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17409 if (!SWIG_IsOK(res1
)) {
17410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17412 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17415 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17419 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17423 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17424 wxPyEndAllowThreads(__tstate
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17427 resultobj
= SWIG_Py_Void();
17434 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
= 0;
17436 wxDC
*arg1
= (wxDC
*) 0 ;
17445 PyObject
* obj0
= 0 ;
17446 PyObject
* obj1
= 0 ;
17447 PyObject
* obj2
= 0 ;
17448 char * kwnames
[] = {
17449 (char *) "self",(char *) "x",(char *) "y", NULL
17452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17454 if (!SWIG_IsOK(res1
)) {
17455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17459 if (!SWIG_IsOK(ecode2
)) {
17460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17462 arg2
= static_cast< int >(val2
);
17463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17464 if (!SWIG_IsOK(ecode3
)) {
17465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17467 arg3
= static_cast< int >(val3
);
17469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 (arg1
)->CrossHair(arg2
,arg3
);
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17474 resultobj
= SWIG_Py_Void();
17481 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
= 0;
17483 wxDC
*arg1
= (wxDC
*) 0 ;
17484 wxPoint
*arg2
= 0 ;
17488 PyObject
* obj0
= 0 ;
17489 PyObject
* obj1
= 0 ;
17490 char * kwnames
[] = {
17491 (char *) "self",(char *) "pt", NULL
17494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17496 if (!SWIG_IsOK(res1
)) {
17497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17502 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17507 wxPyEndAllowThreads(__tstate
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17510 resultobj
= SWIG_Py_Void();
17517 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17518 PyObject
*resultobj
= 0;
17519 wxDC
*arg1
= (wxDC
*) 0 ;
17540 PyObject
* obj0
= 0 ;
17541 PyObject
* obj1
= 0 ;
17542 PyObject
* obj2
= 0 ;
17543 PyObject
* obj3
= 0 ;
17544 PyObject
* obj4
= 0 ;
17545 PyObject
* obj5
= 0 ;
17546 PyObject
* obj6
= 0 ;
17547 char * kwnames
[] = {
17548 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17553 if (!SWIG_IsOK(res1
)) {
17554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17556 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17558 if (!SWIG_IsOK(ecode2
)) {
17559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17561 arg2
= static_cast< int >(val2
);
17562 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17563 if (!SWIG_IsOK(ecode3
)) {
17564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17566 arg3
= static_cast< int >(val3
);
17567 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17568 if (!SWIG_IsOK(ecode4
)) {
17569 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17571 arg4
= static_cast< int >(val4
);
17572 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17573 if (!SWIG_IsOK(ecode5
)) {
17574 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17576 arg5
= static_cast< int >(val5
);
17577 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17578 if (!SWIG_IsOK(ecode6
)) {
17579 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17581 arg6
= static_cast< int >(val6
);
17582 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17583 if (!SWIG_IsOK(ecode7
)) {
17584 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17586 arg7
= static_cast< int >(val7
);
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17593 resultobj
= SWIG_Py_Void();
17600 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17601 PyObject
*resultobj
= 0;
17602 wxDC
*arg1
= (wxDC
*) 0 ;
17603 wxPoint
*arg2
= 0 ;
17604 wxPoint
*arg3
= 0 ;
17605 wxPoint
*arg4
= 0 ;
17611 PyObject
* obj0
= 0 ;
17612 PyObject
* obj1
= 0 ;
17613 PyObject
* obj2
= 0 ;
17614 PyObject
* obj3
= 0 ;
17615 char * kwnames
[] = {
17616 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17621 if (!SWIG_IsOK(res1
)) {
17622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17624 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17627 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17631 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17635 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17639 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17640 wxPyEndAllowThreads(__tstate
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17643 resultobj
= SWIG_Py_Void();
17650 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17651 PyObject
*resultobj
= 0;
17652 wxDC
*arg1
= (wxDC
*) 0 ;
17667 PyObject
* obj0
= 0 ;
17668 PyObject
* obj1
= 0 ;
17669 PyObject
* obj2
= 0 ;
17670 PyObject
* obj3
= 0 ;
17671 PyObject
* obj4
= 0 ;
17672 char * kwnames
[] = {
17673 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17678 if (!SWIG_IsOK(res1
)) {
17679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17681 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17683 if (!SWIG_IsOK(ecode2
)) {
17684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17686 arg2
= static_cast< int >(val2
);
17687 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17688 if (!SWIG_IsOK(ecode3
)) {
17689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17691 arg3
= static_cast< int >(val3
);
17692 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17693 if (!SWIG_IsOK(ecode4
)) {
17694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17696 arg4
= static_cast< int >(val4
);
17697 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17698 if (!SWIG_IsOK(ecode5
)) {
17699 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17701 arg5
= static_cast< int >(val5
);
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17705 wxPyEndAllowThreads(__tstate
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= SWIG_Py_Void();
17715 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17716 PyObject
*resultobj
= 0;
17717 wxDC
*arg1
= (wxDC
*) 0 ;
17722 PyObject
* obj0
= 0 ;
17723 PyObject
* obj1
= 0 ;
17724 char * kwnames
[] = {
17725 (char *) "self",(char *) "rect", NULL
17728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17730 if (!SWIG_IsOK(res1
)) {
17731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17736 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17744 resultobj
= SWIG_Py_Void();
17751 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
= 0;
17753 wxDC
*arg1
= (wxDC
*) 0 ;
17774 PyObject
* obj0
= 0 ;
17775 PyObject
* obj1
= 0 ;
17776 PyObject
* obj2
= 0 ;
17777 PyObject
* obj3
= 0 ;
17778 PyObject
* obj4
= 0 ;
17779 PyObject
* obj5
= 0 ;
17780 PyObject
* obj6
= 0 ;
17781 char * kwnames
[] = {
17782 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
17785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17787 if (!SWIG_IsOK(res1
)) {
17788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
17790 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17792 if (!SWIG_IsOK(ecode2
)) {
17793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
17795 arg2
= static_cast< int >(val2
);
17796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17797 if (!SWIG_IsOK(ecode3
)) {
17798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
17800 arg3
= static_cast< int >(val3
);
17801 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17802 if (!SWIG_IsOK(ecode4
)) {
17803 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
17805 arg4
= static_cast< int >(val4
);
17806 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17807 if (!SWIG_IsOK(ecode5
)) {
17808 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
17810 arg5
= static_cast< int >(val5
);
17811 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
17812 if (!SWIG_IsOK(ecode6
)) {
17813 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
17815 arg6
= static_cast< double >(val6
);
17816 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
17817 if (!SWIG_IsOK(ecode7
)) {
17818 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
17820 arg7
= static_cast< double >(val7
);
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 resultobj
= SWIG_Py_Void();
17834 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
= 0;
17836 wxDC
*arg1
= (wxDC
*) 0 ;
17837 wxPoint
*arg2
= 0 ;
17849 PyObject
* obj0
= 0 ;
17850 PyObject
* obj1
= 0 ;
17851 PyObject
* obj2
= 0 ;
17852 PyObject
* obj3
= 0 ;
17853 PyObject
* obj4
= 0 ;
17854 char * kwnames
[] = {
17855 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
17858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17860 if (!SWIG_IsOK(res1
)) {
17861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17866 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17870 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17872 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
17873 if (!SWIG_IsOK(ecode4
)) {
17874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
17876 arg4
= static_cast< double >(val4
);
17877 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
17878 if (!SWIG_IsOK(ecode5
)) {
17879 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
17881 arg5
= static_cast< double >(val5
);
17883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
17885 wxPyEndAllowThreads(__tstate
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17888 resultobj
= SWIG_Py_Void();
17895 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17896 PyObject
*resultobj
= 0;
17897 wxDC
*arg1
= (wxDC
*) 0 ;
17906 PyObject
* obj0
= 0 ;
17907 PyObject
* obj1
= 0 ;
17908 PyObject
* obj2
= 0 ;
17909 char * kwnames
[] = {
17910 (char *) "self",(char *) "x",(char *) "y", NULL
17913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17915 if (!SWIG_IsOK(res1
)) {
17916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17918 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17920 if (!SWIG_IsOK(ecode2
)) {
17921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
17923 arg2
= static_cast< int >(val2
);
17924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17925 if (!SWIG_IsOK(ecode3
)) {
17926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
17928 arg3
= static_cast< int >(val3
);
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 (arg1
)->DrawPoint(arg2
,arg3
);
17932 wxPyEndAllowThreads(__tstate
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17935 resultobj
= SWIG_Py_Void();
17942 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17943 PyObject
*resultobj
= 0;
17944 wxDC
*arg1
= (wxDC
*) 0 ;
17945 wxPoint
*arg2
= 0 ;
17949 PyObject
* obj0
= 0 ;
17950 PyObject
* obj1
= 0 ;
17951 char * kwnames
[] = {
17952 (char *) "self",(char *) "pt", NULL
17955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17957 if (!SWIG_IsOK(res1
)) {
17958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17960 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17963 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= SWIG_Py_Void();
17978 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
= 0;
17980 wxDC
*arg1
= (wxDC
*) 0 ;
17995 PyObject
* obj0
= 0 ;
17996 PyObject
* obj1
= 0 ;
17997 PyObject
* obj2
= 0 ;
17998 PyObject
* obj3
= 0 ;
17999 PyObject
* obj4
= 0 ;
18000 char * kwnames
[] = {
18001 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18006 if (!SWIG_IsOK(res1
)) {
18007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18009 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18011 if (!SWIG_IsOK(ecode2
)) {
18012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18014 arg2
= static_cast< int >(val2
);
18015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18016 if (!SWIG_IsOK(ecode3
)) {
18017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18019 arg3
= static_cast< int >(val3
);
18020 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18021 if (!SWIG_IsOK(ecode4
)) {
18022 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18024 arg4
= static_cast< int >(val4
);
18025 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18026 if (!SWIG_IsOK(ecode5
)) {
18027 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18029 arg5
= static_cast< int >(val5
);
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 resultobj
= SWIG_Py_Void();
18043 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
= 0;
18045 wxDC
*arg1
= (wxDC
*) 0 ;
18050 PyObject
* obj0
= 0 ;
18051 PyObject
* obj1
= 0 ;
18052 char * kwnames
[] = {
18053 (char *) "self",(char *) "rect", NULL
18056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18058 if (!SWIG_IsOK(res1
)) {
18059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18061 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18064 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 resultobj
= SWIG_Py_Void();
18079 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
= 0;
18081 wxDC
*arg1
= (wxDC
*) 0 ;
18082 wxPoint
*arg2
= 0 ;
18088 PyObject
* obj0
= 0 ;
18089 PyObject
* obj1
= 0 ;
18090 PyObject
* obj2
= 0 ;
18091 char * kwnames
[] = {
18092 (char *) "self",(char *) "pt",(char *) "sz", NULL
18095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18097 if (!SWIG_IsOK(res1
)) {
18098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18100 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18103 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18107 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18112 wxPyEndAllowThreads(__tstate
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18115 resultobj
= SWIG_Py_Void();
18122 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18123 PyObject
*resultobj
= 0;
18124 wxDC
*arg1
= (wxDC
*) 0 ;
18142 PyObject
* obj0
= 0 ;
18143 PyObject
* obj1
= 0 ;
18144 PyObject
* obj2
= 0 ;
18145 PyObject
* obj3
= 0 ;
18146 PyObject
* obj4
= 0 ;
18147 PyObject
* obj5
= 0 ;
18148 char * kwnames
[] = {
18149 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18154 if (!SWIG_IsOK(res1
)) {
18155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18157 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18159 if (!SWIG_IsOK(ecode2
)) {
18160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18162 arg2
= static_cast< int >(val2
);
18163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18164 if (!SWIG_IsOK(ecode3
)) {
18165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18167 arg3
= static_cast< int >(val3
);
18168 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18169 if (!SWIG_IsOK(ecode4
)) {
18170 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18172 arg4
= static_cast< int >(val4
);
18173 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18174 if (!SWIG_IsOK(ecode5
)) {
18175 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18177 arg5
= static_cast< int >(val5
);
18178 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18179 if (!SWIG_IsOK(ecode6
)) {
18180 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18182 arg6
= static_cast< double >(val6
);
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 resultobj
= SWIG_Py_Void();
18196 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18197 PyObject
*resultobj
= 0;
18198 wxDC
*arg1
= (wxDC
*) 0 ;
18206 PyObject
* obj0
= 0 ;
18207 PyObject
* obj1
= 0 ;
18208 PyObject
* obj2
= 0 ;
18209 char * kwnames
[] = {
18210 (char *) "self",(char *) "r",(char *) "radius", NULL
18213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18215 if (!SWIG_IsOK(res1
)) {
18216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18221 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18223 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18224 if (!SWIG_IsOK(ecode3
)) {
18225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18227 arg3
= static_cast< double >(val3
);
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18230 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18231 wxPyEndAllowThreads(__tstate
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18234 resultobj
= SWIG_Py_Void();
18241 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18242 PyObject
*resultobj
= 0;
18243 wxDC
*arg1
= (wxDC
*) 0 ;
18244 wxPoint
*arg2
= 0 ;
18253 PyObject
* obj0
= 0 ;
18254 PyObject
* obj1
= 0 ;
18255 PyObject
* obj2
= 0 ;
18256 PyObject
* obj3
= 0 ;
18257 char * kwnames
[] = {
18258 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18263 if (!SWIG_IsOK(res1
)) {
18264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18266 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18269 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18273 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18275 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18276 if (!SWIG_IsOK(ecode4
)) {
18277 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18279 arg4
= static_cast< double >(val4
);
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18286 resultobj
= SWIG_Py_Void();
18293 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18294 PyObject
*resultobj
= 0;
18295 wxDC
*arg1
= (wxDC
*) 0 ;
18307 PyObject
* obj0
= 0 ;
18308 PyObject
* obj1
= 0 ;
18309 PyObject
* obj2
= 0 ;
18310 PyObject
* obj3
= 0 ;
18311 char * kwnames
[] = {
18312 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18317 if (!SWIG_IsOK(res1
)) {
18318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18320 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18322 if (!SWIG_IsOK(ecode2
)) {
18323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18325 arg2
= static_cast< int >(val2
);
18326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18327 if (!SWIG_IsOK(ecode3
)) {
18328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18330 arg3
= static_cast< int >(val3
);
18331 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18332 if (!SWIG_IsOK(ecode4
)) {
18333 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18335 arg4
= static_cast< int >(val4
);
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18339 wxPyEndAllowThreads(__tstate
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18342 resultobj
= SWIG_Py_Void();
18349 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
= 0;
18351 wxDC
*arg1
= (wxDC
*) 0 ;
18352 wxPoint
*arg2
= 0 ;
18359 PyObject
* obj0
= 0 ;
18360 PyObject
* obj1
= 0 ;
18361 PyObject
* obj2
= 0 ;
18362 char * kwnames
[] = {
18363 (char *) "self",(char *) "pt",(char *) "radius", NULL
18366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18368 if (!SWIG_IsOK(res1
)) {
18369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18374 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18377 if (!SWIG_IsOK(ecode3
)) {
18378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18380 arg3
= static_cast< int >(val3
);
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18384 wxPyEndAllowThreads(__tstate
);
18385 if (PyErr_Occurred()) SWIG_fail
;
18387 resultobj
= SWIG_Py_Void();
18394 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18395 PyObject
*resultobj
= 0;
18396 wxDC
*arg1
= (wxDC
*) 0 ;
18411 PyObject
* obj0
= 0 ;
18412 PyObject
* obj1
= 0 ;
18413 PyObject
* obj2
= 0 ;
18414 PyObject
* obj3
= 0 ;
18415 PyObject
* obj4
= 0 ;
18416 char * kwnames
[] = {
18417 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18422 if (!SWIG_IsOK(res1
)) {
18423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18425 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18427 if (!SWIG_IsOK(ecode2
)) {
18428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18430 arg2
= static_cast< int >(val2
);
18431 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18432 if (!SWIG_IsOK(ecode3
)) {
18433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18435 arg3
= static_cast< int >(val3
);
18436 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18437 if (!SWIG_IsOK(ecode4
)) {
18438 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18440 arg4
= static_cast< int >(val4
);
18441 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18442 if (!SWIG_IsOK(ecode5
)) {
18443 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18445 arg5
= static_cast< int >(val5
);
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 resultobj
= SWIG_Py_Void();
18459 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
= 0;
18461 wxDC
*arg1
= (wxDC
*) 0 ;
18466 PyObject
* obj0
= 0 ;
18467 PyObject
* obj1
= 0 ;
18468 char * kwnames
[] = {
18469 (char *) "self",(char *) "rect", NULL
18472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18474 if (!SWIG_IsOK(res1
)) {
18475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18477 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18480 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18485 wxPyEndAllowThreads(__tstate
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18488 resultobj
= SWIG_Py_Void();
18495 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18496 PyObject
*resultobj
= 0;
18497 wxDC
*arg1
= (wxDC
*) 0 ;
18498 wxPoint
*arg2
= 0 ;
18504 PyObject
* obj0
= 0 ;
18505 PyObject
* obj1
= 0 ;
18506 PyObject
* obj2
= 0 ;
18507 char * kwnames
[] = {
18508 (char *) "self",(char *) "pt",(char *) "sz", NULL
18511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18513 if (!SWIG_IsOK(res1
)) {
18514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18516 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18519 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18523 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18528 wxPyEndAllowThreads(__tstate
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18531 resultobj
= SWIG_Py_Void();
18538 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18539 PyObject
*resultobj
= 0;
18540 wxDC
*arg1
= (wxDC
*) 0 ;
18552 PyObject
* obj0
= 0 ;
18553 PyObject
* obj1
= 0 ;
18554 PyObject
* obj2
= 0 ;
18555 PyObject
* obj3
= 0 ;
18556 char * kwnames
[] = {
18557 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18562 if (!SWIG_IsOK(res1
)) {
18563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18565 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18566 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18567 if (!SWIG_IsOK(res2
)) {
18568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18573 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18575 if (!SWIG_IsOK(ecode3
)) {
18576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18578 arg3
= static_cast< int >(val3
);
18579 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18580 if (!SWIG_IsOK(ecode4
)) {
18581 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18583 arg4
= static_cast< int >(val4
);
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18586 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18590 resultobj
= SWIG_Py_Void();
18597 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18598 PyObject
*resultobj
= 0;
18599 wxDC
*arg1
= (wxDC
*) 0 ;
18601 wxPoint
*arg3
= 0 ;
18607 PyObject
* obj0
= 0 ;
18608 PyObject
* obj1
= 0 ;
18609 PyObject
* obj2
= 0 ;
18610 char * kwnames
[] = {
18611 (char *) "self",(char *) "icon",(char *) "pt", NULL
18614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18616 if (!SWIG_IsOK(res1
)) {
18617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18619 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18620 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18621 if (!SWIG_IsOK(res2
)) {
18622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18627 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18630 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 resultobj
= SWIG_Py_Void();
18645 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
= 0;
18647 wxDC
*arg1
= (wxDC
*) 0 ;
18648 wxBitmap
*arg2
= 0 ;
18651 bool arg5
= (bool) false ;
18662 PyObject
* obj0
= 0 ;
18663 PyObject
* obj1
= 0 ;
18664 PyObject
* obj2
= 0 ;
18665 PyObject
* obj3
= 0 ;
18666 PyObject
* obj4
= 0 ;
18667 char * kwnames
[] = {
18668 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18673 if (!SWIG_IsOK(res1
)) {
18674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18676 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18677 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18678 if (!SWIG_IsOK(res2
)) {
18679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18684 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18686 if (!SWIG_IsOK(ecode3
)) {
18687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18689 arg3
= static_cast< int >(val3
);
18690 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18691 if (!SWIG_IsOK(ecode4
)) {
18692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18694 arg4
= static_cast< int >(val4
);
18696 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18697 if (!SWIG_IsOK(ecode5
)) {
18698 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18700 arg5
= static_cast< bool >(val5
);
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18705 wxPyEndAllowThreads(__tstate
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18708 resultobj
= SWIG_Py_Void();
18715 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18716 PyObject
*resultobj
= 0;
18717 wxDC
*arg1
= (wxDC
*) 0 ;
18718 wxBitmap
*arg2
= 0 ;
18719 wxPoint
*arg3
= 0 ;
18720 bool arg4
= (bool) false ;
18728 PyObject
* obj0
= 0 ;
18729 PyObject
* obj1
= 0 ;
18730 PyObject
* obj2
= 0 ;
18731 PyObject
* obj3
= 0 ;
18732 char * kwnames
[] = {
18733 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18738 if (!SWIG_IsOK(res1
)) {
18739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18741 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18742 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18743 if (!SWIG_IsOK(res2
)) {
18744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18749 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18752 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18755 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18756 if (!SWIG_IsOK(ecode4
)) {
18757 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18759 arg4
= static_cast< bool >(val4
);
18762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18763 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 resultobj
= SWIG_Py_Void();
18774 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
= 0;
18776 wxDC
*arg1
= (wxDC
*) 0 ;
18777 wxString
*arg2
= 0 ;
18782 bool temp2
= false ;
18787 PyObject
* obj0
= 0 ;
18788 PyObject
* obj1
= 0 ;
18789 PyObject
* obj2
= 0 ;
18790 PyObject
* obj3
= 0 ;
18791 char * kwnames
[] = {
18792 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
18795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18797 if (!SWIG_IsOK(res1
)) {
18798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
18800 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18802 arg2
= wxString_in_helper(obj1
);
18803 if (arg2
== NULL
) SWIG_fail
;
18806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18807 if (!SWIG_IsOK(ecode3
)) {
18808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
18810 arg3
= static_cast< int >(val3
);
18811 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18812 if (!SWIG_IsOK(ecode4
)) {
18813 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
18815 arg4
= static_cast< int >(val4
);
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18822 resultobj
= SWIG_Py_Void();
18837 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
= 0;
18839 wxDC
*arg1
= (wxDC
*) 0 ;
18840 wxString
*arg2
= 0 ;
18841 wxPoint
*arg3
= 0 ;
18844 bool temp2
= false ;
18846 PyObject
* obj0
= 0 ;
18847 PyObject
* obj1
= 0 ;
18848 PyObject
* obj2
= 0 ;
18849 char * kwnames
[] = {
18850 (char *) "self",(char *) "text",(char *) "pt", NULL
18853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18855 if (!SWIG_IsOK(res1
)) {
18856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18858 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18860 arg2
= wxString_in_helper(obj1
);
18861 if (arg2
== NULL
) SWIG_fail
;
18866 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18870 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
18871 wxPyEndAllowThreads(__tstate
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= SWIG_Py_Void();
18889 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
= 0;
18891 wxDC
*arg1
= (wxDC
*) 0 ;
18892 wxString
*arg2
= 0 ;
18898 bool temp2
= false ;
18905 PyObject
* obj0
= 0 ;
18906 PyObject
* obj1
= 0 ;
18907 PyObject
* obj2
= 0 ;
18908 PyObject
* obj3
= 0 ;
18909 PyObject
* obj4
= 0 ;
18910 char * kwnames
[] = {
18911 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
18914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18916 if (!SWIG_IsOK(res1
)) {
18917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
18919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18921 arg2
= wxString_in_helper(obj1
);
18922 if (arg2
== NULL
) SWIG_fail
;
18925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18926 if (!SWIG_IsOK(ecode3
)) {
18927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
18929 arg3
= static_cast< int >(val3
);
18930 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18931 if (!SWIG_IsOK(ecode4
)) {
18932 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
18934 arg4
= static_cast< int >(val4
);
18935 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18936 if (!SWIG_IsOK(ecode5
)) {
18937 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
18939 arg5
= static_cast< double >(val5
);
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18946 resultobj
= SWIG_Py_Void();
18961 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18962 PyObject
*resultobj
= 0;
18963 wxDC
*arg1
= (wxDC
*) 0 ;
18964 wxString
*arg2
= 0 ;
18965 wxPoint
*arg3
= 0 ;
18969 bool temp2
= false ;
18973 PyObject
* obj0
= 0 ;
18974 PyObject
* obj1
= 0 ;
18975 PyObject
* obj2
= 0 ;
18976 PyObject
* obj3
= 0 ;
18977 char * kwnames
[] = {
18978 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
18981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18983 if (!SWIG_IsOK(res1
)) {
18984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18986 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18988 arg2
= wxString_in_helper(obj1
);
18989 if (arg2
== NULL
) SWIG_fail
;
18994 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18996 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18997 if (!SWIG_IsOK(ecode4
)) {
18998 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19000 arg4
= static_cast< double >(val4
);
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19007 resultobj
= SWIG_Py_Void();
19022 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
= 0;
19024 wxDC
*arg1
= (wxDC
*) 0 ;
19029 wxDC
*arg6
= (wxDC
*) 0 ;
19032 int arg9
= (int) wxCOPY
;
19033 bool arg10
= (bool) false ;
19034 int arg11
= (int) -1 ;
19035 int arg12
= (int) -1 ;
19061 PyObject
* obj0
= 0 ;
19062 PyObject
* obj1
= 0 ;
19063 PyObject
* obj2
= 0 ;
19064 PyObject
* obj3
= 0 ;
19065 PyObject
* obj4
= 0 ;
19066 PyObject
* obj5
= 0 ;
19067 PyObject
* obj6
= 0 ;
19068 PyObject
* obj7
= 0 ;
19069 PyObject
* obj8
= 0 ;
19070 PyObject
* obj9
= 0 ;
19071 PyObject
* obj10
= 0 ;
19072 PyObject
* obj11
= 0 ;
19073 char * kwnames
[] = {
19074 (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
19077 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
;
19078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19079 if (!SWIG_IsOK(res1
)) {
19080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19082 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19084 if (!SWIG_IsOK(ecode2
)) {
19085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19087 arg2
= static_cast< int >(val2
);
19088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19089 if (!SWIG_IsOK(ecode3
)) {
19090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19092 arg3
= static_cast< int >(val3
);
19093 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19094 if (!SWIG_IsOK(ecode4
)) {
19095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19097 arg4
= static_cast< int >(val4
);
19098 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19099 if (!SWIG_IsOK(ecode5
)) {
19100 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19102 arg5
= static_cast< int >(val5
);
19103 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19104 if (!SWIG_IsOK(res6
)) {
19105 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19107 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19108 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19109 if (!SWIG_IsOK(ecode7
)) {
19110 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19112 arg7
= static_cast< int >(val7
);
19113 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19114 if (!SWIG_IsOK(ecode8
)) {
19115 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19117 arg8
= static_cast< int >(val8
);
19119 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19120 if (!SWIG_IsOK(ecode9
)) {
19121 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19123 arg9
= static_cast< int >(val9
);
19126 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19127 if (!SWIG_IsOK(ecode10
)) {
19128 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19130 arg10
= static_cast< bool >(val10
);
19133 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19134 if (!SWIG_IsOK(ecode11
)) {
19135 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19137 arg11
= static_cast< int >(val11
);
19140 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19141 if (!SWIG_IsOK(ecode12
)) {
19142 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19144 arg12
= static_cast< int >(val12
);
19147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19148 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19149 wxPyEndAllowThreads(__tstate
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19161 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19162 PyObject
*resultobj
= 0;
19163 wxDC
*arg1
= (wxDC
*) 0 ;
19164 wxPoint
*arg2
= 0 ;
19166 wxDC
*arg4
= (wxDC
*) 0 ;
19167 wxPoint
*arg5
= 0 ;
19168 int arg6
= (int) wxCOPY
;
19169 bool arg7
= (bool) false ;
19170 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19171 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19185 PyObject
* obj0
= 0 ;
19186 PyObject
* obj1
= 0 ;
19187 PyObject
* obj2
= 0 ;
19188 PyObject
* obj3
= 0 ;
19189 PyObject
* obj4
= 0 ;
19190 PyObject
* obj5
= 0 ;
19191 PyObject
* obj6
= 0 ;
19192 PyObject
* obj7
= 0 ;
19193 char * kwnames
[] = {
19194 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19199 if (!SWIG_IsOK(res1
)) {
19200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19202 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19205 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19209 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19211 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19212 if (!SWIG_IsOK(res4
)) {
19213 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19215 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19218 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19221 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19222 if (!SWIG_IsOK(ecode6
)) {
19223 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19225 arg6
= static_cast< int >(val6
);
19228 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19229 if (!SWIG_IsOK(ecode7
)) {
19230 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19232 arg7
= static_cast< bool >(val7
);
19237 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19242 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19243 wxPyEndAllowThreads(__tstate
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19255 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
= 0;
19257 wxDC
*arg1
= (wxDC
*) 0 ;
19272 PyObject
* obj0
= 0 ;
19273 PyObject
* obj1
= 0 ;
19274 PyObject
* obj2
= 0 ;
19275 PyObject
* obj3
= 0 ;
19276 PyObject
* obj4
= 0 ;
19277 char * kwnames
[] = {
19278 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19283 if (!SWIG_IsOK(res1
)) {
19284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19288 if (!SWIG_IsOK(ecode2
)) {
19289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19291 arg2
= static_cast< int >(val2
);
19292 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19293 if (!SWIG_IsOK(ecode3
)) {
19294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19296 arg3
= static_cast< int >(val3
);
19297 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19298 if (!SWIG_IsOK(ecode4
)) {
19299 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19301 arg4
= static_cast< int >(val4
);
19302 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19303 if (!SWIG_IsOK(ecode5
)) {
19304 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19306 arg5
= static_cast< int >(val5
);
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19313 resultobj
= SWIG_Py_Void();
19320 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
= 0;
19322 wxDC
*arg1
= (wxDC
*) 0 ;
19323 wxPoint
*arg2
= 0 ;
19329 PyObject
* obj0
= 0 ;
19330 PyObject
* obj1
= 0 ;
19331 PyObject
* obj2
= 0 ;
19332 char * kwnames
[] = {
19333 (char *) "self",(char *) "pt",(char *) "sz", NULL
19336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19338 if (!SWIG_IsOK(res1
)) {
19339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19341 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19344 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19348 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19356 resultobj
= SWIG_Py_Void();
19363 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
= 0;
19365 wxDC
*arg1
= (wxDC
*) 0 ;
19366 wxRegion
*arg2
= 0 ;
19371 PyObject
* obj0
= 0 ;
19372 PyObject
* obj1
= 0 ;
19373 char * kwnames
[] = {
19374 (char *) "self",(char *) "region", NULL
19377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19379 if (!SWIG_IsOK(res1
)) {
19380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19382 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19383 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19384 if (!SWIG_IsOK(res2
)) {
19385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19388 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19390 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19394 wxPyEndAllowThreads(__tstate
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19397 resultobj
= SWIG_Py_Void();
19404 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19405 PyObject
*resultobj
= 0;
19406 wxDC
*arg1
= (wxDC
*) 0 ;
19411 PyObject
* obj0
= 0 ;
19412 PyObject
* obj1
= 0 ;
19413 char * kwnames
[] = {
19414 (char *) "self",(char *) "rect", NULL
19417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19419 if (!SWIG_IsOK(res1
)) {
19420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19422 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19425 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19430 wxPyEndAllowThreads(__tstate
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19433 resultobj
= SWIG_Py_Void();
19440 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19441 PyObject
*resultobj
= 0;
19442 wxDC
*arg1
= (wxDC
*) 0 ;
19444 wxPoint
*arg3
= (wxPoint
*) 0 ;
19445 int arg4
= (int) 0 ;
19446 int arg5
= (int) 0 ;
19453 PyObject
* obj0
= 0 ;
19454 PyObject
* obj1
= 0 ;
19455 PyObject
* obj2
= 0 ;
19456 PyObject
* obj3
= 0 ;
19457 char * kwnames
[] = {
19458 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19463 if (!SWIG_IsOK(res1
)) {
19464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19466 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19468 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19469 if (arg3
== NULL
) SWIG_fail
;
19472 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19473 if (!SWIG_IsOK(ecode4
)) {
19474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19476 arg4
= static_cast< int >(val4
);
19479 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19480 if (!SWIG_IsOK(ecode5
)) {
19481 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19483 arg5
= static_cast< int >(val5
);
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19488 wxPyEndAllowThreads(__tstate
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= SWIG_Py_Void();
19493 if (arg3
) delete [] arg3
;
19498 if (arg3
) delete [] arg3
;
19504 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
= 0;
19506 wxDC
*arg1
= (wxDC
*) 0 ;
19508 wxPoint
*arg3
= (wxPoint
*) 0 ;
19509 int arg4
= (int) 0 ;
19510 int arg5
= (int) 0 ;
19511 int arg6
= (int) wxODDEVEN_RULE
;
19520 PyObject
* obj0
= 0 ;
19521 PyObject
* obj1
= 0 ;
19522 PyObject
* obj2
= 0 ;
19523 PyObject
* obj3
= 0 ;
19524 PyObject
* obj4
= 0 ;
19525 char * kwnames
[] = {
19526 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19531 if (!SWIG_IsOK(res1
)) {
19532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19534 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19536 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19537 if (arg3
== NULL
) SWIG_fail
;
19540 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19541 if (!SWIG_IsOK(ecode4
)) {
19542 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19544 arg4
= static_cast< int >(val4
);
19547 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19548 if (!SWIG_IsOK(ecode5
)) {
19549 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19551 arg5
= static_cast< int >(val5
);
19554 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19555 if (!SWIG_IsOK(ecode6
)) {
19556 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19558 arg6
= static_cast< int >(val6
);
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19566 resultobj
= SWIG_Py_Void();
19568 if (arg3
) delete [] arg3
;
19573 if (arg3
) delete [] arg3
;
19579 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19580 PyObject
*resultobj
= 0;
19581 wxDC
*arg1
= (wxDC
*) 0 ;
19582 wxString
*arg2
= 0 ;
19584 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19585 int arg5
= (int) -1 ;
19588 bool temp2
= false ;
19594 PyObject
* obj0
= 0 ;
19595 PyObject
* obj1
= 0 ;
19596 PyObject
* obj2
= 0 ;
19597 PyObject
* obj3
= 0 ;
19598 PyObject
* obj4
= 0 ;
19599 char * kwnames
[] = {
19600 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19605 if (!SWIG_IsOK(res1
)) {
19606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19608 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19610 arg2
= wxString_in_helper(obj1
);
19611 if (arg2
== NULL
) SWIG_fail
;
19616 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19619 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19620 if (!SWIG_IsOK(ecode4
)) {
19621 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19623 arg4
= static_cast< int >(val4
);
19626 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19627 if (!SWIG_IsOK(ecode5
)) {
19628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19630 arg5
= static_cast< int >(val5
);
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19635 wxPyEndAllowThreads(__tstate
);
19636 if (PyErr_Occurred()) SWIG_fail
;
19638 resultobj
= SWIG_Py_Void();
19653 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
= 0;
19655 wxDC
*arg1
= (wxDC
*) 0 ;
19656 wxString
*arg2
= 0 ;
19657 wxBitmap
*arg3
= 0 ;
19659 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19660 int arg6
= (int) -1 ;
19664 bool temp2
= false ;
19672 PyObject
* obj0
= 0 ;
19673 PyObject
* obj1
= 0 ;
19674 PyObject
* obj2
= 0 ;
19675 PyObject
* obj3
= 0 ;
19676 PyObject
* obj4
= 0 ;
19677 PyObject
* obj5
= 0 ;
19678 char * kwnames
[] = {
19679 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19684 if (!SWIG_IsOK(res1
)) {
19685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19687 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19689 arg2
= wxString_in_helper(obj1
);
19690 if (arg2
== NULL
) SWIG_fail
;
19693 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19694 if (!SWIG_IsOK(res3
)) {
19695 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19700 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19703 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19706 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19707 if (!SWIG_IsOK(ecode5
)) {
19708 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19710 arg5
= static_cast< int >(val5
);
19713 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19714 if (!SWIG_IsOK(ecode6
)) {
19715 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19717 arg6
= static_cast< int >(val6
);
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19725 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19740 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19741 PyObject
*resultobj
= 0;
19742 wxDC
*arg1
= (wxDC
*) 0 ;
19744 wxPoint
*arg3
= (wxPoint
*) 0 ;
19747 PyObject
* obj0
= 0 ;
19748 PyObject
* obj1
= 0 ;
19749 char * kwnames
[] = {
19750 (char *) "self",(char *) "points", NULL
19753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19755 if (!SWIG_IsOK(res1
)) {
19756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19758 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19760 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19761 if (arg3
== NULL
) SWIG_fail
;
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 (arg1
)->DrawSpline(arg2
,arg3
);
19766 wxPyEndAllowThreads(__tstate
);
19767 if (PyErr_Occurred()) SWIG_fail
;
19769 resultobj
= SWIG_Py_Void();
19771 if (arg3
) delete [] arg3
;
19776 if (arg3
) delete [] arg3
;
19782 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19783 PyObject
*resultobj
= 0;
19784 wxDC
*arg1
= (wxDC
*) 0 ;
19787 PyObject
*swig_obj
[1] ;
19789 if (!args
) SWIG_fail
;
19790 swig_obj
[0] = args
;
19791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19792 if (!SWIG_IsOK(res1
)) {
19793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
19795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 wxPyEndAllowThreads(__tstate
);
19800 if (PyErr_Occurred()) SWIG_fail
;
19802 resultobj
= SWIG_Py_Void();
19809 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19810 PyObject
*resultobj
= 0;
19811 wxDC
*arg1
= (wxDC
*) 0 ;
19812 wxString
*arg2
= 0 ;
19816 bool temp2
= false ;
19817 PyObject
* obj0
= 0 ;
19818 PyObject
* obj1
= 0 ;
19819 char * kwnames
[] = {
19820 (char *) "self",(char *) "message", NULL
19823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19825 if (!SWIG_IsOK(res1
)) {
19826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
19828 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19830 arg2
= wxString_in_helper(obj1
);
19831 if (arg2
== NULL
) SWIG_fail
;
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19836 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
19837 wxPyEndAllowThreads(__tstate
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19857 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19858 PyObject
*resultobj
= 0;
19859 wxDC
*arg1
= (wxDC
*) 0 ;
19862 PyObject
*swig_obj
[1] ;
19864 if (!args
) SWIG_fail
;
19865 swig_obj
[0] = args
;
19866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19867 if (!SWIG_IsOK(res1
)) {
19868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
19870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19874 wxPyEndAllowThreads(__tstate
);
19875 if (PyErr_Occurred()) SWIG_fail
;
19877 resultobj
= SWIG_Py_Void();
19884 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19885 PyObject
*resultobj
= 0;
19886 wxDC
*arg1
= (wxDC
*) 0 ;
19889 PyObject
*swig_obj
[1] ;
19891 if (!args
) SWIG_fail
;
19892 swig_obj
[0] = args
;
19893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19894 if (!SWIG_IsOK(res1
)) {
19895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
19897 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 (arg1
)->StartPage();
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19904 resultobj
= SWIG_Py_Void();
19911 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19912 PyObject
*resultobj
= 0;
19913 wxDC
*arg1
= (wxDC
*) 0 ;
19916 PyObject
*swig_obj
[1] ;
19918 if (!args
) SWIG_fail
;
19919 swig_obj
[0] = args
;
19920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19921 if (!SWIG_IsOK(res1
)) {
19922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
19924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 wxPyEndAllowThreads(__tstate
);
19929 if (PyErr_Occurred()) SWIG_fail
;
19931 resultobj
= SWIG_Py_Void();
19938 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19939 PyObject
*resultobj
= 0;
19940 wxDC
*arg1
= (wxDC
*) 0 ;
19946 PyObject
* obj0
= 0 ;
19947 PyObject
* obj1
= 0 ;
19948 char * kwnames
[] = {
19949 (char *) "self",(char *) "font", NULL
19952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19954 if (!SWIG_IsOK(res1
)) {
19955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
19957 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19958 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19959 if (!SWIG_IsOK(res2
)) {
19960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19965 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19968 (arg1
)->SetFont((wxFont
const &)*arg2
);
19969 wxPyEndAllowThreads(__tstate
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19972 resultobj
= SWIG_Py_Void();
19979 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19980 PyObject
*resultobj
= 0;
19981 wxDC
*arg1
= (wxDC
*) 0 ;
19987 PyObject
* obj0
= 0 ;
19988 PyObject
* obj1
= 0 ;
19989 char * kwnames
[] = {
19990 (char *) "self",(char *) "pen", NULL
19993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19995 if (!SWIG_IsOK(res1
)) {
19996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
19998 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20000 if (!SWIG_IsOK(res2
)) {
20001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20006 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20009 (arg1
)->SetPen((wxPen
const &)*arg2
);
20010 wxPyEndAllowThreads(__tstate
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20013 resultobj
= SWIG_Py_Void();
20020 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20021 PyObject
*resultobj
= 0;
20022 wxDC
*arg1
= (wxDC
*) 0 ;
20023 wxBrush
*arg2
= 0 ;
20028 PyObject
* obj0
= 0 ;
20029 PyObject
* obj1
= 0 ;
20030 char * kwnames
[] = {
20031 (char *) "self",(char *) "brush", NULL
20034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20036 if (!SWIG_IsOK(res1
)) {
20037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20039 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20040 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20041 if (!SWIG_IsOK(res2
)) {
20042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20047 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20054 resultobj
= SWIG_Py_Void();
20061 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
= 0;
20063 wxDC
*arg1
= (wxDC
*) 0 ;
20064 wxBrush
*arg2
= 0 ;
20069 PyObject
* obj0
= 0 ;
20070 PyObject
* obj1
= 0 ;
20071 char * kwnames
[] = {
20072 (char *) "self",(char *) "brush", NULL
20075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20077 if (!SWIG_IsOK(res1
)) {
20078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20080 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20081 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20082 if (!SWIG_IsOK(res2
)) {
20083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20088 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20095 resultobj
= SWIG_Py_Void();
20102 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20103 PyObject
*resultobj
= 0;
20104 wxDC
*arg1
= (wxDC
*) 0 ;
20110 PyObject
* obj0
= 0 ;
20111 PyObject
* obj1
= 0 ;
20112 char * kwnames
[] = {
20113 (char *) "self",(char *) "mode", NULL
20116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20118 if (!SWIG_IsOK(res1
)) {
20119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20121 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20123 if (!SWIG_IsOK(ecode2
)) {
20124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20126 arg2
= static_cast< int >(val2
);
20128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20129 (arg1
)->SetBackgroundMode(arg2
);
20130 wxPyEndAllowThreads(__tstate
);
20131 if (PyErr_Occurred()) SWIG_fail
;
20133 resultobj
= SWIG_Py_Void();
20140 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
= 0;
20142 wxDC
*arg1
= (wxDC
*) 0 ;
20143 wxPalette
*arg2
= 0 ;
20148 PyObject
* obj0
= 0 ;
20149 PyObject
* obj1
= 0 ;
20150 char * kwnames
[] = {
20151 (char *) "self",(char *) "palette", NULL
20154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20156 if (!SWIG_IsOK(res1
)) {
20157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20161 if (!SWIG_IsOK(res2
)) {
20162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20167 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20171 wxPyEndAllowThreads(__tstate
);
20172 if (PyErr_Occurred()) SWIG_fail
;
20174 resultobj
= SWIG_Py_Void();
20181 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20182 PyObject
*resultobj
= 0;
20183 wxDC
*arg1
= (wxDC
*) 0 ;
20186 PyObject
*swig_obj
[1] ;
20188 if (!args
) SWIG_fail
;
20189 swig_obj
[0] = args
;
20190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20191 if (!SWIG_IsOK(res1
)) {
20192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20194 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 (arg1
)->DestroyClippingRegion();
20198 wxPyEndAllowThreads(__tstate
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20201 resultobj
= SWIG_Py_Void();
20208 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20209 PyObject
*resultobj
= 0;
20210 wxDC
*arg1
= (wxDC
*) 0 ;
20211 int *arg2
= (int *) 0 ;
20212 int *arg3
= (int *) 0 ;
20213 int *arg4
= (int *) 0 ;
20214 int *arg5
= (int *) 0 ;
20218 int res2
= SWIG_TMPOBJ
;
20220 int res3
= SWIG_TMPOBJ
;
20222 int res4
= SWIG_TMPOBJ
;
20224 int res5
= SWIG_TMPOBJ
;
20225 PyObject
*swig_obj
[1] ;
20231 if (!args
) SWIG_fail
;
20232 swig_obj
[0] = args
;
20233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20234 if (!SWIG_IsOK(res1
)) {
20235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20237 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20241 wxPyEndAllowThreads(__tstate
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20244 resultobj
= SWIG_Py_Void();
20245 if (SWIG_IsTmpObj(res2
)) {
20246 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20248 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20249 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20251 if (SWIG_IsTmpObj(res3
)) {
20252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20254 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20257 if (SWIG_IsTmpObj(res4
)) {
20258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20260 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20263 if (SWIG_IsTmpObj(res5
)) {
20264 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20266 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20267 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20275 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20276 PyObject
*resultobj
= 0;
20277 wxDC
*arg1
= (wxDC
*) 0 ;
20281 PyObject
*swig_obj
[1] ;
20283 if (!args
) SWIG_fail
;
20284 swig_obj
[0] = args
;
20285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20286 if (!SWIG_IsOK(res1
)) {
20287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20289 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 result
= wxDC_GetClippingRect(arg1
);
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20296 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20303 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20304 PyObject
*resultobj
= 0;
20305 wxDC
*arg1
= (wxDC
*) 0 ;
20309 PyObject
*swig_obj
[1] ;
20311 if (!args
) SWIG_fail
;
20312 swig_obj
[0] = args
;
20313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20314 if (!SWIG_IsOK(res1
)) {
20315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20317 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20320 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20321 wxPyEndAllowThreads(__tstate
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20324 resultobj
= SWIG_From_int(static_cast< int >(result
));
20331 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20332 PyObject
*resultobj
= 0;
20333 wxDC
*arg1
= (wxDC
*) 0 ;
20337 PyObject
*swig_obj
[1] ;
20339 if (!args
) SWIG_fail
;
20340 swig_obj
[0] = args
;
20341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20342 if (!SWIG_IsOK(res1
)) {
20343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20345 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20348 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= SWIG_From_int(static_cast< int >(result
));
20359 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
= 0;
20361 wxDC
*arg1
= (wxDC
*) 0 ;
20362 wxString
*arg2
= 0 ;
20363 int *arg3
= (int *) 0 ;
20364 int *arg4
= (int *) 0 ;
20367 bool temp2
= false ;
20369 int res3
= SWIG_TMPOBJ
;
20371 int res4
= SWIG_TMPOBJ
;
20372 PyObject
* obj0
= 0 ;
20373 PyObject
* obj1
= 0 ;
20374 char * kwnames
[] = {
20375 (char *) "self",(char *) "string", NULL
20380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20382 if (!SWIG_IsOK(res1
)) {
20383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20385 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20387 arg2
= wxString_in_helper(obj1
);
20388 if (arg2
== NULL
) SWIG_fail
;
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20397 resultobj
= SWIG_Py_Void();
20398 if (SWIG_IsTmpObj(res3
)) {
20399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20401 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20404 if (SWIG_IsTmpObj(res4
)) {
20405 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20407 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20408 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20424 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20425 PyObject
*resultobj
= 0;
20426 wxDC
*arg1
= (wxDC
*) 0 ;
20427 wxString
*arg2
= 0 ;
20428 int *arg3
= (int *) 0 ;
20429 int *arg4
= (int *) 0 ;
20430 int *arg5
= (int *) 0 ;
20431 int *arg6
= (int *) 0 ;
20432 wxFont
*arg7
= (wxFont
*) NULL
;
20435 bool temp2
= false ;
20437 int res3
= SWIG_TMPOBJ
;
20439 int res4
= SWIG_TMPOBJ
;
20441 int res5
= SWIG_TMPOBJ
;
20443 int res6
= SWIG_TMPOBJ
;
20446 PyObject
* obj0
= 0 ;
20447 PyObject
* obj1
= 0 ;
20448 PyObject
* obj2
= 0 ;
20449 char * kwnames
[] = {
20450 (char *) "self",(char *) "string",(char *) "font", NULL
20457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20459 if (!SWIG_IsOK(res1
)) {
20460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20462 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20464 arg2
= wxString_in_helper(obj1
);
20465 if (arg2
== NULL
) SWIG_fail
;
20469 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20470 if (!SWIG_IsOK(res7
)) {
20471 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20473 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 resultobj
= SWIG_Py_Void();
20482 if (SWIG_IsTmpObj(res3
)) {
20483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20485 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20486 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20488 if (SWIG_IsTmpObj(res4
)) {
20489 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20491 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20492 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20494 if (SWIG_IsTmpObj(res5
)) {
20495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20497 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20500 if (SWIG_IsTmpObj(res6
)) {
20501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20503 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20520 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
= 0;
20522 wxDC
*arg1
= (wxDC
*) 0 ;
20523 wxString
*arg2
= 0 ;
20524 int *arg3
= (int *) 0 ;
20525 int *arg4
= (int *) 0 ;
20526 int *arg5
= (int *) 0 ;
20527 wxFont
*arg6
= (wxFont
*) NULL
;
20530 bool temp2
= false ;
20532 int res3
= SWIG_TMPOBJ
;
20534 int res4
= SWIG_TMPOBJ
;
20536 int res5
= SWIG_TMPOBJ
;
20539 PyObject
* obj0
= 0 ;
20540 PyObject
* obj1
= 0 ;
20541 PyObject
* obj2
= 0 ;
20542 char * kwnames
[] = {
20543 (char *) "self",(char *) "text",(char *) "font", NULL
20549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",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_GetMultiLineTextExtent" "', 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 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20562 if (!SWIG_IsOK(res6
)) {
20563 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20565 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
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
));
20606 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
= 0;
20608 wxDC
*arg1
= (wxDC
*) 0 ;
20609 wxString
*arg2
= 0 ;
20613 bool temp2
= false ;
20614 PyObject
* obj0
= 0 ;
20615 PyObject
* obj1
= 0 ;
20616 char * kwnames
[] = {
20617 (char *) "self",(char *) "text", NULL
20620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20622 if (!SWIG_IsOK(res1
)) {
20623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20625 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20627 arg2
= wxString_in_helper(obj1
);
20628 if (arg2
== NULL
) SWIG_fail
;
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20638 resultobj
= PyList_New(0);
20640 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
20641 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
20642 PyList_Append(resultobj
, val
);
20660 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20661 PyObject
*resultobj
= 0;
20662 wxDC
*arg1
= (wxDC
*) 0 ;
20666 PyObject
*swig_obj
[1] ;
20668 if (!args
) SWIG_fail
;
20669 swig_obj
[0] = args
;
20670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20671 if (!SWIG_IsOK(res1
)) {
20672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20674 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20677 result
= (arg1
)->GetSize();
20678 wxPyEndAllowThreads(__tstate
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20681 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20688 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20689 PyObject
*resultobj
= 0;
20690 wxDC
*arg1
= (wxDC
*) 0 ;
20691 int *arg2
= (int *) 0 ;
20692 int *arg3
= (int *) 0 ;
20696 int res2
= SWIG_TMPOBJ
;
20698 int res3
= SWIG_TMPOBJ
;
20699 PyObject
*swig_obj
[1] ;
20703 if (!args
) SWIG_fail
;
20704 swig_obj
[0] = args
;
20705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20706 if (!SWIG_IsOK(res1
)) {
20707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20709 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 (arg1
)->GetSize(arg2
,arg3
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 resultobj
= SWIG_Py_Void();
20717 if (SWIG_IsTmpObj(res2
)) {
20718 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20720 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20721 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20723 if (SWIG_IsTmpObj(res3
)) {
20724 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20726 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20727 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20735 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20736 PyObject
*resultobj
= 0;
20737 wxDC
*arg1
= (wxDC
*) 0 ;
20741 PyObject
*swig_obj
[1] ;
20743 if (!args
) SWIG_fail
;
20744 swig_obj
[0] = args
;
20745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20746 if (!SWIG_IsOK(res1
)) {
20747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20749 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20763 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20764 PyObject
*resultobj
= 0;
20765 wxDC
*arg1
= (wxDC
*) 0 ;
20766 int *arg2
= (int *) 0 ;
20767 int *arg3
= (int *) 0 ;
20771 int res2
= SWIG_TMPOBJ
;
20773 int res3
= SWIG_TMPOBJ
;
20774 PyObject
*swig_obj
[1] ;
20778 if (!args
) SWIG_fail
;
20779 swig_obj
[0] = args
;
20780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20781 if (!SWIG_IsOK(res1
)) {
20782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20784 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20791 resultobj
= SWIG_Py_Void();
20792 if (SWIG_IsTmpObj(res2
)) {
20793 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20795 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20796 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20798 if (SWIG_IsTmpObj(res3
)) {
20799 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20801 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20802 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20810 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
= 0;
20812 wxDC
*arg1
= (wxDC
*) 0 ;
20819 PyObject
* obj0
= 0 ;
20820 PyObject
* obj1
= 0 ;
20821 char * kwnames
[] = {
20822 (char *) "self",(char *) "x", NULL
20825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20827 if (!SWIG_IsOK(res1
)) {
20828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
20830 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20832 if (!SWIG_IsOK(ecode2
)) {
20833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
20835 arg2
= static_cast< int >(val2
);
20837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20838 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
20839 wxPyEndAllowThreads(__tstate
);
20840 if (PyErr_Occurred()) SWIG_fail
;
20842 resultobj
= SWIG_From_int(static_cast< int >(result
));
20849 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20850 PyObject
*resultobj
= 0;
20851 wxDC
*arg1
= (wxDC
*) 0 ;
20858 PyObject
* obj0
= 0 ;
20859 PyObject
* obj1
= 0 ;
20860 char * kwnames
[] = {
20861 (char *) "self",(char *) "y", NULL
20864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20866 if (!SWIG_IsOK(res1
)) {
20867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
20869 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20871 if (!SWIG_IsOK(ecode2
)) {
20872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
20874 arg2
= static_cast< int >(val2
);
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 resultobj
= SWIG_From_int(static_cast< int >(result
));
20888 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
= 0;
20890 wxDC
*arg1
= (wxDC
*) 0 ;
20897 PyObject
* obj0
= 0 ;
20898 PyObject
* obj1
= 0 ;
20899 char * kwnames
[] = {
20900 (char *) "self",(char *) "x", NULL
20903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20905 if (!SWIG_IsOK(res1
)) {
20906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
20908 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20910 if (!SWIG_IsOK(ecode2
)) {
20911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
20913 arg2
= static_cast< int >(val2
);
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20920 resultobj
= SWIG_From_int(static_cast< int >(result
));
20927 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20928 PyObject
*resultobj
= 0;
20929 wxDC
*arg1
= (wxDC
*) 0 ;
20936 PyObject
* obj0
= 0 ;
20937 PyObject
* obj1
= 0 ;
20938 char * kwnames
[] = {
20939 (char *) "self",(char *) "y", NULL
20942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20944 if (!SWIG_IsOK(res1
)) {
20945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
20947 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20949 if (!SWIG_IsOK(ecode2
)) {
20950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
20952 arg2
= static_cast< int >(val2
);
20954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20955 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
20956 wxPyEndAllowThreads(__tstate
);
20957 if (PyErr_Occurred()) SWIG_fail
;
20959 resultobj
= SWIG_From_int(static_cast< int >(result
));
20966 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
= 0;
20968 wxDC
*arg1
= (wxDC
*) 0 ;
20975 PyObject
* obj0
= 0 ;
20976 PyObject
* obj1
= 0 ;
20977 char * kwnames
[] = {
20978 (char *) "self",(char *) "x", NULL
20981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20983 if (!SWIG_IsOK(res1
)) {
20984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
20986 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20988 if (!SWIG_IsOK(ecode2
)) {
20989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
20991 arg2
= static_cast< int >(val2
);
20993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20994 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20998 resultobj
= SWIG_From_int(static_cast< int >(result
));
21005 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21006 PyObject
*resultobj
= 0;
21007 wxDC
*arg1
= (wxDC
*) 0 ;
21014 PyObject
* obj0
= 0 ;
21015 PyObject
* obj1
= 0 ;
21016 char * kwnames
[] = {
21017 (char *) "self",(char *) "y", NULL
21020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21022 if (!SWIG_IsOK(res1
)) {
21023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21025 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21027 if (!SWIG_IsOK(ecode2
)) {
21028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21030 arg2
= static_cast< int >(val2
);
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21034 wxPyEndAllowThreads(__tstate
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21037 resultobj
= SWIG_From_int(static_cast< int >(result
));
21044 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21045 PyObject
*resultobj
= 0;
21046 wxDC
*arg1
= (wxDC
*) 0 ;
21053 PyObject
* obj0
= 0 ;
21054 PyObject
* obj1
= 0 ;
21055 char * kwnames
[] = {
21056 (char *) "self",(char *) "x", NULL
21059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21061 if (!SWIG_IsOK(res1
)) {
21062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21064 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21066 if (!SWIG_IsOK(ecode2
)) {
21067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21069 arg2
= static_cast< int >(val2
);
21071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21073 wxPyEndAllowThreads(__tstate
);
21074 if (PyErr_Occurred()) SWIG_fail
;
21076 resultobj
= SWIG_From_int(static_cast< int >(result
));
21083 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21084 PyObject
*resultobj
= 0;
21085 wxDC
*arg1
= (wxDC
*) 0 ;
21092 PyObject
* obj0
= 0 ;
21093 PyObject
* obj1
= 0 ;
21094 char * kwnames
[] = {
21095 (char *) "self",(char *) "y", NULL
21098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21100 if (!SWIG_IsOK(res1
)) {
21101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21103 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21105 if (!SWIG_IsOK(ecode2
)) {
21106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21108 arg2
= static_cast< int >(val2
);
21110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21111 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21115 resultobj
= SWIG_From_int(static_cast< int >(result
));
21122 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21123 PyObject
*resultobj
= 0;
21124 wxDC
*arg1
= (wxDC
*) 0 ;
21128 PyObject
*swig_obj
[1] ;
21130 if (!args
) SWIG_fail
;
21131 swig_obj
[0] = args
;
21132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21133 if (!SWIG_IsOK(res1
)) {
21134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21136 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21139 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21140 wxPyEndAllowThreads(__tstate
);
21141 if (PyErr_Occurred()) SWIG_fail
;
21144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21152 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21153 PyObject
*resultobj
= 0;
21154 wxDC
*arg1
= (wxDC
*) 0 ;
21158 PyObject
*swig_obj
[1] ;
21160 if (!args
) SWIG_fail
;
21161 swig_obj
[0] = args
;
21162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21163 if (!SWIG_IsOK(res1
)) {
21164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21169 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21170 wxPyEndAllowThreads(__tstate
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21182 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21183 PyObject
*resultobj
= 0;
21184 wxDC
*arg1
= (wxDC
*) 0 ;
21188 PyObject
*swig_obj
[1] ;
21190 if (!args
) SWIG_fail
;
21191 swig_obj
[0] = args
;
21192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21193 if (!SWIG_IsOK(res1
)) {
21194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21196 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21199 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21203 resultobj
= SWIG_From_int(static_cast< int >(result
));
21210 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21211 PyObject
*resultobj
= 0;
21212 wxDC
*arg1
= (wxDC
*) 0 ;
21216 PyObject
*swig_obj
[1] ;
21218 if (!args
) SWIG_fail
;
21219 swig_obj
[0] = args
;
21220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21221 if (!SWIG_IsOK(res1
)) {
21222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21224 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21227 result
= ((wxDC
const *)arg1
)->GetPPI();
21228 wxPyEndAllowThreads(__tstate
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21231 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21238 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21239 PyObject
*resultobj
= 0;
21240 wxDC
*arg1
= (wxDC
*) 0 ;
21244 PyObject
*swig_obj
[1] ;
21246 if (!args
) SWIG_fail
;
21247 swig_obj
[0] = args
;
21248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21249 if (!SWIG_IsOK(res1
)) {
21250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
21252 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 result
= (bool)((wxDC
const *)arg1
)->Ok();
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21268 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21269 PyObject
*resultobj
= 0;
21270 wxDC
*arg1
= (wxDC
*) 0 ;
21274 PyObject
*swig_obj
[1] ;
21276 if (!args
) SWIG_fail
;
21277 swig_obj
[0] = args
;
21278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21279 if (!SWIG_IsOK(res1
)) {
21280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21282 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21286 wxPyEndAllowThreads(__tstate
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21289 resultobj
= SWIG_From_int(static_cast< int >(result
));
21296 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21297 PyObject
*resultobj
= 0;
21298 wxDC
*arg1
= (wxDC
*) 0 ;
21299 wxBrush
*result
= 0 ;
21302 PyObject
*swig_obj
[1] ;
21304 if (!args
) SWIG_fail
;
21305 swig_obj
[0] = args
;
21306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21307 if (!SWIG_IsOK(res1
)) {
21308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21310 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21314 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21315 result
= (wxBrush
*) &_result_ref
;
21317 wxPyEndAllowThreads(__tstate
);
21318 if (PyErr_Occurred()) SWIG_fail
;
21321 wxBrush
* resultptr
= new wxBrush(*result
);
21322 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21330 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21331 PyObject
*resultobj
= 0;
21332 wxDC
*arg1
= (wxDC
*) 0 ;
21333 wxBrush
*result
= 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_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21344 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21348 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21349 result
= (wxBrush
*) &_result_ref
;
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21355 wxBrush
* resultptr
= new wxBrush(*result
);
21356 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21364 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21365 PyObject
*resultobj
= 0;
21366 wxDC
*arg1
= (wxDC
*) 0 ;
21367 wxFont
*result
= 0 ;
21370 PyObject
*swig_obj
[1] ;
21372 if (!args
) SWIG_fail
;
21373 swig_obj
[0] = args
;
21374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21375 if (!SWIG_IsOK(res1
)) {
21376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21378 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21383 result
= (wxFont
*) &_result_ref
;
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21389 wxFont
* resultptr
= new wxFont(*result
);
21390 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21398 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21399 PyObject
*resultobj
= 0;
21400 wxDC
*arg1
= (wxDC
*) 0 ;
21401 wxPen
*result
= 0 ;
21404 PyObject
*swig_obj
[1] ;
21406 if (!args
) SWIG_fail
;
21407 swig_obj
[0] = args
;
21408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21409 if (!SWIG_IsOK(res1
)) {
21410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21412 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21417 result
= (wxPen
*) &_result_ref
;
21419 wxPyEndAllowThreads(__tstate
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21423 wxPen
* resultptr
= new wxPen(*result
);
21424 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21432 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21433 PyObject
*resultobj
= 0;
21434 wxDC
*arg1
= (wxDC
*) 0 ;
21435 wxColour
*result
= 0 ;
21438 PyObject
*swig_obj
[1] ;
21440 if (!args
) SWIG_fail
;
21441 swig_obj
[0] = args
;
21442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21443 if (!SWIG_IsOK(res1
)) {
21444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21446 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21450 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21451 result
= (wxColour
*) &_result_ref
;
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21463 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21464 PyObject
*resultobj
= 0;
21465 wxDC
*arg1
= (wxDC
*) 0 ;
21466 wxColour
*result
= 0 ;
21469 PyObject
*swig_obj
[1] ;
21471 if (!args
) SWIG_fail
;
21472 swig_obj
[0] = args
;
21473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21474 if (!SWIG_IsOK(res1
)) {
21475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21477 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21481 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21482 result
= (wxColour
*) &_result_ref
;
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21494 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21495 PyObject
*resultobj
= 0;
21496 wxDC
*arg1
= (wxDC
*) 0 ;
21497 wxColour
*arg2
= 0 ;
21501 PyObject
* obj0
= 0 ;
21502 PyObject
* obj1
= 0 ;
21503 char * kwnames
[] = {
21504 (char *) "self",(char *) "colour", NULL
21507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21509 if (!SWIG_IsOK(res1
)) {
21510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21512 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21515 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21519 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21520 wxPyEndAllowThreads(__tstate
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21523 resultobj
= SWIG_Py_Void();
21530 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21531 PyObject
*resultobj
= 0;
21532 wxDC
*arg1
= (wxDC
*) 0 ;
21533 wxColour
*arg2
= 0 ;
21537 PyObject
* obj0
= 0 ;
21538 PyObject
* obj1
= 0 ;
21539 char * kwnames
[] = {
21540 (char *) "self",(char *) "colour", NULL
21543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21545 if (!SWIG_IsOK(res1
)) {
21546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21548 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21551 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21559 resultobj
= SWIG_Py_Void();
21566 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21567 PyObject
*resultobj
= 0;
21568 wxDC
*arg1
= (wxDC
*) 0 ;
21572 PyObject
*swig_obj
[1] ;
21574 if (!args
) SWIG_fail
;
21575 swig_obj
[0] = args
;
21576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21577 if (!SWIG_IsOK(res1
)) {
21578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21580 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21587 resultobj
= SWIG_From_int(static_cast< int >(result
));
21594 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21595 PyObject
*resultobj
= 0;
21596 wxDC
*arg1
= (wxDC
*) 0 ;
21602 PyObject
* obj0
= 0 ;
21603 PyObject
* obj1
= 0 ;
21604 char * kwnames
[] = {
21605 (char *) "self",(char *) "mode", NULL
21608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21610 if (!SWIG_IsOK(res1
)) {
21611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21613 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21615 if (!SWIG_IsOK(ecode2
)) {
21616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21618 arg2
= static_cast< int >(val2
);
21620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21621 (arg1
)->SetMapMode(arg2
);
21622 wxPyEndAllowThreads(__tstate
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 resultobj
= SWIG_Py_Void();
21632 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21633 PyObject
*resultobj
= 0;
21634 wxDC
*arg1
= (wxDC
*) 0 ;
21635 double *arg2
= (double *) 0 ;
21636 double *arg3
= (double *) 0 ;
21640 int res2
= SWIG_TMPOBJ
;
21642 int res3
= SWIG_TMPOBJ
;
21643 PyObject
*swig_obj
[1] ;
21647 if (!args
) SWIG_fail
;
21648 swig_obj
[0] = args
;
21649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21650 if (!SWIG_IsOK(res1
)) {
21651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21653 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21656 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21657 wxPyEndAllowThreads(__tstate
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21660 resultobj
= SWIG_Py_Void();
21661 if (SWIG_IsTmpObj(res2
)) {
21662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21664 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21667 if (SWIG_IsTmpObj(res3
)) {
21668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21670 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21679 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
= 0;
21681 wxDC
*arg1
= (wxDC
*) 0 ;
21690 PyObject
* obj0
= 0 ;
21691 PyObject
* obj1
= 0 ;
21692 PyObject
* obj2
= 0 ;
21693 char * kwnames
[] = {
21694 (char *) "self",(char *) "x",(char *) "y", NULL
21697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21699 if (!SWIG_IsOK(res1
)) {
21700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21702 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21703 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21704 if (!SWIG_IsOK(ecode2
)) {
21705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21707 arg2
= static_cast< double >(val2
);
21708 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21709 if (!SWIG_IsOK(ecode3
)) {
21710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21712 arg3
= static_cast< double >(val3
);
21714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21715 (arg1
)->SetUserScale(arg2
,arg3
);
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 resultobj
= SWIG_Py_Void();
21726 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21727 PyObject
*resultobj
= 0;
21728 wxDC
*arg1
= (wxDC
*) 0 ;
21729 double *arg2
= (double *) 0 ;
21730 double *arg3
= (double *) 0 ;
21734 int res2
= SWIG_TMPOBJ
;
21736 int res3
= SWIG_TMPOBJ
;
21737 PyObject
*swig_obj
[1] ;
21741 if (!args
) SWIG_fail
;
21742 swig_obj
[0] = args
;
21743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21744 if (!SWIG_IsOK(res1
)) {
21745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21747 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21750 (arg1
)->GetLogicalScale(arg2
,arg3
);
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21754 resultobj
= SWIG_Py_Void();
21755 if (SWIG_IsTmpObj(res2
)) {
21756 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21758 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21761 if (SWIG_IsTmpObj(res3
)) {
21762 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21764 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21765 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21773 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
= 0;
21775 wxDC
*arg1
= (wxDC
*) 0 ;
21784 PyObject
* obj0
= 0 ;
21785 PyObject
* obj1
= 0 ;
21786 PyObject
* obj2
= 0 ;
21787 char * kwnames
[] = {
21788 (char *) "self",(char *) "x",(char *) "y", NULL
21791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21793 if (!SWIG_IsOK(res1
)) {
21794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21796 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21797 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21798 if (!SWIG_IsOK(ecode2
)) {
21799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
21801 arg2
= static_cast< double >(val2
);
21802 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21803 if (!SWIG_IsOK(ecode3
)) {
21804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
21806 arg3
= static_cast< double >(val3
);
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 (arg1
)->SetLogicalScale(arg2
,arg3
);
21810 wxPyEndAllowThreads(__tstate
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21813 resultobj
= SWIG_Py_Void();
21820 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21821 PyObject
*resultobj
= 0;
21822 wxDC
*arg1
= (wxDC
*) 0 ;
21826 PyObject
*swig_obj
[1] ;
21828 if (!args
) SWIG_fail
;
21829 swig_obj
[0] = args
;
21830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21831 if (!SWIG_IsOK(res1
)) {
21832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
21834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21837 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
21838 wxPyEndAllowThreads(__tstate
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21841 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
21848 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21849 PyObject
*resultobj
= 0;
21850 wxDC
*arg1
= (wxDC
*) 0 ;
21851 int *arg2
= (int *) 0 ;
21852 int *arg3
= (int *) 0 ;
21856 int res2
= SWIG_TMPOBJ
;
21858 int res3
= SWIG_TMPOBJ
;
21859 PyObject
*swig_obj
[1] ;
21863 if (!args
) SWIG_fail
;
21864 swig_obj
[0] = args
;
21865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21866 if (!SWIG_IsOK(res1
)) {
21867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21869 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 resultobj
= SWIG_Py_Void();
21877 if (SWIG_IsTmpObj(res2
)) {
21878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21880 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21883 if (SWIG_IsTmpObj(res3
)) {
21884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21886 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21895 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21896 PyObject
*resultobj
= 0;
21897 wxDC
*arg1
= (wxDC
*) 0 ;
21906 PyObject
* obj0
= 0 ;
21907 PyObject
* obj1
= 0 ;
21908 PyObject
* obj2
= 0 ;
21909 char * kwnames
[] = {
21910 (char *) "self",(char *) "x",(char *) "y", NULL
21913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21915 if (!SWIG_IsOK(res1
)) {
21916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
21918 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21920 if (!SWIG_IsOK(ecode2
)) {
21921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
21923 arg2
= static_cast< int >(val2
);
21924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21925 if (!SWIG_IsOK(ecode3
)) {
21926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
21928 arg3
= static_cast< int >(val3
);
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21935 resultobj
= SWIG_Py_Void();
21942 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21943 PyObject
*resultobj
= 0;
21944 wxDC
*arg1
= (wxDC
*) 0 ;
21945 wxPoint
*arg2
= 0 ;
21949 PyObject
* obj0
= 0 ;
21950 PyObject
* obj1
= 0 ;
21951 char * kwnames
[] = {
21952 (char *) "self",(char *) "point", NULL
21955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21957 if (!SWIG_IsOK(res1
)) {
21958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
21960 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21963 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21967 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21971 resultobj
= SWIG_Py_Void();
21978 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21979 PyObject
*resultobj
= 0;
21980 wxDC
*arg1
= (wxDC
*) 0 ;
21984 PyObject
*swig_obj
[1] ;
21986 if (!args
) SWIG_fail
;
21987 swig_obj
[0] = args
;
21988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21989 if (!SWIG_IsOK(res1
)) {
21990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
21992 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21995 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
21996 wxPyEndAllowThreads(__tstate
);
21997 if (PyErr_Occurred()) SWIG_fail
;
21999 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22006 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22007 PyObject
*resultobj
= 0;
22008 wxDC
*arg1
= (wxDC
*) 0 ;
22009 int *arg2
= (int *) 0 ;
22010 int *arg3
= (int *) 0 ;
22014 int res2
= SWIG_TMPOBJ
;
22016 int res3
= SWIG_TMPOBJ
;
22017 PyObject
*swig_obj
[1] ;
22021 if (!args
) SWIG_fail
;
22022 swig_obj
[0] = args
;
22023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22024 if (!SWIG_IsOK(res1
)) {
22025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22027 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22031 wxPyEndAllowThreads(__tstate
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22034 resultobj
= SWIG_Py_Void();
22035 if (SWIG_IsTmpObj(res2
)) {
22036 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22038 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22039 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22041 if (SWIG_IsTmpObj(res3
)) {
22042 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22044 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22045 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22053 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
= 0;
22055 wxDC
*arg1
= (wxDC
*) 0 ;
22064 PyObject
* obj0
= 0 ;
22065 PyObject
* obj1
= 0 ;
22066 PyObject
* obj2
= 0 ;
22067 char * kwnames
[] = {
22068 (char *) "self",(char *) "x",(char *) "y", NULL
22071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22073 if (!SWIG_IsOK(res1
)) {
22074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22076 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22078 if (!SWIG_IsOK(ecode2
)) {
22079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22081 arg2
= static_cast< int >(val2
);
22082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22083 if (!SWIG_IsOK(ecode3
)) {
22084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22086 arg3
= static_cast< int >(val3
);
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22090 wxPyEndAllowThreads(__tstate
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= SWIG_Py_Void();
22100 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
= 0;
22102 wxDC
*arg1
= (wxDC
*) 0 ;
22103 wxPoint
*arg2
= 0 ;
22107 PyObject
* obj0
= 0 ;
22108 PyObject
* obj1
= 0 ;
22109 char * kwnames
[] = {
22110 (char *) "self",(char *) "point", NULL
22113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22115 if (!SWIG_IsOK(res1
)) {
22116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22118 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22121 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22129 resultobj
= SWIG_Py_Void();
22136 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22137 PyObject
*resultobj
= 0;
22138 wxDC
*arg1
= (wxDC
*) 0 ;
22147 PyObject
* obj0
= 0 ;
22148 PyObject
* obj1
= 0 ;
22149 PyObject
* obj2
= 0 ;
22150 char * kwnames
[] = {
22151 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22156 if (!SWIG_IsOK(res1
)) {
22157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22160 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22161 if (!SWIG_IsOK(ecode2
)) {
22162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22164 arg2
= static_cast< bool >(val2
);
22165 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22166 if (!SWIG_IsOK(ecode3
)) {
22167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22169 arg3
= static_cast< bool >(val3
);
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= SWIG_Py_Void();
22183 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22184 PyObject
*resultobj
= 0;
22185 wxDC
*arg1
= (wxDC
*) 0 ;
22189 PyObject
*swig_obj
[1] ;
22191 if (!args
) SWIG_fail
;
22192 swig_obj
[0] = args
;
22193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22194 if (!SWIG_IsOK(res1
)) {
22195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22197 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22200 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22204 resultobj
= SWIG_From_int(static_cast< int >(result
));
22211 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22212 PyObject
*resultobj
= 0;
22213 wxDC
*arg1
= (wxDC
*) 0 ;
22219 PyObject
* obj0
= 0 ;
22220 PyObject
* obj1
= 0 ;
22221 char * kwnames
[] = {
22222 (char *) "self",(char *) "function", NULL
22225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22227 if (!SWIG_IsOK(res1
)) {
22228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22230 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22232 if (!SWIG_IsOK(ecode2
)) {
22233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22235 arg2
= static_cast< int >(val2
);
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 (arg1
)->SetLogicalFunction(arg2
);
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 resultobj
= SWIG_Py_Void();
22249 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22250 PyObject
*resultobj
= 0;
22251 wxDC
*arg1
= (wxDC
*) 0 ;
22254 PyObject
*swig_obj
[1] ;
22256 if (!args
) SWIG_fail
;
22257 swig_obj
[0] = args
;
22258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22259 if (!SWIG_IsOK(res1
)) {
22260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22262 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 (arg1
)->ComputeScaleAndOrigin();
22266 wxPyEndAllowThreads(__tstate
);
22267 if (PyErr_Occurred()) SWIG_fail
;
22269 resultobj
= SWIG_Py_Void();
22276 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22277 PyObject
*resultobj
= 0;
22278 wxDC
*arg1
= (wxDC
*) 0 ;
22287 PyObject
* obj0
= 0 ;
22288 PyObject
* obj1
= 0 ;
22289 PyObject
* obj2
= 0 ;
22290 char * kwnames
[] = {
22291 (char *) "self",(char *) "x",(char *) "y", NULL
22294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22296 if (!SWIG_IsOK(res1
)) {
22297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22299 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22301 if (!SWIG_IsOK(ecode2
)) {
22302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22304 arg2
= static_cast< int >(val2
);
22305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22306 if (!SWIG_IsOK(ecode3
)) {
22307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22309 arg3
= static_cast< int >(val3
);
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22313 wxPyEndAllowThreads(__tstate
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22316 resultobj
= SWIG_Py_Void();
22323 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
= 0;
22325 wxDC
*arg1
= (wxDC
*) 0 ;
22326 wxPoint
*arg2
= 0 ;
22330 PyObject
* obj0
= 0 ;
22331 PyObject
* obj1
= 0 ;
22332 char * kwnames
[] = {
22333 (char *) "self",(char *) "point", NULL
22336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22338 if (!SWIG_IsOK(res1
)) {
22339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22341 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22344 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22348 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22349 wxPyEndAllowThreads(__tstate
);
22350 if (PyErr_Occurred()) SWIG_fail
;
22352 resultobj
= SWIG_Py_Void();
22359 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22360 PyObject
*resultobj
= 0;
22361 wxDC
*arg1
= (wxDC
*) 0 ;
22364 PyObject
*swig_obj
[1] ;
22366 if (!args
) SWIG_fail
;
22367 swig_obj
[0] = args
;
22368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22369 if (!SWIG_IsOK(res1
)) {
22370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22372 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22375 (arg1
)->ResetBoundingBox();
22376 wxPyEndAllowThreads(__tstate
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22379 resultobj
= SWIG_Py_Void();
22386 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22387 PyObject
*resultobj
= 0;
22388 wxDC
*arg1
= (wxDC
*) 0 ;
22392 PyObject
*swig_obj
[1] ;
22394 if (!args
) SWIG_fail
;
22395 swig_obj
[0] = args
;
22396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22397 if (!SWIG_IsOK(res1
)) {
22398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22400 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 result
= (int)((wxDC
const *)arg1
)->MinX();
22404 wxPyEndAllowThreads(__tstate
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22407 resultobj
= SWIG_From_int(static_cast< int >(result
));
22414 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22415 PyObject
*resultobj
= 0;
22416 wxDC
*arg1
= (wxDC
*) 0 ;
22420 PyObject
*swig_obj
[1] ;
22422 if (!args
) SWIG_fail
;
22423 swig_obj
[0] = args
;
22424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22425 if (!SWIG_IsOK(res1
)) {
22426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22428 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 result
= (int)((wxDC
const *)arg1
)->MaxX();
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22435 resultobj
= SWIG_From_int(static_cast< int >(result
));
22442 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22443 PyObject
*resultobj
= 0;
22444 wxDC
*arg1
= (wxDC
*) 0 ;
22448 PyObject
*swig_obj
[1] ;
22450 if (!args
) SWIG_fail
;
22451 swig_obj
[0] = args
;
22452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22453 if (!SWIG_IsOK(res1
)) {
22454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22459 result
= (int)((wxDC
const *)arg1
)->MinY();
22460 wxPyEndAllowThreads(__tstate
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22463 resultobj
= SWIG_From_int(static_cast< int >(result
));
22470 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22471 PyObject
*resultobj
= 0;
22472 wxDC
*arg1
= (wxDC
*) 0 ;
22476 PyObject
*swig_obj
[1] ;
22478 if (!args
) SWIG_fail
;
22479 swig_obj
[0] = args
;
22480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22481 if (!SWIG_IsOK(res1
)) {
22482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 result
= (int)((wxDC
const *)arg1
)->MaxY();
22488 wxPyEndAllowThreads(__tstate
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22491 resultobj
= SWIG_From_int(static_cast< int >(result
));
22498 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22499 PyObject
*resultobj
= 0;
22500 wxDC
*arg1
= (wxDC
*) 0 ;
22501 int *arg2
= (int *) 0 ;
22502 int *arg3
= (int *) 0 ;
22503 int *arg4
= (int *) 0 ;
22504 int *arg5
= (int *) 0 ;
22508 int res2
= SWIG_TMPOBJ
;
22510 int res3
= SWIG_TMPOBJ
;
22512 int res4
= SWIG_TMPOBJ
;
22514 int res5
= SWIG_TMPOBJ
;
22515 PyObject
*swig_obj
[1] ;
22521 if (!args
) SWIG_fail
;
22522 swig_obj
[0] = args
;
22523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22524 if (!SWIG_IsOK(res1
)) {
22525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22527 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22534 resultobj
= SWIG_Py_Void();
22535 if (SWIG_IsTmpObj(res2
)) {
22536 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22538 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22539 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22541 if (SWIG_IsTmpObj(res3
)) {
22542 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22544 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22545 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22547 if (SWIG_IsTmpObj(res4
)) {
22548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22550 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22553 if (SWIG_IsTmpObj(res5
)) {
22554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22556 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22565 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
= 0;
22567 wxDC
*arg1
= (wxDC
*) 0 ;
22568 PyObject
*arg2
= (PyObject
*) 0 ;
22569 PyObject
*arg3
= (PyObject
*) 0 ;
22570 PyObject
*arg4
= (PyObject
*) 0 ;
22571 PyObject
*result
= 0 ;
22574 PyObject
* obj0
= 0 ;
22575 PyObject
* obj1
= 0 ;
22576 PyObject
* obj2
= 0 ;
22577 PyObject
* obj3
= 0 ;
22578 char * kwnames
[] = {
22579 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22584 if (!SWIG_IsOK(res1
)) {
22585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22587 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22593 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22594 wxPyEndAllowThreads(__tstate
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22597 resultobj
= result
;
22604 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22605 PyObject
*resultobj
= 0;
22606 wxDC
*arg1
= (wxDC
*) 0 ;
22607 PyObject
*arg2
= (PyObject
*) 0 ;
22608 PyObject
*arg3
= (PyObject
*) 0 ;
22609 PyObject
*arg4
= (PyObject
*) 0 ;
22610 PyObject
*result
= 0 ;
22613 PyObject
* obj0
= 0 ;
22614 PyObject
* obj1
= 0 ;
22615 PyObject
* obj2
= 0 ;
22616 PyObject
* obj3
= 0 ;
22617 char * kwnames
[] = {
22618 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22623 if (!SWIG_IsOK(res1
)) {
22624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22633 wxPyEndAllowThreads(__tstate
);
22634 if (PyErr_Occurred()) SWIG_fail
;
22636 resultobj
= result
;
22643 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22644 PyObject
*resultobj
= 0;
22645 wxDC
*arg1
= (wxDC
*) 0 ;
22646 PyObject
*arg2
= (PyObject
*) 0 ;
22647 PyObject
*arg3
= (PyObject
*) 0 ;
22648 PyObject
*arg4
= (PyObject
*) 0 ;
22649 PyObject
*result
= 0 ;
22652 PyObject
* obj0
= 0 ;
22653 PyObject
* obj1
= 0 ;
22654 PyObject
* obj2
= 0 ;
22655 PyObject
* obj3
= 0 ;
22656 char * kwnames
[] = {
22657 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22662 if (!SWIG_IsOK(res1
)) {
22663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22665 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22671 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 resultobj
= result
;
22682 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
= 0;
22684 wxDC
*arg1
= (wxDC
*) 0 ;
22685 PyObject
*arg2
= (PyObject
*) 0 ;
22686 PyObject
*arg3
= (PyObject
*) 0 ;
22687 PyObject
*arg4
= (PyObject
*) 0 ;
22688 PyObject
*result
= 0 ;
22691 PyObject
* obj0
= 0 ;
22692 PyObject
* obj1
= 0 ;
22693 PyObject
* obj2
= 0 ;
22694 PyObject
* obj3
= 0 ;
22695 char * kwnames
[] = {
22696 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22701 if (!SWIG_IsOK(res1
)) {
22702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
22704 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22710 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
22711 wxPyEndAllowThreads(__tstate
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22714 resultobj
= result
;
22721 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22722 PyObject
*resultobj
= 0;
22723 wxDC
*arg1
= (wxDC
*) 0 ;
22724 PyObject
*arg2
= (PyObject
*) 0 ;
22725 PyObject
*arg3
= (PyObject
*) 0 ;
22726 PyObject
*arg4
= (PyObject
*) 0 ;
22727 PyObject
*result
= 0 ;
22730 PyObject
* obj0
= 0 ;
22731 PyObject
* obj1
= 0 ;
22732 PyObject
* obj2
= 0 ;
22733 PyObject
* obj3
= 0 ;
22734 char * kwnames
[] = {
22735 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22740 if (!SWIG_IsOK(res1
)) {
22741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
22743 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22749 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
22750 wxPyEndAllowThreads(__tstate
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22753 resultobj
= result
;
22760 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22761 PyObject
*resultobj
= 0;
22762 wxDC
*arg1
= (wxDC
*) 0 ;
22763 PyObject
*arg2
= (PyObject
*) 0 ;
22764 PyObject
*arg3
= (PyObject
*) 0 ;
22765 PyObject
*arg4
= (PyObject
*) 0 ;
22766 PyObject
*arg5
= (PyObject
*) 0 ;
22767 PyObject
*result
= 0 ;
22770 PyObject
* obj0
= 0 ;
22771 PyObject
* obj1
= 0 ;
22772 PyObject
* obj2
= 0 ;
22773 PyObject
* obj3
= 0 ;
22774 PyObject
* obj4
= 0 ;
22775 char * kwnames
[] = {
22776 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
22779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22781 if (!SWIG_IsOK(res1
)) {
22782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
22784 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22791 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
22792 wxPyEndAllowThreads(__tstate
);
22793 if (PyErr_Occurred()) SWIG_fail
;
22795 resultobj
= result
;
22802 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22804 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22805 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
22806 return SWIG_Py_Void();
22809 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22810 PyObject
*resultobj
= 0;
22811 wxMemoryDC
*result
= 0 ;
22813 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
22815 if (!wxPyCheckForApp()) SWIG_fail
;
22816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22817 result
= (wxMemoryDC
*)new wxMemoryDC();
22818 wxPyEndAllowThreads(__tstate
);
22819 if (PyErr_Occurred()) SWIG_fail
;
22821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
22828 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22829 PyObject
*resultobj
= 0;
22830 wxDC
*arg1
= (wxDC
*) 0 ;
22831 wxMemoryDC
*result
= 0 ;
22834 PyObject
* obj0
= 0 ;
22835 char * kwnames
[] = {
22836 (char *) "oldDC", NULL
22839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
22840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22841 if (!SWIG_IsOK(res1
)) {
22842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
22844 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22846 if (!wxPyCheckForApp()) SWIG_fail
;
22847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
22859 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22860 PyObject
*resultobj
= 0;
22861 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
22862 wxBitmap
*arg2
= 0 ;
22867 PyObject
* obj0
= 0 ;
22868 PyObject
* obj1
= 0 ;
22869 char * kwnames
[] = {
22870 (char *) "self",(char *) "bitmap", NULL
22873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
22875 if (!SWIG_IsOK(res1
)) {
22876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
22878 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
22879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22880 if (!SWIG_IsOK(res2
)) {
22881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22886 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22889 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
22890 wxPyEndAllowThreads(__tstate
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22893 resultobj
= SWIG_Py_Void();
22900 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22903 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
22904 return SWIG_Py_Void();
22907 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22908 return SWIG_Python_InitShadowInstance(args
);
22911 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
22912 PyObject
*resultobj
= 0;
22913 wxDC
*arg1
= (wxDC
*) 0 ;
22914 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
22915 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
22916 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
22917 wxBufferedDC
*result
= 0 ;
22925 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
22926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22927 if (!SWIG_IsOK(res1
)) {
22928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
22930 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22932 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22933 if (!SWIG_IsOK(res2
)) {
22934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22939 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22942 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
22943 if (!SWIG_IsOK(ecode3
)) {
22944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
22946 arg3
= static_cast< int >(val3
);
22949 if (!wxPyCheckForApp()) SWIG_fail
;
22950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22951 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
22952 wxPyEndAllowThreads(__tstate
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
22962 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
22963 PyObject
*resultobj
= 0;
22964 wxDC
*arg1
= (wxDC
*) 0 ;
22966 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
22967 wxBufferedDC
*result
= 0 ;
22974 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
22975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22976 if (!SWIG_IsOK(res1
)) {
22977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
22979 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22982 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
22985 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
22986 if (!SWIG_IsOK(ecode3
)) {
22987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
22989 arg3
= static_cast< int >(val3
);
22992 if (!wxPyCheckForApp()) SWIG_fail
;
22993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22994 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
22995 wxPyEndAllowThreads(__tstate
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23005 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23009 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23011 if ((argc
>= 1) && (argc
<= 3)) {
23015 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23016 _v
= SWIG_CheckState(res
);
23018 if (!_v
) goto check_1
;
23020 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23024 if ((argc
>= 2) && (argc
<= 3)) {
23025 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23029 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23034 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23035 PyObject
*resultobj
= 0;
23036 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23039 PyObject
*swig_obj
[1] ;
23041 if (!args
) SWIG_fail
;
23042 swig_obj
[0] = args
;
23043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23044 if (!SWIG_IsOK(res1
)) {
23045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23047 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23052 wxPyEndAllowThreads(__tstate
);
23053 if (PyErr_Occurred()) SWIG_fail
;
23055 resultobj
= SWIG_Py_Void();
23062 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23063 PyObject
*resultobj
= 0;
23064 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23067 PyObject
*swig_obj
[1] ;
23069 if (!args
) SWIG_fail
;
23070 swig_obj
[0] = args
;
23071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23072 if (!SWIG_IsOK(res1
)) {
23073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23075 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23082 resultobj
= SWIG_Py_Void();
23089 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23091 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23092 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23093 return SWIG_Py_Void();
23096 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23097 return SWIG_Python_InitShadowInstance(args
);
23100 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23101 PyObject
*resultobj
= 0;
23102 wxWindow
*arg1
= (wxWindow
*) 0 ;
23103 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23104 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23105 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23106 wxBufferedPaintDC
*result
= 0 ;
23113 PyObject
* obj0
= 0 ;
23114 PyObject
* obj1
= 0 ;
23115 PyObject
* obj2
= 0 ;
23116 char * kwnames
[] = {
23117 (char *) "window",(char *) "buffer",(char *) "style", NULL
23120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23122 if (!SWIG_IsOK(res1
)) {
23123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23125 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23127 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23128 if (!SWIG_IsOK(res2
)) {
23129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23134 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23138 if (!SWIG_IsOK(ecode3
)) {
23139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23141 arg3
= static_cast< int >(val3
);
23144 if (!wxPyCheckForApp()) SWIG_fail
;
23145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23157 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23159 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23160 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23161 return SWIG_Py_Void();
23164 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23165 return SWIG_Python_InitShadowInstance(args
);
23168 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23169 PyObject
*resultobj
= 0;
23170 wxScreenDC
*result
= 0 ;
23172 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23174 if (!wxPyCheckForApp()) SWIG_fail
;
23175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 result
= (wxScreenDC
*)new wxScreenDC();
23177 wxPyEndAllowThreads(__tstate
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23187 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
= 0;
23189 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23190 wxWindow
*arg2
= (wxWindow
*) 0 ;
23196 PyObject
* obj0
= 0 ;
23197 PyObject
* obj1
= 0 ;
23198 char * kwnames
[] = {
23199 (char *) "self",(char *) "window", NULL
23202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23204 if (!SWIG_IsOK(res1
)) {
23205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23207 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23208 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23209 if (!SWIG_IsOK(res2
)) {
23210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23212 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23215 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23228 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23229 PyObject
*resultobj
= 0;
23230 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23231 wxRect
*arg2
= (wxRect
*) NULL
;
23237 PyObject
* obj0
= 0 ;
23238 PyObject
* obj1
= 0 ;
23239 char * kwnames
[] = {
23240 (char *) "self",(char *) "rect", NULL
23243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23245 if (!SWIG_IsOK(res1
)) {
23246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23248 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23250 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23251 if (!SWIG_IsOK(res2
)) {
23252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23254 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23258 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23259 wxPyEndAllowThreads(__tstate
);
23260 if (PyErr_Occurred()) SWIG_fail
;
23263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23271 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23272 PyObject
*resultobj
= 0;
23273 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23277 PyObject
*swig_obj
[1] ;
23279 if (!args
) SWIG_fail
;
23280 swig_obj
[0] = args
;
23281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23282 if (!SWIG_IsOK(res1
)) {
23283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23285 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 result
= (bool)(arg1
)->EndDrawingOnTop();
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23301 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23303 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23304 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23305 return SWIG_Py_Void();
23308 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23309 return SWIG_Python_InitShadowInstance(args
);
23312 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23313 PyObject
*resultobj
= 0;
23314 wxWindow
*arg1
= (wxWindow
*) 0 ;
23315 wxClientDC
*result
= 0 ;
23318 PyObject
* obj0
= 0 ;
23319 char * kwnames
[] = {
23320 (char *) "win", NULL
23323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23325 if (!SWIG_IsOK(res1
)) {
23326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23328 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23330 if (!wxPyCheckForApp()) SWIG_fail
;
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 result
= (wxClientDC
*)new wxClientDC(arg1
);
23333 wxPyEndAllowThreads(__tstate
);
23334 if (PyErr_Occurred()) SWIG_fail
;
23336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23343 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23345 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23346 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23347 return SWIG_Py_Void();
23350 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23351 return SWIG_Python_InitShadowInstance(args
);
23354 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23355 PyObject
*resultobj
= 0;
23356 wxWindow
*arg1
= (wxWindow
*) 0 ;
23357 wxPaintDC
*result
= 0 ;
23360 PyObject
* obj0
= 0 ;
23361 char * kwnames
[] = {
23362 (char *) "win", NULL
23365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23367 if (!SWIG_IsOK(res1
)) {
23368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23370 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23372 if (!wxPyCheckForApp()) SWIG_fail
;
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23385 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23388 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23389 return SWIG_Py_Void();
23392 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23393 return SWIG_Python_InitShadowInstance(args
);
23396 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23397 PyObject
*resultobj
= 0;
23398 wxWindow
*arg1
= (wxWindow
*) 0 ;
23399 wxWindowDC
*result
= 0 ;
23402 PyObject
* obj0
= 0 ;
23403 char * kwnames
[] = {
23404 (char *) "win", NULL
23407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23409 if (!SWIG_IsOK(res1
)) {
23410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23412 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23414 if (!wxPyCheckForApp()) SWIG_fail
;
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23416 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23427 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23430 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23431 return SWIG_Py_Void();
23434 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23435 return SWIG_Python_InitShadowInstance(args
);
23438 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23439 PyObject
*resultobj
= 0;
23442 wxMirrorDC
*result
= 0 ;
23447 PyObject
* obj0
= 0 ;
23448 PyObject
* obj1
= 0 ;
23449 char * kwnames
[] = {
23450 (char *) "dc",(char *) "mirror", NULL
23453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23454 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23455 if (!SWIG_IsOK(res1
)) {
23456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23461 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23462 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23463 if (!SWIG_IsOK(ecode2
)) {
23464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23466 arg2
= static_cast< bool >(val2
);
23468 if (!wxPyCheckForApp()) SWIG_fail
;
23469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23481 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23483 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23484 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23485 return SWIG_Py_Void();
23488 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23489 return SWIG_Python_InitShadowInstance(args
);
23492 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23493 PyObject
*resultobj
= 0;
23494 wxPrintData
*arg1
= 0 ;
23495 wxPostScriptDC
*result
= 0 ;
23498 PyObject
* obj0
= 0 ;
23499 char * kwnames
[] = {
23500 (char *) "printData", NULL
23503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23504 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23505 if (!SWIG_IsOK(res1
)) {
23506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23511 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23513 if (!wxPyCheckForApp()) SWIG_fail
;
23514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23515 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23516 wxPyEndAllowThreads(__tstate
);
23517 if (PyErr_Occurred()) SWIG_fail
;
23519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23526 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23527 PyObject
*resultobj
= 0;
23528 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23529 wxPrintData
*result
= 0 ;
23532 PyObject
*swig_obj
[1] ;
23534 if (!args
) SWIG_fail
;
23535 swig_obj
[0] = args
;
23536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23537 if (!SWIG_IsOK(res1
)) {
23538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23540 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23545 result
= (wxPrintData
*) &_result_ref
;
23547 wxPyEndAllowThreads(__tstate
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23557 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
= 0;
23559 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23560 wxPrintData
*arg2
= 0 ;
23565 PyObject
* obj0
= 0 ;
23566 PyObject
* obj1
= 0 ;
23567 char * kwnames
[] = {
23568 (char *) "self",(char *) "data", NULL
23571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23573 if (!SWIG_IsOK(res1
)) {
23574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23576 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23578 if (!SWIG_IsOK(res2
)) {
23579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23584 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23587 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23588 wxPyEndAllowThreads(__tstate
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23591 resultobj
= SWIG_Py_Void();
23598 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23599 PyObject
*resultobj
= 0;
23603 PyObject
* obj0
= 0 ;
23604 char * kwnames
[] = {
23605 (char *) "ppi", NULL
23608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23609 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23610 if (!SWIG_IsOK(ecode1
)) {
23611 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23613 arg1
= static_cast< int >(val1
);
23615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 wxPostScriptDC::SetResolution(arg1
);
23617 wxPyEndAllowThreads(__tstate
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23620 resultobj
= SWIG_Py_Void();
23627 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23628 PyObject
*resultobj
= 0;
23631 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
23633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 result
= (int)wxPostScriptDC::GetResolution();
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23638 resultobj
= SWIG_From_int(static_cast< int >(result
));
23645 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23647 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23648 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
23649 return SWIG_Py_Void();
23652 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23653 return SWIG_Python_InitShadowInstance(args
);
23656 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23657 PyObject
*resultobj
= 0;
23658 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23659 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23660 wxMetaFile
*result
= 0 ;
23661 bool temp1
= false ;
23662 PyObject
* obj0
= 0 ;
23663 char * kwnames
[] = {
23664 (char *) "filename", NULL
23667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
23670 arg1
= wxString_in_helper(obj0
);
23671 if (arg1
== NULL
) SWIG_fail
;
23676 if (!wxPyCheckForApp()) SWIG_fail
;
23677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23678 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
23697 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23698 PyObject
*resultobj
= 0;
23699 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23702 PyObject
*swig_obj
[1] ;
23704 if (!args
) SWIG_fail
;
23705 swig_obj
[0] = args
;
23706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
23707 if (!SWIG_IsOK(res1
)) {
23708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23710 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 resultobj
= SWIG_Py_Void();
23725 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23726 PyObject
*resultobj
= 0;
23727 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23731 PyObject
*swig_obj
[1] ;
23733 if (!args
) SWIG_fail
;
23734 swig_obj
[0] = args
;
23735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23736 if (!SWIG_IsOK(res1
)) {
23737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23739 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23742 result
= (bool)(arg1
)->Ok();
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23755 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23756 PyObject
*resultobj
= 0;
23757 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23758 int arg2
= (int) 0 ;
23759 int arg3
= (int) 0 ;
23767 PyObject
* obj0
= 0 ;
23768 PyObject
* obj1
= 0 ;
23769 PyObject
* obj2
= 0 ;
23770 char * kwnames
[] = {
23771 (char *) "self",(char *) "width",(char *) "height", NULL
23774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23776 if (!SWIG_IsOK(res1
)) {
23777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23779 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23782 if (!SWIG_IsOK(ecode2
)) {
23783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
23785 arg2
= static_cast< int >(val2
);
23788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23789 if (!SWIG_IsOK(ecode3
)) {
23790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
23792 arg3
= static_cast< int >(val3
);
23795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23796 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23809 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23810 PyObject
*resultobj
= 0;
23811 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23815 PyObject
*swig_obj
[1] ;
23817 if (!args
) SWIG_fail
;
23818 swig_obj
[0] = args
;
23819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23820 if (!SWIG_IsOK(res1
)) {
23821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23823 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23826 result
= (arg1
)->GetSize();
23827 wxPyEndAllowThreads(__tstate
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23830 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23837 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23838 PyObject
*resultobj
= 0;
23839 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23843 PyObject
*swig_obj
[1] ;
23845 if (!args
) SWIG_fail
;
23846 swig_obj
[0] = args
;
23847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23848 if (!SWIG_IsOK(res1
)) {
23849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23851 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 result
= (int)(arg1
)->GetWidth();
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23858 resultobj
= SWIG_From_int(static_cast< int >(result
));
23865 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23866 PyObject
*resultobj
= 0;
23867 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23871 PyObject
*swig_obj
[1] ;
23873 if (!args
) SWIG_fail
;
23874 swig_obj
[0] = args
;
23875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23876 if (!SWIG_IsOK(res1
)) {
23877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23879 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23882 result
= (int)(arg1
)->GetHeight();
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 resultobj
= SWIG_From_int(static_cast< int >(result
));
23893 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23895 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23896 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
23897 return SWIG_Py_Void();
23900 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23901 return SWIG_Python_InitShadowInstance(args
);
23904 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23905 PyObject
*resultobj
= 0;
23906 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23907 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23908 int arg2
= (int) 0 ;
23909 int arg3
= (int) 0 ;
23910 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23911 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23912 wxMetaFileDC
*result
= 0 ;
23913 bool temp1
= false ;
23918 bool temp4
= false ;
23919 PyObject
* obj0
= 0 ;
23920 PyObject
* obj1
= 0 ;
23921 PyObject
* obj2
= 0 ;
23922 PyObject
* obj3
= 0 ;
23923 char * kwnames
[] = {
23924 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
23927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23930 arg1
= wxString_in_helper(obj0
);
23931 if (arg1
== NULL
) SWIG_fail
;
23936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23937 if (!SWIG_IsOK(ecode2
)) {
23938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
23940 arg2
= static_cast< int >(val2
);
23943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23944 if (!SWIG_IsOK(ecode3
)) {
23945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
23947 arg3
= static_cast< int >(val3
);
23951 arg4
= wxString_in_helper(obj3
);
23952 if (arg4
== NULL
) SWIG_fail
;
23957 if (!wxPyCheckForApp()) SWIG_fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
23960 wxPyEndAllowThreads(__tstate
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
23986 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23987 PyObject
*resultobj
= 0;
23988 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
23989 wxMetaFile
*result
= 0 ;
23992 PyObject
*swig_obj
[1] ;
23994 if (!args
) SWIG_fail
;
23995 swig_obj
[0] = args
;
23996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
23997 if (!SWIG_IsOK(res1
)) {
23998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
24000 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24003 result
= (wxMetaFile
*)(arg1
)->Close();
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24014 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24017 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24018 return SWIG_Py_Void();
24021 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24022 return SWIG_Python_InitShadowInstance(args
);
24025 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24026 PyObject
*resultobj
= 0;
24027 wxPrintData
*arg1
= 0 ;
24028 wxPrinterDC
*result
= 0 ;
24031 PyObject
* obj0
= 0 ;
24032 char * kwnames
[] = {
24033 (char *) "printData", NULL
24036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24037 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24038 if (!SWIG_IsOK(res1
)) {
24039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24044 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24046 if (!wxPyCheckForApp()) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24059 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24062 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24063 return SWIG_Py_Void();
24066 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24067 return SWIG_Python_InitShadowInstance(args
);
24070 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
= 0;
24074 int arg3
= (int) true ;
24075 int arg4
= (int) 1 ;
24076 wxImageList
*result
= 0 ;
24085 PyObject
* obj0
= 0 ;
24086 PyObject
* obj1
= 0 ;
24087 PyObject
* obj2
= 0 ;
24088 PyObject
* obj3
= 0 ;
24089 char * kwnames
[] = {
24090 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
24093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24094 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24095 if (!SWIG_IsOK(ecode1
)) {
24096 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
24098 arg1
= static_cast< int >(val1
);
24099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24100 if (!SWIG_IsOK(ecode2
)) {
24101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
24103 arg2
= static_cast< int >(val2
);
24105 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24106 if (!SWIG_IsOK(ecode3
)) {
24107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
24109 arg3
= static_cast< int >(val3
);
24112 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24113 if (!SWIG_IsOK(ecode4
)) {
24114 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
24116 arg4
= static_cast< int >(val4
);
24119 if (!wxPyCheckForApp()) SWIG_fail
;
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24126 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
24134 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24135 PyObject
*resultobj
= 0;
24136 wxImageList
*arg1
= (wxImageList
*) 0 ;
24139 PyObject
*swig_obj
[1] ;
24141 if (!args
) SWIG_fail
;
24142 swig_obj
[0] = args
;
24143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
24144 if (!SWIG_IsOK(res1
)) {
24145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
24147 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24155 resultobj
= SWIG_Py_Void();
24162 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24163 PyObject
*resultobj
= 0;
24164 wxImageList
*arg1
= (wxImageList
*) 0 ;
24165 wxBitmap
*arg2
= 0 ;
24166 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
24167 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
24175 PyObject
* obj0
= 0 ;
24176 PyObject
* obj1
= 0 ;
24177 PyObject
* obj2
= 0 ;
24178 char * kwnames
[] = {
24179 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
24182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24184 if (!SWIG_IsOK(res1
)) {
24185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
24187 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24188 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24189 if (!SWIG_IsOK(res2
)) {
24190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24195 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24197 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24198 if (!SWIG_IsOK(res3
)) {
24199 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24204 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
24209 wxPyEndAllowThreads(__tstate
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24212 resultobj
= SWIG_From_int(static_cast< int >(result
));
24219 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24220 PyObject
*resultobj
= 0;
24221 wxImageList
*arg1
= (wxImageList
*) 0 ;
24222 wxBitmap
*arg2
= 0 ;
24223 wxColour
*arg3
= 0 ;
24230 PyObject
* obj0
= 0 ;
24231 PyObject
* obj1
= 0 ;
24232 PyObject
* obj2
= 0 ;
24233 char * kwnames
[] = {
24234 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
24237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24239 if (!SWIG_IsOK(res1
)) {
24240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
24242 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24243 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24244 if (!SWIG_IsOK(res2
)) {
24245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24250 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24253 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24261 resultobj
= SWIG_From_int(static_cast< int >(result
));
24268 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24269 PyObject
*resultobj
= 0;
24270 wxImageList
*arg1
= (wxImageList
*) 0 ;
24277 PyObject
* obj0
= 0 ;
24278 PyObject
* obj1
= 0 ;
24279 char * kwnames
[] = {
24280 (char *) "self",(char *) "icon", NULL
24283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24285 if (!SWIG_IsOK(res1
)) {
24286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
24288 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24289 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
24290 if (!SWIG_IsOK(res2
)) {
24291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
24294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
24296 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24303 resultobj
= SWIG_From_int(static_cast< int >(result
));
24310 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24311 PyObject
*resultobj
= 0;
24312 wxImageList
*arg1
= (wxImageList
*) 0 ;
24314 SwigValueWrapper
<wxBitmap
> result
;
24319 PyObject
* obj0
= 0 ;
24320 PyObject
* obj1
= 0 ;
24321 char * kwnames
[] = {
24322 (char *) "self",(char *) "index", NULL
24325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24327 if (!SWIG_IsOK(res1
)) {
24328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
24330 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24332 if (!SWIG_IsOK(ecode2
)) {
24333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
24335 arg2
= static_cast< int >(val2
);
24337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24338 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
24339 wxPyEndAllowThreads(__tstate
);
24340 if (PyErr_Occurred()) SWIG_fail
;
24342 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
24349 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24350 PyObject
*resultobj
= 0;
24351 wxImageList
*arg1
= (wxImageList
*) 0 ;
24358 PyObject
* obj0
= 0 ;
24359 PyObject
* obj1
= 0 ;
24360 char * kwnames
[] = {
24361 (char *) "self",(char *) "index", NULL
24364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24366 if (!SWIG_IsOK(res1
)) {
24367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
24369 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24371 if (!SWIG_IsOK(ecode2
)) {
24372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
24374 arg2
= static_cast< int >(val2
);
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
24388 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
= 0;
24390 wxImageList
*arg1
= (wxImageList
*) 0 ;
24392 wxBitmap
*arg3
= 0 ;
24393 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
24394 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
24404 PyObject
* obj0
= 0 ;
24405 PyObject
* obj1
= 0 ;
24406 PyObject
* obj2
= 0 ;
24407 PyObject
* obj3
= 0 ;
24408 char * kwnames
[] = {
24409 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
24412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24414 if (!SWIG_IsOK(res1
)) {
24415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
24417 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24419 if (!SWIG_IsOK(ecode2
)) {
24420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
24422 arg2
= static_cast< int >(val2
);
24423 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24424 if (!SWIG_IsOK(res3
)) {
24425 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24430 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24432 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24433 if (!SWIG_IsOK(res4
)) {
24434 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24439 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24443 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24456 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
= 0;
24458 wxImageList
*arg1
= (wxImageList
*) 0 ;
24463 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
24464 bool arg7
= (bool) (bool)false ;
24480 PyObject
* obj0
= 0 ;
24481 PyObject
* obj1
= 0 ;
24482 PyObject
* obj2
= 0 ;
24483 PyObject
* obj3
= 0 ;
24484 PyObject
* obj4
= 0 ;
24485 PyObject
* obj5
= 0 ;
24486 PyObject
* obj6
= 0 ;
24487 char * kwnames
[] = {
24488 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
24491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24493 if (!SWIG_IsOK(res1
)) {
24494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
24496 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24498 if (!SWIG_IsOK(ecode2
)) {
24499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
24501 arg2
= static_cast< int >(val2
);
24502 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24503 if (!SWIG_IsOK(res3
)) {
24504 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
24507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
24509 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24510 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24511 if (!SWIG_IsOK(ecode4
)) {
24512 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
24514 arg4
= static_cast< int >(val4
);
24515 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24516 if (!SWIG_IsOK(ecode5
)) {
24517 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
24519 arg5
= static_cast< int >(val5
);
24521 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24522 if (!SWIG_IsOK(ecode6
)) {
24523 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
24525 arg6
= static_cast< int >(val6
);
24528 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24529 if (!SWIG_IsOK(ecode7
)) {
24530 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
24532 arg7
= static_cast< bool >(val7
);
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24549 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24550 PyObject
*resultobj
= 0;
24551 wxImageList
*arg1
= (wxImageList
*) 0 ;
24555 PyObject
*swig_obj
[1] ;
24557 if (!args
) SWIG_fail
;
24558 swig_obj
[0] = args
;
24559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24560 if (!SWIG_IsOK(res1
)) {
24561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
24563 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24566 result
= (int)(arg1
)->GetImageCount();
24567 wxPyEndAllowThreads(__tstate
);
24568 if (PyErr_Occurred()) SWIG_fail
;
24570 resultobj
= SWIG_From_int(static_cast< int >(result
));
24577 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24578 PyObject
*resultobj
= 0;
24579 wxImageList
*arg1
= (wxImageList
*) 0 ;
24586 PyObject
* obj0
= 0 ;
24587 PyObject
* obj1
= 0 ;
24588 char * kwnames
[] = {
24589 (char *) "self",(char *) "index", NULL
24592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24594 if (!SWIG_IsOK(res1
)) {
24595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
24597 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24599 if (!SWIG_IsOK(ecode2
)) {
24600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
24602 arg2
= static_cast< int >(val2
);
24604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24605 result
= (bool)(arg1
)->Remove(arg2
);
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24618 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24619 PyObject
*resultobj
= 0;
24620 wxImageList
*arg1
= (wxImageList
*) 0 ;
24624 PyObject
*swig_obj
[1] ;
24626 if (!args
) SWIG_fail
;
24627 swig_obj
[0] = args
;
24628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24629 if (!SWIG_IsOK(res1
)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
24632 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 result
= (bool)(arg1
)->RemoveAll();
24636 wxPyEndAllowThreads(__tstate
);
24637 if (PyErr_Occurred()) SWIG_fail
;
24640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24648 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24649 PyObject
*resultobj
= 0;
24650 wxImageList
*arg1
= (wxImageList
*) 0 ;
24659 int res3
= SWIG_TMPOBJ
;
24661 int res4
= SWIG_TMPOBJ
;
24662 PyObject
* obj0
= 0 ;
24663 PyObject
* obj1
= 0 ;
24664 char * kwnames
[] = {
24665 (char *) "self",(char *) "index", NULL
24670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24672 if (!SWIG_IsOK(res1
)) {
24673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
24675 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24677 if (!SWIG_IsOK(ecode2
)) {
24678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
24680 arg2
= static_cast< int >(val2
);
24682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24683 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
24684 wxPyEndAllowThreads(__tstate
);
24685 if (PyErr_Occurred()) SWIG_fail
;
24687 resultobj
= SWIG_Py_Void();
24688 if (SWIG_IsTmpObj(res3
)) {
24689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24691 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24692 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24694 if (SWIG_IsTmpObj(res4
)) {
24695 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
24697 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24698 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
24706 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24708 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24709 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
24710 return SWIG_Py_Void();
24713 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24714 return SWIG_Python_InitShadowInstance(args
);
24717 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24718 PyObject
*resultobj
= 0;
24719 wxStockGDI
*result
= 0 ;
24721 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
24723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24724 result
= (wxStockGDI
*)new wxStockGDI();
24725 wxPyEndAllowThreads(__tstate
);
24726 if (PyErr_Occurred()) SWIG_fail
;
24728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
24735 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24736 PyObject
*resultobj
= 0;
24737 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
24740 PyObject
*swig_obj
[1] ;
24742 if (!args
) SWIG_fail
;
24743 swig_obj
[0] = args
;
24744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
24745 if (!SWIG_IsOK(res1
)) {
24746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
24748 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
24750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 wxPyEndAllowThreads(__tstate
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24756 resultobj
= SWIG_Py_Void();
24763 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24764 PyObject
*resultobj
= 0;
24766 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
24768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24769 wxStockGDI::DeleteAll();
24770 wxPyEndAllowThreads(__tstate
);
24771 if (PyErr_Occurred()) SWIG_fail
;
24773 resultobj
= SWIG_Py_Void();
24780 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24781 PyObject
*resultobj
= 0;
24782 wxStockGDI
*result
= 0 ;
24784 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 wxStockGDI
&_result_ref
= wxStockGDI::instance();
24789 result
= (wxStockGDI
*) &_result_ref
;
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
24801 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
= 0;
24803 wxStockGDI::Item arg1
;
24804 wxBrush
*result
= 0 ;
24807 PyObject
* obj0
= 0 ;
24808 char * kwnames
[] = {
24809 (char *) "item", NULL
24812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
24813 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24814 if (!SWIG_IsOK(ecode1
)) {
24815 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24817 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
24831 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
= 0;
24833 wxStockGDI::Item arg1
;
24834 wxColour
*result
= 0 ;
24837 PyObject
* obj0
= 0 ;
24838 char * kwnames
[] = {
24839 (char *) "item", NULL
24842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
24843 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24844 if (!SWIG_IsOK(ecode1
)) {
24845 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24847 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24850 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
24861 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
= 0;
24863 wxStockGDI::Item arg1
;
24864 wxCursor
*result
= 0 ;
24867 PyObject
* obj0
= 0 ;
24868 char * kwnames
[] = {
24869 (char *) "item", NULL
24872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
24873 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24874 if (!SWIG_IsOK(ecode1
)) {
24875 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24877 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24880 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
24891 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
= 0;
24893 wxStockGDI::Item arg1
;
24894 wxPen
*result
= 0 ;
24897 PyObject
* obj0
= 0 ;
24898 char * kwnames
[] = {
24899 (char *) "item", NULL
24902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
24903 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24904 if (!SWIG_IsOK(ecode1
)) {
24905 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24907 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24910 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
24921 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
= 0;
24923 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
24924 wxStockGDI::Item arg2
;
24925 wxFont
*result
= 0 ;
24930 PyObject
* obj0
= 0 ;
24931 PyObject
* obj1
= 0 ;
24932 char * kwnames
[] = {
24933 (char *) "self",(char *) "item", NULL
24936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
24938 if (!SWIG_IsOK(res1
)) {
24939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
24941 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
24942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24943 if (!SWIG_IsOK(ecode2
)) {
24944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
24946 arg2
= static_cast< wxStockGDI::Item
>(val2
);
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
24960 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24963 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
24964 return SWIG_Py_Void();
24967 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24968 return SWIG_Python_InitShadowInstance(args
);
24971 SWIGINTERN
int NullBitmap_set(PyObject
*) {
24972 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
24977 SWIGINTERN PyObject
*NullBitmap_get(void) {
24978 PyObject
*pyobj
= 0;
24980 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
24985 SWIGINTERN
int NullIcon_set(PyObject
*) {
24986 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
24991 SWIGINTERN PyObject
*NullIcon_get(void) {
24992 PyObject
*pyobj
= 0;
24994 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
24999 SWIGINTERN
int NullCursor_set(PyObject
*) {
25000 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
25005 SWIGINTERN PyObject
*NullCursor_get(void) {
25006 PyObject
*pyobj
= 0;
25008 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
25013 SWIGINTERN
int NullPen_set(PyObject
*) {
25014 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
25019 SWIGINTERN PyObject
*NullPen_get(void) {
25020 PyObject
*pyobj
= 0;
25022 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
25027 SWIGINTERN
int NullBrush_set(PyObject
*) {
25028 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
25033 SWIGINTERN PyObject
*NullBrush_get(void) {
25034 PyObject
*pyobj
= 0;
25036 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
25041 SWIGINTERN
int NullPalette_set(PyObject
*) {
25042 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
25047 SWIGINTERN PyObject
*NullPalette_get(void) {
25048 PyObject
*pyobj
= 0;
25050 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
25055 SWIGINTERN
int NullFont_set(PyObject
*) {
25056 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
25061 SWIGINTERN PyObject
*NullFont_get(void) {
25062 PyObject
*pyobj
= 0;
25064 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
25069 SWIGINTERN
int NullColour_set(PyObject
*) {
25070 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
25075 SWIGINTERN PyObject
*NullColour_get(void) {
25076 PyObject
*pyobj
= 0;
25078 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
25083 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25084 PyObject
*resultobj
= 0;
25085 wxGDIObjListBase
*result
= 0 ;
25087 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
25089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25090 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
25101 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25102 PyObject
*resultobj
= 0;
25103 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
25106 PyObject
*swig_obj
[1] ;
25108 if (!args
) SWIG_fail
;
25109 swig_obj
[0] = args
;
25110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
25111 if (!SWIG_IsOK(res1
)) {
25112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
25114 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25122 resultobj
= SWIG_Py_Void();
25129 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25131 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25132 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
25133 return SWIG_Py_Void();
25136 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25137 return SWIG_Python_InitShadowInstance(args
);
25140 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25141 PyObject
*resultobj
= 0;
25142 wxPenList
*arg1
= (wxPenList
*) 0 ;
25143 wxColour
*arg2
= 0 ;
25146 wxPen
*result
= 0 ;
25154 PyObject
* obj0
= 0 ;
25155 PyObject
* obj1
= 0 ;
25156 PyObject
* obj2
= 0 ;
25157 PyObject
* obj3
= 0 ;
25158 char * kwnames
[] = {
25159 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
25162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25164 if (!SWIG_IsOK(res1
)) {
25165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25167 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25170 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25173 if (!SWIG_IsOK(ecode3
)) {
25174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
25176 arg3
= static_cast< int >(val3
);
25177 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25178 if (!SWIG_IsOK(ecode4
)) {
25179 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
25181 arg4
= static_cast< int >(val4
);
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
25195 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
= 0;
25197 wxPenList
*arg1
= (wxPenList
*) 0 ;
25198 wxPen
*arg2
= (wxPen
*) 0 ;
25203 PyObject
* obj0
= 0 ;
25204 PyObject
* obj1
= 0 ;
25205 char * kwnames
[] = {
25206 (char *) "self",(char *) "pen", NULL
25209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25211 if (!SWIG_IsOK(res1
)) {
25212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
25214 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25215 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25216 if (!SWIG_IsOK(res2
)) {
25217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
25219 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 (arg1
)->AddPen(arg2
);
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= SWIG_Py_Void();
25233 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
= 0;
25235 wxPenList
*arg1
= (wxPenList
*) 0 ;
25236 wxPen
*arg2
= (wxPen
*) 0 ;
25241 PyObject
* obj0
= 0 ;
25242 PyObject
* obj1
= 0 ;
25243 char * kwnames
[] = {
25244 (char *) "self",(char *) "pen", NULL
25247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25249 if (!SWIG_IsOK(res1
)) {
25250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25252 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25253 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25254 if (!SWIG_IsOK(res2
)) {
25255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
25257 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 (arg1
)->RemovePen(arg2
);
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25264 resultobj
= SWIG_Py_Void();
25271 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25273 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25274 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
25275 return SWIG_Py_Void();
25278 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25279 PyObject
*resultobj
= 0;
25280 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25281 wxColour
*arg2
= 0 ;
25282 int arg3
= (int) wxSOLID
;
25283 wxBrush
*result
= 0 ;
25289 PyObject
* obj0
= 0 ;
25290 PyObject
* obj1
= 0 ;
25291 PyObject
* obj2
= 0 ;
25292 char * kwnames
[] = {
25293 (char *) "self",(char *) "colour",(char *) "style", NULL
25296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25298 if (!SWIG_IsOK(res1
)) {
25299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25301 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25304 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25308 if (!SWIG_IsOK(ecode3
)) {
25309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
25311 arg3
= static_cast< int >(val3
);
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
25316 wxPyEndAllowThreads(__tstate
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
25326 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25327 PyObject
*resultobj
= 0;
25328 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25329 wxBrush
*arg2
= (wxBrush
*) 0 ;
25334 PyObject
* obj0
= 0 ;
25335 PyObject
* obj1
= 0 ;
25336 char * kwnames
[] = {
25337 (char *) "self",(char *) "brush", NULL
25340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25342 if (!SWIG_IsOK(res1
)) {
25343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25345 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25346 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
25347 if (!SWIG_IsOK(res2
)) {
25348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
25350 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 (arg1
)->AddBrush(arg2
);
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25357 resultobj
= SWIG_Py_Void();
25364 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
= 0;
25366 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25367 wxBrush
*arg2
= (wxBrush
*) 0 ;
25372 PyObject
* obj0
= 0 ;
25373 PyObject
* obj1
= 0 ;
25374 char * kwnames
[] = {
25375 (char *) "self",(char *) "brush", NULL
25378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25380 if (!SWIG_IsOK(res1
)) {
25381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25383 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25384 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
25385 if (!SWIG_IsOK(res2
)) {
25386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
25388 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25391 (arg1
)->RemoveBrush(arg2
);
25392 wxPyEndAllowThreads(__tstate
);
25393 if (PyErr_Occurred()) SWIG_fail
;
25395 resultobj
= SWIG_Py_Void();
25402 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25405 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
25406 return SWIG_Py_Void();
25409 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25410 PyObject
*resultobj
= 0;
25411 wxFontList
*arg1
= (wxFontList
*) 0 ;
25416 bool arg6
= (bool) false ;
25417 wxString
const &arg7_defvalue
= wxPyEmptyString
;
25418 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25419 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
25420 wxFont
*result
= 0 ;
25433 bool temp7
= false ;
25436 PyObject
* obj0
= 0 ;
25437 PyObject
* obj1
= 0 ;
25438 PyObject
* obj2
= 0 ;
25439 PyObject
* obj3
= 0 ;
25440 PyObject
* obj4
= 0 ;
25441 PyObject
* obj5
= 0 ;
25442 PyObject
* obj6
= 0 ;
25443 PyObject
* obj7
= 0 ;
25444 char * kwnames
[] = {
25445 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
25448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25450 if (!SWIG_IsOK(res1
)) {
25451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25453 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25455 if (!SWIG_IsOK(ecode2
)) {
25456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
25458 arg2
= static_cast< int >(val2
);
25459 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25460 if (!SWIG_IsOK(ecode3
)) {
25461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
25463 arg3
= static_cast< int >(val3
);
25464 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25465 if (!SWIG_IsOK(ecode4
)) {
25466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
25468 arg4
= static_cast< int >(val4
);
25469 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25470 if (!SWIG_IsOK(ecode5
)) {
25471 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
25473 arg5
= static_cast< int >(val5
);
25475 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
25476 if (!SWIG_IsOK(ecode6
)) {
25477 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
25479 arg6
= static_cast< bool >(val6
);
25483 arg7
= wxString_in_helper(obj6
);
25484 if (arg7
== NULL
) SWIG_fail
;
25489 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
25490 if (!SWIG_IsOK(ecode8
)) {
25491 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
25493 arg8
= static_cast< wxFontEncoding
>(val8
);
25496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25497 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
25516 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25517 PyObject
*resultobj
= 0;
25518 wxFontList
*arg1
= (wxFontList
*) 0 ;
25519 wxFont
*arg2
= (wxFont
*) 0 ;
25524 PyObject
* obj0
= 0 ;
25525 PyObject
* obj1
= 0 ;
25526 char * kwnames
[] = {
25527 (char *) "self",(char *) "font", NULL
25530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25532 if (!SWIG_IsOK(res1
)) {
25533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25535 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
25537 if (!SWIG_IsOK(res2
)) {
25538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
25540 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25543 (arg1
)->AddFont(arg2
);
25544 wxPyEndAllowThreads(__tstate
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25547 resultobj
= SWIG_Py_Void();
25554 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25555 PyObject
*resultobj
= 0;
25556 wxFontList
*arg1
= (wxFontList
*) 0 ;
25557 wxFont
*arg2
= (wxFont
*) 0 ;
25562 PyObject
* obj0
= 0 ;
25563 PyObject
* obj1
= 0 ;
25564 char * kwnames
[] = {
25565 (char *) "self",(char *) "font", NULL
25568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25570 if (!SWIG_IsOK(res1
)) {
25571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25573 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25574 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
25575 if (!SWIG_IsOK(res2
)) {
25576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
25578 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25581 (arg1
)->RemoveFont(arg2
);
25582 wxPyEndAllowThreads(__tstate
);
25583 if (PyErr_Occurred()) SWIG_fail
;
25585 resultobj
= SWIG_Py_Void();
25592 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25594 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25595 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
25596 return SWIG_Py_Void();
25599 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25600 PyObject
*resultobj
= 0;
25601 wxColourDatabase
*result
= 0 ;
25603 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
25605 if (!wxPyCheckForApp()) SWIG_fail
;
25606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25607 result
= (wxColourDatabase
*)new wxColourDatabase();
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
25618 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25619 PyObject
*resultobj
= 0;
25620 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25623 PyObject
*swig_obj
[1] ;
25625 if (!args
) SWIG_fail
;
25626 swig_obj
[0] = args
;
25627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
25628 if (!SWIG_IsOK(res1
)) {
25629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25631 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25636 wxPyEndAllowThreads(__tstate
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25639 resultobj
= SWIG_Py_Void();
25646 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25647 PyObject
*resultobj
= 0;
25648 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25649 wxString
*arg2
= 0 ;
25653 bool temp2
= false ;
25654 PyObject
* obj0
= 0 ;
25655 PyObject
* obj1
= 0 ;
25656 char * kwnames
[] = {
25657 (char *) "self",(char *) "name", NULL
25660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25662 if (!SWIG_IsOK(res1
)) {
25663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
25665 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25667 arg2
= wxString_in_helper(obj1
);
25668 if (arg2
== NULL
) SWIG_fail
;
25672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25673 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
25674 wxPyEndAllowThreads(__tstate
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25677 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25692 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25693 PyObject
*resultobj
= 0;
25694 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25695 wxColour
*arg2
= 0 ;
25700 PyObject
* obj0
= 0 ;
25701 PyObject
* obj1
= 0 ;
25702 char * kwnames
[] = {
25703 (char *) "self",(char *) "colour", NULL
25706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25708 if (!SWIG_IsOK(res1
)) {
25709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
25711 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25714 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25718 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
25719 wxPyEndAllowThreads(__tstate
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25735 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25736 PyObject
*resultobj
= 0;
25737 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25738 wxString
*arg2
= 0 ;
25739 wxColour
*arg3
= 0 ;
25742 bool temp2
= false ;
25744 PyObject
* obj0
= 0 ;
25745 PyObject
* obj1
= 0 ;
25746 PyObject
* obj2
= 0 ;
25747 char * kwnames
[] = {
25748 (char *) "self",(char *) "name",(char *) "colour", NULL
25751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25753 if (!SWIG_IsOK(res1
)) {
25754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25756 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25758 arg2
= wxString_in_helper(obj1
);
25759 if (arg2
== NULL
) SWIG_fail
;
25764 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
25769 wxPyEndAllowThreads(__tstate
);
25770 if (PyErr_Occurred()) SWIG_fail
;
25772 resultobj
= SWIG_Py_Void();
25787 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25788 PyObject
*resultobj
= 0;
25789 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25790 wxString
*arg2
= 0 ;
25796 bool temp2
= false ;
25803 PyObject
* obj0
= 0 ;
25804 PyObject
* obj1
= 0 ;
25805 PyObject
* obj2
= 0 ;
25806 PyObject
* obj3
= 0 ;
25807 PyObject
* obj4
= 0 ;
25808 char * kwnames
[] = {
25809 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
25812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25814 if (!SWIG_IsOK(res1
)) {
25815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25817 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25819 arg2
= wxString_in_helper(obj1
);
25820 if (arg2
== NULL
) SWIG_fail
;
25823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25824 if (!SWIG_IsOK(ecode3
)) {
25825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
25827 arg3
= static_cast< int >(val3
);
25828 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25829 if (!SWIG_IsOK(ecode4
)) {
25830 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
25832 arg4
= static_cast< int >(val4
);
25833 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25834 if (!SWIG_IsOK(ecode5
)) {
25835 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
25837 arg5
= static_cast< int >(val5
);
25839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25840 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25841 wxPyEndAllowThreads(__tstate
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25844 resultobj
= SWIG_Py_Void();
25859 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25861 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25862 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
25863 return SWIG_Py_Void();
25866 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25867 return SWIG_Python_InitShadowInstance(args
);
25870 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25871 PyObject
*resultobj
= 0;
25872 wxFontList
*result
= 0 ;
25874 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
25876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25877 result
= (wxFontList
*)_wxPyInitTheFontList();
25878 wxPyEndAllowThreads(__tstate
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
25888 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25889 PyObject
*resultobj
= 0;
25890 wxPenList
*result
= 0 ;
25892 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
25894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25895 result
= (wxPenList
*)_wxPyInitThePenList();
25896 wxPyEndAllowThreads(__tstate
);
25897 if (PyErr_Occurred()) SWIG_fail
;
25899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
25906 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25907 PyObject
*resultobj
= 0;
25908 wxBrushList
*result
= 0 ;
25910 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
25912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25913 result
= (wxBrushList
*)_wxPyInitTheBrushList();
25914 wxPyEndAllowThreads(__tstate
);
25915 if (PyErr_Occurred()) SWIG_fail
;
25917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
25924 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25925 PyObject
*resultobj
= 0;
25926 wxColourDatabase
*result
= 0 ;
25928 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25942 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25943 PyObject
*resultobj
= 0;
25944 wxEffects
*result
= 0 ;
25946 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 result
= (wxEffects
*)new wxEffects();
25950 wxPyEndAllowThreads(__tstate
);
25951 if (PyErr_Occurred()) SWIG_fail
;
25953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
25960 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25961 PyObject
*resultobj
= 0;
25962 wxEffects
*arg1
= (wxEffects
*) 0 ;
25966 PyObject
*swig_obj
[1] ;
25968 if (!args
) SWIG_fail
;
25969 swig_obj
[0] = args
;
25970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25971 if (!SWIG_IsOK(res1
)) {
25972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
25974 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
25978 wxPyEndAllowThreads(__tstate
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25981 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25988 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25989 PyObject
*resultobj
= 0;
25990 wxEffects
*arg1
= (wxEffects
*) 0 ;
25994 PyObject
*swig_obj
[1] ;
25996 if (!args
) SWIG_fail
;
25997 swig_obj
[0] = args
;
25998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25999 if (!SWIG_IsOK(res1
)) {
26000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26002 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26005 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
26006 wxPyEndAllowThreads(__tstate
);
26007 if (PyErr_Occurred()) SWIG_fail
;
26009 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26016 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26017 PyObject
*resultobj
= 0;
26018 wxEffects
*arg1
= (wxEffects
*) 0 ;
26022 PyObject
*swig_obj
[1] ;
26024 if (!args
) SWIG_fail
;
26025 swig_obj
[0] = args
;
26026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26027 if (!SWIG_IsOK(res1
)) {
26028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
26030 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26037 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26044 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26045 PyObject
*resultobj
= 0;
26046 wxEffects
*arg1
= (wxEffects
*) 0 ;
26050 PyObject
*swig_obj
[1] ;
26052 if (!args
) SWIG_fail
;
26053 swig_obj
[0] = args
;
26054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26055 if (!SWIG_IsOK(res1
)) {
26056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26058 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26061 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
26062 wxPyEndAllowThreads(__tstate
);
26063 if (PyErr_Occurred()) SWIG_fail
;
26065 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26072 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26073 PyObject
*resultobj
= 0;
26074 wxEffects
*arg1
= (wxEffects
*) 0 ;
26078 PyObject
*swig_obj
[1] ;
26080 if (!args
) SWIG_fail
;
26081 swig_obj
[0] = args
;
26082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26083 if (!SWIG_IsOK(res1
)) {
26084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26086 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26089 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26100 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
= 0;
26102 wxEffects
*arg1
= (wxEffects
*) 0 ;
26103 wxColour
*arg2
= 0 ;
26107 PyObject
* obj0
= 0 ;
26108 PyObject
* obj1
= 0 ;
26109 char * kwnames
[] = {
26110 (char *) "self",(char *) "c", NULL
26113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26115 if (!SWIG_IsOK(res1
)) {
26116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26118 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26121 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26125 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26129 resultobj
= SWIG_Py_Void();
26136 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26137 PyObject
*resultobj
= 0;
26138 wxEffects
*arg1
= (wxEffects
*) 0 ;
26139 wxColour
*arg2
= 0 ;
26143 PyObject
* obj0
= 0 ;
26144 PyObject
* obj1
= 0 ;
26145 char * kwnames
[] = {
26146 (char *) "self",(char *) "c", NULL
26149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26151 if (!SWIG_IsOK(res1
)) {
26152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26154 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26157 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26161 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 resultobj
= SWIG_Py_Void();
26172 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
= 0;
26174 wxEffects
*arg1
= (wxEffects
*) 0 ;
26175 wxColour
*arg2
= 0 ;
26179 PyObject
* obj0
= 0 ;
26180 PyObject
* obj1
= 0 ;
26181 char * kwnames
[] = {
26182 (char *) "self",(char *) "c", NULL
26185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26187 if (!SWIG_IsOK(res1
)) {
26188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26190 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26193 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
26198 wxPyEndAllowThreads(__tstate
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26201 resultobj
= SWIG_Py_Void();
26208 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26209 PyObject
*resultobj
= 0;
26210 wxEffects
*arg1
= (wxEffects
*) 0 ;
26211 wxColour
*arg2
= 0 ;
26215 PyObject
* obj0
= 0 ;
26216 PyObject
* obj1
= 0 ;
26217 char * kwnames
[] = {
26218 (char *) "self",(char *) "c", NULL
26221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26223 if (!SWIG_IsOK(res1
)) {
26224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26226 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26229 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26233 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26237 resultobj
= SWIG_Py_Void();
26244 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26245 PyObject
*resultobj
= 0;
26246 wxEffects
*arg1
= (wxEffects
*) 0 ;
26247 wxColour
*arg2
= 0 ;
26251 PyObject
* obj0
= 0 ;
26252 PyObject
* obj1
= 0 ;
26253 char * kwnames
[] = {
26254 (char *) "self",(char *) "c", NULL
26257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26259 if (!SWIG_IsOK(res1
)) {
26260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26262 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26265 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26269 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
26270 wxPyEndAllowThreads(__tstate
);
26271 if (PyErr_Occurred()) SWIG_fail
;
26273 resultobj
= SWIG_Py_Void();
26280 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26281 PyObject
*resultobj
= 0;
26282 wxEffects
*arg1
= (wxEffects
*) 0 ;
26283 wxColour
*arg2
= 0 ;
26284 wxColour
*arg3
= 0 ;
26285 wxColour
*arg4
= 0 ;
26286 wxColour
*arg5
= 0 ;
26287 wxColour
*arg6
= 0 ;
26295 PyObject
* obj0
= 0 ;
26296 PyObject
* obj1
= 0 ;
26297 PyObject
* obj2
= 0 ;
26298 PyObject
* obj3
= 0 ;
26299 PyObject
* obj4
= 0 ;
26300 PyObject
* obj5
= 0 ;
26301 char * kwnames
[] = {
26302 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
26305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26307 if (!SWIG_IsOK(res1
)) {
26308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
26310 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26313 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26317 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26321 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
26325 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
26329 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
26332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26337 resultobj
= SWIG_Py_Void();
26344 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
= 0;
26346 wxEffects
*arg1
= (wxEffects
*) 0 ;
26349 int arg4
= (int) 1 ;
26357 PyObject
* obj0
= 0 ;
26358 PyObject
* obj1
= 0 ;
26359 PyObject
* obj2
= 0 ;
26360 PyObject
* obj3
= 0 ;
26361 char * kwnames
[] = {
26362 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
26365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26367 if (!SWIG_IsOK(res1
)) {
26368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
26370 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26371 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
26372 if (!SWIG_IsOK(res2
)) {
26373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
26376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
26378 arg2
= reinterpret_cast< wxDC
* >(argp2
);
26381 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
26384 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26385 if (!SWIG_IsOK(ecode4
)) {
26386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
26388 arg4
= static_cast< int >(val4
);
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
26393 wxPyEndAllowThreads(__tstate
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26396 resultobj
= SWIG_Py_Void();
26403 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26404 PyObject
*resultobj
= 0;
26405 wxEffects
*arg1
= (wxEffects
*) 0 ;
26408 wxBitmap
*arg4
= 0 ;
26417 PyObject
* obj0
= 0 ;
26418 PyObject
* obj1
= 0 ;
26419 PyObject
* obj2
= 0 ;
26420 PyObject
* obj3
= 0 ;
26421 char * kwnames
[] = {
26422 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
26425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26427 if (!SWIG_IsOK(res1
)) {
26428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
26430 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26433 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26435 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26436 if (!SWIG_IsOK(res3
)) {
26437 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
26440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
26442 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26443 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
26444 if (!SWIG_IsOK(res4
)) {
26445 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
26448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
26450 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
26452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26466 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26469 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
26470 return SWIG_Py_Void();
26473 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26474 return SWIG_Python_InitShadowInstance(args
);
26477 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26478 PyObject
*resultobj
= 0;
26482 wxSplitterRenderParams
*result
= 0 ;
26489 PyObject
* obj0
= 0 ;
26490 PyObject
* obj1
= 0 ;
26491 PyObject
* obj2
= 0 ;
26492 char * kwnames
[] = {
26493 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
26496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26497 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26498 if (!SWIG_IsOK(ecode1
)) {
26499 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
26501 arg1
= static_cast< int >(val1
);
26502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26503 if (!SWIG_IsOK(ecode2
)) {
26504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
26506 arg2
= static_cast< int >(val2
);
26507 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
26508 if (!SWIG_IsOK(ecode3
)) {
26509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
26511 arg3
= static_cast< bool >(val3
);
26513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26514 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
26515 wxPyEndAllowThreads(__tstate
);
26516 if (PyErr_Occurred()) SWIG_fail
;
26518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
26525 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26526 PyObject
*resultobj
= 0;
26527 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26530 PyObject
*swig_obj
[1] ;
26532 if (!args
) SWIG_fail
;
26533 swig_obj
[0] = args
;
26534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
26535 if (!SWIG_IsOK(res1
)) {
26536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26538 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26543 wxPyEndAllowThreads(__tstate
);
26544 if (PyErr_Occurred()) SWIG_fail
;
26546 resultobj
= SWIG_Py_Void();
26553 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26554 PyObject
*resultobj
= 0;
26555 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26559 PyObject
*swig_obj
[1] ;
26561 if (!args
) SWIG_fail
;
26562 swig_obj
[0] = args
;
26563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26564 if (!SWIG_IsOK(res1
)) {
26565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26567 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26568 result
= (int)(int) ((arg1
)->widthSash
);
26569 resultobj
= SWIG_From_int(static_cast< int >(result
));
26576 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26577 PyObject
*resultobj
= 0;
26578 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26582 PyObject
*swig_obj
[1] ;
26584 if (!args
) SWIG_fail
;
26585 swig_obj
[0] = args
;
26586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26587 if (!SWIG_IsOK(res1
)) {
26588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26590 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26591 result
= (int)(int) ((arg1
)->border
);
26592 resultobj
= SWIG_From_int(static_cast< int >(result
));
26599 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26600 PyObject
*resultobj
= 0;
26601 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26605 PyObject
*swig_obj
[1] ;
26607 if (!args
) SWIG_fail
;
26608 swig_obj
[0] = args
;
26609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26610 if (!SWIG_IsOK(res1
)) {
26611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26613 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26614 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
26615 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
26622 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26625 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
26626 return SWIG_Py_Void();
26629 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26630 return SWIG_Python_InitShadowInstance(args
);
26633 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26634 PyObject
*resultobj
= 0;
26637 wxRendererVersion
*result
= 0 ;
26642 PyObject
* obj0
= 0 ;
26643 PyObject
* obj1
= 0 ;
26644 char * kwnames
[] = {
26645 (char *) "version_",(char *) "age_", NULL
26648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26649 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26650 if (!SWIG_IsOK(ecode1
)) {
26651 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
26653 arg1
= static_cast< int >(val1
);
26654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26655 if (!SWIG_IsOK(ecode2
)) {
26656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
26658 arg2
= static_cast< int >(val2
);
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26661 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
26662 wxPyEndAllowThreads(__tstate
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
26672 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26673 PyObject
*resultobj
= 0;
26674 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
26677 PyObject
*swig_obj
[1] ;
26679 if (!args
) SWIG_fail
;
26680 swig_obj
[0] = args
;
26681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
26682 if (!SWIG_IsOK(res1
)) {
26683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
26685 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26690 wxPyEndAllowThreads(__tstate
);
26691 if (PyErr_Occurred()) SWIG_fail
;
26693 resultobj
= SWIG_Py_Void();
26700 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26701 PyObject
*resultobj
= 0;
26702 wxRendererVersion
*arg1
= 0 ;
26706 PyObject
* obj0
= 0 ;
26707 char * kwnames
[] = {
26708 (char *) "ver", NULL
26711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
26712 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
26713 if (!SWIG_IsOK(res1
)) {
26714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
26717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
26719 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26722 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26735 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26736 PyObject
*resultobj
= 0;
26737 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
26741 PyObject
*swig_obj
[1] ;
26743 if (!args
) SWIG_fail
;
26744 swig_obj
[0] = args
;
26745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
26746 if (!SWIG_IsOK(res1
)) {
26747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
26749 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26750 result
= (int)(int) ((arg1
)->version
);
26751 resultobj
= SWIG_From_int(static_cast< int >(result
));
26758 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26759 PyObject
*resultobj
= 0;
26760 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
26764 PyObject
*swig_obj
[1] ;
26766 if (!args
) SWIG_fail
;
26767 swig_obj
[0] = args
;
26768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
26769 if (!SWIG_IsOK(res1
)) {
26770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
26772 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26773 result
= (int)(int) ((arg1
)->age
);
26774 resultobj
= SWIG_From_int(static_cast< int >(result
));
26781 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26784 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
26785 return SWIG_Py_Void();
26788 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26789 return SWIG_Python_InitShadowInstance(args
);
26792 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26793 PyObject
*resultobj
= 0;
26794 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26795 wxWindow
*arg2
= (wxWindow
*) 0 ;
26798 int arg5
= (int) 0 ;
26808 PyObject
* obj0
= 0 ;
26809 PyObject
* obj1
= 0 ;
26810 PyObject
* obj2
= 0 ;
26811 PyObject
* obj3
= 0 ;
26812 PyObject
* obj4
= 0 ;
26813 char * kwnames
[] = {
26814 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26819 if (!SWIG_IsOK(res1
)) {
26820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26822 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26823 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26824 if (!SWIG_IsOK(res2
)) {
26825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
26827 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26828 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26829 if (!SWIG_IsOK(res3
)) {
26830 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
26833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
26835 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26838 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26841 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26842 if (!SWIG_IsOK(ecode5
)) {
26843 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
26845 arg5
= static_cast< int >(val5
);
26848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26849 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26850 wxPyEndAllowThreads(__tstate
);
26851 if (PyErr_Occurred()) SWIG_fail
;
26853 resultobj
= SWIG_Py_Void();
26860 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26861 PyObject
*resultobj
= 0;
26862 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26863 wxWindow
*arg2
= (wxWindow
*) 0 ;
26866 int arg5
= (int) 0 ;
26876 PyObject
* obj0
= 0 ;
26877 PyObject
* obj1
= 0 ;
26878 PyObject
* obj2
= 0 ;
26879 PyObject
* obj3
= 0 ;
26880 PyObject
* obj4
= 0 ;
26881 char * kwnames
[] = {
26882 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26887 if (!SWIG_IsOK(res1
)) {
26888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26890 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26891 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26892 if (!SWIG_IsOK(res2
)) {
26893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
26895 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26896 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26897 if (!SWIG_IsOK(res3
)) {
26898 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
26901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
26903 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26906 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26909 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26910 if (!SWIG_IsOK(ecode5
)) {
26911 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
26913 arg5
= static_cast< int >(val5
);
26916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26917 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26918 wxPyEndAllowThreads(__tstate
);
26919 if (PyErr_Occurred()) SWIG_fail
;
26921 resultobj
= SWIG_Py_Void();
26928 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26929 PyObject
*resultobj
= 0;
26930 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26931 wxWindow
*arg2
= (wxWindow
*) 0 ;
26934 int arg5
= (int) 0 ;
26944 PyObject
* obj0
= 0 ;
26945 PyObject
* obj1
= 0 ;
26946 PyObject
* obj2
= 0 ;
26947 PyObject
* obj3
= 0 ;
26948 PyObject
* obj4
= 0 ;
26949 char * kwnames
[] = {
26950 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26955 if (!SWIG_IsOK(res1
)) {
26956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26958 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26959 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26960 if (!SWIG_IsOK(res2
)) {
26961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
26963 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26964 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26965 if (!SWIG_IsOK(res3
)) {
26966 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
26969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
26971 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26974 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26977 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26978 if (!SWIG_IsOK(ecode5
)) {
26979 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
26981 arg5
= static_cast< int >(val5
);
26984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26985 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26986 wxPyEndAllowThreads(__tstate
);
26987 if (PyErr_Occurred()) SWIG_fail
;
26989 resultobj
= SWIG_Py_Void();
26996 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26997 PyObject
*resultobj
= 0;
26998 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26999 wxWindow
*arg2
= (wxWindow
*) 0 ;
27003 wxOrientation arg6
;
27004 int arg7
= (int) 0 ;
27018 PyObject
* obj0
= 0 ;
27019 PyObject
* obj1
= 0 ;
27020 PyObject
* obj2
= 0 ;
27021 PyObject
* obj3
= 0 ;
27022 PyObject
* obj4
= 0 ;
27023 PyObject
* obj5
= 0 ;
27024 PyObject
* obj6
= 0 ;
27025 char * kwnames
[] = {
27026 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
27029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27031 if (!SWIG_IsOK(res1
)) {
27032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27034 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27035 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27036 if (!SWIG_IsOK(res2
)) {
27037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
27039 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27040 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27041 if (!SWIG_IsOK(res3
)) {
27042 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27047 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27050 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27052 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27053 if (!SWIG_IsOK(ecode5
)) {
27054 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
27056 arg5
= static_cast< int >(val5
);
27057 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27058 if (!SWIG_IsOK(ecode6
)) {
27059 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
27061 arg6
= static_cast< wxOrientation
>(val6
);
27063 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
27064 if (!SWIG_IsOK(ecode7
)) {
27065 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
27067 arg7
= static_cast< int >(val7
);
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
27072 wxPyEndAllowThreads(__tstate
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27075 resultobj
= SWIG_Py_Void();
27082 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27083 PyObject
*resultobj
= 0;
27084 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27085 wxWindow
*arg2
= (wxWindow
*) 0 ;
27088 int arg5
= (int) 0 ;
27098 PyObject
* obj0
= 0 ;
27099 PyObject
* obj1
= 0 ;
27100 PyObject
* obj2
= 0 ;
27101 PyObject
* obj3
= 0 ;
27102 PyObject
* obj4
= 0 ;
27103 char * kwnames
[] = {
27104 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27109 if (!SWIG_IsOK(res1
)) {
27110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27112 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27113 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27114 if (!SWIG_IsOK(res2
)) {
27115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27117 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27118 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27119 if (!SWIG_IsOK(res3
)) {
27120 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27125 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27128 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27131 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27132 if (!SWIG_IsOK(ecode5
)) {
27133 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
27135 arg5
= static_cast< int >(val5
);
27138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27139 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27140 wxPyEndAllowThreads(__tstate
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27143 resultobj
= SWIG_Py_Void();
27150 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27151 PyObject
*resultobj
= 0;
27152 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27153 wxWindow
*arg2
= (wxWindow
*) 0 ;
27156 int arg5
= (int) 0 ;
27166 PyObject
* obj0
= 0 ;
27167 PyObject
* obj1
= 0 ;
27168 PyObject
* obj2
= 0 ;
27169 PyObject
* obj3
= 0 ;
27170 PyObject
* obj4
= 0 ;
27171 char * kwnames
[] = {
27172 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27177 if (!SWIG_IsOK(res1
)) {
27178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27180 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27181 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27182 if (!SWIG_IsOK(res2
)) {
27183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
27185 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27186 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27187 if (!SWIG_IsOK(res3
)) {
27188 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27193 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27196 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27199 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27200 if (!SWIG_IsOK(ecode5
)) {
27201 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
27203 arg5
= static_cast< int >(val5
);
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27211 resultobj
= SWIG_Py_Void();
27218 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27219 PyObject
*resultobj
= 0;
27220 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27221 wxWindow
*arg2
= (wxWindow
*) 0 ;
27224 int arg5
= (int) 0 ;
27234 PyObject
* obj0
= 0 ;
27235 PyObject
* obj1
= 0 ;
27236 PyObject
* obj2
= 0 ;
27237 PyObject
* obj3
= 0 ;
27238 PyObject
* obj4
= 0 ;
27239 char * kwnames
[] = {
27240 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27245 if (!SWIG_IsOK(res1
)) {
27246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27248 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27249 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27250 if (!SWIG_IsOK(res2
)) {
27251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
27253 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27254 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27255 if (!SWIG_IsOK(res3
)) {
27256 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27261 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27264 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27267 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27268 if (!SWIG_IsOK(ecode5
)) {
27269 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
27271 arg5
= static_cast< int >(val5
);
27274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27275 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27279 resultobj
= SWIG_Py_Void();
27286 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27287 PyObject
*resultobj
= 0;
27288 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27289 wxWindow
*arg2
= (wxWindow
*) 0 ;
27292 int arg5
= (int) 0 ;
27302 PyObject
* obj0
= 0 ;
27303 PyObject
* obj1
= 0 ;
27304 PyObject
* obj2
= 0 ;
27305 PyObject
* obj3
= 0 ;
27306 PyObject
* obj4
= 0 ;
27307 char * kwnames
[] = {
27308 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27313 if (!SWIG_IsOK(res1
)) {
27314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27316 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27317 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27318 if (!SWIG_IsOK(res2
)) {
27319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27321 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27322 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27323 if (!SWIG_IsOK(res3
)) {
27324 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
27327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
27329 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27332 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27335 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27336 if (!SWIG_IsOK(ecode5
)) {
27337 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
27339 arg5
= static_cast< int >(val5
);
27342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27343 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27344 wxPyEndAllowThreads(__tstate
);
27345 if (PyErr_Occurred()) SWIG_fail
;
27347 resultobj
= SWIG_Py_Void();
27354 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27355 PyObject
*resultobj
= 0;
27356 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27357 wxWindow
*arg2
= (wxWindow
*) 0 ;
27360 int arg5
= (int) 0 ;
27370 PyObject
* obj0
= 0 ;
27371 PyObject
* obj1
= 0 ;
27372 PyObject
* obj2
= 0 ;
27373 PyObject
* obj3
= 0 ;
27374 PyObject
* obj4
= 0 ;
27375 char * kwnames
[] = {
27376 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27381 if (!SWIG_IsOK(res1
)) {
27382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27384 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27385 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27386 if (!SWIG_IsOK(res2
)) {
27387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
27389 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27390 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27391 if (!SWIG_IsOK(res3
)) {
27392 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
27395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
27397 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27400 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27403 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27404 if (!SWIG_IsOK(ecode5
)) {
27405 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
27407 arg5
= static_cast< int >(val5
);
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= SWIG_Py_Void();
27422 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27423 PyObject
*resultobj
= 0;
27424 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27425 wxWindow
*arg2
= (wxWindow
*) 0 ;
27426 SwigValueWrapper
<wxSplitterRenderParams
> result
;
27431 PyObject
* obj0
= 0 ;
27432 PyObject
* obj1
= 0 ;
27433 char * kwnames
[] = {
27434 (char *) "self",(char *) "win", NULL
27437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27439 if (!SWIG_IsOK(res1
)) {
27440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27442 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27443 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27444 if (!SWIG_IsOK(res2
)) {
27445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
27447 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27450 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
27451 wxPyEndAllowThreads(__tstate
);
27452 if (PyErr_Occurred()) SWIG_fail
;
27454 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
27461 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27462 PyObject
*resultobj
= 0;
27463 wxRendererNative
*result
= 0 ;
27465 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
27467 if (!wxPyCheckForApp()) SWIG_fail
;
27468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27470 wxRendererNative
&_result_ref
= wxRendererNative::Get();
27471 result
= (wxRendererNative
*) &_result_ref
;
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27483 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27484 PyObject
*resultobj
= 0;
27485 wxRendererNative
*result
= 0 ;
27487 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
27489 if (!wxPyCheckForApp()) SWIG_fail
;
27490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27492 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
27493 result
= (wxRendererNative
*) &_result_ref
;
27495 wxPyEndAllowThreads(__tstate
);
27496 if (PyErr_Occurred()) SWIG_fail
;
27498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27505 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27506 PyObject
*resultobj
= 0;
27507 wxRendererNative
*result
= 0 ;
27509 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
27511 if (!wxPyCheckForApp()) SWIG_fail
;
27512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27514 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
27515 result
= (wxRendererNative
*) &_result_ref
;
27517 wxPyEndAllowThreads(__tstate
);
27518 if (PyErr_Occurred()) SWIG_fail
;
27520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27527 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27528 PyObject
*resultobj
= 0;
27529 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27530 wxRendererNative
*result
= 0 ;
27533 PyObject
* obj0
= 0 ;
27534 char * kwnames
[] = {
27535 (char *) "renderer", NULL
27538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
27539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27540 if (!SWIG_IsOK(res1
)) {
27541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27543 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27545 if (!wxPyCheckForApp()) SWIG_fail
;
27546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27547 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
27548 wxPyEndAllowThreads(__tstate
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27558 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27559 PyObject
*resultobj
= 0;
27560 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27561 SwigValueWrapper
<wxRendererVersion
> result
;
27564 PyObject
*swig_obj
[1] ;
27566 if (!args
) SWIG_fail
;
27567 swig_obj
[0] = args
;
27568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27569 if (!SWIG_IsOK(res1
)) {
27570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
27572 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27575 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
27576 wxPyEndAllowThreads(__tstate
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27579 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
27586 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27588 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27589 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
27590 return SWIG_Py_Void();
27593 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27594 PyObject
*resultobj
= 0;
27595 wxPseudoDC
*result
= 0 ;
27597 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
27599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27600 result
= (wxPseudoDC
*)new wxPseudoDC();
27601 wxPyEndAllowThreads(__tstate
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
27611 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27612 PyObject
*resultobj
= 0;
27613 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27616 PyObject
*swig_obj
[1] ;
27618 if (!args
) SWIG_fail
;
27619 swig_obj
[0] = args
;
27620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27621 if (!SWIG_IsOK(res1
)) {
27622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27624 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27627 (arg1
)->BeginDrawing();
27628 wxPyEndAllowThreads(__tstate
);
27629 if (PyErr_Occurred()) SWIG_fail
;
27631 resultobj
= SWIG_Py_Void();
27638 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27639 PyObject
*resultobj
= 0;
27640 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27643 PyObject
*swig_obj
[1] ;
27645 if (!args
) SWIG_fail
;
27646 swig_obj
[0] = args
;
27647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27648 if (!SWIG_IsOK(res1
)) {
27649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27651 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27654 (arg1
)->EndDrawing();
27655 wxPyEndAllowThreads(__tstate
);
27656 if (PyErr_Occurred()) SWIG_fail
;
27658 resultobj
= SWIG_Py_Void();
27665 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27666 PyObject
*resultobj
= 0;
27667 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27670 PyObject
*swig_obj
[1] ;
27672 if (!args
) SWIG_fail
;
27673 swig_obj
[0] = args
;
27674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
27675 if (!SWIG_IsOK(res1
)) {
27676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27678 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27683 wxPyEndAllowThreads(__tstate
);
27684 if (PyErr_Occurred()) SWIG_fail
;
27686 resultobj
= SWIG_Py_Void();
27693 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27694 PyObject
*resultobj
= 0;
27695 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27698 PyObject
*swig_obj
[1] ;
27700 if (!args
) SWIG_fail
;
27701 swig_obj
[0] = args
;
27702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27703 if (!SWIG_IsOK(res1
)) {
27704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27706 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27709 (arg1
)->RemoveAll();
27710 wxPyEndAllowThreads(__tstate
);
27711 if (PyErr_Occurred()) SWIG_fail
;
27713 resultobj
= SWIG_Py_Void();
27720 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27721 PyObject
*resultobj
= 0;
27722 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27726 PyObject
*swig_obj
[1] ;
27728 if (!args
) SWIG_fail
;
27729 swig_obj
[0] = args
;
27730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27731 if (!SWIG_IsOK(res1
)) {
27732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27734 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27737 result
= (int)(arg1
)->GetLen();
27738 wxPyEndAllowThreads(__tstate
);
27739 if (PyErr_Occurred()) SWIG_fail
;
27741 resultobj
= SWIG_From_int(static_cast< int >(result
));
27748 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27749 PyObject
*resultobj
= 0;
27750 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27756 PyObject
* obj0
= 0 ;
27757 PyObject
* obj1
= 0 ;
27758 char * kwnames
[] = {
27759 (char *) "self",(char *) "id", NULL
27762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27764 if (!SWIG_IsOK(res1
)) {
27765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27767 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27769 if (!SWIG_IsOK(ecode2
)) {
27770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
27772 arg2
= static_cast< int >(val2
);
27774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27775 (arg1
)->SetId(arg2
);
27776 wxPyEndAllowThreads(__tstate
);
27777 if (PyErr_Occurred()) SWIG_fail
;
27779 resultobj
= SWIG_Py_Void();
27786 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27787 PyObject
*resultobj
= 0;
27788 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27794 PyObject
* obj0
= 0 ;
27795 PyObject
* obj1
= 0 ;
27796 char * kwnames
[] = {
27797 (char *) "self",(char *) "id", NULL
27800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27802 if (!SWIG_IsOK(res1
)) {
27803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27805 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27807 if (!SWIG_IsOK(ecode2
)) {
27808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
27810 arg2
= static_cast< int >(val2
);
27812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27813 (arg1
)->ClearId(arg2
);
27814 wxPyEndAllowThreads(__tstate
);
27815 if (PyErr_Occurred()) SWIG_fail
;
27817 resultobj
= SWIG_Py_Void();
27824 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27825 PyObject
*resultobj
= 0;
27826 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27832 PyObject
* obj0
= 0 ;
27833 PyObject
* obj1
= 0 ;
27834 char * kwnames
[] = {
27835 (char *) "self",(char *) "id", NULL
27838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27840 if (!SWIG_IsOK(res1
)) {
27841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27843 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27845 if (!SWIG_IsOK(ecode2
)) {
27846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
27848 arg2
= static_cast< int >(val2
);
27850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27851 (arg1
)->RemoveId(arg2
);
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27855 resultobj
= SWIG_Py_Void();
27862 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27863 PyObject
*resultobj
= 0;
27864 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27876 PyObject
* obj0
= 0 ;
27877 PyObject
* obj1
= 0 ;
27878 PyObject
* obj2
= 0 ;
27879 PyObject
* obj3
= 0 ;
27880 char * kwnames
[] = {
27881 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
27884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27886 if (!SWIG_IsOK(res1
)) {
27887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27889 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27891 if (!SWIG_IsOK(ecode2
)) {
27892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
27894 arg2
= static_cast< int >(val2
);
27895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27896 if (!SWIG_IsOK(ecode3
)) {
27897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
27899 arg3
= static_cast< int >(val3
);
27900 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27901 if (!SWIG_IsOK(ecode4
)) {
27902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
27904 arg4
= static_cast< int >(val4
);
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
27908 wxPyEndAllowThreads(__tstate
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27911 resultobj
= SWIG_Py_Void();
27918 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27919 PyObject
*resultobj
= 0;
27920 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27922 wxDC
*arg3
= (wxDC
*) 0 ;
27929 PyObject
* obj0
= 0 ;
27930 PyObject
* obj1
= 0 ;
27931 PyObject
* obj2
= 0 ;
27932 char * kwnames
[] = {
27933 (char *) "self",(char *) "id",(char *) "dc", NULL
27936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27938 if (!SWIG_IsOK(res1
)) {
27939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27941 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27943 if (!SWIG_IsOK(ecode2
)) {
27944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
27946 arg2
= static_cast< int >(val2
);
27947 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
27948 if (!SWIG_IsOK(res3
)) {
27949 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
27951 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27954 (arg1
)->DrawIdToDC(arg2
,arg3
);
27955 wxPyEndAllowThreads(__tstate
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27958 resultobj
= SWIG_Py_Void();
27965 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
= 0;
27967 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27975 PyObject
* obj0
= 0 ;
27976 PyObject
* obj1
= 0 ;
27977 PyObject
* obj2
= 0 ;
27978 char * kwnames
[] = {
27979 (char *) "self",(char *) "id",(char *) "rect", NULL
27982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27984 if (!SWIG_IsOK(res1
)) {
27985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27987 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27989 if (!SWIG_IsOK(ecode2
)) {
27990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
27992 arg2
= static_cast< int >(val2
);
27995 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
27998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27999 (arg1
)->SetIdBounds(arg2
,*arg3
);
28000 wxPyEndAllowThreads(__tstate
);
28001 if (PyErr_Occurred()) SWIG_fail
;
28003 resultobj
= SWIG_Py_Void();
28010 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28011 PyObject
*resultobj
= 0;
28012 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28019 PyObject
* obj0
= 0 ;
28020 PyObject
* obj1
= 0 ;
28021 char * kwnames
[] = {
28022 (char *) "self",(char *) "id", NULL
28025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28027 if (!SWIG_IsOK(res1
)) {
28028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28030 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28032 if (!SWIG_IsOK(ecode2
)) {
28033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
28035 arg2
= static_cast< int >(val2
);
28037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28038 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
28039 wxPyEndAllowThreads(__tstate
);
28040 if (PyErr_Occurred()) SWIG_fail
;
28042 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28049 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28050 PyObject
*resultobj
= 0;
28051 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28052 wxDC
*arg2
= (wxDC
*) 0 ;
28059 PyObject
* obj0
= 0 ;
28060 PyObject
* obj1
= 0 ;
28061 PyObject
* obj2
= 0 ;
28062 char * kwnames
[] = {
28063 (char *) "self",(char *) "dc",(char *) "rect", NULL
28066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28068 if (!SWIG_IsOK(res1
)) {
28069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28071 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28072 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28073 if (!SWIG_IsOK(res2
)) {
28074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
28076 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28079 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28083 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
28084 wxPyEndAllowThreads(__tstate
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28087 resultobj
= SWIG_Py_Void();
28094 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28095 PyObject
*resultobj
= 0;
28096 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28097 wxDC
*arg2
= (wxDC
*) 0 ;
28098 wxRegion
*arg3
= 0 ;
28105 PyObject
* obj0
= 0 ;
28106 PyObject
* obj1
= 0 ;
28107 PyObject
* obj2
= 0 ;
28108 char * kwnames
[] = {
28109 (char *) "self",(char *) "dc",(char *) "region", NULL
28112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28114 if (!SWIG_IsOK(res1
)) {
28115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28117 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28118 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28119 if (!SWIG_IsOK(res2
)) {
28120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
28122 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28123 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
28124 if (!SWIG_IsOK(res3
)) {
28125 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28130 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
28132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28133 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
28134 wxPyEndAllowThreads(__tstate
);
28135 if (PyErr_Occurred()) SWIG_fail
;
28137 resultobj
= SWIG_Py_Void();
28144 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28145 PyObject
*resultobj
= 0;
28146 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28147 wxDC
*arg2
= (wxDC
*) 0 ;
28152 PyObject
* obj0
= 0 ;
28153 PyObject
* obj1
= 0 ;
28154 char * kwnames
[] = {
28155 (char *) "self",(char *) "dc", NULL
28158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28160 if (!SWIG_IsOK(res1
)) {
28161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28163 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28164 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28165 if (!SWIG_IsOK(res2
)) {
28166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
28168 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28171 (arg1
)->DrawToDC(arg2
);
28172 wxPyEndAllowThreads(__tstate
);
28173 if (PyErr_Occurred()) SWIG_fail
;
28175 resultobj
= SWIG_Py_Void();
28182 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28183 PyObject
*resultobj
= 0;
28184 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28187 wxColour
*arg4
= 0 ;
28188 int arg5
= (int) wxFLOOD_SURFACE
;
28198 PyObject
* obj0
= 0 ;
28199 PyObject
* obj1
= 0 ;
28200 PyObject
* obj2
= 0 ;
28201 PyObject
* obj3
= 0 ;
28202 PyObject
* obj4
= 0 ;
28203 char * kwnames
[] = {
28204 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
28207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28209 if (!SWIG_IsOK(res1
)) {
28210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28212 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28214 if (!SWIG_IsOK(ecode2
)) {
28215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
28217 arg2
= static_cast< int >(val2
);
28218 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28219 if (!SWIG_IsOK(ecode3
)) {
28220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
28222 arg3
= static_cast< int >(val3
);
28225 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
28228 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28229 if (!SWIG_IsOK(ecode5
)) {
28230 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
28232 arg5
= static_cast< int >(val5
);
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
28237 wxPyEndAllowThreads(__tstate
);
28238 if (PyErr_Occurred()) SWIG_fail
;
28240 resultobj
= SWIG_Py_Void();
28247 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28248 PyObject
*resultobj
= 0;
28249 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28250 wxPoint
*arg2
= 0 ;
28251 wxColour
*arg3
= 0 ;
28252 int arg4
= (int) wxFLOOD_SURFACE
;
28259 PyObject
* obj0
= 0 ;
28260 PyObject
* obj1
= 0 ;
28261 PyObject
* obj2
= 0 ;
28262 PyObject
* obj3
= 0 ;
28263 char * kwnames
[] = {
28264 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
28267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28269 if (!SWIG_IsOK(res1
)) {
28270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28272 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28275 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28279 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28282 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28283 if (!SWIG_IsOK(ecode4
)) {
28284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
28286 arg4
= static_cast< int >(val4
);
28289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28290 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
28291 wxPyEndAllowThreads(__tstate
);
28292 if (PyErr_Occurred()) SWIG_fail
;
28294 resultobj
= SWIG_Py_Void();
28301 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28302 PyObject
*resultobj
= 0;
28303 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28318 PyObject
* obj0
= 0 ;
28319 PyObject
* obj1
= 0 ;
28320 PyObject
* obj2
= 0 ;
28321 PyObject
* obj3
= 0 ;
28322 PyObject
* obj4
= 0 ;
28323 char * kwnames
[] = {
28324 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
28327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28329 if (!SWIG_IsOK(res1
)) {
28330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28332 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28334 if (!SWIG_IsOK(ecode2
)) {
28335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
28337 arg2
= static_cast< int >(val2
);
28338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28339 if (!SWIG_IsOK(ecode3
)) {
28340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
28342 arg3
= static_cast< int >(val3
);
28343 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28344 if (!SWIG_IsOK(ecode4
)) {
28345 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
28347 arg4
= static_cast< int >(val4
);
28348 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28349 if (!SWIG_IsOK(ecode5
)) {
28350 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
28352 arg5
= static_cast< int >(val5
);
28354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28355 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
28356 wxPyEndAllowThreads(__tstate
);
28357 if (PyErr_Occurred()) SWIG_fail
;
28359 resultobj
= SWIG_Py_Void();
28366 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28367 PyObject
*resultobj
= 0;
28368 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28369 wxPoint
*arg2
= 0 ;
28370 wxPoint
*arg3
= 0 ;
28375 PyObject
* obj0
= 0 ;
28376 PyObject
* obj1
= 0 ;
28377 PyObject
* obj2
= 0 ;
28378 char * kwnames
[] = {
28379 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
28382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28384 if (!SWIG_IsOK(res1
)) {
28385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28387 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28390 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28394 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
28399 wxPyEndAllowThreads(__tstate
);
28400 if (PyErr_Occurred()) SWIG_fail
;
28402 resultobj
= SWIG_Py_Void();
28409 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28410 PyObject
*resultobj
= 0;
28411 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28420 PyObject
* obj0
= 0 ;
28421 PyObject
* obj1
= 0 ;
28422 PyObject
* obj2
= 0 ;
28423 char * kwnames
[] = {
28424 (char *) "self",(char *) "x",(char *) "y", NULL
28427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28429 if (!SWIG_IsOK(res1
)) {
28430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28432 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28434 if (!SWIG_IsOK(ecode2
)) {
28435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
28437 arg2
= static_cast< int >(val2
);
28438 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28439 if (!SWIG_IsOK(ecode3
)) {
28440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
28442 arg3
= static_cast< int >(val3
);
28444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28445 (arg1
)->CrossHair(arg2
,arg3
);
28446 wxPyEndAllowThreads(__tstate
);
28447 if (PyErr_Occurred()) SWIG_fail
;
28449 resultobj
= SWIG_Py_Void();
28456 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28457 PyObject
*resultobj
= 0;
28458 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28459 wxPoint
*arg2
= 0 ;
28463 PyObject
* obj0
= 0 ;
28464 PyObject
* obj1
= 0 ;
28465 char * kwnames
[] = {
28466 (char *) "self",(char *) "pt", NULL
28469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28471 if (!SWIG_IsOK(res1
)) {
28472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28474 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28477 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
28482 wxPyEndAllowThreads(__tstate
);
28483 if (PyErr_Occurred()) SWIG_fail
;
28485 resultobj
= SWIG_Py_Void();
28492 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28493 PyObject
*resultobj
= 0;
28494 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28515 PyObject
* obj0
= 0 ;
28516 PyObject
* obj1
= 0 ;
28517 PyObject
* obj2
= 0 ;
28518 PyObject
* obj3
= 0 ;
28519 PyObject
* obj4
= 0 ;
28520 PyObject
* obj5
= 0 ;
28521 PyObject
* obj6
= 0 ;
28522 char * kwnames
[] = {
28523 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
28526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28528 if (!SWIG_IsOK(res1
)) {
28529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28531 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28533 if (!SWIG_IsOK(ecode2
)) {
28534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
28536 arg2
= static_cast< int >(val2
);
28537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28538 if (!SWIG_IsOK(ecode3
)) {
28539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
28541 arg3
= static_cast< int >(val3
);
28542 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28543 if (!SWIG_IsOK(ecode4
)) {
28544 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
28546 arg4
= static_cast< int >(val4
);
28547 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28548 if (!SWIG_IsOK(ecode5
)) {
28549 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
28551 arg5
= static_cast< int >(val5
);
28552 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28553 if (!SWIG_IsOK(ecode6
)) {
28554 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
28556 arg6
= static_cast< int >(val6
);
28557 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
28558 if (!SWIG_IsOK(ecode7
)) {
28559 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
28561 arg7
= static_cast< int >(val7
);
28563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28564 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28565 wxPyEndAllowThreads(__tstate
);
28566 if (PyErr_Occurred()) SWIG_fail
;
28568 resultobj
= SWIG_Py_Void();
28575 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28576 PyObject
*resultobj
= 0;
28577 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28578 wxPoint
*arg2
= 0 ;
28579 wxPoint
*arg3
= 0 ;
28580 wxPoint
*arg4
= 0 ;
28586 PyObject
* obj0
= 0 ;
28587 PyObject
* obj1
= 0 ;
28588 PyObject
* obj2
= 0 ;
28589 PyObject
* obj3
= 0 ;
28590 char * kwnames
[] = {
28591 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
28594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28596 if (!SWIG_IsOK(res1
)) {
28597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28599 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28602 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28606 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28610 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28614 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
28615 wxPyEndAllowThreads(__tstate
);
28616 if (PyErr_Occurred()) SWIG_fail
;
28618 resultobj
= SWIG_Py_Void();
28625 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28626 PyObject
*resultobj
= 0;
28627 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28642 PyObject
* obj0
= 0 ;
28643 PyObject
* obj1
= 0 ;
28644 PyObject
* obj2
= 0 ;
28645 PyObject
* obj3
= 0 ;
28646 PyObject
* obj4
= 0 ;
28647 char * kwnames
[] = {
28648 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28653 if (!SWIG_IsOK(res1
)) {
28654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28656 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28658 if (!SWIG_IsOK(ecode2
)) {
28659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
28661 arg2
= static_cast< int >(val2
);
28662 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28663 if (!SWIG_IsOK(ecode3
)) {
28664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
28666 arg3
= static_cast< int >(val3
);
28667 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28668 if (!SWIG_IsOK(ecode4
)) {
28669 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
28671 arg4
= static_cast< int >(val4
);
28672 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28673 if (!SWIG_IsOK(ecode5
)) {
28674 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
28676 arg5
= static_cast< int >(val5
);
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28679 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
28680 wxPyEndAllowThreads(__tstate
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28683 resultobj
= SWIG_Py_Void();
28690 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28691 PyObject
*resultobj
= 0;
28692 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28697 PyObject
* obj0
= 0 ;
28698 PyObject
* obj1
= 0 ;
28699 char * kwnames
[] = {
28700 (char *) "self",(char *) "rect", NULL
28703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28705 if (!SWIG_IsOK(res1
)) {
28706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28708 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28711 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28715 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
28716 wxPyEndAllowThreads(__tstate
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28719 resultobj
= SWIG_Py_Void();
28726 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28727 PyObject
*resultobj
= 0;
28728 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28749 PyObject
* obj0
= 0 ;
28750 PyObject
* obj1
= 0 ;
28751 PyObject
* obj2
= 0 ;
28752 PyObject
* obj3
= 0 ;
28753 PyObject
* obj4
= 0 ;
28754 PyObject
* obj5
= 0 ;
28755 PyObject
* obj6
= 0 ;
28756 char * kwnames
[] = {
28757 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
28760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28762 if (!SWIG_IsOK(res1
)) {
28763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28765 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28767 if (!SWIG_IsOK(ecode2
)) {
28768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
28770 arg2
= static_cast< int >(val2
);
28771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28772 if (!SWIG_IsOK(ecode3
)) {
28773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
28775 arg3
= static_cast< int >(val3
);
28776 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28777 if (!SWIG_IsOK(ecode4
)) {
28778 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
28780 arg4
= static_cast< int >(val4
);
28781 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28782 if (!SWIG_IsOK(ecode5
)) {
28783 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
28785 arg5
= static_cast< int >(val5
);
28786 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28787 if (!SWIG_IsOK(ecode6
)) {
28788 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
28790 arg6
= static_cast< double >(val6
);
28791 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28792 if (!SWIG_IsOK(ecode7
)) {
28793 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
28795 arg7
= static_cast< double >(val7
);
28797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28798 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28799 wxPyEndAllowThreads(__tstate
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28802 resultobj
= SWIG_Py_Void();
28809 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28810 PyObject
*resultobj
= 0;
28811 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28812 wxPoint
*arg2
= 0 ;
28824 PyObject
* obj0
= 0 ;
28825 PyObject
* obj1
= 0 ;
28826 PyObject
* obj2
= 0 ;
28827 PyObject
* obj3
= 0 ;
28828 PyObject
* obj4
= 0 ;
28829 char * kwnames
[] = {
28830 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
28833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28835 if (!SWIG_IsOK(res1
)) {
28836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28838 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28841 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28845 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
28847 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28848 if (!SWIG_IsOK(ecode4
)) {
28849 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
28851 arg4
= static_cast< double >(val4
);
28852 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28853 if (!SWIG_IsOK(ecode5
)) {
28854 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
28856 arg5
= static_cast< double >(val5
);
28858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28859 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
28860 wxPyEndAllowThreads(__tstate
);
28861 if (PyErr_Occurred()) SWIG_fail
;
28863 resultobj
= SWIG_Py_Void();
28870 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28871 PyObject
*resultobj
= 0;
28872 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28881 PyObject
* obj0
= 0 ;
28882 PyObject
* obj1
= 0 ;
28883 PyObject
* obj2
= 0 ;
28884 char * kwnames
[] = {
28885 (char *) "self",(char *) "x",(char *) "y", NULL
28888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28890 if (!SWIG_IsOK(res1
)) {
28891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28893 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28895 if (!SWIG_IsOK(ecode2
)) {
28896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
28898 arg2
= static_cast< int >(val2
);
28899 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28900 if (!SWIG_IsOK(ecode3
)) {
28901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
28903 arg3
= static_cast< int >(val3
);
28905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28906 (arg1
)->DrawPoint(arg2
,arg3
);
28907 wxPyEndAllowThreads(__tstate
);
28908 if (PyErr_Occurred()) SWIG_fail
;
28910 resultobj
= SWIG_Py_Void();
28917 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28918 PyObject
*resultobj
= 0;
28919 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28920 wxPoint
*arg2
= 0 ;
28924 PyObject
* obj0
= 0 ;
28925 PyObject
* obj1
= 0 ;
28926 char * kwnames
[] = {
28927 (char *) "self",(char *) "pt", NULL
28930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28932 if (!SWIG_IsOK(res1
)) {
28933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28935 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28938 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28942 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
28943 wxPyEndAllowThreads(__tstate
);
28944 if (PyErr_Occurred()) SWIG_fail
;
28946 resultobj
= SWIG_Py_Void();
28953 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28954 PyObject
*resultobj
= 0;
28955 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28970 PyObject
* obj0
= 0 ;
28971 PyObject
* obj1
= 0 ;
28972 PyObject
* obj2
= 0 ;
28973 PyObject
* obj3
= 0 ;
28974 PyObject
* obj4
= 0 ;
28975 char * kwnames
[] = {
28976 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28981 if (!SWIG_IsOK(res1
)) {
28982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28984 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28986 if (!SWIG_IsOK(ecode2
)) {
28987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
28989 arg2
= static_cast< int >(val2
);
28990 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28991 if (!SWIG_IsOK(ecode3
)) {
28992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
28994 arg3
= static_cast< int >(val3
);
28995 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28996 if (!SWIG_IsOK(ecode4
)) {
28997 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
28999 arg4
= static_cast< int >(val4
);
29000 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29001 if (!SWIG_IsOK(ecode5
)) {
29002 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
29004 arg5
= static_cast< int >(val5
);
29006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29007 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29008 wxPyEndAllowThreads(__tstate
);
29009 if (PyErr_Occurred()) SWIG_fail
;
29011 resultobj
= SWIG_Py_Void();
29018 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29019 PyObject
*resultobj
= 0;
29020 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29025 PyObject
* obj0
= 0 ;
29026 PyObject
* obj1
= 0 ;
29027 char * kwnames
[] = {
29028 (char *) "self",(char *) "rect", NULL
29031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29033 if (!SWIG_IsOK(res1
)) {
29034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29036 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29039 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29043 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
29044 wxPyEndAllowThreads(__tstate
);
29045 if (PyErr_Occurred()) SWIG_fail
;
29047 resultobj
= SWIG_Py_Void();
29054 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29055 PyObject
*resultobj
= 0;
29056 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29057 wxPoint
*arg2
= 0 ;
29063 PyObject
* obj0
= 0 ;
29064 PyObject
* obj1
= 0 ;
29065 PyObject
* obj2
= 0 ;
29066 char * kwnames
[] = {
29067 (char *) "self",(char *) "pt",(char *) "sz", NULL
29070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29072 if (!SWIG_IsOK(res1
)) {
29073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29075 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29078 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29082 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29086 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
29087 wxPyEndAllowThreads(__tstate
);
29088 if (PyErr_Occurred()) SWIG_fail
;
29090 resultobj
= SWIG_Py_Void();
29097 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29098 PyObject
*resultobj
= 0;
29099 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29117 PyObject
* obj0
= 0 ;
29118 PyObject
* obj1
= 0 ;
29119 PyObject
* obj2
= 0 ;
29120 PyObject
* obj3
= 0 ;
29121 PyObject
* obj4
= 0 ;
29122 PyObject
* obj5
= 0 ;
29123 char * kwnames
[] = {
29124 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
29127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29129 if (!SWIG_IsOK(res1
)) {
29130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29132 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29134 if (!SWIG_IsOK(ecode2
)) {
29135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
29137 arg2
= static_cast< int >(val2
);
29138 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29139 if (!SWIG_IsOK(ecode3
)) {
29140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
29142 arg3
= static_cast< int >(val3
);
29143 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29144 if (!SWIG_IsOK(ecode4
)) {
29145 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
29147 arg4
= static_cast< int >(val4
);
29148 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29149 if (!SWIG_IsOK(ecode5
)) {
29150 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
29152 arg5
= static_cast< int >(val5
);
29153 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29154 if (!SWIG_IsOK(ecode6
)) {
29155 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
29157 arg6
= static_cast< double >(val6
);
29159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29160 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29161 wxPyEndAllowThreads(__tstate
);
29162 if (PyErr_Occurred()) SWIG_fail
;
29164 resultobj
= SWIG_Py_Void();
29171 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29172 PyObject
*resultobj
= 0;
29173 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29181 PyObject
* obj0
= 0 ;
29182 PyObject
* obj1
= 0 ;
29183 PyObject
* obj2
= 0 ;
29184 char * kwnames
[] = {
29185 (char *) "self",(char *) "r",(char *) "radius", NULL
29188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29190 if (!SWIG_IsOK(res1
)) {
29191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29193 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29196 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29198 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29199 if (!SWIG_IsOK(ecode3
)) {
29200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
29202 arg3
= static_cast< double >(val3
);
29204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29205 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
29206 wxPyEndAllowThreads(__tstate
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29209 resultobj
= SWIG_Py_Void();
29216 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
= 0;
29218 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29219 wxPoint
*arg2
= 0 ;
29228 PyObject
* obj0
= 0 ;
29229 PyObject
* obj1
= 0 ;
29230 PyObject
* obj2
= 0 ;
29231 PyObject
* obj3
= 0 ;
29232 char * kwnames
[] = {
29233 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
29236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29238 if (!SWIG_IsOK(res1
)) {
29239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29241 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29244 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29248 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29250 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29251 if (!SWIG_IsOK(ecode4
)) {
29252 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
29254 arg4
= static_cast< double >(val4
);
29256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29257 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
29258 wxPyEndAllowThreads(__tstate
);
29259 if (PyErr_Occurred()) SWIG_fail
;
29261 resultobj
= SWIG_Py_Void();
29268 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29269 PyObject
*resultobj
= 0;
29270 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29282 PyObject
* obj0
= 0 ;
29283 PyObject
* obj1
= 0 ;
29284 PyObject
* obj2
= 0 ;
29285 PyObject
* obj3
= 0 ;
29286 char * kwnames
[] = {
29287 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
29290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29292 if (!SWIG_IsOK(res1
)) {
29293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29295 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29297 if (!SWIG_IsOK(ecode2
)) {
29298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
29300 arg2
= static_cast< int >(val2
);
29301 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29302 if (!SWIG_IsOK(ecode3
)) {
29303 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
29305 arg3
= static_cast< int >(val3
);
29306 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29307 if (!SWIG_IsOK(ecode4
)) {
29308 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
29310 arg4
= static_cast< int >(val4
);
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
29314 wxPyEndAllowThreads(__tstate
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29317 resultobj
= SWIG_Py_Void();
29324 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29325 PyObject
*resultobj
= 0;
29326 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29327 wxPoint
*arg2
= 0 ;
29334 PyObject
* obj0
= 0 ;
29335 PyObject
* obj1
= 0 ;
29336 PyObject
* obj2
= 0 ;
29337 char * kwnames
[] = {
29338 (char *) "self",(char *) "pt",(char *) "radius", NULL
29341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29343 if (!SWIG_IsOK(res1
)) {
29344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29346 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29349 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29352 if (!SWIG_IsOK(ecode3
)) {
29353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
29355 arg3
= static_cast< int >(val3
);
29357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29358 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
29359 wxPyEndAllowThreads(__tstate
);
29360 if (PyErr_Occurred()) SWIG_fail
;
29362 resultobj
= SWIG_Py_Void();
29369 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29370 PyObject
*resultobj
= 0;
29371 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29386 PyObject
* obj0
= 0 ;
29387 PyObject
* obj1
= 0 ;
29388 PyObject
* obj2
= 0 ;
29389 PyObject
* obj3
= 0 ;
29390 PyObject
* obj4
= 0 ;
29391 char * kwnames
[] = {
29392 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29397 if (!SWIG_IsOK(res1
)) {
29398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29400 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29402 if (!SWIG_IsOK(ecode2
)) {
29403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
29405 arg2
= static_cast< int >(val2
);
29406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29407 if (!SWIG_IsOK(ecode3
)) {
29408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
29410 arg3
= static_cast< int >(val3
);
29411 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29412 if (!SWIG_IsOK(ecode4
)) {
29413 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
29415 arg4
= static_cast< int >(val4
);
29416 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29417 if (!SWIG_IsOK(ecode5
)) {
29418 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
29420 arg5
= static_cast< int >(val5
);
29422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29423 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29424 wxPyEndAllowThreads(__tstate
);
29425 if (PyErr_Occurred()) SWIG_fail
;
29427 resultobj
= SWIG_Py_Void();
29434 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29435 PyObject
*resultobj
= 0;
29436 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29441 PyObject
* obj0
= 0 ;
29442 PyObject
* obj1
= 0 ;
29443 char * kwnames
[] = {
29444 (char *) "self",(char *) "rect", NULL
29447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29449 if (!SWIG_IsOK(res1
)) {
29450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29452 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29455 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29459 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
29460 wxPyEndAllowThreads(__tstate
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29463 resultobj
= SWIG_Py_Void();
29470 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29471 PyObject
*resultobj
= 0;
29472 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29473 wxPoint
*arg2
= 0 ;
29479 PyObject
* obj0
= 0 ;
29480 PyObject
* obj1
= 0 ;
29481 PyObject
* obj2
= 0 ;
29482 char * kwnames
[] = {
29483 (char *) "self",(char *) "pt",(char *) "sz", NULL
29486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29488 if (!SWIG_IsOK(res1
)) {
29489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29491 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29494 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29498 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29502 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
29503 wxPyEndAllowThreads(__tstate
);
29504 if (PyErr_Occurred()) SWIG_fail
;
29506 resultobj
= SWIG_Py_Void();
29513 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29514 PyObject
*resultobj
= 0;
29515 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29527 PyObject
* obj0
= 0 ;
29528 PyObject
* obj1
= 0 ;
29529 PyObject
* obj2
= 0 ;
29530 PyObject
* obj3
= 0 ;
29531 char * kwnames
[] = {
29532 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
29535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29537 if (!SWIG_IsOK(res1
)) {
29538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29540 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29542 if (!SWIG_IsOK(res2
)) {
29543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29548 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29549 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29550 if (!SWIG_IsOK(ecode3
)) {
29551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
29553 arg3
= static_cast< int >(val3
);
29554 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29555 if (!SWIG_IsOK(ecode4
)) {
29556 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
29558 arg4
= static_cast< int >(val4
);
29560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
29562 wxPyEndAllowThreads(__tstate
);
29563 if (PyErr_Occurred()) SWIG_fail
;
29565 resultobj
= SWIG_Py_Void();
29572 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29573 PyObject
*resultobj
= 0;
29574 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29576 wxPoint
*arg3
= 0 ;
29582 PyObject
* obj0
= 0 ;
29583 PyObject
* obj1
= 0 ;
29584 PyObject
* obj2
= 0 ;
29585 char * kwnames
[] = {
29586 (char *) "self",(char *) "icon",(char *) "pt", NULL
29589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29591 if (!SWIG_IsOK(res1
)) {
29592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29594 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29596 if (!SWIG_IsOK(res2
)) {
29597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
29600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
29602 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29605 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29609 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
29610 wxPyEndAllowThreads(__tstate
);
29611 if (PyErr_Occurred()) SWIG_fail
;
29613 resultobj
= SWIG_Py_Void();
29620 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29621 PyObject
*resultobj
= 0;
29622 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29623 wxBitmap
*arg2
= 0 ;
29626 bool arg5
= (bool) false ;
29637 PyObject
* obj0
= 0 ;
29638 PyObject
* obj1
= 0 ;
29639 PyObject
* obj2
= 0 ;
29640 PyObject
* obj3
= 0 ;
29641 PyObject
* obj4
= 0 ;
29642 char * kwnames
[] = {
29643 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
29646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29648 if (!SWIG_IsOK(res1
)) {
29649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29651 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29652 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29653 if (!SWIG_IsOK(res2
)) {
29654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29659 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29660 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29661 if (!SWIG_IsOK(ecode3
)) {
29662 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
29664 arg3
= static_cast< int >(val3
);
29665 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29666 if (!SWIG_IsOK(ecode4
)) {
29667 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
29669 arg4
= static_cast< int >(val4
);
29671 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
29672 if (!SWIG_IsOK(ecode5
)) {
29673 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
29675 arg5
= static_cast< bool >(val5
);
29678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29679 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
29680 wxPyEndAllowThreads(__tstate
);
29681 if (PyErr_Occurred()) SWIG_fail
;
29683 resultobj
= SWIG_Py_Void();
29690 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29691 PyObject
*resultobj
= 0;
29692 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29693 wxBitmap
*arg2
= 0 ;
29694 wxPoint
*arg3
= 0 ;
29695 bool arg4
= (bool) false ;
29703 PyObject
* obj0
= 0 ;
29704 PyObject
* obj1
= 0 ;
29705 PyObject
* obj2
= 0 ;
29706 PyObject
* obj3
= 0 ;
29707 char * kwnames
[] = {
29708 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
29711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29713 if (!SWIG_IsOK(res1
)) {
29714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29716 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29717 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29718 if (!SWIG_IsOK(res2
)) {
29719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29724 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29727 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29730 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
29731 if (!SWIG_IsOK(ecode4
)) {
29732 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
29734 arg4
= static_cast< bool >(val4
);
29737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29738 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
29739 wxPyEndAllowThreads(__tstate
);
29740 if (PyErr_Occurred()) SWIG_fail
;
29742 resultobj
= SWIG_Py_Void();
29749 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29750 PyObject
*resultobj
= 0;
29751 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29752 wxString
*arg2
= 0 ;
29757 bool temp2
= false ;
29762 PyObject
* obj0
= 0 ;
29763 PyObject
* obj1
= 0 ;
29764 PyObject
* obj2
= 0 ;
29765 PyObject
* obj3
= 0 ;
29766 char * kwnames
[] = {
29767 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
29770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29772 if (!SWIG_IsOK(res1
)) {
29773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29775 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29777 arg2
= wxString_in_helper(obj1
);
29778 if (arg2
== NULL
) SWIG_fail
;
29781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29782 if (!SWIG_IsOK(ecode3
)) {
29783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
29785 arg3
= static_cast< int >(val3
);
29786 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29787 if (!SWIG_IsOK(ecode4
)) {
29788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
29790 arg4
= static_cast< int >(val4
);
29792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29793 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
29794 wxPyEndAllowThreads(__tstate
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29797 resultobj
= SWIG_Py_Void();
29812 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29813 PyObject
*resultobj
= 0;
29814 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29815 wxString
*arg2
= 0 ;
29816 wxPoint
*arg3
= 0 ;
29819 bool temp2
= false ;
29821 PyObject
* obj0
= 0 ;
29822 PyObject
* obj1
= 0 ;
29823 PyObject
* obj2
= 0 ;
29824 char * kwnames
[] = {
29825 (char *) "self",(char *) "text",(char *) "pt", NULL
29828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29830 if (!SWIG_IsOK(res1
)) {
29831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29833 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29835 arg2
= wxString_in_helper(obj1
);
29836 if (arg2
== NULL
) SWIG_fail
;
29841 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29845 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
29846 wxPyEndAllowThreads(__tstate
);
29847 if (PyErr_Occurred()) SWIG_fail
;
29849 resultobj
= SWIG_Py_Void();
29864 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29865 PyObject
*resultobj
= 0;
29866 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29867 wxString
*arg2
= 0 ;
29873 bool temp2
= false ;
29880 PyObject
* obj0
= 0 ;
29881 PyObject
* obj1
= 0 ;
29882 PyObject
* obj2
= 0 ;
29883 PyObject
* obj3
= 0 ;
29884 PyObject
* obj4
= 0 ;
29885 char * kwnames
[] = {
29886 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
29889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29891 if (!SWIG_IsOK(res1
)) {
29892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29894 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29896 arg2
= wxString_in_helper(obj1
);
29897 if (arg2
== NULL
) SWIG_fail
;
29900 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29901 if (!SWIG_IsOK(ecode3
)) {
29902 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
29904 arg3
= static_cast< int >(val3
);
29905 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29906 if (!SWIG_IsOK(ecode4
)) {
29907 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
29909 arg4
= static_cast< int >(val4
);
29910 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29911 if (!SWIG_IsOK(ecode5
)) {
29912 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
29914 arg5
= static_cast< double >(val5
);
29916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29917 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29918 wxPyEndAllowThreads(__tstate
);
29919 if (PyErr_Occurred()) SWIG_fail
;
29921 resultobj
= SWIG_Py_Void();
29936 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29937 PyObject
*resultobj
= 0;
29938 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29939 wxString
*arg2
= 0 ;
29940 wxPoint
*arg3
= 0 ;
29944 bool temp2
= false ;
29948 PyObject
* obj0
= 0 ;
29949 PyObject
* obj1
= 0 ;
29950 PyObject
* obj2
= 0 ;
29951 PyObject
* obj3
= 0 ;
29952 char * kwnames
[] = {
29953 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
29956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29958 if (!SWIG_IsOK(res1
)) {
29959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29961 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29963 arg2
= wxString_in_helper(obj1
);
29964 if (arg2
== NULL
) SWIG_fail
;
29969 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29971 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29972 if (!SWIG_IsOK(ecode4
)) {
29973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
29975 arg4
= static_cast< double >(val4
);
29977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29978 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
29979 wxPyEndAllowThreads(__tstate
);
29980 if (PyErr_Occurred()) SWIG_fail
;
29982 resultobj
= SWIG_Py_Void();
29997 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29998 PyObject
*resultobj
= 0;
29999 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30001 wxPoint
*arg3
= (wxPoint
*) 0 ;
30002 int arg4
= (int) 0 ;
30003 int arg5
= (int) 0 ;
30010 PyObject
* obj0
= 0 ;
30011 PyObject
* obj1
= 0 ;
30012 PyObject
* obj2
= 0 ;
30013 PyObject
* obj3
= 0 ;
30014 char * kwnames
[] = {
30015 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
30018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30020 if (!SWIG_IsOK(res1
)) {
30021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30023 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30025 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30026 if (arg3
== NULL
) SWIG_fail
;
30029 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30030 if (!SWIG_IsOK(ecode4
)) {
30031 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
30033 arg4
= static_cast< int >(val4
);
30036 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30037 if (!SWIG_IsOK(ecode5
)) {
30038 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
30040 arg5
= static_cast< int >(val5
);
30043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30044 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
30045 wxPyEndAllowThreads(__tstate
);
30046 if (PyErr_Occurred()) SWIG_fail
;
30048 resultobj
= SWIG_Py_Void();
30050 if (arg3
) delete [] arg3
;
30055 if (arg3
) delete [] arg3
;
30061 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30062 PyObject
*resultobj
= 0;
30063 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30065 wxPoint
*arg3
= (wxPoint
*) 0 ;
30066 int arg4
= (int) 0 ;
30067 int arg5
= (int) 0 ;
30068 int arg6
= (int) wxODDEVEN_RULE
;
30077 PyObject
* obj0
= 0 ;
30078 PyObject
* obj1
= 0 ;
30079 PyObject
* obj2
= 0 ;
30080 PyObject
* obj3
= 0 ;
30081 PyObject
* obj4
= 0 ;
30082 char * kwnames
[] = {
30083 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
30086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30088 if (!SWIG_IsOK(res1
)) {
30089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30091 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30093 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30094 if (arg3
== NULL
) SWIG_fail
;
30097 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30098 if (!SWIG_IsOK(ecode4
)) {
30099 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
30101 arg4
= static_cast< int >(val4
);
30104 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30105 if (!SWIG_IsOK(ecode5
)) {
30106 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
30108 arg5
= static_cast< int >(val5
);
30111 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
30112 if (!SWIG_IsOK(ecode6
)) {
30113 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
30115 arg6
= static_cast< int >(val6
);
30118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30119 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
30120 wxPyEndAllowThreads(__tstate
);
30121 if (PyErr_Occurred()) SWIG_fail
;
30123 resultobj
= SWIG_Py_Void();
30125 if (arg3
) delete [] arg3
;
30130 if (arg3
) delete [] arg3
;
30136 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30137 PyObject
*resultobj
= 0;
30138 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30139 wxString
*arg2
= 0 ;
30141 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30142 int arg5
= (int) -1 ;
30145 bool temp2
= false ;
30151 PyObject
* obj0
= 0 ;
30152 PyObject
* obj1
= 0 ;
30153 PyObject
* obj2
= 0 ;
30154 PyObject
* obj3
= 0 ;
30155 PyObject
* obj4
= 0 ;
30156 char * kwnames
[] = {
30157 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30162 if (!SWIG_IsOK(res1
)) {
30163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30165 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30167 arg2
= wxString_in_helper(obj1
);
30168 if (arg2
== NULL
) SWIG_fail
;
30173 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
30176 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30177 if (!SWIG_IsOK(ecode4
)) {
30178 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
30180 arg4
= static_cast< int >(val4
);
30183 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30184 if (!SWIG_IsOK(ecode5
)) {
30185 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
30187 arg5
= static_cast< int >(val5
);
30190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30191 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
30192 wxPyEndAllowThreads(__tstate
);
30193 if (PyErr_Occurred()) SWIG_fail
;
30195 resultobj
= SWIG_Py_Void();
30210 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30211 PyObject
*resultobj
= 0;
30212 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30213 wxString
*arg2
= 0 ;
30214 wxBitmap
*arg3
= 0 ;
30216 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30217 int arg6
= (int) -1 ;
30220 bool temp2
= false ;
30228 PyObject
* obj0
= 0 ;
30229 PyObject
* obj1
= 0 ;
30230 PyObject
* obj2
= 0 ;
30231 PyObject
* obj3
= 0 ;
30232 PyObject
* obj4
= 0 ;
30233 PyObject
* obj5
= 0 ;
30234 char * kwnames
[] = {
30235 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30240 if (!SWIG_IsOK(res1
)) {
30241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30243 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30245 arg2
= wxString_in_helper(obj1
);
30246 if (arg2
== NULL
) SWIG_fail
;
30249 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30250 if (!SWIG_IsOK(res3
)) {
30251 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30256 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30259 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30262 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30263 if (!SWIG_IsOK(ecode5
)) {
30264 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
30266 arg5
= static_cast< int >(val5
);
30269 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30270 if (!SWIG_IsOK(ecode6
)) {
30271 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
30273 arg6
= static_cast< int >(val6
);
30276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30277 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
30278 wxPyEndAllowThreads(__tstate
);
30279 if (PyErr_Occurred()) SWIG_fail
;
30281 resultobj
= SWIG_Py_Void();
30296 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30297 PyObject
*resultobj
= 0;
30298 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30300 wxPoint
*arg3
= (wxPoint
*) 0 ;
30303 PyObject
* obj0
= 0 ;
30304 PyObject
* obj1
= 0 ;
30305 char * kwnames
[] = {
30306 (char *) "self",(char *) "points", NULL
30309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30311 if (!SWIG_IsOK(res1
)) {
30312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30314 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30316 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30317 if (arg3
== NULL
) SWIG_fail
;
30320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30321 (arg1
)->DrawSpline(arg2
,arg3
);
30322 wxPyEndAllowThreads(__tstate
);
30323 if (PyErr_Occurred()) SWIG_fail
;
30325 resultobj
= SWIG_Py_Void();
30327 if (arg3
) delete [] arg3
;
30332 if (arg3
) delete [] arg3
;
30338 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30339 PyObject
*resultobj
= 0;
30340 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30343 PyObject
*swig_obj
[1] ;
30345 if (!args
) SWIG_fail
;
30346 swig_obj
[0] = args
;
30347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30348 if (!SWIG_IsOK(res1
)) {
30349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30351 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30355 wxPyEndAllowThreads(__tstate
);
30356 if (PyErr_Occurred()) SWIG_fail
;
30358 resultobj
= SWIG_Py_Void();
30365 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30366 PyObject
*resultobj
= 0;
30367 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30373 PyObject
* obj0
= 0 ;
30374 PyObject
* obj1
= 0 ;
30375 char * kwnames
[] = {
30376 (char *) "self",(char *) "font", NULL
30379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30381 if (!SWIG_IsOK(res1
)) {
30382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30384 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30385 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30386 if (!SWIG_IsOK(res2
)) {
30387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30392 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30395 (arg1
)->SetFont((wxFont
const &)*arg2
);
30396 wxPyEndAllowThreads(__tstate
);
30397 if (PyErr_Occurred()) SWIG_fail
;
30399 resultobj
= SWIG_Py_Void();
30406 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30407 PyObject
*resultobj
= 0;
30408 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30414 PyObject
* obj0
= 0 ;
30415 PyObject
* obj1
= 0 ;
30416 char * kwnames
[] = {
30417 (char *) "self",(char *) "pen", NULL
30420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30422 if (!SWIG_IsOK(res1
)) {
30423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30425 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30426 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30427 if (!SWIG_IsOK(res2
)) {
30428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
30431 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
30433 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30436 (arg1
)->SetPen((wxPen
const &)*arg2
);
30437 wxPyEndAllowThreads(__tstate
);
30438 if (PyErr_Occurred()) SWIG_fail
;
30440 resultobj
= SWIG_Py_Void();
30447 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30448 PyObject
*resultobj
= 0;
30449 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30450 wxBrush
*arg2
= 0 ;
30455 PyObject
* obj0
= 0 ;
30456 PyObject
* obj1
= 0 ;
30457 char * kwnames
[] = {
30458 (char *) "self",(char *) "brush", NULL
30461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30463 if (!SWIG_IsOK(res1
)) {
30464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30466 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30467 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30468 if (!SWIG_IsOK(res2
)) {
30469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30474 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30477 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
30478 wxPyEndAllowThreads(__tstate
);
30479 if (PyErr_Occurred()) SWIG_fail
;
30481 resultobj
= SWIG_Py_Void();
30488 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30489 PyObject
*resultobj
= 0;
30490 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30491 wxBrush
*arg2
= 0 ;
30496 PyObject
* obj0
= 0 ;
30497 PyObject
* obj1
= 0 ;
30498 char * kwnames
[] = {
30499 (char *) "self",(char *) "brush", NULL
30502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30504 if (!SWIG_IsOK(res1
)) {
30505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30507 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30508 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30509 if (!SWIG_IsOK(res2
)) {
30510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
30513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
30515 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30518 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
30519 wxPyEndAllowThreads(__tstate
);
30520 if (PyErr_Occurred()) SWIG_fail
;
30522 resultobj
= SWIG_Py_Void();
30529 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30530 PyObject
*resultobj
= 0;
30531 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30537 PyObject
* obj0
= 0 ;
30538 PyObject
* obj1
= 0 ;
30539 char * kwnames
[] = {
30540 (char *) "self",(char *) "mode", NULL
30543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30545 if (!SWIG_IsOK(res1
)) {
30546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30548 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30550 if (!SWIG_IsOK(ecode2
)) {
30551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
30553 arg2
= static_cast< int >(val2
);
30555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30556 (arg1
)->SetBackgroundMode(arg2
);
30557 wxPyEndAllowThreads(__tstate
);
30558 if (PyErr_Occurred()) SWIG_fail
;
30560 resultobj
= SWIG_Py_Void();
30567 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30568 PyObject
*resultobj
= 0;
30569 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30570 wxPalette
*arg2
= 0 ;
30575 PyObject
* obj0
= 0 ;
30576 PyObject
* obj1
= 0 ;
30577 char * kwnames
[] = {
30578 (char *) "self",(char *) "palette", NULL
30581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30583 if (!SWIG_IsOK(res1
)) {
30584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30586 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
30588 if (!SWIG_IsOK(res2
)) {
30589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
30592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
30594 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
30596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30597 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
30598 wxPyEndAllowThreads(__tstate
);
30599 if (PyErr_Occurred()) SWIG_fail
;
30601 resultobj
= SWIG_Py_Void();
30608 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30609 PyObject
*resultobj
= 0;
30610 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30611 wxColour
*arg2
= 0 ;
30615 PyObject
* obj0
= 0 ;
30616 PyObject
* obj1
= 0 ;
30617 char * kwnames
[] = {
30618 (char *) "self",(char *) "colour", NULL
30621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30623 if (!SWIG_IsOK(res1
)) {
30624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30626 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30629 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30633 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
30634 wxPyEndAllowThreads(__tstate
);
30635 if (PyErr_Occurred()) SWIG_fail
;
30637 resultobj
= SWIG_Py_Void();
30644 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30645 PyObject
*resultobj
= 0;
30646 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30647 wxColour
*arg2
= 0 ;
30651 PyObject
* obj0
= 0 ;
30652 PyObject
* obj1
= 0 ;
30653 char * kwnames
[] = {
30654 (char *) "self",(char *) "colour", NULL
30657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30659 if (!SWIG_IsOK(res1
)) {
30660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30662 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30665 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30669 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
30670 wxPyEndAllowThreads(__tstate
);
30671 if (PyErr_Occurred()) SWIG_fail
;
30673 resultobj
= SWIG_Py_Void();
30680 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30681 PyObject
*resultobj
= 0;
30682 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30688 PyObject
* obj0
= 0 ;
30689 PyObject
* obj1
= 0 ;
30690 char * kwnames
[] = {
30691 (char *) "self",(char *) "function", NULL
30694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30696 if (!SWIG_IsOK(res1
)) {
30697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30699 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30701 if (!SWIG_IsOK(ecode2
)) {
30702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
30704 arg2
= static_cast< int >(val2
);
30706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30707 (arg1
)->SetLogicalFunction(arg2
);
30708 wxPyEndAllowThreads(__tstate
);
30709 if (PyErr_Occurred()) SWIG_fail
;
30711 resultobj
= SWIG_Py_Void();
30718 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30721 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
30722 return SWIG_Py_Void();
30725 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30726 return SWIG_Python_InitShadowInstance(args
);
30729 static PyMethodDef SwigMethods
[] = {
30730 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
30731 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
30732 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
30733 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
30734 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
30735 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30736 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30737 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30738 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
30739 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
30740 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
30741 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
30742 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
30743 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
30744 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30745 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30746 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30747 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
30749 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30750 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30751 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30752 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
30753 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
30754 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
30755 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30756 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
30757 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30758 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30759 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
30760 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
30761 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
30762 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
30763 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30764 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
30765 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
30766 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
30767 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
30768 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
30769 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
30770 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
30771 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30772 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30773 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30774 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30775 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30776 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
30778 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30779 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30780 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30781 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
30782 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
30783 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30784 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30785 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
30786 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30787 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30788 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30789 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
30790 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
30791 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
30792 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
30793 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
30794 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
30795 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30796 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
30797 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
30798 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30799 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
30800 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30801 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30802 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30803 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30804 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30805 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
30806 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
30807 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
30808 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
30809 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
30810 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
30811 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
30812 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30813 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30814 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30815 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30816 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30817 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
30818 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30819 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30820 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30822 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30823 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30824 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30825 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
30826 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
30827 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30829 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30830 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
30831 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
30832 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
30833 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
30834 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
30835 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
30836 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
30837 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
30838 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
30839 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
30840 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
30841 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
30842 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
30843 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
30844 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
30845 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30846 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
30847 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
30848 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30849 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30850 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30851 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30852 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
30854 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
30855 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
30856 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
30857 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
30858 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
30859 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
30860 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
30861 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
30862 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
30863 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
30864 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
30865 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30866 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
30867 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
30868 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30870 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30871 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30872 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30873 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
30874 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
30875 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
30876 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
30878 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
30879 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
30880 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30881 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
30882 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
30883 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30884 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30886 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
30887 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
30888 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
30889 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
30890 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30892 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30893 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30894 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
30895 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
30896 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30897 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
30898 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
30899 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
30901 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
30903 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
30904 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
30905 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
30906 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30907 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30908 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
30909 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30912 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
30913 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
30914 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
30916 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30917 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30918 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
30919 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
30920 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
30921 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30923 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30925 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
30926 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
30927 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30929 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30930 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30931 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30932 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
30933 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30934 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30935 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30936 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
30937 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30938 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30939 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
30947 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30948 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30949 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
30950 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
30951 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
30953 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
30954 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
30955 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
30956 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
30957 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
30958 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
30959 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
30960 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
30961 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
30962 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
30963 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
30964 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
30965 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
30966 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
30967 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
30968 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
30969 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
30971 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
30972 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
30973 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
30974 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
30975 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
30976 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
30977 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30978 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30979 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30982 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30983 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30985 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
30986 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
30987 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
30989 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
30990 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
30991 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
30992 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
30993 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
30994 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
30995 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
30996 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
30997 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30998 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
30999 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
31000 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
31001 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31002 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31003 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
31004 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
31005 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
31006 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31007 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
31009 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31013 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
31015 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
31020 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
31021 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
31023 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31026 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31027 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
31029 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31030 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31031 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
31032 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
31033 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
31034 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
31035 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
31036 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
31037 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
31038 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
31039 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
31040 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
31041 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
31042 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
31043 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
31044 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31045 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31047 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31049 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31052 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31055 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
31056 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
31057 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
31058 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31059 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
31060 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
31061 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31062 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
31063 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
31064 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
31065 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
31066 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31069 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
31070 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
31071 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31072 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
31073 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
31074 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
31075 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
31076 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
31077 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
31078 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
31079 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
31080 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
31081 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31082 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
31083 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
31086 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
31087 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
31088 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
31089 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
31090 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
31091 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
31092 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
31093 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31094 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31095 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31096 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31098 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31099 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31100 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31101 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
31102 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
31103 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
31104 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
31106 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31107 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
31110 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
31111 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
31112 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
31113 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
31114 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
31115 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31116 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
31121 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
31122 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
31123 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31126 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31132 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31133 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31136 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31137 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31143 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31146 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31160 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31164 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31166 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
31172 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31173 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
31174 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
31175 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
31176 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31178 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
31183 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
31184 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
31185 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
31186 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
31187 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
31192 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
31193 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
31194 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
31195 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
31204 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
31205 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
31206 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
31207 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
31208 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
31209 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
31210 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
31211 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
31212 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
31213 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
31214 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
31215 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31216 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
31218 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
31220 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
31222 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
31224 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
31225 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
31228 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
31229 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
31233 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
31235 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
31238 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
31239 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
31240 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
31241 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
31242 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
31243 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
31250 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
31251 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31252 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
31254 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
31255 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
31256 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
31257 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
31258 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
31259 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
31260 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
31262 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
31263 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
31264 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31266 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
31267 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
31268 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
31269 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
31271 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
31272 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31273 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
31274 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
31275 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31276 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
31277 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
31278 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31279 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
31280 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
31281 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
31283 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31284 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31285 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
31286 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
31287 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
31288 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31289 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
31290 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
31291 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31292 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
31293 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
31294 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
31295 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
31296 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
31297 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
31299 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
31300 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
31301 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
31303 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
31304 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
31306 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31308 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31309 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31310 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31311 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31312 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
31314 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31315 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
31316 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
31318 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
31319 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
31320 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
31321 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
31322 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
31323 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
31329 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
31330 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
31331 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
31332 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
31333 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
31334 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31336 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
31338 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31339 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
31342 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
31346 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
31347 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
31348 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
31353 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
31354 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
31355 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
31356 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
31357 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
31358 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
31359 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
31360 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
31361 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
31362 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
31363 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
31364 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
31373 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
31374 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
31376 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
31377 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
31378 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
31379 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
31380 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
31381 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
31383 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
31385 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
31386 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
31387 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
31388 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
31399 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
31400 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
31401 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
31403 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
31404 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
31405 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
31406 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
31407 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
31408 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
31409 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
31410 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
31459 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
31469 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
31470 { NULL
, NULL
, 0, NULL
}
31474 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31476 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
31477 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
31479 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
31480 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31482 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
31483 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
31485 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
31486 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
31488 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
31489 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
31491 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
31492 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
31494 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
31495 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
31497 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
31498 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
31500 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
31501 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
31503 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
31504 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
31506 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
31507 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
31509 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
31510 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
31512 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
31513 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
31515 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
31516 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
31518 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
31519 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
31521 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
31522 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
31524 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
31525 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
31527 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
31528 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31530 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
31531 return (void *)((wxDC
*) ((wxClientDC
*) x
));
31533 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
31534 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
31536 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
31537 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
31539 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
31540 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
31542 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
31543 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
31545 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
31546 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
31548 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
31549 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
31551 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
31552 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31554 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31555 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31557 static void *_p_wxPenTo_p_wxObject(void *x
) {
31558 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
31560 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
31561 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
31563 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31564 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31566 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31567 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31569 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31570 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31572 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31573 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31575 static void *_p_wxIconTo_p_wxObject(void *x
) {
31576 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
31578 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31579 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31581 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31582 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31584 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31585 return (void *)((wxObject
*) ((wxSizer
*) x
));
31587 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31588 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31590 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31591 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31593 static void *_p_wxEventTo_p_wxObject(void *x
) {
31594 return (void *)((wxObject
*) ((wxEvent
*) x
));
31596 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31597 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31599 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31600 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31602 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31603 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31605 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
31606 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
31608 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31609 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31611 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31612 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31614 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31615 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31617 static void *_p_wxDCTo_p_wxObject(void *x
) {
31618 return (void *)((wxObject
*) ((wxDC
*) x
));
31620 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31621 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31623 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31624 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31626 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31627 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31629 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31630 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31632 static void *_p_wxControlTo_p_wxObject(void *x
) {
31633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31635 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31636 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31638 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
31639 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
31641 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31642 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31644 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
31645 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
31647 static void *_p_wxRegionTo_p_wxObject(void *x
) {
31648 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
31650 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31651 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31653 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
31654 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
31656 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
31657 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
31659 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
31660 return (void *)((wxObject
*) ((wxEffects
*) x
));
31662 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31663 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31665 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31666 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31668 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
31669 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
31671 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31672 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31674 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31675 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31677 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31678 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31680 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31681 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31683 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31684 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31686 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31687 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31689 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31690 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31692 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31693 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31695 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31696 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31698 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31699 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31701 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31702 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31704 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31705 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31707 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31708 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31710 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31711 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31713 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31714 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31716 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31717 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31719 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31720 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31722 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31723 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31725 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31726 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31728 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31729 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31731 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31732 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31734 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31735 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31737 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31738 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31740 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31741 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31743 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31744 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31746 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
31747 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
31749 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
31750 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31752 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
31753 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
31755 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
31756 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
31758 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
31759 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
31761 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31762 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31764 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31765 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31767 static void *_p_wxImageTo_p_wxObject(void *x
) {
31768 return (void *)((wxObject
*) ((wxImage
*) x
));
31770 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31771 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31773 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
31774 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
31776 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
31777 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
31779 static void *_p_wxImageListTo_p_wxObject(void *x
) {
31780 return (void *)((wxObject
*) ((wxImageList
*) x
));
31782 static void *_p_wxCursorTo_p_wxObject(void *x
) {
31783 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
31785 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
31786 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
31788 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
31789 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
31791 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31792 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31794 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31795 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31797 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31798 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31800 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31801 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31803 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31804 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31806 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31809 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
31810 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
31812 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31813 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31815 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
31816 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
31818 static void *_p_wxMaskTo_p_wxObject(void *x
) {
31819 return (void *)((wxObject
*) ((wxMask
*) x
));
31821 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31822 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31824 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31825 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31827 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31828 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31830 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31831 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31833 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31834 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31836 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31837 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31839 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31840 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31842 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31843 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31845 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31846 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31848 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31849 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31851 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31852 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31854 static void *_p_wxFontTo_p_wxObject(void *x
) {
31855 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
31857 static void *_p_wxBrushTo_p_wxObject(void *x
) {
31858 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
31860 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
31861 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
31863 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31866 static void *_p_wxColourTo_p_wxObject(void *x
) {
31867 return (void *)((wxObject
*) ((wxColour
*) x
));
31869 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31872 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31873 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31875 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31876 return (void *)((wxWindow
*) ((wxControl
*) x
));
31878 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31879 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31881 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31882 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31884 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
31885 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
31887 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
31888 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
31890 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
31891 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
31892 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
31893 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};
31894 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
31895 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
31896 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
31897 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
31898 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
31899 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
31900 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
31901 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
31902 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
31903 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
31904 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
31905 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
31906 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
31907 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
31908 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
31909 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
31910 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
31911 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
31912 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
31913 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
31914 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
31915 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
31916 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
31917 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
31918 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
31919 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
31920 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
31921 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
31922 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
31923 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
31924 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
31925 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
31926 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
31927 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
31928 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
31929 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
31930 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
31931 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
31932 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
31933 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
31934 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
31935 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
31936 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
31937 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
31938 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
31939 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
31940 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
31941 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
31942 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
31943 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
31944 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
31945 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
31946 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
31947 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
31948 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
31949 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
31950 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
31951 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
31952 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
31953 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
31954 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
31955 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
31956 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
31957 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
31958 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
31959 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
31960 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
31961 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
31962 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
31963 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
31964 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
31965 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
31966 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
31967 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
31968 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
31969 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
31970 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
31971 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
31972 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
31973 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
31974 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
31975 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
31976 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
31977 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
31978 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
31979 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
31980 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
31981 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
31982 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
31983 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
31984 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
31985 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
31986 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
31987 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
31988 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
31989 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
31990 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
31991 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
31992 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
31993 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
31994 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
31995 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
31996 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
31997 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
31998 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
31999 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32000 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32001 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32002 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32003 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32004 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32005 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32006 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
32007 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32008 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32009 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32010 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32011 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32012 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32013 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
32014 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
32015 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32016 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
32017 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
32018 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
32019 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32020 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
32021 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32022 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
32023 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
32024 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
32025 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
32026 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32027 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32028 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
32029 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
32030 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
32031 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
32032 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32033 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
32034 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
32035 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32036 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32037 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
32039 static swig_type_info
*swig_type_initial
[] = {
32043 &_swigt__p_form_ops_t
,
32045 &_swigt__p_unsigned_char
,
32046 &_swigt__p_unsigned_int
,
32047 &_swigt__p_unsigned_long
,
32048 &_swigt__p_wxANIHandler
,
32049 &_swigt__p_wxAcceleratorTable
,
32050 &_swigt__p_wxActivateEvent
,
32051 &_swigt__p_wxAlphaPixelData
,
32052 &_swigt__p_wxAlphaPixelData_Accessor
,
32053 &_swigt__p_wxBMPHandler
,
32054 &_swigt__p_wxBitmap
,
32055 &_swigt__p_wxBoxSizer
,
32056 &_swigt__p_wxBrush
,
32057 &_swigt__p_wxBrushList
,
32058 &_swigt__p_wxBufferedDC
,
32059 &_swigt__p_wxBufferedPaintDC
,
32060 &_swigt__p_wxCURHandler
,
32062 &_swigt__p_wxChildFocusEvent
,
32063 &_swigt__p_wxClientDC
,
32064 &_swigt__p_wxClipboardTextEvent
,
32065 &_swigt__p_wxCloseEvent
,
32066 &_swigt__p_wxColour
,
32067 &_swigt__p_wxColourDatabase
,
32068 &_swigt__p_wxCommandEvent
,
32069 &_swigt__p_wxContextMenuEvent
,
32070 &_swigt__p_wxControl
,
32071 &_swigt__p_wxControlWithItems
,
32072 &_swigt__p_wxCursor
,
32075 &_swigt__p_wxDateEvent
,
32076 &_swigt__p_wxDisplayChangedEvent
,
32077 &_swigt__p_wxDropFilesEvent
,
32078 &_swigt__p_wxDuplexMode
,
32079 &_swigt__p_wxEffects
,
32080 &_swigt__p_wxEncodingConverter
,
32081 &_swigt__p_wxEraseEvent
,
32082 &_swigt__p_wxEvent
,
32083 &_swigt__p_wxEvtHandler
,
32084 &_swigt__p_wxFSFile
,
32085 &_swigt__p_wxFileSystem
,
32086 &_swigt__p_wxFlexGridSizer
,
32087 &_swigt__p_wxFocusEvent
,
32089 &_swigt__p_wxFontList
,
32090 &_swigt__p_wxFontMapper
,
32091 &_swigt__p_wxGBSizerItem
,
32092 &_swigt__p_wxGDIObjListBase
,
32093 &_swigt__p_wxGDIObject
,
32094 &_swigt__p_wxGIFHandler
,
32095 &_swigt__p_wxGridBagSizer
,
32096 &_swigt__p_wxGridSizer
,
32097 &_swigt__p_wxICOHandler
,
32099 &_swigt__p_wxIconBundle
,
32100 &_swigt__p_wxIconLocation
,
32101 &_swigt__p_wxIconizeEvent
,
32102 &_swigt__p_wxIdleEvent
,
32103 &_swigt__p_wxImage
,
32104 &_swigt__p_wxImageHandler
,
32105 &_swigt__p_wxImageList
,
32106 &_swigt__p_wxIndividualLayoutConstraint
,
32107 &_swigt__p_wxInitDialogEvent
,
32108 &_swigt__p_wxJPEGHandler
,
32109 &_swigt__p_wxKeyEvent
,
32110 &_swigt__p_wxLanguageInfo
,
32111 &_swigt__p_wxLayoutConstraints
,
32112 &_swigt__p_wxLocale
,
32114 &_swigt__p_wxMaximizeEvent
,
32115 &_swigt__p_wxMemoryDC
,
32117 &_swigt__p_wxMenuBar
,
32118 &_swigt__p_wxMenuEvent
,
32119 &_swigt__p_wxMenuItem
,
32120 &_swigt__p_wxMetaFile
,
32121 &_swigt__p_wxMetaFileDC
,
32122 &_swigt__p_wxMirrorDC
,
32123 &_swigt__p_wxMouseCaptureChangedEvent
,
32124 &_swigt__p_wxMouseCaptureLostEvent
,
32125 &_swigt__p_wxMouseEvent
,
32126 &_swigt__p_wxMoveEvent
,
32127 &_swigt__p_wxNativeEncodingInfo
,
32128 &_swigt__p_wxNativeFontInfo
,
32129 &_swigt__p_wxNativePixelData
,
32130 &_swigt__p_wxNativePixelData_Accessor
,
32131 &_swigt__p_wxNavigationKeyEvent
,
32132 &_swigt__p_wxNcPaintEvent
,
32133 &_swigt__p_wxNotifyEvent
,
32134 &_swigt__p_wxObject
,
32135 &_swigt__p_wxPCXHandler
,
32136 &_swigt__p_wxPNGHandler
,
32137 &_swigt__p_wxPNMHandler
,
32138 &_swigt__p_wxPaintDC
,
32139 &_swigt__p_wxPaintEvent
,
32140 &_swigt__p_wxPalette
,
32141 &_swigt__p_wxPaletteChangedEvent
,
32142 &_swigt__p_wxPaperSize
,
32144 &_swigt__p_wxPenList
,
32145 &_swigt__p_wxPixelDataBase
,
32146 &_swigt__p_wxPoint
,
32147 &_swigt__p_wxPostScriptDC
,
32148 &_swigt__p_wxPrintData
,
32149 &_swigt__p_wxPrinterDC
,
32150 &_swigt__p_wxPseudoDC
,
32151 &_swigt__p_wxPyApp
,
32152 &_swigt__p_wxPyCommandEvent
,
32153 &_swigt__p_wxPyEvent
,
32154 &_swigt__p_wxPyFontEnumerator
,
32155 &_swigt__p_wxPyImageHandler
,
32156 &_swigt__p_wxPyLocale
,
32157 &_swigt__p_wxPySizer
,
32158 &_swigt__p_wxPyValidator
,
32159 &_swigt__p_wxQueryNewPaletteEvent
,
32161 &_swigt__p_wxRegion
,
32162 &_swigt__p_wxRegionIterator
,
32163 &_swigt__p_wxRendererNative
,
32164 &_swigt__p_wxRendererVersion
,
32165 &_swigt__p_wxScreenDC
,
32166 &_swigt__p_wxScrollEvent
,
32167 &_swigt__p_wxScrollWinEvent
,
32168 &_swigt__p_wxSetCursorEvent
,
32169 &_swigt__p_wxShowEvent
,
32171 &_swigt__p_wxSizeEvent
,
32172 &_swigt__p_wxSizer
,
32173 &_swigt__p_wxSizerItem
,
32174 &_swigt__p_wxSplitterRenderParams
,
32175 &_swigt__p_wxStaticBoxSizer
,
32176 &_swigt__p_wxStdDialogButtonSizer
,
32177 &_swigt__p_wxStockGDI
,
32178 &_swigt__p_wxString
,
32179 &_swigt__p_wxSysColourChangedEvent
,
32180 &_swigt__p_wxTIFFHandler
,
32181 &_swigt__p_wxUpdateUIEvent
,
32182 &_swigt__p_wxValidator
,
32183 &_swigt__p_wxWindow
,
32184 &_swigt__p_wxWindowCreateEvent
,
32185 &_swigt__p_wxWindowDC
,
32186 &_swigt__p_wxWindowDestroyEvent
,
32187 &_swigt__p_wxXPMHandler
,
32190 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
32191 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32192 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
32193 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32194 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32195 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32196 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32197 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32198 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
32199 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32200 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32201 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
32202 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
32203 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}};
32204 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
32205 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
32206 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
32207 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32208 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
32209 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
32210 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}};
32211 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
32212 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32213 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
32214 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
32215 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32216 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
32217 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
32218 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}};
32219 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}};
32220 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32221 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32222 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
32223 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32224 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
32225 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
32226 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}};
32227 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
32228 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}};
32229 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
32230 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
32231 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
32232 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
32233 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
32234 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
32235 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32236 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32237 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32238 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32239 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32240 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32241 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32242 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32243 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32244 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32245 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32246 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32247 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
32248 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32249 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32250 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32251 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32252 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32253 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32254 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32255 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32256 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32257 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32258 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32259 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32260 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32261 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32262 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32263 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32264 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32265 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32266 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32267 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32268 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32269 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32270 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32271 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32272 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32273 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32274 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32275 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32276 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32277 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32278 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32279 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32280 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32281 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32282 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32283 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
32284 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32285 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32286 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32287 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32288 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32289 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
32290 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32291 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32292 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32293 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32294 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32295 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32296 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32297 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32298 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32299 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32300 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32301 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32302 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32303 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32304 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32305 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32306 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32307 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32308 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32309 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32310 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32311 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32312 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}};
32313 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
32314 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
32315 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32316 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
32317 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
32318 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}};
32319 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32320 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
32321 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32322 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
32323 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
32324 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
32325 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
32326 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32327 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32328 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
32329 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
32330 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
32331 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
32332 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32333 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
32334 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
32335 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32336 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}};
32337 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
32339 static swig_cast_info
*swig_cast_initial
[] = {
32343 _swigc__p_form_ops_t
,
32345 _swigc__p_unsigned_char
,
32346 _swigc__p_unsigned_int
,
32347 _swigc__p_unsigned_long
,
32348 _swigc__p_wxANIHandler
,
32349 _swigc__p_wxAcceleratorTable
,
32350 _swigc__p_wxActivateEvent
,
32351 _swigc__p_wxAlphaPixelData
,
32352 _swigc__p_wxAlphaPixelData_Accessor
,
32353 _swigc__p_wxBMPHandler
,
32354 _swigc__p_wxBitmap
,
32355 _swigc__p_wxBoxSizer
,
32357 _swigc__p_wxBrushList
,
32358 _swigc__p_wxBufferedDC
,
32359 _swigc__p_wxBufferedPaintDC
,
32360 _swigc__p_wxCURHandler
,
32362 _swigc__p_wxChildFocusEvent
,
32363 _swigc__p_wxClientDC
,
32364 _swigc__p_wxClipboardTextEvent
,
32365 _swigc__p_wxCloseEvent
,
32366 _swigc__p_wxColour
,
32367 _swigc__p_wxColourDatabase
,
32368 _swigc__p_wxCommandEvent
,
32369 _swigc__p_wxContextMenuEvent
,
32370 _swigc__p_wxControl
,
32371 _swigc__p_wxControlWithItems
,
32372 _swigc__p_wxCursor
,
32375 _swigc__p_wxDateEvent
,
32376 _swigc__p_wxDisplayChangedEvent
,
32377 _swigc__p_wxDropFilesEvent
,
32378 _swigc__p_wxDuplexMode
,
32379 _swigc__p_wxEffects
,
32380 _swigc__p_wxEncodingConverter
,
32381 _swigc__p_wxEraseEvent
,
32383 _swigc__p_wxEvtHandler
,
32384 _swigc__p_wxFSFile
,
32385 _swigc__p_wxFileSystem
,
32386 _swigc__p_wxFlexGridSizer
,
32387 _swigc__p_wxFocusEvent
,
32389 _swigc__p_wxFontList
,
32390 _swigc__p_wxFontMapper
,
32391 _swigc__p_wxGBSizerItem
,
32392 _swigc__p_wxGDIObjListBase
,
32393 _swigc__p_wxGDIObject
,
32394 _swigc__p_wxGIFHandler
,
32395 _swigc__p_wxGridBagSizer
,
32396 _swigc__p_wxGridSizer
,
32397 _swigc__p_wxICOHandler
,
32399 _swigc__p_wxIconBundle
,
32400 _swigc__p_wxIconLocation
,
32401 _swigc__p_wxIconizeEvent
,
32402 _swigc__p_wxIdleEvent
,
32404 _swigc__p_wxImageHandler
,
32405 _swigc__p_wxImageList
,
32406 _swigc__p_wxIndividualLayoutConstraint
,
32407 _swigc__p_wxInitDialogEvent
,
32408 _swigc__p_wxJPEGHandler
,
32409 _swigc__p_wxKeyEvent
,
32410 _swigc__p_wxLanguageInfo
,
32411 _swigc__p_wxLayoutConstraints
,
32412 _swigc__p_wxLocale
,
32414 _swigc__p_wxMaximizeEvent
,
32415 _swigc__p_wxMemoryDC
,
32417 _swigc__p_wxMenuBar
,
32418 _swigc__p_wxMenuEvent
,
32419 _swigc__p_wxMenuItem
,
32420 _swigc__p_wxMetaFile
,
32421 _swigc__p_wxMetaFileDC
,
32422 _swigc__p_wxMirrorDC
,
32423 _swigc__p_wxMouseCaptureChangedEvent
,
32424 _swigc__p_wxMouseCaptureLostEvent
,
32425 _swigc__p_wxMouseEvent
,
32426 _swigc__p_wxMoveEvent
,
32427 _swigc__p_wxNativeEncodingInfo
,
32428 _swigc__p_wxNativeFontInfo
,
32429 _swigc__p_wxNativePixelData
,
32430 _swigc__p_wxNativePixelData_Accessor
,
32431 _swigc__p_wxNavigationKeyEvent
,
32432 _swigc__p_wxNcPaintEvent
,
32433 _swigc__p_wxNotifyEvent
,
32434 _swigc__p_wxObject
,
32435 _swigc__p_wxPCXHandler
,
32436 _swigc__p_wxPNGHandler
,
32437 _swigc__p_wxPNMHandler
,
32438 _swigc__p_wxPaintDC
,
32439 _swigc__p_wxPaintEvent
,
32440 _swigc__p_wxPalette
,
32441 _swigc__p_wxPaletteChangedEvent
,
32442 _swigc__p_wxPaperSize
,
32444 _swigc__p_wxPenList
,
32445 _swigc__p_wxPixelDataBase
,
32447 _swigc__p_wxPostScriptDC
,
32448 _swigc__p_wxPrintData
,
32449 _swigc__p_wxPrinterDC
,
32450 _swigc__p_wxPseudoDC
,
32452 _swigc__p_wxPyCommandEvent
,
32453 _swigc__p_wxPyEvent
,
32454 _swigc__p_wxPyFontEnumerator
,
32455 _swigc__p_wxPyImageHandler
,
32456 _swigc__p_wxPyLocale
,
32457 _swigc__p_wxPySizer
,
32458 _swigc__p_wxPyValidator
,
32459 _swigc__p_wxQueryNewPaletteEvent
,
32461 _swigc__p_wxRegion
,
32462 _swigc__p_wxRegionIterator
,
32463 _swigc__p_wxRendererNative
,
32464 _swigc__p_wxRendererVersion
,
32465 _swigc__p_wxScreenDC
,
32466 _swigc__p_wxScrollEvent
,
32467 _swigc__p_wxScrollWinEvent
,
32468 _swigc__p_wxSetCursorEvent
,
32469 _swigc__p_wxShowEvent
,
32471 _swigc__p_wxSizeEvent
,
32473 _swigc__p_wxSizerItem
,
32474 _swigc__p_wxSplitterRenderParams
,
32475 _swigc__p_wxStaticBoxSizer
,
32476 _swigc__p_wxStdDialogButtonSizer
,
32477 _swigc__p_wxStockGDI
,
32478 _swigc__p_wxString
,
32479 _swigc__p_wxSysColourChangedEvent
,
32480 _swigc__p_wxTIFFHandler
,
32481 _swigc__p_wxUpdateUIEvent
,
32482 _swigc__p_wxValidator
,
32483 _swigc__p_wxWindow
,
32484 _swigc__p_wxWindowCreateEvent
,
32485 _swigc__p_wxWindowDC
,
32486 _swigc__p_wxWindowDestroyEvent
,
32487 _swigc__p_wxXPMHandler
,
32491 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32493 static swig_const_info swig_const_table
[] = {
32494 {0, 0, 0, 0.0, 0, 0}};
32499 /* -----------------------------------------------------------------------------
32500 * Type initialization:
32501 * This problem is tough by the requirement that no dynamic
32502 * memory is used. Also, since swig_type_info structures store pointers to
32503 * swig_cast_info structures and swig_cast_info structures store pointers back
32504 * to swig_type_info structures, we need some lookup code at initialization.
32505 * The idea is that swig generates all the structures that are needed.
32506 * The runtime then collects these partially filled structures.
32507 * The SWIG_InitializeModule function takes these initial arrays out of
32508 * swig_module, and does all the lookup, filling in the swig_module.types
32509 * array with the correct data and linking the correct swig_cast_info
32510 * structures together.
32512 * The generated swig_type_info structures are assigned staticly to an initial
32513 * array. We just loop though that array, and handle each type individually.
32514 * First we lookup if this type has been already loaded, and if so, use the
32515 * loaded structure instead of the generated one. Then we have to fill in the
32516 * cast linked list. The cast data is initially stored in something like a
32517 * two-dimensional array. Each row corresponds to a type (there are the same
32518 * number of rows as there are in the swig_type_initial array). Each entry in
32519 * a column is one of the swig_cast_info structures for that type.
32520 * The cast_initial array is actually an array of arrays, because each row has
32521 * a variable number of columns. So to actually build the cast linked list,
32522 * we find the array of casts associated with the type, and loop through it
32523 * adding the casts to the list. The one last trick we need to do is making
32524 * sure the type pointer in the swig_cast_info struct is correct.
32526 * First off, we lookup the cast->type name to see if it is already loaded.
32527 * There are three cases to handle:
32528 * 1) If the cast->type has already been loaded AND the type we are adding
32529 * casting info to has not been loaded (it is in this module), THEN we
32530 * replace the cast->type pointer with the type pointer that has already
32532 * 2) If BOTH types (the one we are adding casting info to, and the
32533 * cast->type) are loaded, THEN the cast info has already been loaded by
32534 * the previous module so we just ignore it.
32535 * 3) Finally, if cast->type has not already been loaded, then we add that
32536 * swig_cast_info to the linked list (because the cast->type) pointer will
32538 * ----------------------------------------------------------------------------- */
32548 #define SWIGRUNTIME_DEBUG
32552 SWIG_InitializeModule(void *clientdata
) {
32554 swig_module_info
*module_head
;
32555 static int init_run
= 0;
32557 clientdata
= clientdata
;
32559 if (init_run
) return;
32562 /* Initialize the swig_module */
32563 swig_module
.type_initial
= swig_type_initial
;
32564 swig_module
.cast_initial
= swig_cast_initial
;
32566 /* Try and load any already created modules */
32567 module_head
= SWIG_GetModule(clientdata
);
32569 swig_module
.next
= module_head
->next
;
32570 module_head
->next
= &swig_module
;
32572 /* This is the first module loaded */
32573 swig_module
.next
= &swig_module
;
32574 SWIG_SetModule(clientdata
, &swig_module
);
32577 /* Now work on filling in swig_module.types */
32578 #ifdef SWIGRUNTIME_DEBUG
32579 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
32581 for (i
= 0; i
< swig_module
.size
; ++i
) {
32582 swig_type_info
*type
= 0;
32583 swig_type_info
*ret
;
32584 swig_cast_info
*cast
;
32586 #ifdef SWIGRUNTIME_DEBUG
32587 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32590 /* if there is another module already loaded */
32591 if (swig_module
.next
!= &swig_module
) {
32592 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
32595 /* Overwrite clientdata field */
32596 #ifdef SWIGRUNTIME_DEBUG
32597 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
32599 if (swig_module
.type_initial
[i
]->clientdata
) {
32600 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
32601 #ifdef SWIGRUNTIME_DEBUG
32602 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
32606 type
= swig_module
.type_initial
[i
];
32609 /* Insert casting types */
32610 cast
= swig_module
.cast_initial
[i
];
32611 while (cast
->type
) {
32612 /* Don't need to add information already in the list */
32614 #ifdef SWIGRUNTIME_DEBUG
32615 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
32617 if (swig_module
.next
!= &swig_module
) {
32618 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
32619 #ifdef SWIGRUNTIME_DEBUG
32620 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
32624 if (type
== swig_module
.type_initial
[i
]) {
32625 #ifdef SWIGRUNTIME_DEBUG
32626 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
32631 /* Check for casting already in the list */
32632 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
32633 #ifdef SWIGRUNTIME_DEBUG
32634 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
32636 if (!ocast
) ret
= 0;
32641 #ifdef SWIGRUNTIME_DEBUG
32642 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
32645 type
->cast
->prev
= cast
;
32646 cast
->next
= type
->cast
;
32652 /* Set entry in modules->types array equal to the type */
32653 swig_module
.types
[i
] = type
;
32655 swig_module
.types
[i
] = 0;
32657 #ifdef SWIGRUNTIME_DEBUG
32658 printf("**** SWIG_InitializeModule: Cast List ******\n");
32659 for (i
= 0; i
< swig_module
.size
; ++i
) {
32661 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
32662 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32663 while (cast
->type
) {
32664 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
32668 printf("---- Total casts: %d\n",j
);
32670 printf("**** SWIG_InitializeModule: Cast List ******\n");
32674 /* This function will propagate the clientdata field of type to
32675 * any new swig_type_info structures that have been added into the list
32676 * of equivalent types. It is like calling
32677 * SWIG_TypeClientData(type, clientdata) a second time.
32680 SWIG_PropagateClientData(void) {
32682 swig_cast_info
*equiv
;
32683 static int init_run
= 0;
32685 if (init_run
) return;
32688 for (i
= 0; i
< swig_module
.size
; i
++) {
32689 if (swig_module
.types
[i
]->clientdata
) {
32690 equiv
= swig_module
.types
[i
]->cast
;
32692 if (!equiv
->converter
) {
32693 if (equiv
->type
&& !equiv
->type
->clientdata
)
32694 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
32696 equiv
= equiv
->next
;
32716 /* Python-specific SWIG API */
32717 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32718 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32719 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32721 /* -----------------------------------------------------------------------------
32722 * global variable support code.
32723 * ----------------------------------------------------------------------------- */
32725 typedef struct swig_globalvar
{
32726 char *name
; /* Name of global variable */
32727 PyObject
*(*get_attr
)(void); /* Return the current value */
32728 int (*set_attr
)(PyObject
*); /* Set the value */
32729 struct swig_globalvar
*next
;
32732 typedef struct swig_varlinkobject
{
32734 swig_globalvar
*vars
;
32735 } swig_varlinkobject
;
32737 SWIGINTERN PyObject
*
32738 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
32739 return PyString_FromString("<Swig global variables>");
32742 SWIGINTERN PyObject
*
32743 swig_varlink_str(swig_varlinkobject
*v
) {
32744 PyObject
*str
= PyString_FromString("(");
32745 swig_globalvar
*var
;
32746 for (var
= v
->vars
; var
; var
=var
->next
) {
32747 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
32748 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
32750 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
32755 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
32756 PyObject
*str
= swig_varlink_str(v
);
32757 fprintf(fp
,"Swig global variables ");
32758 fprintf(fp
,"%s\n", PyString_AsString(str
));
32764 swig_varlink_dealloc(swig_varlinkobject
*v
) {
32765 swig_globalvar
*var
= v
->vars
;
32767 swig_globalvar
*n
= var
->next
;
32774 SWIGINTERN PyObject
*
32775 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
32776 PyObject
*res
= NULL
;
32777 swig_globalvar
*var
= v
->vars
;
32779 if (strcmp(var
->name
,n
) == 0) {
32780 res
= (*var
->get_attr
)();
32785 if (res
== NULL
&& !PyErr_Occurred()) {
32786 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32792 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
32794 swig_globalvar
*var
= v
->vars
;
32796 if (strcmp(var
->name
,n
) == 0) {
32797 res
= (*var
->set_attr
)(p
);
32802 if (res
== 1 && !PyErr_Occurred()) {
32803 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32808 SWIGINTERN PyTypeObject
*
32809 swig_varlink_type(void) {
32810 static char varlink__doc__
[] = "Swig var link object";
32811 static PyTypeObject varlink_type
;
32812 static int type_init
= 0;
32814 const PyTypeObject tmp
32816 PyObject_HEAD_INIT(NULL
)
32817 0, /* Number of items in variable part (ob_size) */
32818 (char *)"swigvarlink", /* Type name (tp_name) */
32819 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
32820 0, /* Itemsize (tp_itemsize) */
32821 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
32822 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
32823 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
32824 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
32825 0, /* tp_compare */
32826 (reprfunc
) swig_varlink_repr
, /* tp_repr */
32827 0, /* tp_as_number */
32828 0, /* tp_as_sequence */
32829 0, /* tp_as_mapping */
32832 (reprfunc
)swig_varlink_str
, /* tp_str */
32833 0, /* tp_getattro */
32834 0, /* tp_setattro */
32835 0, /* tp_as_buffer */
32837 varlink__doc__
, /* tp_doc */
32838 0, /* tp_traverse */
32840 0, /* tp_richcompare */
32841 0, /* tp_weaklistoffset */
32842 #if PY_VERSION_HEX >= 0x02020000
32843 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
32845 #if PY_VERSION_HEX >= 0x02030000
32848 #ifdef COUNT_ALLOCS
32849 0,0,0,0 /* tp_alloc -> tp_next */
32852 varlink_type
= tmp
;
32853 varlink_type
.ob_type
= &PyType_Type
;
32856 return &varlink_type
;
32859 /* Create a variable linking object for use later */
32860 SWIGINTERN PyObject
*
32861 SWIG_Python_newvarlink(void) {
32862 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
32866 return ((PyObject
*) result
);
32870 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
32871 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
32872 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
32874 size_t size
= strlen(name
)+1;
32875 gv
->name
= (char *)malloc(size
);
32877 strncpy(gv
->name
,name
,size
);
32878 gv
->get_attr
= get_attr
;
32879 gv
->set_attr
= set_attr
;
32880 gv
->next
= v
->vars
;
32886 SWIGINTERN PyObject
*
32888 static PyObject
*_SWIG_globals
= 0;
32889 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
32890 return _SWIG_globals
;
32893 /* -----------------------------------------------------------------------------
32894 * constants/methods manipulation
32895 * ----------------------------------------------------------------------------- */
32897 /* Install Constants */
32899 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
32902 for (i
= 0; constants
[i
].type
; ++i
) {
32903 switch(constants
[i
].type
) {
32904 case SWIG_PY_POINTER
:
32905 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
32907 case SWIG_PY_BINARY
:
32908 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
32915 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
32921 /* -----------------------------------------------------------------------------*/
32922 /* Fix SwigMethods to carry the callback ptrs when needed */
32923 /* -----------------------------------------------------------------------------*/
32926 SWIG_Python_FixMethods(PyMethodDef
*methods
,
32927 swig_const_info
*const_table
,
32928 swig_type_info
**types
,
32929 swig_type_info
**types_initial
) {
32931 for (i
= 0; methods
[i
].ml_name
; ++i
) {
32932 const char *c
= methods
[i
].ml_doc
;
32933 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
32935 swig_const_info
*ci
= 0;
32936 const char *name
= c
+ 10;
32937 for (j
= 0; const_table
[j
].type
; ++j
) {
32938 if (strncmp(const_table
[j
].name
, name
,
32939 strlen(const_table
[j
].name
)) == 0) {
32940 ci
= &(const_table
[j
]);
32945 size_t shift
= (ci
->ptype
) - types
;
32946 swig_type_info
*ty
= types_initial
[shift
];
32947 size_t ldoc
= (c
- methods
[i
].ml_doc
);
32948 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
32949 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
32952 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
32954 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
32956 strncpy(buff
, "swig_ptr: ", 10);
32958 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
32959 methods
[i
].ml_doc
= ndoc
;
32971 /* -----------------------------------------------------------------------------*
32972 * Partial Init method
32973 * -----------------------------------------------------------------------------*/
32978 SWIGEXPORT
void SWIG_init(void) {
32981 /* Fix SwigMethods to carry the callback ptrs when needed */
32982 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
32984 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32985 d
= PyModule_GetDict(m
);
32987 SWIG_InitializeModule(0);
32988 SWIG_InstallConstants(d
,swig_const_table
);
32991 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
32992 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
32993 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
32994 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
32995 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
32996 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
32997 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
32998 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
32999 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
33000 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
33001 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
33002 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
33003 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
33004 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
33005 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
33006 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
33007 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
33008 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
33009 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
33010 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
33011 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
33012 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
33013 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
33014 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
33015 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
33016 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
33017 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
33018 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
33019 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
33020 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
33021 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
33022 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
33023 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
33024 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
33025 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
33026 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
33027 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
33028 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
33029 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
33030 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
33031 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
33032 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
33033 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
33034 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
33035 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
33036 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
33037 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
33038 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
33039 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
33040 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
33041 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
33042 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
33043 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
33044 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
33045 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
33046 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
33047 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
33048 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
33049 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
33050 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
33051 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
33052 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
33053 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
33054 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
33055 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
33056 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
33057 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
33058 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
33059 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
33060 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
33061 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
33062 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
33063 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
33064 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
33065 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
33066 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
33067 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
33068 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
33069 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
33070 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
33071 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
33072 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
33073 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
33074 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
33075 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
33076 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
33077 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
33078 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
33079 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
33080 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
33081 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
33082 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
33083 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
33084 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
33085 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
33086 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
33087 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
33088 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
33089 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
33090 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
33091 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
33092 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
33093 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
33094 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
33095 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
33096 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
33097 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
33098 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
33099 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
33100 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
33101 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
33102 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
33103 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
33104 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
33105 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
33106 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
33107 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
33108 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
33109 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
33110 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
33111 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
33112 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
33113 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
33114 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
33115 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
33116 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
33117 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
33118 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
33119 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
33120 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
33121 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
33122 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
33124 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
33126 SWIG_Python_SetConstant(d
, "Layout_Default",SWIG_From_int(static_cast< int >(wxLayout_Default
)));
33127 SWIG_Python_SetConstant(d
, "Layout_LeftToRight",SWIG_From_int(static_cast< int >(wxLayout_LeftToRight
)));
33128 SWIG_Python_SetConstant(d
, "Layout_RightToLeft",SWIG_From_int(static_cast< int >(wxLayout_RightToLeft
)));
33129 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
33130 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
33131 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
33132 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
33133 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
33134 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
33135 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
33136 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
33137 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
33138 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
33139 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
33140 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
33141 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
33142 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
33143 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
33144 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
33145 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
33146 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
33147 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
33148 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
33149 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
33150 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
33151 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
33152 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
33153 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
33154 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
33155 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
33156 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
33157 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
33158 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
33159 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
33160 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
33161 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
33162 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
33163 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
33164 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
33165 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
33166 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
33167 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
33168 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
33169 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
33170 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
33171 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
33172 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
33173 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
33174 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
33175 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
33176 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
33177 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
33178 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
33179 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
33180 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
33181 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
33182 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
33183 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
33184 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
33185 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
33186 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
33187 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
33188 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
33189 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
33190 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
33191 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
33192 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
33193 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
33194 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
33195 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
33196 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
33197 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
33198 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
33199 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
33200 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
33201 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
33202 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
33203 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
33204 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
33205 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
33206 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
33207 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
33208 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
33209 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
33210 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
33211 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
33212 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
33213 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
33214 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
33215 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
33216 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
33217 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
33218 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
33219 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
33220 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
33221 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
33222 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
33223 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
33224 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
33225 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
33226 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
33227 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
33228 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
33229 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
33230 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
33231 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
33232 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
33233 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
33234 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
33235 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
33236 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
33237 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
33238 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
33239 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
33240 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
33241 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
33242 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
33243 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
33244 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
33245 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
33246 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
33247 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
33248 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
33249 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
33250 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
33251 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
33252 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
33253 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
33254 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
33255 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
33256 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
33257 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
33258 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
33259 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
33260 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
33261 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
33262 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
33263 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
33264 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
33265 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
33266 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
33267 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
33268 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
33269 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
33270 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
33271 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
33272 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
33273 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
33274 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
33275 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
33276 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
33277 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
33278 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
33279 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
33280 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
33281 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
33282 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
33283 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
33284 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
33285 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
33286 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
33287 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
33288 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
33289 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
33290 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
33291 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
33292 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
33293 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
33294 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
33295 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
33296 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
33297 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
33298 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
33299 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
33300 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
33301 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
33302 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
33303 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
33304 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
33305 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
33306 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
33307 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
33308 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
33309 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
33310 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
33311 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
33312 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
33313 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
33314 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
33315 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
33316 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
33317 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
33318 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
33319 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
33320 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
33321 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
33322 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
33323 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
33324 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
33325 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
33326 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
33327 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
33328 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
33329 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
33330 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
33331 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
33332 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
33333 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
33334 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
33335 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
33336 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
33337 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
33338 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
33339 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
33340 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
33341 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
33342 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
33343 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
33344 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
33345 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
33346 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
33347 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
33348 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
33349 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
33350 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
33351 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
33352 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
33353 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
33354 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
33355 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
33356 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
33357 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
33358 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
33359 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
33360 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
33361 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
33362 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
33363 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
33364 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
33365 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
33366 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
33367 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
33368 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
33369 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
33370 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
33371 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
33372 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
33373 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
33374 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
33375 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
33376 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
33377 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
33378 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
33379 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
33380 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
33381 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
33382 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
33383 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
33384 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
33385 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
33386 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
33387 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
33388 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
33389 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
33390 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
33391 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
33392 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
33393 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
33394 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
33395 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
33396 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
33397 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
33398 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
33399 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
33400 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
33401 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
33402 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
33403 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
33404 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
33405 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
33406 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
33407 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
33408 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
33409 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
33410 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
33411 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
33412 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
33413 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
33414 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
33415 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
33416 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
33417 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
33418 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
33419 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33420 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
33421 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
33422 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
33423 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
33424 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
33425 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
33426 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
33427 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
33428 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
33429 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
33430 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
33431 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
33432 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
33433 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
33434 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
33435 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
33436 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
33437 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
33438 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
33439 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
33440 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
33441 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
33442 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
33444 // Work around a chicken/egg problem in drawlist.cpp
33445 wxPyDrawList_SetAPIPtr();