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 ;
6705 PyObject
* obj0
= 0 ;
6706 PyObject
* obj1
= 0 ;
6707 PyObject
* obj2
= 0 ;
6708 PyObject
* obj3
= 0 ;
6709 char * kwnames
[] = {
6710 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6714 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6715 if (!SWIG_IsOK(ecode1
)) {
6716 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6718 arg1
= static_cast< int >(val1
);
6719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6720 if (!SWIG_IsOK(ecode2
)) {
6721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6723 arg2
= static_cast< int >(val2
);
6725 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &arg4
) == -1) SWIG_fail
;
6728 if (obj3
!= Py_None
) {
6729 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &arg6
) == -1) SWIG_fail
;
6733 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6743 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
= 0;
6749 wxBitmap
*result
= 0 ;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6756 PyObject
* obj2
= 0 ;
6757 char * kwnames
[] = {
6758 (char *) "width",(char *) "height",(char *) "data", NULL
6761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6762 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6763 if (!SWIG_IsOK(ecode1
)) {
6764 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6766 arg1
= static_cast< int >(val1
);
6767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6768 if (!SWIG_IsOK(ecode2
)) {
6769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6771 arg2
= static_cast< int >(val2
);
6773 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &arg4
) == -1) SWIG_fail
;
6776 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6786 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6787 PyObject
*resultobj
= 0;
6792 wxBitmap
*result
= 0 ;
6797 PyObject
* obj0
= 0 ;
6798 PyObject
* obj1
= 0 ;
6799 PyObject
* obj2
= 0 ;
6800 char * kwnames
[] = {
6801 (char *) "width",(char *) "height",(char *) "data", NULL
6804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6805 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6806 if (!SWIG_IsOK(ecode1
)) {
6807 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6809 arg1
= static_cast< int >(val1
);
6810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6811 if (!SWIG_IsOK(ecode2
)) {
6812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6814 arg2
= static_cast< int >(val2
);
6816 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &arg4
) == -1) SWIG_fail
;
6819 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6829 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6830 PyObject
*resultobj
= 0;
6831 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6835 PyObject
*swig_obj
[1] ;
6837 if (!args
) SWIG_fail
;
6839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6840 if (!SWIG_IsOK(res1
)) {
6841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6843 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6845 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6855 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6856 PyObject
*resultobj
= 0;
6857 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6861 PyObject
*swig_obj
[1] ;
6863 if (!args
) SWIG_fail
;
6865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6866 if (!SWIG_IsOK(res1
)) {
6867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6869 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6871 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 resultobj
= SWIG_From_int(static_cast< int >(result
));
6881 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6882 PyObject
*resultobj
= 0;
6883 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6887 PyObject
*swig_obj
[1] ;
6889 if (!args
) SWIG_fail
;
6891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6892 if (!SWIG_IsOK(res1
)) {
6893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6895 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6897 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
6898 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= SWIG_From_int(static_cast< int >(result
));
6907 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6908 PyObject
*resultobj
= 0;
6909 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6913 PyObject
*swig_obj
[1] ;
6915 if (!args
) SWIG_fail
;
6917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6918 if (!SWIG_IsOK(res1
)) {
6919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6921 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6923 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
6924 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6933 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6934 PyObject
*resultobj
= 0;
6935 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6939 PyObject
*swig_obj
[1] ;
6941 if (!args
) SWIG_fail
;
6943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6944 if (!SWIG_IsOK(res1
)) {
6945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6947 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6949 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= SWIG_From_int(static_cast< int >(result
));
6959 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6962 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
6963 return SWIG_Py_Void();
6966 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
6967 PyObject
*resultobj
= 0;
6968 wxBitmap
*arg1
= 0 ;
6969 wxNativePixelData
*result
= 0 ;
6973 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
6974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
6975 if (!SWIG_IsOK(res1
)) {
6976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6981 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6983 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
6993 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
6994 PyObject
*resultobj
= 0;
6995 wxBitmap
*arg1
= 0 ;
6997 wxNativePixelData
*result
= 0 ;
7002 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7004 if (!SWIG_IsOK(res1
)) {
7005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7010 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7013 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7016 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7026 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7027 PyObject
*resultobj
= 0;
7028 wxBitmap
*arg1
= 0 ;
7031 wxNativePixelData
*result
= 0 ;
7037 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7039 if (!SWIG_IsOK(res1
)) {
7040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7045 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7048 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7052 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7055 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7065 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7069 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7072 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7075 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7078 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7082 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7087 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7088 PyObject
*resultobj
= 0;
7089 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7092 PyObject
*swig_obj
[1] ;
7094 if (!args
) SWIG_fail
;
7096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7097 if (!SWIG_IsOK(res1
)) {
7098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7100 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7106 resultobj
= SWIG_Py_Void();
7113 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7114 PyObject
*resultobj
= 0;
7115 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7116 wxNativePixelData_Accessor result
;
7119 PyObject
*swig_obj
[1] ;
7121 if (!args
) SWIG_fail
;
7123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7124 if (!SWIG_IsOK(res1
)) {
7125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7127 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7129 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7130 if (PyErr_Occurred()) SWIG_fail
;
7132 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7139 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7140 PyObject
*resultobj
= 0;
7141 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7144 PyObject
*swig_obj
[1] ;
7146 if (!args
) SWIG_fail
;
7148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7149 if (!SWIG_IsOK(res1
)) {
7150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7152 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 resultobj
= SWIG_Py_Void();
7164 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7165 PyObject
*resultobj
= 0;
7166 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7170 PyObject
*swig_obj
[1] ;
7172 if (!args
) SWIG_fail
;
7174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7175 if (!SWIG_IsOK(res1
)) {
7176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7178 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7180 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7192 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7194 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7195 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7196 return SWIG_Py_Void();
7199 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7200 return SWIG_Python_InitShadowInstance(args
);
7203 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7204 PyObject
*resultobj
= 0;
7205 wxNativePixelData
*arg1
= 0 ;
7206 wxNativePixelData_Accessor
*result
= 0 ;
7210 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7212 if (!SWIG_IsOK(res1
)) {
7213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7218 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7220 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7230 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7231 PyObject
*resultobj
= 0;
7232 wxBitmap
*arg1
= 0 ;
7233 wxNativePixelData
*arg2
= 0 ;
7234 wxNativePixelData_Accessor
*result
= 0 ;
7240 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7242 if (!SWIG_IsOK(res1
)) {
7243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7248 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7249 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7250 if (!SWIG_IsOK(res2
)) {
7251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7256 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7258 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7259 if (PyErr_Occurred()) SWIG_fail
;
7261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7268 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7269 PyObject
*resultobj
= 0;
7270 wxNativePixelData_Accessor
*result
= 0 ;
7272 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7274 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7284 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7288 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7291 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7294 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7297 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7301 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7306 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7307 PyObject
*resultobj
= 0;
7308 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7311 PyObject
*swig_obj
[1] ;
7313 if (!args
) SWIG_fail
;
7315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7316 if (!SWIG_IsOK(res1
)) {
7317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7319 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7325 resultobj
= SWIG_Py_Void();
7332 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
= 0;
7334 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7335 wxNativePixelData
*arg2
= 0 ;
7340 PyObject
* obj0
= 0 ;
7341 PyObject
* obj1
= 0 ;
7342 char * kwnames
[] = {
7343 (char *) "self",(char *) "data", NULL
7346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7348 if (!SWIG_IsOK(res1
)) {
7349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7351 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7352 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7353 if (!SWIG_IsOK(res2
)) {
7354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7359 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7361 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 resultobj
= SWIG_Py_Void();
7371 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7372 PyObject
*resultobj
= 0;
7373 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7377 PyObject
*swig_obj
[1] ;
7379 if (!args
) SWIG_fail
;
7381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7382 if (!SWIG_IsOK(res1
)) {
7383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7385 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7387 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7388 if (PyErr_Occurred()) SWIG_fail
;
7391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7399 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7400 PyObject
*resultobj
= 0;
7401 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7404 PyObject
*swig_obj
[1] ;
7406 if (!args
) SWIG_fail
;
7408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7409 if (!SWIG_IsOK(res1
)) {
7410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7412 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7414 wxNativePixelData_Accessor_nextPixel(arg1
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= SWIG_Py_Void();
7424 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
= 0;
7426 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7427 wxNativePixelData
*arg2
= 0 ;
7438 PyObject
* obj0
= 0 ;
7439 PyObject
* obj1
= 0 ;
7440 PyObject
* obj2
= 0 ;
7441 PyObject
* obj3
= 0 ;
7442 char * kwnames
[] = {
7443 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7448 if (!SWIG_IsOK(res1
)) {
7449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7451 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7452 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7453 if (!SWIG_IsOK(res2
)) {
7454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7459 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7461 if (!SWIG_IsOK(ecode3
)) {
7462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7464 arg3
= static_cast< int >(val3
);
7465 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7466 if (!SWIG_IsOK(ecode4
)) {
7467 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7469 arg4
= static_cast< int >(val4
);
7471 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7472 if (PyErr_Occurred()) SWIG_fail
;
7474 resultobj
= SWIG_Py_Void();
7481 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
*resultobj
= 0;
7483 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7484 wxNativePixelData
*arg2
= 0 ;
7492 PyObject
* obj0
= 0 ;
7493 PyObject
* obj1
= 0 ;
7494 PyObject
* obj2
= 0 ;
7495 char * kwnames
[] = {
7496 (char *) "self",(char *) "data",(char *) "x", NULL
7499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7501 if (!SWIG_IsOK(res1
)) {
7502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7504 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7505 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7506 if (!SWIG_IsOK(res2
)) {
7507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7512 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7513 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7514 if (!SWIG_IsOK(ecode3
)) {
7515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7517 arg3
= static_cast< int >(val3
);
7519 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7522 resultobj
= SWIG_Py_Void();
7529 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
= 0;
7531 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7532 wxNativePixelData
*arg2
= 0 ;
7540 PyObject
* obj0
= 0 ;
7541 PyObject
* obj1
= 0 ;
7542 PyObject
* obj2
= 0 ;
7543 char * kwnames
[] = {
7544 (char *) "self",(char *) "data",(char *) "y", NULL
7547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7549 if (!SWIG_IsOK(res1
)) {
7550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7552 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7553 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7554 if (!SWIG_IsOK(res2
)) {
7555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7560 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7562 if (!SWIG_IsOK(ecode3
)) {
7563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7565 arg3
= static_cast< int >(val3
);
7567 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 resultobj
= SWIG_Py_Void();
7577 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
= 0;
7579 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7580 wxNativePixelData
*arg2
= 0 ;
7591 PyObject
* obj0
= 0 ;
7592 PyObject
* obj1
= 0 ;
7593 PyObject
* obj2
= 0 ;
7594 PyObject
* obj3
= 0 ;
7595 char * kwnames
[] = {
7596 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7601 if (!SWIG_IsOK(res1
)) {
7602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7604 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7605 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7606 if (!SWIG_IsOK(res2
)) {
7607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7612 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7613 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7614 if (!SWIG_IsOK(ecode3
)) {
7615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7617 arg3
= static_cast< int >(val3
);
7618 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7619 if (!SWIG_IsOK(ecode4
)) {
7620 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7622 arg4
= static_cast< int >(val4
);
7624 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7627 resultobj
= SWIG_Py_Void();
7634 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
*resultobj
= 0;
7636 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7642 unsigned char val2
;
7644 unsigned char val3
;
7646 unsigned char val4
;
7648 PyObject
* obj0
= 0 ;
7649 PyObject
* obj1
= 0 ;
7650 PyObject
* obj2
= 0 ;
7651 PyObject
* obj3
= 0 ;
7652 char * kwnames
[] = {
7653 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7658 if (!SWIG_IsOK(res1
)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7661 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7662 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7663 if (!SWIG_IsOK(ecode2
)) {
7664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7666 arg2
= static_cast< byte
>(val2
);
7667 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7668 if (!SWIG_IsOK(ecode3
)) {
7669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7671 arg3
= static_cast< byte
>(val3
);
7672 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7673 if (!SWIG_IsOK(ecode4
)) {
7674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7676 arg4
= static_cast< byte
>(val4
);
7678 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7681 resultobj
= SWIG_Py_Void();
7688 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7689 PyObject
*resultobj
= 0;
7690 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7691 PyObject
*result
= 0 ;
7694 PyObject
*swig_obj
[1] ;
7696 if (!args
) SWIG_fail
;
7698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7699 if (!SWIG_IsOK(res1
)) {
7700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7702 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7704 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7714 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7716 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7717 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7718 return SWIG_Py_Void();
7721 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7722 return SWIG_Python_InitShadowInstance(args
);
7725 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7726 PyObject
*resultobj
= 0;
7727 wxBitmap
*arg1
= 0 ;
7728 wxAlphaPixelData
*result
= 0 ;
7732 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7734 if (!SWIG_IsOK(res1
)) {
7735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7740 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7742 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7752 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7753 PyObject
*resultobj
= 0;
7754 wxBitmap
*arg1
= 0 ;
7756 wxAlphaPixelData
*result
= 0 ;
7761 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7763 if (!SWIG_IsOK(res1
)) {
7764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7769 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7772 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7775 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7785 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7786 PyObject
*resultobj
= 0;
7787 wxBitmap
*arg1
= 0 ;
7790 wxAlphaPixelData
*result
= 0 ;
7796 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7798 if (!SWIG_IsOK(res1
)) {
7799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7804 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7807 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7811 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7814 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7824 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7828 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7831 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7834 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7837 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7841 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7846 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7847 PyObject
*resultobj
= 0;
7848 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7851 PyObject
*swig_obj
[1] ;
7853 if (!args
) SWIG_fail
;
7855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
7856 if (!SWIG_IsOK(res1
)) {
7857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7859 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7865 resultobj
= SWIG_Py_Void();
7872 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7873 PyObject
*resultobj
= 0;
7874 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7875 wxAlphaPixelData_Accessor result
;
7878 PyObject
*swig_obj
[1] ;
7880 if (!args
) SWIG_fail
;
7882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7883 if (!SWIG_IsOK(res1
)) {
7884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
7886 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7888 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
7889 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7898 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7899 PyObject
*resultobj
= 0;
7900 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7903 PyObject
*swig_obj
[1] ;
7905 if (!args
) SWIG_fail
;
7907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7908 if (!SWIG_IsOK(res1
)) {
7909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7911 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7916 resultobj
= SWIG_Py_Void();
7923 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7924 PyObject
*resultobj
= 0;
7925 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7929 PyObject
*swig_obj
[1] ;
7931 if (!args
) SWIG_fail
;
7933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7934 if (!SWIG_IsOK(res1
)) {
7935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7937 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7939 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7951 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7954 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
7955 return SWIG_Py_Void();
7958 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7959 return SWIG_Python_InitShadowInstance(args
);
7962 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7963 PyObject
*resultobj
= 0;
7964 wxAlphaPixelData
*arg1
= 0 ;
7965 wxAlphaPixelData_Accessor
*result
= 0 ;
7969 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
7971 if (!SWIG_IsOK(res1
)) {
7972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
7975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
7977 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7979 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7989 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7990 PyObject
*resultobj
= 0;
7991 wxBitmap
*arg1
= 0 ;
7992 wxAlphaPixelData
*arg2
= 0 ;
7993 wxAlphaPixelData_Accessor
*result
= 0 ;
7999 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8001 if (!SWIG_IsOK(res1
)) {
8002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8007 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8008 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8009 if (!SWIG_IsOK(res2
)) {
8010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8015 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8017 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8027 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8028 PyObject
*resultobj
= 0;
8029 wxAlphaPixelData_Accessor
*result
= 0 ;
8031 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8033 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8034 if (PyErr_Occurred()) SWIG_fail
;
8036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8043 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8047 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8050 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8053 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8056 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8060 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8065 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8066 PyObject
*resultobj
= 0;
8067 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8070 PyObject
*swig_obj
[1] ;
8072 if (!args
) SWIG_fail
;
8074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8075 if (!SWIG_IsOK(res1
)) {
8076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8078 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8084 resultobj
= SWIG_Py_Void();
8091 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8092 PyObject
*resultobj
= 0;
8093 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8094 wxAlphaPixelData
*arg2
= 0 ;
8099 PyObject
* obj0
= 0 ;
8100 PyObject
* obj1
= 0 ;
8101 char * kwnames
[] = {
8102 (char *) "self",(char *) "data", NULL
8105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8107 if (!SWIG_IsOK(res1
)) {
8108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8110 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8111 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8112 if (!SWIG_IsOK(res2
)) {
8113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8118 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8120 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 resultobj
= SWIG_Py_Void();
8130 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8131 PyObject
*resultobj
= 0;
8132 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8136 PyObject
*swig_obj
[1] ;
8138 if (!args
) SWIG_fail
;
8140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8141 if (!SWIG_IsOK(res1
)) {
8142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8144 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8146 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8147 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8158 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8159 PyObject
*resultobj
= 0;
8160 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8163 PyObject
*swig_obj
[1] ;
8165 if (!args
) SWIG_fail
;
8167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8168 if (!SWIG_IsOK(res1
)) {
8169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8171 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8173 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8176 resultobj
= SWIG_Py_Void();
8183 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8184 PyObject
*resultobj
= 0;
8185 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8186 wxAlphaPixelData
*arg2
= 0 ;
8197 PyObject
* obj0
= 0 ;
8198 PyObject
* obj1
= 0 ;
8199 PyObject
* obj2
= 0 ;
8200 PyObject
* obj3
= 0 ;
8201 char * kwnames
[] = {
8202 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8207 if (!SWIG_IsOK(res1
)) {
8208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8210 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8211 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8212 if (!SWIG_IsOK(res2
)) {
8213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8218 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8219 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8220 if (!SWIG_IsOK(ecode3
)) {
8221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8223 arg3
= static_cast< int >(val3
);
8224 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8225 if (!SWIG_IsOK(ecode4
)) {
8226 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8228 arg4
= static_cast< int >(val4
);
8230 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 resultobj
= SWIG_Py_Void();
8240 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
= 0;
8242 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8243 wxAlphaPixelData
*arg2
= 0 ;
8251 PyObject
* obj0
= 0 ;
8252 PyObject
* obj1
= 0 ;
8253 PyObject
* obj2
= 0 ;
8254 char * kwnames
[] = {
8255 (char *) "self",(char *) "data",(char *) "x", NULL
8258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8260 if (!SWIG_IsOK(res1
)) {
8261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8263 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8264 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8265 if (!SWIG_IsOK(res2
)) {
8266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8271 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8272 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8273 if (!SWIG_IsOK(ecode3
)) {
8274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8276 arg3
= static_cast< int >(val3
);
8278 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8281 resultobj
= SWIG_Py_Void();
8288 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
*resultobj
= 0;
8290 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8291 wxAlphaPixelData
*arg2
= 0 ;
8299 PyObject
* obj0
= 0 ;
8300 PyObject
* obj1
= 0 ;
8301 PyObject
* obj2
= 0 ;
8302 char * kwnames
[] = {
8303 (char *) "self",(char *) "data",(char *) "y", NULL
8306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8308 if (!SWIG_IsOK(res1
)) {
8309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8311 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8312 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8313 if (!SWIG_IsOK(res2
)) {
8314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8319 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8320 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8321 if (!SWIG_IsOK(ecode3
)) {
8322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8324 arg3
= static_cast< int >(val3
);
8326 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8327 if (PyErr_Occurred()) SWIG_fail
;
8329 resultobj
= SWIG_Py_Void();
8336 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8337 PyObject
*resultobj
= 0;
8338 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8339 wxAlphaPixelData
*arg2
= 0 ;
8350 PyObject
* obj0
= 0 ;
8351 PyObject
* obj1
= 0 ;
8352 PyObject
* obj2
= 0 ;
8353 PyObject
* obj3
= 0 ;
8354 char * kwnames
[] = {
8355 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8360 if (!SWIG_IsOK(res1
)) {
8361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8363 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8364 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8365 if (!SWIG_IsOK(res2
)) {
8366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8371 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8373 if (!SWIG_IsOK(ecode3
)) {
8374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8376 arg3
= static_cast< int >(val3
);
8377 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8378 if (!SWIG_IsOK(ecode4
)) {
8379 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8381 arg4
= static_cast< int >(val4
);
8383 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8386 resultobj
= SWIG_Py_Void();
8393 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
= 0;
8395 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8402 unsigned char val2
;
8404 unsigned char val3
;
8406 unsigned char val4
;
8408 unsigned char val5
;
8410 PyObject
* obj0
= 0 ;
8411 PyObject
* obj1
= 0 ;
8412 PyObject
* obj2
= 0 ;
8413 PyObject
* obj3
= 0 ;
8414 PyObject
* obj4
= 0 ;
8415 char * kwnames
[] = {
8416 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8421 if (!SWIG_IsOK(res1
)) {
8422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8424 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8425 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8426 if (!SWIG_IsOK(ecode2
)) {
8427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8429 arg2
= static_cast< byte
>(val2
);
8430 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8431 if (!SWIG_IsOK(ecode3
)) {
8432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8434 arg3
= static_cast< byte
>(val3
);
8435 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8436 if (!SWIG_IsOK(ecode4
)) {
8437 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8439 arg4
= static_cast< byte
>(val4
);
8440 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8441 if (!SWIG_IsOK(ecode5
)) {
8442 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8444 arg5
= static_cast< byte
>(val5
);
8446 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8449 resultobj
= SWIG_Py_Void();
8456 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8457 PyObject
*resultobj
= 0;
8458 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8459 PyObject
*result
= 0 ;
8462 PyObject
*swig_obj
[1] ;
8464 if (!args
) SWIG_fail
;
8466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8467 if (!SWIG_IsOK(res1
)) {
8468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8470 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8472 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8482 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8485 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8486 return SWIG_Py_Void();
8489 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8490 return SWIG_Python_InitShadowInstance(args
);
8493 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8494 PyObject
*resultobj
= 0;
8495 wxBitmap
*arg1
= 0 ;
8496 wxColour
const &arg2_defvalue
= wxNullColour
;
8497 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8498 wxMask
*result
= 0 ;
8502 PyObject
* obj0
= 0 ;
8503 PyObject
* obj1
= 0 ;
8504 char * kwnames
[] = {
8505 (char *) "bitmap",(char *) "colour", NULL
8508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8509 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8510 if (!SWIG_IsOK(res1
)) {
8511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8516 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8520 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8524 if (!wxPyCheckForApp()) SWIG_fail
;
8525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8526 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8537 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8538 PyObject
*resultobj
= 0;
8539 wxMask
*arg1
= (wxMask
*) 0 ;
8542 PyObject
*swig_obj
[1] ;
8544 if (!args
) SWIG_fail
;
8546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8547 if (!SWIG_IsOK(res1
)) {
8548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8550 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 resultobj
= SWIG_Py_Void();
8563 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8566 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8567 return SWIG_Py_Void();
8570 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8571 return SWIG_Python_InitShadowInstance(args
);
8574 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8575 PyObject
*resultobj
= 0;
8576 wxString
*arg1
= 0 ;
8578 int arg3
= (int) -1 ;
8579 int arg4
= (int) -1 ;
8580 wxIcon
*result
= 0 ;
8581 bool temp1
= false ;
8588 PyObject
* obj0
= 0 ;
8589 PyObject
* obj1
= 0 ;
8590 PyObject
* obj2
= 0 ;
8591 PyObject
* obj3
= 0 ;
8592 char * kwnames
[] = {
8593 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8598 arg1
= wxString_in_helper(obj0
);
8599 if (arg1
== NULL
) SWIG_fail
;
8602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8603 if (!SWIG_IsOK(ecode2
)) {
8604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8606 arg2
= static_cast< wxBitmapType
>(val2
);
8608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8609 if (!SWIG_IsOK(ecode3
)) {
8610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8612 arg3
= static_cast< int >(val3
);
8615 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8616 if (!SWIG_IsOK(ecode4
)) {
8617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8619 arg4
= static_cast< int >(val4
);
8622 if (!wxPyCheckForApp()) SWIG_fail
;
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8643 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8644 PyObject
*resultobj
= 0;
8645 wxIcon
*arg1
= (wxIcon
*) 0 ;
8648 PyObject
*swig_obj
[1] ;
8650 if (!args
) SWIG_fail
;
8652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8653 if (!SWIG_IsOK(res1
)) {
8654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8656 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= SWIG_Py_Void();
8671 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8672 PyObject
*resultobj
= 0;
8673 wxIcon
*result
= 0 ;
8675 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8677 if (!wxPyCheckForApp()) SWIG_fail
;
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 result
= (wxIcon
*)new wxIcon();
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8690 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
= 0;
8692 wxIconLocation
*arg1
= 0 ;
8693 wxIcon
*result
= 0 ;
8696 PyObject
* obj0
= 0 ;
8697 char * kwnames
[] = {
8698 (char *) "loc", NULL
8701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8702 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8703 if (!SWIG_IsOK(res1
)) {
8704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8709 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8711 if (!wxPyCheckForApp()) SWIG_fail
;
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8724 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
= 0;
8726 wxBitmap
*arg1
= 0 ;
8727 wxIcon
*result
= 0 ;
8730 PyObject
* obj0
= 0 ;
8731 char * kwnames
[] = {
8732 (char *) "bmp", NULL
8735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8736 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8737 if (!SWIG_IsOK(res1
)) {
8738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8743 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8745 if (!wxPyCheckForApp()) SWIG_fail
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8758 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
= 0;
8760 PyObject
*arg1
= (PyObject
*) 0 ;
8761 wxIcon
*result
= 0 ;
8762 PyObject
* obj0
= 0 ;
8763 char * kwnames
[] = {
8764 (char *) "listOfStrings", NULL
8767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8770 if (!wxPyCheckForApp()) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 result
= (wxIcon
*)new_wxIcon(arg1
);
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8783 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8784 PyObject
*resultobj
= 0;
8785 wxIcon
*arg1
= (wxIcon
*) 0 ;
8789 PyObject
*swig_obj
[1] ;
8791 if (!args
) SWIG_fail
;
8793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8794 if (!SWIG_IsOK(res1
)) {
8795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
8797 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 result
= (bool)(arg1
)->Ok();
8801 wxPyEndAllowThreads(__tstate
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8813 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8814 PyObject
*resultobj
= 0;
8815 wxIcon
*arg1
= (wxIcon
*) 0 ;
8819 PyObject
*swig_obj
[1] ;
8821 if (!args
) SWIG_fail
;
8823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8824 if (!SWIG_IsOK(res1
)) {
8825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8827 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 result
= (int)(arg1
)->GetWidth();
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8834 resultobj
= SWIG_From_int(static_cast< int >(result
));
8841 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8842 PyObject
*resultobj
= 0;
8843 wxIcon
*arg1
= (wxIcon
*) 0 ;
8847 PyObject
*swig_obj
[1] ;
8849 if (!args
) SWIG_fail
;
8851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8852 if (!SWIG_IsOK(res1
)) {
8853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8855 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8858 result
= (int)(arg1
)->GetHeight();
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 resultobj
= SWIG_From_int(static_cast< int >(result
));
8869 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8870 PyObject
*resultobj
= 0;
8871 wxIcon
*arg1
= (wxIcon
*) 0 ;
8875 PyObject
*swig_obj
[1] ;
8877 if (!args
) SWIG_fail
;
8879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8880 if (!SWIG_IsOK(res1
)) {
8881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
8883 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 result
= (int)(arg1
)->GetDepth();
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8890 resultobj
= SWIG_From_int(static_cast< int >(result
));
8897 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
*resultobj
= 0;
8899 wxIcon
*arg1
= (wxIcon
*) 0 ;
8905 PyObject
* obj0
= 0 ;
8906 PyObject
* obj1
= 0 ;
8907 char * kwnames
[] = {
8908 (char *) "self",(char *) "w", NULL
8911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8913 if (!SWIG_IsOK(res1
)) {
8914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8916 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8918 if (!SWIG_IsOK(ecode2
)) {
8919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
8921 arg2
= static_cast< int >(val2
);
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 (arg1
)->SetWidth(arg2
);
8925 wxPyEndAllowThreads(__tstate
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8928 resultobj
= SWIG_Py_Void();
8935 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8936 PyObject
*resultobj
= 0;
8937 wxIcon
*arg1
= (wxIcon
*) 0 ;
8943 PyObject
* obj0
= 0 ;
8944 PyObject
* obj1
= 0 ;
8945 char * kwnames
[] = {
8946 (char *) "self",(char *) "h", NULL
8949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8951 if (!SWIG_IsOK(res1
)) {
8952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8954 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8956 if (!SWIG_IsOK(ecode2
)) {
8957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
8959 arg2
= static_cast< int >(val2
);
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 (arg1
)->SetHeight(arg2
);
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 resultobj
= SWIG_Py_Void();
8973 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
= 0;
8975 wxIcon
*arg1
= (wxIcon
*) 0 ;
8981 PyObject
* obj0
= 0 ;
8982 PyObject
* obj1
= 0 ;
8983 char * kwnames
[] = {
8984 (char *) "self",(char *) "d", NULL
8987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8989 if (!SWIG_IsOK(res1
)) {
8990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
8992 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8994 if (!SWIG_IsOK(ecode2
)) {
8995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
8997 arg2
= static_cast< int >(val2
);
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 (arg1
)->SetDepth(arg2
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 resultobj
= SWIG_Py_Void();
9011 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
*resultobj
= 0;
9013 wxIcon
*arg1
= (wxIcon
*) 0 ;
9014 wxBitmap
*arg2
= 0 ;
9019 PyObject
* obj0
= 0 ;
9020 PyObject
* obj1
= 0 ;
9021 char * kwnames
[] = {
9022 (char *) "self",(char *) "bmp", NULL
9025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9027 if (!SWIG_IsOK(res1
)) {
9028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9030 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9031 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9032 if (!SWIG_IsOK(res2
)) {
9033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9038 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 resultobj
= SWIG_Py_Void();
9052 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9054 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9055 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9056 return SWIG_Py_Void();
9059 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9060 return SWIG_Python_InitShadowInstance(args
);
9063 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9064 PyObject
*resultobj
= 0;
9065 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9066 int arg2
= (int) 0 ;
9067 wxIconLocation
*result
= 0 ;
9068 bool temp1
= false ;
9071 PyObject
* obj0
= 0 ;
9072 PyObject
* obj1
= 0 ;
9073 char * kwnames
[] = {
9074 (char *) "filename",(char *) "num", NULL
9077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9080 arg1
= wxString_in_helper(obj0
);
9081 if (arg1
== NULL
) SWIG_fail
;
9086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9087 if (!SWIG_IsOK(ecode2
)) {
9088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9090 arg2
= static_cast< int >(val2
);
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9113 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9114 PyObject
*resultobj
= 0;
9115 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9118 PyObject
*swig_obj
[1] ;
9120 if (!args
) SWIG_fail
;
9122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9123 if (!SWIG_IsOK(res1
)) {
9124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9126 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= SWIG_Py_Void();
9141 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9142 PyObject
*resultobj
= 0;
9143 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9147 PyObject
*swig_obj
[1] ;
9149 if (!args
) SWIG_fail
;
9151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9152 if (!SWIG_IsOK(res1
)) {
9153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9155 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9171 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
= 0;
9173 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9174 wxString
*arg2
= 0 ;
9177 bool temp2
= false ;
9178 PyObject
* obj0
= 0 ;
9179 PyObject
* obj1
= 0 ;
9180 char * kwnames
[] = {
9181 (char *) "self",(char *) "filename", NULL
9184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9186 if (!SWIG_IsOK(res1
)) {
9187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9189 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9191 arg2
= wxString_in_helper(obj1
);
9192 if (arg2
== NULL
) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 (arg1
)->SetFileName((wxString
const &)*arg2
);
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= SWIG_Py_Void();
9216 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9217 PyObject
*resultobj
= 0;
9218 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9219 wxString
*result
= 0 ;
9222 PyObject
*swig_obj
[1] ;
9224 if (!args
) SWIG_fail
;
9226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9227 if (!SWIG_IsOK(res1
)) {
9228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9230 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9235 result
= (wxString
*) &_result_ref
;
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9242 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9244 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9253 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
*resultobj
= 0;
9255 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj1
= 0 ;
9263 char * kwnames
[] = {
9264 (char *) "self",(char *) "num", NULL
9267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9269 if (!SWIG_IsOK(res1
)) {
9270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9272 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9274 if (!SWIG_IsOK(ecode2
)) {
9275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9277 arg2
= static_cast< int >(val2
);
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 wxIconLocation_SetIndex(arg1
,arg2
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 resultobj
= SWIG_Py_Void();
9291 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9292 PyObject
*resultobj
= 0;
9293 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9297 PyObject
*swig_obj
[1] ;
9299 if (!args
) SWIG_fail
;
9301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9302 if (!SWIG_IsOK(res1
)) {
9303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9305 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 result
= (int)wxIconLocation_GetIndex(arg1
);
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9312 resultobj
= SWIG_From_int(static_cast< int >(result
));
9319 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9322 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9323 return SWIG_Py_Void();
9326 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9327 return SWIG_Python_InitShadowInstance(args
);
9330 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9331 PyObject
*resultobj
= 0;
9332 wxIconBundle
*result
= 0 ;
9334 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 result
= (wxIconBundle
*)new wxIconBundle();
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9348 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
= 0;
9350 wxString
*arg1
= 0 ;
9352 wxIconBundle
*result
= 0 ;
9353 bool temp1
= false ;
9356 PyObject
* obj0
= 0 ;
9357 PyObject
* obj1
= 0 ;
9358 char * kwnames
[] = {
9359 (char *) "file",(char *) "type", NULL
9362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9364 arg1
= wxString_in_helper(obj0
);
9365 if (arg1
== NULL
) SWIG_fail
;
9368 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9369 if (!SWIG_IsOK(ecode2
)) {
9370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9372 arg2
= static_cast< long >(val2
);
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9394 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
*resultobj
= 0;
9397 wxIconBundle
*result
= 0 ;
9400 PyObject
* obj0
= 0 ;
9401 char * kwnames
[] = {
9402 (char *) "icon", NULL
9405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9406 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9407 if (!SWIG_IsOK(res1
)) {
9408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9413 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9427 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9428 PyObject
*resultobj
= 0;
9429 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9432 PyObject
*swig_obj
[1] ;
9434 if (!args
) SWIG_fail
;
9436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9437 if (!SWIG_IsOK(res1
)) {
9438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9440 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= SWIG_Py_Void();
9455 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
= 0;
9457 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9463 PyObject
* obj0
= 0 ;
9464 PyObject
* obj1
= 0 ;
9465 char * kwnames
[] = {
9466 (char *) "self",(char *) "icon", NULL
9469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9471 if (!SWIG_IsOK(res1
)) {
9472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9474 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9475 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9476 if (!SWIG_IsOK(res2
)) {
9477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9482 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9489 resultobj
= SWIG_Py_Void();
9496 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9497 PyObject
*resultobj
= 0;
9498 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9499 wxString
*arg2
= 0 ;
9503 bool temp2
= false ;
9506 PyObject
* obj0
= 0 ;
9507 PyObject
* obj1
= 0 ;
9508 PyObject
* obj2
= 0 ;
9509 char * kwnames
[] = {
9510 (char *) "self",(char *) "file",(char *) "type", NULL
9513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9515 if (!SWIG_IsOK(res1
)) {
9516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9518 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9520 arg2
= wxString_in_helper(obj1
);
9521 if (arg2
== NULL
) SWIG_fail
;
9524 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9525 if (!SWIG_IsOK(ecode3
)) {
9526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9528 arg3
= static_cast< long >(val3
);
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9535 resultobj
= SWIG_Py_Void();
9550 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
*resultobj
= 0;
9552 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9554 wxIcon
*result
= 0 ;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9560 char * kwnames
[] = {
9561 (char *) "self",(char *) "size", NULL
9564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9566 if (!SWIG_IsOK(res1
)) {
9567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9569 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9572 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9578 result
= (wxIcon
*) &_result_ref
;
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9584 wxIcon
* resultptr
= new wxIcon(*result
);
9585 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9593 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9595 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9596 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9597 return SWIG_Py_Void();
9600 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9601 return SWIG_Python_InitShadowInstance(args
);
9604 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9605 PyObject
*resultobj
= 0;
9606 wxString
*arg1
= 0 ;
9608 int arg3
= (int) 0 ;
9609 int arg4
= (int) 0 ;
9610 wxCursor
*result
= 0 ;
9611 bool temp1
= false ;
9618 PyObject
* obj0
= 0 ;
9619 PyObject
* obj1
= 0 ;
9620 PyObject
* obj2
= 0 ;
9621 PyObject
* obj3
= 0 ;
9622 char * kwnames
[] = {
9623 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9628 arg1
= wxString_in_helper(obj0
);
9629 if (arg1
== NULL
) SWIG_fail
;
9632 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9633 if (!SWIG_IsOK(ecode2
)) {
9634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9636 arg2
= static_cast< long >(val2
);
9638 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9639 if (!SWIG_IsOK(ecode3
)) {
9640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9642 arg3
= static_cast< int >(val3
);
9645 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9646 if (!SWIG_IsOK(ecode4
)) {
9647 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9649 arg4
= static_cast< int >(val4
);
9652 if (!wxPyCheckForApp()) SWIG_fail
;
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9673 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9674 PyObject
*resultobj
= 0;
9675 wxCursor
*arg1
= (wxCursor
*) 0 ;
9678 PyObject
*swig_obj
[1] ;
9680 if (!args
) SWIG_fail
;
9682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9683 if (!SWIG_IsOK(res1
)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9686 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 wxPyEndAllowThreads(__tstate
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= SWIG_Py_Void();
9701 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
= 0;
9704 wxCursor
*result
= 0 ;
9707 PyObject
* obj0
= 0 ;
9708 char * kwnames
[] = {
9712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9713 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9714 if (!SWIG_IsOK(ecode1
)) {
9715 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9717 arg1
= static_cast< int >(val1
);
9719 if (!wxPyCheckForApp()) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 result
= (wxCursor
*)new wxCursor(arg1
);
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9732 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
= 0;
9735 wxCursor
*result
= 0 ;
9738 PyObject
* obj0
= 0 ;
9739 char * kwnames
[] = {
9740 (char *) "image", NULL
9743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9744 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9745 if (!SWIG_IsOK(res1
)) {
9746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9751 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9753 if (!wxPyCheckForApp()) SWIG_fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9766 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9767 PyObject
*resultobj
= 0;
9768 wxCursor
*arg1
= (wxCursor
*) 0 ;
9772 PyObject
*swig_obj
[1] ;
9774 if (!args
) SWIG_fail
;
9776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9777 if (!SWIG_IsOK(res1
)) {
9778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
9780 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 result
= (bool)(arg1
)->Ok();
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9796 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9798 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9799 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9800 return SWIG_Py_Void();
9803 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9804 return SWIG_Python_InitShadowInstance(args
);
9807 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
= 0;
9809 int arg1
= (int) 0 ;
9810 int arg2
= (int) 0 ;
9811 int arg3
= (int) 0 ;
9812 int arg4
= (int) 0 ;
9813 wxRegion
*result
= 0 ;
9822 PyObject
* obj0
= 0 ;
9823 PyObject
* obj1
= 0 ;
9824 PyObject
* obj2
= 0 ;
9825 PyObject
* obj3
= 0 ;
9826 char * kwnames
[] = {
9827 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9832 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9833 if (!SWIG_IsOK(ecode1
)) {
9834 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
9836 arg1
= static_cast< int >(val1
);
9839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9840 if (!SWIG_IsOK(ecode2
)) {
9841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
9843 arg2
= static_cast< int >(val2
);
9846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9847 if (!SWIG_IsOK(ecode3
)) {
9848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
9850 arg3
= static_cast< int >(val3
);
9853 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9854 if (!SWIG_IsOK(ecode4
)) {
9855 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
9857 arg4
= static_cast< int >(val4
);
9860 if (!wxPyCheckForApp()) SWIG_fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
9873 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
= 0;
9875 wxBitmap
*arg1
= 0 ;
9876 wxRegion
*result
= 0 ;
9879 PyObject
* obj0
= 0 ;
9880 char * kwnames
[] = {
9881 (char *) "bmp", NULL
9884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9885 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9886 if (!SWIG_IsOK(res1
)) {
9887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9892 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9894 if (!wxPyCheckForApp()) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9907 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
= 0;
9909 wxBitmap
*arg1
= 0 ;
9910 wxColour
*arg2
= 0 ;
9911 int arg3
= (int) 0 ;
9912 wxRegion
*result
= 0 ;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9920 PyObject
* obj2
= 0 ;
9921 char * kwnames
[] = {
9922 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
9925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9926 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9927 if (!SWIG_IsOK(res1
)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9933 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9936 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9939 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9940 if (!SWIG_IsOK(ecode3
)) {
9941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
9943 arg3
= static_cast< int >(val3
);
9946 if (!wxPyCheckForApp()) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9959 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
= 0;
9962 wxPoint
*arg2
= (wxPoint
*) 0 ;
9963 int arg3
= (int) wxWINDING_RULE
;
9964 wxRegion
*result
= 0 ;
9967 PyObject
* obj0
= 0 ;
9968 PyObject
* obj1
= 0 ;
9969 char * kwnames
[] = {
9970 (char *) "points",(char *) "fillStyle", NULL
9973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9975 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
9976 if (arg2
== NULL
) SWIG_fail
;
9979 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
9980 if (!SWIG_IsOK(ecode3
)) {
9981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
9983 arg3
= static_cast< int >(val3
);
9986 if (!wxPyCheckForApp()) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9994 if (arg2
) delete [] arg2
;
9999 if (arg2
) delete [] arg2
;
10005 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10006 PyObject
*resultobj
= 0;
10007 wxRegion
*arg1
= (wxRegion
*) 0 ;
10010 PyObject
*swig_obj
[1] ;
10012 if (!args
) SWIG_fail
;
10013 swig_obj
[0] = args
;
10014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10015 if (!SWIG_IsOK(res1
)) {
10016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10018 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10026 resultobj
= SWIG_Py_Void();
10033 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10034 PyObject
*resultobj
= 0;
10035 wxRegion
*arg1
= (wxRegion
*) 0 ;
10038 PyObject
*swig_obj
[1] ;
10040 if (!args
) SWIG_fail
;
10041 swig_obj
[0] = args
;
10042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10043 if (!SWIG_IsOK(res1
)) {
10044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10046 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10053 resultobj
= SWIG_Py_Void();
10060 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
= 0;
10062 wxRegion
*arg1
= (wxRegion
*) 0 ;
10072 PyObject
* obj0
= 0 ;
10073 PyObject
* obj1
= 0 ;
10074 PyObject
* obj2
= 0 ;
10075 char * kwnames
[] = {
10076 (char *) "self",(char *) "x",(char *) "y", NULL
10079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10081 if (!SWIG_IsOK(res1
)) {
10082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10084 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10086 if (!SWIG_IsOK(ecode2
)) {
10087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10089 arg2
= static_cast< int >(val2
);
10090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10091 if (!SWIG_IsOK(ecode3
)) {
10092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10094 arg3
= static_cast< int >(val3
);
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10110 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10111 PyObject
*resultobj
= 0;
10112 wxRegion
*arg1
= (wxRegion
*) 0 ;
10115 wxRegionContain result
;
10122 PyObject
* obj0
= 0 ;
10123 PyObject
* obj1
= 0 ;
10124 PyObject
* obj2
= 0 ;
10125 char * kwnames
[] = {
10126 (char *) "self",(char *) "x",(char *) "y", NULL
10129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10131 if (!SWIG_IsOK(res1
)) {
10132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10134 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10136 if (!SWIG_IsOK(ecode2
)) {
10137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10139 arg2
= static_cast< int >(val2
);
10140 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10141 if (!SWIG_IsOK(ecode3
)) {
10142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10144 arg3
= static_cast< int >(val3
);
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 resultobj
= SWIG_From_int(static_cast< int >(result
));
10158 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
= 0;
10160 wxRegion
*arg1
= (wxRegion
*) 0 ;
10161 wxPoint
*arg2
= 0 ;
10162 wxRegionContain result
;
10166 PyObject
* obj0
= 0 ;
10167 PyObject
* obj1
= 0 ;
10168 char * kwnames
[] = {
10169 (char *) "self",(char *) "pt", NULL
10172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10174 if (!SWIG_IsOK(res1
)) {
10175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10177 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10188 resultobj
= SWIG_From_int(static_cast< int >(result
));
10195 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10196 PyObject
*resultobj
= 0;
10197 wxRegion
*arg1
= (wxRegion
*) 0 ;
10199 wxRegionContain result
;
10203 PyObject
* obj0
= 0 ;
10204 PyObject
* obj1
= 0 ;
10205 char * kwnames
[] = {
10206 (char *) "self",(char *) "rect", NULL
10209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10211 if (!SWIG_IsOK(res1
)) {
10212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10214 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10217 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10222 wxPyEndAllowThreads(__tstate
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10225 resultobj
= SWIG_From_int(static_cast< int >(result
));
10232 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10233 PyObject
*resultobj
= 0;
10234 wxRegion
*arg1
= (wxRegion
*) 0 ;
10239 wxRegionContain result
;
10250 PyObject
* obj0
= 0 ;
10251 PyObject
* obj1
= 0 ;
10252 PyObject
* obj2
= 0 ;
10253 PyObject
* obj3
= 0 ;
10254 PyObject
* obj4
= 0 ;
10255 char * kwnames
[] = {
10256 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10261 if (!SWIG_IsOK(res1
)) {
10262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10264 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10266 if (!SWIG_IsOK(ecode2
)) {
10267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10269 arg2
= static_cast< int >(val2
);
10270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10271 if (!SWIG_IsOK(ecode3
)) {
10272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10274 arg3
= static_cast< int >(val3
);
10275 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10276 if (!SWIG_IsOK(ecode4
)) {
10277 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10279 arg4
= static_cast< int >(val4
);
10280 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10281 if (!SWIG_IsOK(ecode5
)) {
10282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10284 arg5
= static_cast< int >(val5
);
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 resultobj
= SWIG_From_int(static_cast< int >(result
));
10298 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10299 PyObject
*resultobj
= 0;
10300 wxRegion
*arg1
= (wxRegion
*) 0 ;
10304 PyObject
*swig_obj
[1] ;
10306 if (!args
) SWIG_fail
;
10307 swig_obj
[0] = args
;
10308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10309 if (!SWIG_IsOK(res1
)) {
10310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10312 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10315 result
= (arg1
)->GetBox();
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10319 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10326 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
= 0;
10328 wxRegion
*arg1
= (wxRegion
*) 0 ;
10344 PyObject
* obj0
= 0 ;
10345 PyObject
* obj1
= 0 ;
10346 PyObject
* obj2
= 0 ;
10347 PyObject
* obj3
= 0 ;
10348 PyObject
* obj4
= 0 ;
10349 char * kwnames
[] = {
10350 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10355 if (!SWIG_IsOK(res1
)) {
10356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10358 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10360 if (!SWIG_IsOK(ecode2
)) {
10361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10363 arg2
= static_cast< int >(val2
);
10364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10365 if (!SWIG_IsOK(ecode3
)) {
10366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10368 arg3
= static_cast< int >(val3
);
10369 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10370 if (!SWIG_IsOK(ecode4
)) {
10371 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10373 arg4
= static_cast< int >(val4
);
10374 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10375 if (!SWIG_IsOK(ecode5
)) {
10376 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10378 arg5
= static_cast< int >(val5
);
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10394 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
= 0;
10396 wxRegion
*arg1
= (wxRegion
*) 0 ;
10402 PyObject
* obj0
= 0 ;
10403 PyObject
* obj1
= 0 ;
10404 char * kwnames
[] = {
10405 (char *) "self",(char *) "rect", NULL
10408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10410 if (!SWIG_IsOK(res1
)) {
10411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10413 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10416 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10433 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
*resultobj
= 0;
10435 wxRegion
*arg1
= (wxRegion
*) 0 ;
10436 wxRegion
*arg2
= 0 ;
10442 PyObject
* obj0
= 0 ;
10443 PyObject
* obj1
= 0 ;
10444 char * kwnames
[] = {
10445 (char *) "self",(char *) "region", NULL
10448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10450 if (!SWIG_IsOK(res1
)) {
10451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10453 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10454 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10455 if (!SWIG_IsOK(res2
)) {
10456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10461 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10477 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10478 PyObject
*resultobj
= 0;
10479 wxRegion
*arg1
= (wxRegion
*) 0 ;
10483 PyObject
*swig_obj
[1] ;
10485 if (!args
) SWIG_fail
;
10486 swig_obj
[0] = args
;
10487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10488 if (!SWIG_IsOK(res1
)) {
10489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10491 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 result
= (bool)(arg1
)->IsEmpty();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10507 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
= 0;
10509 wxRegion
*arg1
= (wxRegion
*) 0 ;
10525 PyObject
* obj0
= 0 ;
10526 PyObject
* obj1
= 0 ;
10527 PyObject
* obj2
= 0 ;
10528 PyObject
* obj3
= 0 ;
10529 PyObject
* obj4
= 0 ;
10530 char * kwnames
[] = {
10531 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10536 if (!SWIG_IsOK(res1
)) {
10537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10539 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10541 if (!SWIG_IsOK(ecode2
)) {
10542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10544 arg2
= static_cast< int >(val2
);
10545 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10546 if (!SWIG_IsOK(ecode3
)) {
10547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10549 arg3
= static_cast< int >(val3
);
10550 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10551 if (!SWIG_IsOK(ecode4
)) {
10552 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10554 arg4
= static_cast< int >(val4
);
10555 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10556 if (!SWIG_IsOK(ecode5
)) {
10557 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10559 arg5
= static_cast< int >(val5
);
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10575 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10576 PyObject
*resultobj
= 0;
10577 wxRegion
*arg1
= (wxRegion
*) 0 ;
10583 PyObject
* obj0
= 0 ;
10584 PyObject
* obj1
= 0 ;
10585 char * kwnames
[] = {
10586 (char *) "self",(char *) "rect", NULL
10589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10591 if (!SWIG_IsOK(res1
)) {
10592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10594 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10597 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10614 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
= 0;
10616 wxRegion
*arg1
= (wxRegion
*) 0 ;
10617 wxRegion
*arg2
= 0 ;
10623 PyObject
* obj0
= 0 ;
10624 PyObject
* obj1
= 0 ;
10625 char * kwnames
[] = {
10626 (char *) "self",(char *) "region", NULL
10629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10631 if (!SWIG_IsOK(res1
)) {
10632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10634 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10635 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10636 if (!SWIG_IsOK(res2
)) {
10637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10642 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10646 wxPyEndAllowThreads(__tstate
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10658 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
= 0;
10660 wxRegion
*arg1
= (wxRegion
*) 0 ;
10676 PyObject
* obj0
= 0 ;
10677 PyObject
* obj1
= 0 ;
10678 PyObject
* obj2
= 0 ;
10679 PyObject
* obj3
= 0 ;
10680 PyObject
* obj4
= 0 ;
10681 char * kwnames
[] = {
10682 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10687 if (!SWIG_IsOK(res1
)) {
10688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10690 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10692 if (!SWIG_IsOK(ecode2
)) {
10693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10695 arg2
= static_cast< int >(val2
);
10696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10697 if (!SWIG_IsOK(ecode3
)) {
10698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10700 arg3
= static_cast< int >(val3
);
10701 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10702 if (!SWIG_IsOK(ecode4
)) {
10703 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10705 arg4
= static_cast< int >(val4
);
10706 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10707 if (!SWIG_IsOK(ecode5
)) {
10708 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10710 arg5
= static_cast< int >(val5
);
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10726 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10727 PyObject
*resultobj
= 0;
10728 wxRegion
*arg1
= (wxRegion
*) 0 ;
10734 PyObject
* obj0
= 0 ;
10735 PyObject
* obj1
= 0 ;
10736 char * kwnames
[] = {
10737 (char *) "self",(char *) "rect", NULL
10740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10742 if (!SWIG_IsOK(res1
)) {
10743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10745 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10748 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10765 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
= 0;
10767 wxRegion
*arg1
= (wxRegion
*) 0 ;
10768 wxRegion
*arg2
= 0 ;
10774 PyObject
* obj0
= 0 ;
10775 PyObject
* obj1
= 0 ;
10776 char * kwnames
[] = {
10777 (char *) "self",(char *) "region", NULL
10780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10782 if (!SWIG_IsOK(res1
)) {
10783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10785 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10786 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10787 if (!SWIG_IsOK(res2
)) {
10788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10793 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10809 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
*resultobj
= 0;
10811 wxRegion
*arg1
= (wxRegion
*) 0 ;
10827 PyObject
* obj0
= 0 ;
10828 PyObject
* obj1
= 0 ;
10829 PyObject
* obj2
= 0 ;
10830 PyObject
* obj3
= 0 ;
10831 PyObject
* obj4
= 0 ;
10832 char * kwnames
[] = {
10833 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10838 if (!SWIG_IsOK(res1
)) {
10839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
10841 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10843 if (!SWIG_IsOK(ecode2
)) {
10844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
10846 arg2
= static_cast< int >(val2
);
10847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10848 if (!SWIG_IsOK(ecode3
)) {
10849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
10851 arg3
= static_cast< int >(val3
);
10852 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10853 if (!SWIG_IsOK(ecode4
)) {
10854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
10856 arg4
= static_cast< int >(val4
);
10857 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10858 if (!SWIG_IsOK(ecode5
)) {
10859 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
10861 arg5
= static_cast< int >(val5
);
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10877 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
*resultobj
= 0;
10879 wxRegion
*arg1
= (wxRegion
*) 0 ;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 char * kwnames
[] = {
10888 (char *) "self",(char *) "rect", NULL
10891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10893 if (!SWIG_IsOK(res1
)) {
10894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10896 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10899 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10916 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
= 0;
10918 wxRegion
*arg1
= (wxRegion
*) 0 ;
10919 wxRegion
*arg2
= 0 ;
10925 PyObject
* obj0
= 0 ;
10926 PyObject
* obj1
= 0 ;
10927 char * kwnames
[] = {
10928 (char *) "self",(char *) "region", NULL
10931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10933 if (!SWIG_IsOK(res1
)) {
10934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10936 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10937 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10938 if (!SWIG_IsOK(res2
)) {
10939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10944 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10960 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10961 PyObject
*resultobj
= 0;
10962 wxRegion
*arg1
= (wxRegion
*) 0 ;
10963 SwigValueWrapper
<wxBitmap
> result
;
10966 PyObject
*swig_obj
[1] ;
10968 if (!args
) SWIG_fail
;
10969 swig_obj
[0] = args
;
10970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10971 if (!SWIG_IsOK(res1
)) {
10972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
10974 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10977 result
= (arg1
)->ConvertToBitmap();
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10981 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
10988 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10989 PyObject
*resultobj
= 0;
10990 wxRegion
*arg1
= (wxRegion
*) 0 ;
10991 wxBitmap
*arg2
= 0 ;
10997 PyObject
* obj0
= 0 ;
10998 PyObject
* obj1
= 0 ;
10999 char * kwnames
[] = {
11000 (char *) "self",(char *) "bmp", NULL
11003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11005 if (!SWIG_IsOK(res1
)) {
11006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11008 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11009 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11010 if (!SWIG_IsOK(res2
)) {
11011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11016 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11032 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
= 0;
11034 wxRegion
*arg1
= (wxRegion
*) 0 ;
11035 wxBitmap
*arg2
= 0 ;
11036 wxColour
*arg3
= 0 ;
11037 int arg4
= (int) 0 ;
11046 PyObject
* obj0
= 0 ;
11047 PyObject
* obj1
= 0 ;
11048 PyObject
* obj2
= 0 ;
11049 PyObject
* obj3
= 0 ;
11050 char * kwnames
[] = {
11051 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11056 if (!SWIG_IsOK(res1
)) {
11057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11059 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11061 if (!SWIG_IsOK(res2
)) {
11062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11067 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11070 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11073 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11074 if (!SWIG_IsOK(ecode4
)) {
11075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11077 arg4
= static_cast< int >(val4
);
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11094 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11097 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11098 return SWIG_Py_Void();
11101 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11102 return SWIG_Python_InitShadowInstance(args
);
11105 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
*resultobj
= 0;
11107 wxRegion
*arg1
= 0 ;
11108 wxRegionIterator
*result
= 0 ;
11111 PyObject
* obj0
= 0 ;
11112 char * kwnames
[] = {
11113 (char *) "region", NULL
11116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11117 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11118 if (!SWIG_IsOK(res1
)) {
11119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11124 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11126 if (!wxPyCheckForApp()) SWIG_fail
;
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11139 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11140 PyObject
*resultobj
= 0;
11141 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11144 PyObject
*swig_obj
[1] ;
11146 if (!args
) SWIG_fail
;
11147 swig_obj
[0] = args
;
11148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11149 if (!SWIG_IsOK(res1
)) {
11150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11152 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11160 resultobj
= SWIG_Py_Void();
11167 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11168 PyObject
*resultobj
= 0;
11169 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11173 PyObject
*swig_obj
[1] ;
11175 if (!args
) SWIG_fail
;
11176 swig_obj
[0] = args
;
11177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11178 if (!SWIG_IsOK(res1
)) {
11179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11181 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11184 result
= (int)(arg1
)->GetX();
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= SWIG_From_int(static_cast< int >(result
));
11195 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11196 PyObject
*resultobj
= 0;
11197 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11201 PyObject
*swig_obj
[1] ;
11203 if (!args
) SWIG_fail
;
11204 swig_obj
[0] = args
;
11205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11206 if (!SWIG_IsOK(res1
)) {
11207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11209 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11212 result
= (int)(arg1
)->GetY();
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11216 resultobj
= SWIG_From_int(static_cast< int >(result
));
11223 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11224 PyObject
*resultobj
= 0;
11225 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11229 PyObject
*swig_obj
[1] ;
11231 if (!args
) SWIG_fail
;
11232 swig_obj
[0] = args
;
11233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11234 if (!SWIG_IsOK(res1
)) {
11235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11237 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 result
= (int)(arg1
)->GetW();
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11244 resultobj
= SWIG_From_int(static_cast< int >(result
));
11251 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11252 PyObject
*resultobj
= 0;
11253 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11257 PyObject
*swig_obj
[1] ;
11259 if (!args
) SWIG_fail
;
11260 swig_obj
[0] = args
;
11261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11262 if (!SWIG_IsOK(res1
)) {
11263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11265 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (int)(arg1
)->GetWidth();
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11272 resultobj
= SWIG_From_int(static_cast< int >(result
));
11279 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11280 PyObject
*resultobj
= 0;
11281 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11285 PyObject
*swig_obj
[1] ;
11287 if (!args
) SWIG_fail
;
11288 swig_obj
[0] = args
;
11289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11290 if (!SWIG_IsOK(res1
)) {
11291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11293 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 result
= (int)(arg1
)->GetH();
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11300 resultobj
= SWIG_From_int(static_cast< int >(result
));
11307 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11308 PyObject
*resultobj
= 0;
11309 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11313 PyObject
*swig_obj
[1] ;
11315 if (!args
) SWIG_fail
;
11316 swig_obj
[0] = args
;
11317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11318 if (!SWIG_IsOK(res1
)) {
11319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11321 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (int)(arg1
)->GetHeight();
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 resultobj
= SWIG_From_int(static_cast< int >(result
));
11335 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11336 PyObject
*resultobj
= 0;
11337 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11341 PyObject
*swig_obj
[1] ;
11343 if (!args
) SWIG_fail
;
11344 swig_obj
[0] = args
;
11345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11346 if (!SWIG_IsOK(res1
)) {
11347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11349 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11352 result
= (arg1
)->GetRect();
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11363 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11364 PyObject
*resultobj
= 0;
11365 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11369 PyObject
*swig_obj
[1] ;
11371 if (!args
) SWIG_fail
;
11372 swig_obj
[0] = args
;
11373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11374 if (!SWIG_IsOK(res1
)) {
11375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11377 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 result
= (bool)(arg1
)->HaveRects();
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11393 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11394 PyObject
*resultobj
= 0;
11395 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11398 PyObject
*swig_obj
[1] ;
11400 if (!args
) SWIG_fail
;
11401 swig_obj
[0] = args
;
11402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11403 if (!SWIG_IsOK(res1
)) {
11404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11406 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11413 resultobj
= SWIG_Py_Void();
11420 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11421 PyObject
*resultobj
= 0;
11422 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11425 PyObject
*swig_obj
[1] ;
11427 if (!args
) SWIG_fail
;
11428 swig_obj
[0] = args
;
11429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11430 if (!SWIG_IsOK(res1
)) {
11431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11433 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 wxRegionIterator_Next(arg1
);
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11440 resultobj
= SWIG_Py_Void();
11447 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11448 PyObject
*resultobj
= 0;
11449 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11453 PyObject
*swig_obj
[1] ;
11455 if (!args
) SWIG_fail
;
11456 swig_obj
[0] = args
;
11457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11458 if (!SWIG_IsOK(res1
)) {
11459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11461 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11477 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11480 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11481 return SWIG_Py_Void();
11484 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11485 return SWIG_Python_InitShadowInstance(args
);
11488 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11489 PyObject
*resultobj
= 0;
11490 wxNativeFontInfo
*result
= 0 ;
11492 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11506 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11507 PyObject
*resultobj
= 0;
11508 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11511 PyObject
*swig_obj
[1] ;
11513 if (!args
) SWIG_fail
;
11514 swig_obj
[0] = args
;
11515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11516 if (!SWIG_IsOK(res1
)) {
11517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11519 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11524 wxPyEndAllowThreads(__tstate
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11527 resultobj
= SWIG_Py_Void();
11534 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11535 PyObject
*resultobj
= 0;
11536 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11539 PyObject
*swig_obj
[1] ;
11541 if (!args
) SWIG_fail
;
11542 swig_obj
[0] = args
;
11543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11544 if (!SWIG_IsOK(res1
)) {
11545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11547 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11554 resultobj
= SWIG_Py_Void();
11561 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
= 0;
11563 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11569 PyObject
* obj0
= 0 ;
11570 PyObject
* obj1
= 0 ;
11571 char * kwnames
[] = {
11572 (char *) "self",(char *) "font", NULL
11575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11577 if (!SWIG_IsOK(res1
)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11580 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11582 if (!SWIG_IsOK(res2
)) {
11583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11588 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= SWIG_Py_Void();
11602 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11603 PyObject
*resultobj
= 0;
11604 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11608 PyObject
*swig_obj
[1] ;
11610 if (!args
) SWIG_fail
;
11611 swig_obj
[0] = args
;
11612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11613 if (!SWIG_IsOK(res1
)) {
11614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11616 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11623 resultobj
= SWIG_From_int(static_cast< int >(result
));
11630 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11631 PyObject
*resultobj
= 0;
11632 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11633 wxFontStyle result
;
11636 PyObject
*swig_obj
[1] ;
11638 if (!args
) SWIG_fail
;
11639 swig_obj
[0] = args
;
11640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11641 if (!SWIG_IsOK(res1
)) {
11642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11644 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11651 resultobj
= SWIG_From_int(static_cast< int >(result
));
11658 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11659 PyObject
*resultobj
= 0;
11660 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11661 wxFontWeight result
;
11664 PyObject
*swig_obj
[1] ;
11666 if (!args
) SWIG_fail
;
11667 swig_obj
[0] = args
;
11668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11669 if (!SWIG_IsOK(res1
)) {
11670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11672 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= SWIG_From_int(static_cast< int >(result
));
11686 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11687 PyObject
*resultobj
= 0;
11688 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11692 PyObject
*swig_obj
[1] ;
11694 if (!args
) SWIG_fail
;
11695 swig_obj
[0] = args
;
11696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11697 if (!SWIG_IsOK(res1
)) {
11698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11700 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11716 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11717 PyObject
*resultobj
= 0;
11718 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11722 PyObject
*swig_obj
[1] ;
11724 if (!args
) SWIG_fail
;
11725 swig_obj
[0] = args
;
11726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11727 if (!SWIG_IsOK(res1
)) {
11728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11730 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11750 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11751 PyObject
*resultobj
= 0;
11752 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11753 wxFontFamily result
;
11756 PyObject
*swig_obj
[1] ;
11758 if (!args
) SWIG_fail
;
11759 swig_obj
[0] = args
;
11760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11761 if (!SWIG_IsOK(res1
)) {
11762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11764 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11771 resultobj
= SWIG_From_int(static_cast< int >(result
));
11778 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11779 PyObject
*resultobj
= 0;
11780 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11781 wxFontEncoding result
;
11784 PyObject
*swig_obj
[1] ;
11786 if (!args
) SWIG_fail
;
11787 swig_obj
[0] = args
;
11788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11789 if (!SWIG_IsOK(res1
)) {
11790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11792 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11795 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
11796 wxPyEndAllowThreads(__tstate
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11799 resultobj
= SWIG_From_int(static_cast< int >(result
));
11806 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11807 PyObject
*resultobj
= 0;
11808 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11814 PyObject
* obj0
= 0 ;
11815 PyObject
* obj1
= 0 ;
11816 char * kwnames
[] = {
11817 (char *) "self",(char *) "pointsize", NULL
11820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11822 if (!SWIG_IsOK(res1
)) {
11823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11825 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11827 if (!SWIG_IsOK(ecode2
)) {
11828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
11830 arg2
= static_cast< int >(val2
);
11832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11833 (arg1
)->SetPointSize(arg2
);
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11837 resultobj
= SWIG_Py_Void();
11844 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11845 PyObject
*resultobj
= 0;
11846 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11852 PyObject
* obj0
= 0 ;
11853 PyObject
* obj1
= 0 ;
11854 char * kwnames
[] = {
11855 (char *) "self",(char *) "style", NULL
11858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11860 if (!SWIG_IsOK(res1
)) {
11861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11863 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11865 if (!SWIG_IsOK(ecode2
)) {
11866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
11868 arg2
= static_cast< wxFontStyle
>(val2
);
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 (arg1
)->SetStyle(arg2
);
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11875 resultobj
= SWIG_Py_Void();
11882 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11883 PyObject
*resultobj
= 0;
11884 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11885 wxFontWeight arg2
;
11890 PyObject
* obj0
= 0 ;
11891 PyObject
* obj1
= 0 ;
11892 char * kwnames
[] = {
11893 (char *) "self",(char *) "weight", NULL
11896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11898 if (!SWIG_IsOK(res1
)) {
11899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11901 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11903 if (!SWIG_IsOK(ecode2
)) {
11904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
11906 arg2
= static_cast< wxFontWeight
>(val2
);
11908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11909 (arg1
)->SetWeight(arg2
);
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11913 resultobj
= SWIG_Py_Void();
11920 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
= 0;
11922 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11928 PyObject
* obj0
= 0 ;
11929 PyObject
* obj1
= 0 ;
11930 char * kwnames
[] = {
11931 (char *) "self",(char *) "underlined", NULL
11934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11936 if (!SWIG_IsOK(res1
)) {
11937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11939 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11940 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11941 if (!SWIG_IsOK(ecode2
)) {
11942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
11944 arg2
= static_cast< bool >(val2
);
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 (arg1
)->SetUnderlined(arg2
);
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 resultobj
= SWIG_Py_Void();
11958 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11959 PyObject
*resultobj
= 0;
11960 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11965 PyObject
* obj0
= 0 ;
11966 PyObject
* obj1
= 0 ;
11967 char * kwnames
[] = {
11968 (char *) "self",(char *) "facename", NULL
11971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11973 if (!SWIG_IsOK(res1
)) {
11974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11976 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11978 wxString
* sptr
= wxString_in_helper(obj1
);
11979 if (sptr
== NULL
) SWIG_fail
;
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= (bool)(arg1
)->SetFaceName(arg2
);
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11998 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11999 PyObject
*resultobj
= 0;
12000 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12001 wxFontFamily arg2
;
12006 PyObject
* obj0
= 0 ;
12007 PyObject
* obj1
= 0 ;
12008 char * kwnames
[] = {
12009 (char *) "self",(char *) "family", NULL
12012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12014 if (!SWIG_IsOK(res1
)) {
12015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12017 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12019 if (!SWIG_IsOK(ecode2
)) {
12020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12022 arg2
= static_cast< wxFontFamily
>(val2
);
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 (arg1
)->SetFamily(arg2
);
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12029 resultobj
= SWIG_Py_Void();
12036 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
= 0;
12038 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12039 wxFontEncoding arg2
;
12044 PyObject
* obj0
= 0 ;
12045 PyObject
* obj1
= 0 ;
12046 char * kwnames
[] = {
12047 (char *) "self",(char *) "encoding", NULL
12050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12052 if (!SWIG_IsOK(res1
)) {
12053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12055 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12057 if (!SWIG_IsOK(ecode2
)) {
12058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12060 arg2
= static_cast< wxFontEncoding
>(val2
);
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 (arg1
)->SetEncoding(arg2
);
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= SWIG_Py_Void();
12074 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
= 0;
12076 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12077 wxString
*arg2
= 0 ;
12081 bool temp2
= false ;
12082 PyObject
* obj0
= 0 ;
12083 PyObject
* obj1
= 0 ;
12084 char * kwnames
[] = {
12085 (char *) "self",(char *) "s", NULL
12088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12090 if (!SWIG_IsOK(res1
)) {
12091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12093 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12095 arg2
= wxString_in_helper(obj1
);
12096 if (arg2
== NULL
) SWIG_fail
;
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12122 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12123 PyObject
*resultobj
= 0;
12124 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12128 PyObject
*swig_obj
[1] ;
12130 if (!args
) SWIG_fail
;
12131 swig_obj
[0] = args
;
12132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12133 if (!SWIG_IsOK(res1
)) {
12134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12136 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12140 wxPyEndAllowThreads(__tstate
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12156 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12157 PyObject
*resultobj
= 0;
12158 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12162 PyObject
*swig_obj
[1] ;
12164 if (!args
) SWIG_fail
;
12165 swig_obj
[0] = args
;
12166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12167 if (!SWIG_IsOK(res1
)) {
12168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12170 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 result
= wxNativeFontInfo___str__(arg1
);
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12190 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
= 0;
12192 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12193 wxString
*arg2
= 0 ;
12197 bool temp2
= false ;
12198 PyObject
* obj0
= 0 ;
12199 PyObject
* obj1
= 0 ;
12200 char * kwnames
[] = {
12201 (char *) "self",(char *) "s", NULL
12204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12206 if (!SWIG_IsOK(res1
)) {
12207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12209 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12211 arg2
= wxString_in_helper(obj1
);
12212 if (arg2
== NULL
) SWIG_fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12238 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12239 PyObject
*resultobj
= 0;
12240 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12244 PyObject
*swig_obj
[1] ;
12246 if (!args
) SWIG_fail
;
12247 swig_obj
[0] = args
;
12248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12249 if (!SWIG_IsOK(res1
)) {
12250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12252 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12272 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12274 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12275 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12276 return SWIG_Py_Void();
12279 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12280 return SWIG_Python_InitShadowInstance(args
);
12283 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12284 PyObject
*resultobj
= 0;
12285 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12286 wxString
*arg2
= (wxString
*) 0 ;
12289 bool temp2
= false ;
12290 PyObject
*swig_obj
[2] ;
12292 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12294 if (!SWIG_IsOK(res1
)) {
12295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12297 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12299 arg2
= wxString_in_helper(swig_obj
[1]);
12300 if (arg2
== NULL
) SWIG_fail
;
12303 if (arg1
) (arg1
)->facename
= *arg2
;
12305 resultobj
= SWIG_Py_Void();
12320 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12321 PyObject
*resultobj
= 0;
12322 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12323 wxString
*result
= 0 ;
12326 PyObject
*swig_obj
[1] ;
12328 if (!args
) SWIG_fail
;
12329 swig_obj
[0] = args
;
12330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12331 if (!SWIG_IsOK(res1
)) {
12332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12334 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12335 result
= (wxString
*)& ((arg1
)->facename
);
12338 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12340 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12349 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12350 PyObject
*resultobj
= 0;
12351 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12352 wxFontEncoding arg2
;
12357 PyObject
*swig_obj
[2] ;
12359 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12361 if (!SWIG_IsOK(res1
)) {
12362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12364 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12365 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12366 if (!SWIG_IsOK(ecode2
)) {
12367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12369 arg2
= static_cast< wxFontEncoding
>(val2
);
12370 if (arg1
) (arg1
)->encoding
= arg2
;
12372 resultobj
= SWIG_Py_Void();
12379 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12380 PyObject
*resultobj
= 0;
12381 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12382 wxFontEncoding result
;
12385 PyObject
*swig_obj
[1] ;
12387 if (!args
) SWIG_fail
;
12388 swig_obj
[0] = args
;
12389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12390 if (!SWIG_IsOK(res1
)) {
12391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12393 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12394 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12395 resultobj
= SWIG_From_int(static_cast< int >(result
));
12402 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12403 PyObject
*resultobj
= 0;
12404 wxNativeEncodingInfo
*result
= 0 ;
12406 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12420 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12421 PyObject
*resultobj
= 0;
12422 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12425 PyObject
*swig_obj
[1] ;
12427 if (!args
) SWIG_fail
;
12428 swig_obj
[0] = args
;
12429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12430 if (!SWIG_IsOK(res1
)) {
12431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12433 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 resultobj
= SWIG_Py_Void();
12448 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
= 0;
12450 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12451 wxString
*arg2
= 0 ;
12455 bool temp2
= false ;
12456 PyObject
* obj0
= 0 ;
12457 PyObject
* obj1
= 0 ;
12458 char * kwnames
[] = {
12459 (char *) "self",(char *) "s", NULL
12462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12464 if (!SWIG_IsOK(res1
)) {
12465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12467 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12469 arg2
= wxString_in_helper(obj1
);
12470 if (arg2
== NULL
) SWIG_fail
;
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12496 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12497 PyObject
*resultobj
= 0;
12498 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12502 PyObject
*swig_obj
[1] ;
12504 if (!args
) SWIG_fail
;
12505 swig_obj
[0] = args
;
12506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12507 if (!SWIG_IsOK(res1
)) {
12508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12510 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12513 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12530 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12533 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12534 return SWIG_Py_Void();
12537 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12538 return SWIG_Python_InitShadowInstance(args
);
12541 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
= 0;
12543 wxFontEncoding arg1
;
12544 wxNativeEncodingInfo
*result
= 0 ;
12547 PyObject
* obj0
= 0 ;
12548 char * kwnames
[] = {
12549 (char *) "encoding", NULL
12552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12553 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12554 if (!SWIG_IsOK(ecode1
)) {
12555 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12557 arg1
= static_cast< wxFontEncoding
>(val1
);
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12571 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
= 0;
12573 wxNativeEncodingInfo
*arg1
= 0 ;
12577 PyObject
* obj0
= 0 ;
12578 char * kwnames
[] = {
12579 (char *) "info", NULL
12582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12583 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12584 if (!SWIG_IsOK(res1
)) {
12585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12590 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12606 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12607 PyObject
*resultobj
= 0;
12608 wxFontMapper
*result
= 0 ;
12610 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 result
= (wxFontMapper
*)new wxFontMapper();
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12624 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12625 PyObject
*resultobj
= 0;
12626 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12629 PyObject
*swig_obj
[1] ;
12631 if (!args
) SWIG_fail
;
12632 swig_obj
[0] = args
;
12633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12634 if (!SWIG_IsOK(res1
)) {
12635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12637 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12642 wxPyEndAllowThreads(__tstate
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12645 resultobj
= SWIG_Py_Void();
12652 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12653 PyObject
*resultobj
= 0;
12654 wxFontMapper
*result
= 0 ;
12656 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 result
= (wxFontMapper
*)wxFontMapper::Get();
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12670 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12671 PyObject
*resultobj
= 0;
12672 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12673 wxFontMapper
*result
= 0 ;
12676 PyObject
* obj0
= 0 ;
12677 char * kwnames
[] = {
12678 (char *) "mapper", NULL
12681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12683 if (!SWIG_IsOK(res1
)) {
12684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12686 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12700 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
= 0;
12702 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12703 wxString
*arg2
= 0 ;
12704 bool arg3
= (bool) true ;
12705 wxFontEncoding result
;
12708 bool temp2
= false ;
12711 PyObject
* obj0
= 0 ;
12712 PyObject
* obj1
= 0 ;
12713 PyObject
* obj2
= 0 ;
12714 char * kwnames
[] = {
12715 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12720 if (!SWIG_IsOK(res1
)) {
12721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12723 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12725 arg2
= wxString_in_helper(obj1
);
12726 if (arg2
== NULL
) SWIG_fail
;
12730 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12731 if (!SWIG_IsOK(ecode3
)) {
12732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12734 arg3
= static_cast< bool >(val3
);
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 resultobj
= SWIG_From_int(static_cast< int >(result
));
12757 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12758 PyObject
*resultobj
= 0;
12761 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12768 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12775 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
= 0;
12778 wxFontEncoding result
;
12781 PyObject
* obj0
= 0 ;
12782 char * kwnames
[] = {
12786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
12787 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
12788 if (!SWIG_IsOK(ecode1
)) {
12789 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
12791 arg1
= static_cast< size_t >(val1
);
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
12795 wxPyEndAllowThreads(__tstate
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12798 resultobj
= SWIG_From_int(static_cast< int >(result
));
12805 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12806 PyObject
*resultobj
= 0;
12807 wxFontEncoding arg1
;
12811 PyObject
* obj0
= 0 ;
12812 char * kwnames
[] = {
12813 (char *) "encoding", NULL
12816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
12817 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12818 if (!SWIG_IsOK(ecode1
)) {
12819 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12821 arg1
= static_cast< wxFontEncoding
>(val1
);
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 result
= wxFontMapper::GetEncodingName(arg1
);
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12841 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12842 PyObject
*resultobj
= 0;
12843 wxFontEncoding arg1
;
12847 PyObject
* obj0
= 0 ;
12848 char * kwnames
[] = {
12849 (char *) "encoding", NULL
12852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
12853 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12854 if (!SWIG_IsOK(ecode1
)) {
12855 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12857 arg1
= static_cast< wxFontEncoding
>(val1
);
12859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12860 result
= wxFontMapper::GetEncodingDescription(arg1
);
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12877 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12878 PyObject
*resultobj
= 0;
12879 wxString
*arg1
= 0 ;
12880 wxFontEncoding result
;
12881 bool temp1
= false ;
12882 PyObject
* obj0
= 0 ;
12883 char * kwnames
[] = {
12884 (char *) "name", NULL
12887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
12889 arg1
= wxString_in_helper(obj0
);
12890 if (arg1
== NULL
) SWIG_fail
;
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12899 resultobj
= SWIG_From_int(static_cast< int >(result
));
12914 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
= 0;
12916 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12917 wxString
*arg2
= 0 ;
12920 bool temp2
= false ;
12921 PyObject
* obj0
= 0 ;
12922 PyObject
* obj1
= 0 ;
12923 char * kwnames
[] = {
12924 (char *) "self",(char *) "prefix", NULL
12927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12929 if (!SWIG_IsOK(res1
)) {
12930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12932 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12934 arg2
= wxString_in_helper(obj1
);
12935 if (arg2
== NULL
) SWIG_fail
;
12939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12940 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
12941 wxPyEndAllowThreads(__tstate
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12944 resultobj
= SWIG_Py_Void();
12959 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12960 PyObject
*resultobj
= 0;
12963 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 result
= wxFontMapper::GetDefaultConfigPath();
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12983 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12984 PyObject
*resultobj
= 0;
12985 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12986 wxFontEncoding arg2
;
12987 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12988 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12989 bool arg4
= (bool) true ;
12990 PyObject
*result
= 0 ;
12995 bool temp3
= false ;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 PyObject
* obj2
= 0 ;
13001 PyObject
* obj3
= 0 ;
13002 char * kwnames
[] = {
13003 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13008 if (!SWIG_IsOK(res1
)) {
13009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13011 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13013 if (!SWIG_IsOK(ecode2
)) {
13014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13016 arg2
= static_cast< wxFontEncoding
>(val2
);
13019 arg3
= wxString_in_helper(obj2
);
13020 if (arg3
== NULL
) SWIG_fail
;
13025 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13026 if (!SWIG_IsOK(ecode4
)) {
13027 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13029 arg4
= static_cast< bool >(val4
);
13032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13033 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= result
;
13052 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
= 0;
13054 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13055 wxFontEncoding arg2
;
13056 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13057 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13063 bool temp3
= false ;
13064 PyObject
* obj0
= 0 ;
13065 PyObject
* obj1
= 0 ;
13066 PyObject
* obj2
= 0 ;
13067 char * kwnames
[] = {
13068 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13073 if (!SWIG_IsOK(res1
)) {
13074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13076 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13078 if (!SWIG_IsOK(ecode2
)) {
13079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13081 arg2
= static_cast< wxFontEncoding
>(val2
);
13084 arg3
= wxString_in_helper(obj2
);
13085 if (arg3
== NULL
) SWIG_fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13112 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
= 0;
13114 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13115 wxWindow
*arg2
= (wxWindow
*) 0 ;
13120 PyObject
* obj0
= 0 ;
13121 PyObject
* obj1
= 0 ;
13122 char * kwnames
[] = {
13123 (char *) "self",(char *) "parent", NULL
13126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13128 if (!SWIG_IsOK(res1
)) {
13129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13131 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13132 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13133 if (!SWIG_IsOK(res2
)) {
13134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13136 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 (arg1
)->SetDialogParent(arg2
);
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13143 resultobj
= SWIG_Py_Void();
13150 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
= 0;
13152 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13153 wxString
*arg2
= 0 ;
13156 bool temp2
= false ;
13157 PyObject
* obj0
= 0 ;
13158 PyObject
* obj1
= 0 ;
13159 char * kwnames
[] = {
13160 (char *) "self",(char *) "title", NULL
13163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13165 if (!SWIG_IsOK(res1
)) {
13166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13168 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13170 arg2
= wxString_in_helper(obj1
);
13171 if (arg2
== NULL
) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= SWIG_Py_Void();
13195 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13198 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13199 return SWIG_Py_Void();
13202 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13203 return SWIG_Python_InitShadowInstance(args
);
13206 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13207 PyObject
*resultobj
= 0;
13212 bool arg5
= (bool) false ;
13213 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13214 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13215 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13216 wxFont
*result
= 0 ;
13227 bool temp6
= false ;
13230 PyObject
* obj0
= 0 ;
13231 PyObject
* obj1
= 0 ;
13232 PyObject
* obj2
= 0 ;
13233 PyObject
* obj3
= 0 ;
13234 PyObject
* obj4
= 0 ;
13235 PyObject
* obj5
= 0 ;
13236 PyObject
* obj6
= 0 ;
13237 char * kwnames
[] = {
13238 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13242 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13243 if (!SWIG_IsOK(ecode1
)) {
13244 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13246 arg1
= static_cast< int >(val1
);
13247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13248 if (!SWIG_IsOK(ecode2
)) {
13249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13251 arg2
= static_cast< int >(val2
);
13252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13253 if (!SWIG_IsOK(ecode3
)) {
13254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13256 arg3
= static_cast< int >(val3
);
13257 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13258 if (!SWIG_IsOK(ecode4
)) {
13259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13261 arg4
= static_cast< int >(val4
);
13263 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13264 if (!SWIG_IsOK(ecode5
)) {
13265 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13267 arg5
= static_cast< bool >(val5
);
13271 arg6
= wxString_in_helper(obj5
);
13272 if (arg6
== NULL
) SWIG_fail
;
13277 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13278 if (!SWIG_IsOK(ecode7
)) {
13279 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13281 arg7
= static_cast< wxFontEncoding
>(val7
);
13284 if (!wxPyCheckForApp()) SWIG_fail
;
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13305 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13306 PyObject
*resultobj
= 0;
13307 wxFont
*arg1
= (wxFont
*) 0 ;
13310 PyObject
*swig_obj
[1] ;
13312 if (!args
) SWIG_fail
;
13313 swig_obj
[0] = args
;
13314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13315 if (!SWIG_IsOK(res1
)) {
13316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13318 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13326 resultobj
= SWIG_Py_Void();
13333 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13334 PyObject
*resultobj
= 0;
13335 wxNativeFontInfo
*arg1
= 0 ;
13336 wxFont
*result
= 0 ;
13339 PyObject
* obj0
= 0 ;
13340 char * kwnames
[] = {
13341 (char *) "info", NULL
13344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13345 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13346 if (!SWIG_IsOK(res1
)) {
13347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13352 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13354 if (!wxPyCheckForApp()) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13367 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13368 PyObject
*resultobj
= 0;
13369 wxString
*arg1
= 0 ;
13370 wxFont
*result
= 0 ;
13371 bool temp1
= false ;
13372 PyObject
* obj0
= 0 ;
13373 char * kwnames
[] = {
13374 (char *) "info", NULL
13377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13379 arg1
= wxString_in_helper(obj0
);
13380 if (arg1
== NULL
) SWIG_fail
;
13384 if (!wxPyCheckForApp()) SWIG_fail
;
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13386 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13405 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
= 0;
13408 wxFontFamily arg2
;
13409 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13410 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13411 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13412 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13413 wxFont
*result
= 0 ;
13420 bool temp4
= false ;
13423 PyObject
* obj0
= 0 ;
13424 PyObject
* obj1
= 0 ;
13425 PyObject
* obj2
= 0 ;
13426 PyObject
* obj3
= 0 ;
13427 PyObject
* obj4
= 0 ;
13428 char * kwnames
[] = {
13429 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13433 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13434 if (!SWIG_IsOK(ecode1
)) {
13435 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13437 arg1
= static_cast< int >(val1
);
13438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13439 if (!SWIG_IsOK(ecode2
)) {
13440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13442 arg2
= static_cast< wxFontFamily
>(val2
);
13444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13445 if (!SWIG_IsOK(ecode3
)) {
13446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13448 arg3
= static_cast< int >(val3
);
13452 arg4
= wxString_in_helper(obj3
);
13453 if (arg4
== NULL
) SWIG_fail
;
13458 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13459 if (!SWIG_IsOK(ecode5
)) {
13460 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13462 arg5
= static_cast< wxFontEncoding
>(val5
);
13465 if (!wxPyCheckForApp()) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13468 wxPyEndAllowThreads(__tstate
);
13469 if (PyErr_Occurred()) SWIG_fail
;
13471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13486 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13487 PyObject
*resultobj
= 0;
13492 bool arg5
= (bool) false ;
13493 wxString
const &arg6_defvalue
= wxEmptyString
;
13494 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13495 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13496 wxFont
*result
= 0 ;
13506 bool temp6
= false ;
13509 PyObject
* obj0
= 0 ;
13510 PyObject
* obj1
= 0 ;
13511 PyObject
* obj2
= 0 ;
13512 PyObject
* obj3
= 0 ;
13513 PyObject
* obj4
= 0 ;
13514 PyObject
* obj5
= 0 ;
13515 PyObject
* obj6
= 0 ;
13516 char * kwnames
[] = {
13517 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13523 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13526 if (!SWIG_IsOK(ecode2
)) {
13527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13529 arg2
= static_cast< int >(val2
);
13530 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13531 if (!SWIG_IsOK(ecode3
)) {
13532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13534 arg3
= static_cast< int >(val3
);
13535 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13536 if (!SWIG_IsOK(ecode4
)) {
13537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13539 arg4
= static_cast< int >(val4
);
13541 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13542 if (!SWIG_IsOK(ecode5
)) {
13543 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13545 arg5
= static_cast< bool >(val5
);
13549 arg6
= wxString_in_helper(obj5
);
13550 if (arg6
== NULL
) SWIG_fail
;
13555 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13556 if (!SWIG_IsOK(ecode7
)) {
13557 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13559 arg7
= static_cast< wxFontEncoding
>(val7
);
13562 if (!wxPyCheckForApp()) SWIG_fail
;
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13583 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13584 PyObject
*resultobj
= 0;
13586 wxFontFamily arg2
;
13587 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13588 wxString
const &arg4_defvalue
= wxEmptyString
;
13589 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13590 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13591 wxFont
*result
= 0 ;
13597 bool temp4
= false ;
13600 PyObject
* obj0
= 0 ;
13601 PyObject
* obj1
= 0 ;
13602 PyObject
* obj2
= 0 ;
13603 PyObject
* obj3
= 0 ;
13604 PyObject
* obj4
= 0 ;
13605 char * kwnames
[] = {
13606 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13612 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13615 if (!SWIG_IsOK(ecode2
)) {
13616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13618 arg2
= static_cast< wxFontFamily
>(val2
);
13620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13621 if (!SWIG_IsOK(ecode3
)) {
13622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13624 arg3
= static_cast< int >(val3
);
13628 arg4
= wxString_in_helper(obj3
);
13629 if (arg4
== NULL
) SWIG_fail
;
13634 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13635 if (!SWIG_IsOK(ecode5
)) {
13636 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13638 arg5
= static_cast< wxFontEncoding
>(val5
);
13641 if (!wxPyCheckForApp()) SWIG_fail
;
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13643 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13662 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13663 PyObject
*resultobj
= 0;
13664 wxFont
*arg1
= (wxFont
*) 0 ;
13668 PyObject
*swig_obj
[1] ;
13670 if (!args
) SWIG_fail
;
13671 swig_obj
[0] = args
;
13672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13673 if (!SWIG_IsOK(res1
)) {
13674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
13676 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13679 result
= (bool)((wxFont
const *)arg1
)->Ok();
13680 wxPyEndAllowThreads(__tstate
);
13681 if (PyErr_Occurred()) SWIG_fail
;
13684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13692 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13693 PyObject
*resultobj
= 0;
13694 wxFont
*arg1
= (wxFont
*) 0 ;
13695 wxFont
*arg2
= (wxFont
*) 0 ;
13701 PyObject
* obj0
= 0 ;
13702 PyObject
* obj1
= 0 ;
13703 char * kwnames
[] = {
13704 (char *) "self",(char *) "other", NULL
13707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13709 if (!SWIG_IsOK(res1
)) {
13710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13712 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13714 if (!SWIG_IsOK(res2
)) {
13715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13717 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13720 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13733 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
= 0;
13735 wxFont
*arg1
= (wxFont
*) 0 ;
13736 wxFont
*arg2
= (wxFont
*) 0 ;
13742 PyObject
* obj0
= 0 ;
13743 PyObject
* obj1
= 0 ;
13744 char * kwnames
[] = {
13745 (char *) "self",(char *) "other", NULL
13748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13750 if (!SWIG_IsOK(res1
)) {
13751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13753 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13754 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13755 if (!SWIG_IsOK(res2
)) {
13756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13758 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13761 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13774 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13775 PyObject
*resultobj
= 0;
13776 wxFont
*arg1
= (wxFont
*) 0 ;
13780 PyObject
*swig_obj
[1] ;
13782 if (!args
) SWIG_fail
;
13783 swig_obj
[0] = args
;
13784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13785 if (!SWIG_IsOK(res1
)) {
13786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13788 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13791 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 resultobj
= SWIG_From_int(static_cast< int >(result
));
13802 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13803 PyObject
*resultobj
= 0;
13804 wxFont
*arg1
= (wxFont
*) 0 ;
13808 PyObject
*swig_obj
[1] ;
13810 if (!args
) SWIG_fail
;
13811 swig_obj
[0] = args
;
13812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13813 if (!SWIG_IsOK(res1
)) {
13814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13816 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13819 result
= ((wxFont
const *)arg1
)->GetPixelSize();
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13823 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
13830 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13831 PyObject
*resultobj
= 0;
13832 wxFont
*arg1
= (wxFont
*) 0 ;
13836 PyObject
*swig_obj
[1] ;
13838 if (!args
) SWIG_fail
;
13839 swig_obj
[0] = args
;
13840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13841 if (!SWIG_IsOK(res1
)) {
13842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
13844 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13847 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13860 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13861 PyObject
*resultobj
= 0;
13862 wxFont
*arg1
= (wxFont
*) 0 ;
13866 PyObject
*swig_obj
[1] ;
13868 if (!args
) SWIG_fail
;
13869 swig_obj
[0] = args
;
13870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13871 if (!SWIG_IsOK(res1
)) {
13872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
13874 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13877 result
= (int)((wxFont
const *)arg1
)->GetFamily();
13878 wxPyEndAllowThreads(__tstate
);
13879 if (PyErr_Occurred()) SWIG_fail
;
13881 resultobj
= SWIG_From_int(static_cast< int >(result
));
13888 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13889 PyObject
*resultobj
= 0;
13890 wxFont
*arg1
= (wxFont
*) 0 ;
13894 PyObject
*swig_obj
[1] ;
13896 if (!args
) SWIG_fail
;
13897 swig_obj
[0] = args
;
13898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13899 if (!SWIG_IsOK(res1
)) {
13900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
13902 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 result
= (int)((wxFont
const *)arg1
)->GetStyle();
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13909 resultobj
= SWIG_From_int(static_cast< int >(result
));
13916 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13917 PyObject
*resultobj
= 0;
13918 wxFont
*arg1
= (wxFont
*) 0 ;
13922 PyObject
*swig_obj
[1] ;
13924 if (!args
) SWIG_fail
;
13925 swig_obj
[0] = args
;
13926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13927 if (!SWIG_IsOK(res1
)) {
13928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
13930 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 result
= (int)((wxFont
const *)arg1
)->GetWeight();
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13937 resultobj
= SWIG_From_int(static_cast< int >(result
));
13944 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13945 PyObject
*resultobj
= 0;
13946 wxFont
*arg1
= (wxFont
*) 0 ;
13950 PyObject
*swig_obj
[1] ;
13952 if (!args
) SWIG_fail
;
13953 swig_obj
[0] = args
;
13954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13955 if (!SWIG_IsOK(res1
)) {
13956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
13958 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13974 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13975 PyObject
*resultobj
= 0;
13976 wxFont
*arg1
= (wxFont
*) 0 ;
13980 PyObject
*swig_obj
[1] ;
13982 if (!args
) SWIG_fail
;
13983 swig_obj
[0] = args
;
13984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13985 if (!SWIG_IsOK(res1
)) {
13986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
13988 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13991 result
= ((wxFont
const *)arg1
)->GetFaceName();
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13997 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13999 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14008 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14009 PyObject
*resultobj
= 0;
14010 wxFont
*arg1
= (wxFont
*) 0 ;
14011 wxFontEncoding result
;
14014 PyObject
*swig_obj
[1] ;
14016 if (!args
) SWIG_fail
;
14017 swig_obj
[0] = args
;
14018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14019 if (!SWIG_IsOK(res1
)) {
14020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14022 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14029 resultobj
= SWIG_From_int(static_cast< int >(result
));
14036 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14037 PyObject
*resultobj
= 0;
14038 wxFont
*arg1
= (wxFont
*) 0 ;
14039 wxNativeFontInfo
*result
= 0 ;
14042 PyObject
*swig_obj
[1] ;
14044 if (!args
) SWIG_fail
;
14045 swig_obj
[0] = args
;
14046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14047 if (!SWIG_IsOK(res1
)) {
14048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14050 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14064 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14065 PyObject
*resultobj
= 0;
14066 wxFont
*arg1
= (wxFont
*) 0 ;
14070 PyObject
*swig_obj
[1] ;
14072 if (!args
) SWIG_fail
;
14073 swig_obj
[0] = args
;
14074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14075 if (!SWIG_IsOK(res1
)) {
14076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14078 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14081 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14094 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14095 PyObject
*resultobj
= 0;
14096 wxFont
*arg1
= (wxFont
*) 0 ;
14100 PyObject
*swig_obj
[1] ;
14102 if (!args
) SWIG_fail
;
14103 swig_obj
[0] = args
;
14104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14105 if (!SWIG_IsOK(res1
)) {
14106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14108 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14128 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14129 PyObject
*resultobj
= 0;
14130 wxFont
*arg1
= (wxFont
*) 0 ;
14134 PyObject
*swig_obj
[1] ;
14136 if (!args
) SWIG_fail
;
14137 swig_obj
[0] = args
;
14138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14139 if (!SWIG_IsOK(res1
)) {
14140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14142 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14145 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14151 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14153 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14162 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
= 0;
14164 wxFont
*arg1
= (wxFont
*) 0 ;
14170 PyObject
* obj0
= 0 ;
14171 PyObject
* obj1
= 0 ;
14172 char * kwnames
[] = {
14173 (char *) "self",(char *) "pointSize", NULL
14176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14178 if (!SWIG_IsOK(res1
)) {
14179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14181 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14183 if (!SWIG_IsOK(ecode2
)) {
14184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14186 arg2
= static_cast< int >(val2
);
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 (arg1
)->SetPointSize(arg2
);
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14193 resultobj
= SWIG_Py_Void();
14200 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
= 0;
14202 wxFont
*arg1
= (wxFont
*) 0 ;
14207 PyObject
* obj0
= 0 ;
14208 PyObject
* obj1
= 0 ;
14209 char * kwnames
[] = {
14210 (char *) "self",(char *) "pixelSize", NULL
14213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14215 if (!SWIG_IsOK(res1
)) {
14216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14218 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14221 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14226 wxPyEndAllowThreads(__tstate
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14229 resultobj
= SWIG_Py_Void();
14236 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
= 0;
14238 wxFont
*arg1
= (wxFont
*) 0 ;
14244 PyObject
* obj0
= 0 ;
14245 PyObject
* obj1
= 0 ;
14246 char * kwnames
[] = {
14247 (char *) "self",(char *) "family", NULL
14250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14252 if (!SWIG_IsOK(res1
)) {
14253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14255 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14257 if (!SWIG_IsOK(ecode2
)) {
14258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14260 arg2
= static_cast< int >(val2
);
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 (arg1
)->SetFamily(arg2
);
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 resultobj
= SWIG_Py_Void();
14274 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
= 0;
14276 wxFont
*arg1
= (wxFont
*) 0 ;
14282 PyObject
* obj0
= 0 ;
14283 PyObject
* obj1
= 0 ;
14284 char * kwnames
[] = {
14285 (char *) "self",(char *) "style", NULL
14288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14290 if (!SWIG_IsOK(res1
)) {
14291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14293 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14295 if (!SWIG_IsOK(ecode2
)) {
14296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14298 arg2
= static_cast< int >(val2
);
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 (arg1
)->SetStyle(arg2
);
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14305 resultobj
= SWIG_Py_Void();
14312 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14313 PyObject
*resultobj
= 0;
14314 wxFont
*arg1
= (wxFont
*) 0 ;
14320 PyObject
* obj0
= 0 ;
14321 PyObject
* obj1
= 0 ;
14322 char * kwnames
[] = {
14323 (char *) "self",(char *) "weight", NULL
14326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14328 if (!SWIG_IsOK(res1
)) {
14329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14331 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14333 if (!SWIG_IsOK(ecode2
)) {
14334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14336 arg2
= static_cast< int >(val2
);
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 (arg1
)->SetWeight(arg2
);
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 resultobj
= SWIG_Py_Void();
14350 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
= 0;
14352 wxFont
*arg1
= (wxFont
*) 0 ;
14353 wxString
*arg2
= 0 ;
14357 bool temp2
= false ;
14358 PyObject
* obj0
= 0 ;
14359 PyObject
* obj1
= 0 ;
14360 char * kwnames
[] = {
14361 (char *) "self",(char *) "faceName", NULL
14364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14366 if (!SWIG_IsOK(res1
)) {
14367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14369 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14371 arg2
= wxString_in_helper(obj1
);
14372 if (arg2
== NULL
) SWIG_fail
;
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14378 wxPyEndAllowThreads(__tstate
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14398 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14399 PyObject
*resultobj
= 0;
14400 wxFont
*arg1
= (wxFont
*) 0 ;
14406 PyObject
* obj0
= 0 ;
14407 PyObject
* obj1
= 0 ;
14408 char * kwnames
[] = {
14409 (char *) "self",(char *) "underlined", NULL
14412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14414 if (!SWIG_IsOK(res1
)) {
14415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14417 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14418 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14419 if (!SWIG_IsOK(ecode2
)) {
14420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14422 arg2
= static_cast< bool >(val2
);
14424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14425 (arg1
)->SetUnderlined(arg2
);
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14429 resultobj
= SWIG_Py_Void();
14436 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
= 0;
14438 wxFont
*arg1
= (wxFont
*) 0 ;
14439 wxFontEncoding arg2
;
14444 PyObject
* obj0
= 0 ;
14445 PyObject
* obj1
= 0 ;
14446 char * kwnames
[] = {
14447 (char *) "self",(char *) "encoding", NULL
14450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14452 if (!SWIG_IsOK(res1
)) {
14453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14455 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14457 if (!SWIG_IsOK(ecode2
)) {
14458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14460 arg2
= static_cast< wxFontEncoding
>(val2
);
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 (arg1
)->SetEncoding(arg2
);
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14467 resultobj
= SWIG_Py_Void();
14474 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14475 PyObject
*resultobj
= 0;
14476 wxFont
*arg1
= (wxFont
*) 0 ;
14477 wxNativeFontInfo
*arg2
= 0 ;
14482 PyObject
* obj0
= 0 ;
14483 PyObject
* obj1
= 0 ;
14484 char * kwnames
[] = {
14485 (char *) "self",(char *) "info", NULL
14488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14490 if (!SWIG_IsOK(res1
)) {
14491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14493 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14494 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14495 if (!SWIG_IsOK(res2
)) {
14496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14501 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 resultobj
= SWIG_Py_Void();
14515 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14516 PyObject
*resultobj
= 0;
14517 wxFont
*arg1
= (wxFont
*) 0 ;
14518 wxString
*arg2
= 0 ;
14522 bool temp2
= false ;
14523 PyObject
* obj0
= 0 ;
14524 PyObject
* obj1
= 0 ;
14525 char * kwnames
[] = {
14526 (char *) "self",(char *) "info", NULL
14529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14531 if (!SWIG_IsOK(res1
)) {
14532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14534 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14536 arg2
= wxString_in_helper(obj1
);
14537 if (arg2
== NULL
) SWIG_fail
;
14541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14542 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14543 wxPyEndAllowThreads(__tstate
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14563 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
= 0;
14565 wxFont
*arg1
= (wxFont
*) 0 ;
14566 wxString
*arg2
= 0 ;
14570 bool temp2
= false ;
14571 PyObject
* obj0
= 0 ;
14572 PyObject
* obj1
= 0 ;
14573 char * kwnames
[] = {
14574 (char *) "self",(char *) "info", NULL
14577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14579 if (!SWIG_IsOK(res1
)) {
14580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14582 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14584 arg2
= wxString_in_helper(obj1
);
14585 if (arg2
== NULL
) SWIG_fail
;
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14611 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14612 PyObject
*resultobj
= 0;
14613 wxFont
*arg1
= (wxFont
*) 0 ;
14617 PyObject
*swig_obj
[1] ;
14619 if (!args
) SWIG_fail
;
14620 swig_obj
[0] = args
;
14621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14622 if (!SWIG_IsOK(res1
)) {
14623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14625 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14645 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14646 PyObject
*resultobj
= 0;
14647 wxFont
*arg1
= (wxFont
*) 0 ;
14651 PyObject
*swig_obj
[1] ;
14653 if (!args
) SWIG_fail
;
14654 swig_obj
[0] = args
;
14655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14656 if (!SWIG_IsOK(res1
)) {
14657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14659 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14662 result
= ((wxFont
const *)arg1
)->GetStyleString();
14663 wxPyEndAllowThreads(__tstate
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14679 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14680 PyObject
*resultobj
= 0;
14681 wxFont
*arg1
= (wxFont
*) 0 ;
14685 PyObject
*swig_obj
[1] ;
14687 if (!args
) SWIG_fail
;
14688 swig_obj
[0] = args
;
14689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14690 if (!SWIG_IsOK(res1
)) {
14691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14693 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 result
= ((wxFont
const *)arg1
)->GetWeightString();
14697 wxPyEndAllowThreads(__tstate
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14713 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14714 PyObject
*resultobj
= 0;
14715 wxFont
*arg1
= (wxFont
*) 0 ;
14716 bool arg2
= (bool) true ;
14721 PyObject
* obj0
= 0 ;
14722 PyObject
* obj1
= 0 ;
14723 char * kwnames
[] = {
14724 (char *) "self",(char *) "no", NULL
14727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14729 if (!SWIG_IsOK(res1
)) {
14730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14732 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14734 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14735 if (!SWIG_IsOK(ecode2
)) {
14736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14738 arg2
= static_cast< bool >(val2
);
14741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14742 (arg1
)->SetNoAntiAliasing(arg2
);
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14746 resultobj
= SWIG_Py_Void();
14753 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14754 PyObject
*resultobj
= 0;
14755 wxFont
*arg1
= (wxFont
*) 0 ;
14759 PyObject
*swig_obj
[1] ;
14761 if (!args
) SWIG_fail
;
14762 swig_obj
[0] = args
;
14763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14764 if (!SWIG_IsOK(res1
)) {
14765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14767 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14770 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14771 wxPyEndAllowThreads(__tstate
);
14772 if (PyErr_Occurred()) SWIG_fail
;
14775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14783 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14784 PyObject
*resultobj
= 0;
14785 wxFontEncoding result
;
14787 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
14789 if (!wxPyCheckForApp()) SWIG_fail
;
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14795 resultobj
= SWIG_From_int(static_cast< int >(result
));
14802 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14803 PyObject
*resultobj
= 0;
14804 wxFontEncoding arg1
;
14807 PyObject
* obj0
= 0 ;
14808 char * kwnames
[] = {
14809 (char *) "encoding", NULL
14812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
14813 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14814 if (!SWIG_IsOK(ecode1
)) {
14815 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14817 arg1
= static_cast< wxFontEncoding
>(val1
);
14819 if (!wxPyCheckForApp()) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 wxFont::SetDefaultEncoding(arg1
);
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14825 resultobj
= SWIG_Py_Void();
14832 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14835 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
14836 return SWIG_Py_Void();
14839 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14840 return SWIG_Python_InitShadowInstance(args
);
14843 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14844 PyObject
*resultobj
= 0;
14845 wxPyFontEnumerator
*result
= 0 ;
14847 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
14849 if (!wxPyCheckForApp()) SWIG_fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
14862 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14863 PyObject
*resultobj
= 0;
14864 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14867 PyObject
*swig_obj
[1] ;
14869 if (!args
) SWIG_fail
;
14870 swig_obj
[0] = args
;
14871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
14872 if (!SWIG_IsOK(res1
)) {
14873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14875 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14883 resultobj
= SWIG_Py_Void();
14890 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
= 0;
14892 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14893 PyObject
*arg2
= (PyObject
*) 0 ;
14894 PyObject
*arg3
= (PyObject
*) 0 ;
14900 PyObject
* obj0
= 0 ;
14901 PyObject
* obj1
= 0 ;
14902 PyObject
* obj2
= 0 ;
14903 PyObject
* obj3
= 0 ;
14904 char * kwnames
[] = {
14905 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
14908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
14910 if (!SWIG_IsOK(res1
)) {
14911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14913 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14916 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14917 if (!SWIG_IsOK(ecode4
)) {
14918 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
14920 arg4
= static_cast< bool >(val4
);
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
14924 wxPyEndAllowThreads(__tstate
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14927 resultobj
= SWIG_Py_Void();
14934 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14935 PyObject
*resultobj
= 0;
14936 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14937 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
14938 bool arg3
= (bool) false ;
14946 PyObject
* obj0
= 0 ;
14947 PyObject
* obj1
= 0 ;
14948 PyObject
* obj2
= 0 ;
14949 char * kwnames
[] = {
14950 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
14953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
14955 if (!SWIG_IsOK(res1
)) {
14956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14958 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14961 if (!SWIG_IsOK(ecode2
)) {
14962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14964 arg2
= static_cast< wxFontEncoding
>(val2
);
14967 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14968 if (!SWIG_IsOK(ecode3
)) {
14969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
14971 arg3
= static_cast< bool >(val3
);
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
14976 wxPyEndAllowThreads(__tstate
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14988 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14989 PyObject
*resultobj
= 0;
14990 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14991 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14992 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14996 bool temp2
= false ;
14997 PyObject
* obj0
= 0 ;
14998 PyObject
* obj1
= 0 ;
14999 char * kwnames
[] = {
15000 (char *) "self",(char *) "facename", NULL
15003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15005 if (!SWIG_IsOK(res1
)) {
15006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15008 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15011 arg2
= wxString_in_helper(obj1
);
15012 if (arg2
== NULL
) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15019 wxPyEndAllowThreads(__tstate
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15039 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15040 PyObject
*resultobj
= 0;
15041 PyObject
*result
= 0 ;
15043 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 resultobj
= result
;
15057 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15058 PyObject
*resultobj
= 0;
15059 PyObject
*result
= 0 ;
15061 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 resultobj
= result
;
15075 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
= 0;
15077 wxString
*arg1
= 0 ;
15079 bool temp1
= false ;
15080 PyObject
* obj0
= 0 ;
15081 char * kwnames
[] = {
15082 (char *) "str", NULL
15085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15087 arg1
= wxString_in_helper(obj0
);
15088 if (arg1
== NULL
) SWIG_fail
;
15092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15093 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15094 wxPyEndAllowThreads(__tstate
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15114 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15117 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15118 return SWIG_Py_Void();
15121 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15122 return SWIG_Python_InitShadowInstance(args
);
15125 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15126 PyObject
*resultobj
= 0;
15127 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15133 PyObject
*swig_obj
[2] ;
15135 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15137 if (!SWIG_IsOK(res1
)) {
15138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15140 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15141 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15142 if (!SWIG_IsOK(ecode2
)) {
15143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15145 arg2
= static_cast< int >(val2
);
15146 if (arg1
) (arg1
)->Language
= arg2
;
15148 resultobj
= SWIG_Py_Void();
15155 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15156 PyObject
*resultobj
= 0;
15157 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15161 PyObject
*swig_obj
[1] ;
15163 if (!args
) SWIG_fail
;
15164 swig_obj
[0] = args
;
15165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15166 if (!SWIG_IsOK(res1
)) {
15167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15169 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15170 result
= (int) ((arg1
)->Language
);
15171 resultobj
= SWIG_From_int(static_cast< int >(result
));
15178 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15179 PyObject
*resultobj
= 0;
15180 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15181 wxString
*arg2
= (wxString
*) 0 ;
15184 bool temp2
= false ;
15185 PyObject
*swig_obj
[2] ;
15187 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15189 if (!SWIG_IsOK(res1
)) {
15190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15192 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15194 arg2
= wxString_in_helper(swig_obj
[1]);
15195 if (arg2
== NULL
) SWIG_fail
;
15198 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15200 resultobj
= SWIG_Py_Void();
15215 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15216 PyObject
*resultobj
= 0;
15217 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15218 wxString
*result
= 0 ;
15221 PyObject
*swig_obj
[1] ;
15223 if (!args
) SWIG_fail
;
15224 swig_obj
[0] = args
;
15225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15226 if (!SWIG_IsOK(res1
)) {
15227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15229 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15230 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15233 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15235 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15244 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15245 PyObject
*resultobj
= 0;
15246 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15247 wxString
*arg2
= (wxString
*) 0 ;
15250 bool temp2
= false ;
15251 PyObject
*swig_obj
[2] ;
15253 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15255 if (!SWIG_IsOK(res1
)) {
15256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15258 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15260 arg2
= wxString_in_helper(swig_obj
[1]);
15261 if (arg2
== NULL
) SWIG_fail
;
15264 if (arg1
) (arg1
)->Description
= *arg2
;
15266 resultobj
= SWIG_Py_Void();
15281 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15282 PyObject
*resultobj
= 0;
15283 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15284 wxString
*result
= 0 ;
15287 PyObject
*swig_obj
[1] ;
15289 if (!args
) SWIG_fail
;
15290 swig_obj
[0] = args
;
15291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15292 if (!SWIG_IsOK(res1
)) {
15293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15295 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15296 result
= (wxString
*)& ((arg1
)->Description
);
15299 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15301 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15310 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15313 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15314 return SWIG_Py_Void();
15317 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15318 PyObject
*resultobj
= 0;
15319 int arg1
= (int) -1 ;
15320 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15321 wxLocale
*result
= 0 ;
15326 PyObject
* obj0
= 0 ;
15327 PyObject
* obj1
= 0 ;
15328 char * kwnames
[] = {
15329 (char *) "language",(char *) "flags", NULL
15332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15334 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15335 if (!SWIG_IsOK(ecode1
)) {
15336 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15338 arg1
= static_cast< int >(val1
);
15341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15342 if (!SWIG_IsOK(ecode2
)) {
15343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15345 arg2
= static_cast< int >(val2
);
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15360 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15361 PyObject
*resultobj
= 0;
15362 wxLocale
*arg1
= (wxLocale
*) 0 ;
15365 PyObject
*swig_obj
[1] ;
15367 if (!args
) SWIG_fail
;
15368 swig_obj
[0] = args
;
15369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15370 if (!SWIG_IsOK(res1
)) {
15371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15373 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15381 resultobj
= SWIG_Py_Void();
15388 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15389 PyObject
*resultobj
= 0;
15390 wxLocale
*arg1
= (wxLocale
*) 0 ;
15391 wxString
*arg2
= 0 ;
15392 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15393 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15394 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15395 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15396 bool arg5
= (bool) true ;
15397 bool arg6
= (bool) false ;
15401 bool temp2
= false ;
15402 bool temp3
= false ;
15403 bool temp4
= false ;
15408 PyObject
* obj0
= 0 ;
15409 PyObject
* obj1
= 0 ;
15410 PyObject
* obj2
= 0 ;
15411 PyObject
* obj3
= 0 ;
15412 PyObject
* obj4
= 0 ;
15413 PyObject
* obj5
= 0 ;
15414 char * kwnames
[] = {
15415 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15420 if (!SWIG_IsOK(res1
)) {
15421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15423 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15425 arg2
= wxString_in_helper(obj1
);
15426 if (arg2
== NULL
) SWIG_fail
;
15431 arg3
= wxString_in_helper(obj2
);
15432 if (arg3
== NULL
) SWIG_fail
;
15438 arg4
= wxString_in_helper(obj3
);
15439 if (arg4
== NULL
) SWIG_fail
;
15444 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15445 if (!SWIG_IsOK(ecode5
)) {
15446 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15448 arg5
= static_cast< bool >(val5
);
15451 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15452 if (!SWIG_IsOK(ecode6
)) {
15453 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15455 arg6
= static_cast< bool >(val6
);
15458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15459 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15460 wxPyEndAllowThreads(__tstate
);
15461 if (PyErr_Occurred()) SWIG_fail
;
15464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15496 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
= 0;
15498 wxLocale
*arg1
= (wxLocale
*) 0 ;
15499 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15500 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15508 PyObject
* obj0
= 0 ;
15509 PyObject
* obj1
= 0 ;
15510 PyObject
* obj2
= 0 ;
15511 char * kwnames
[] = {
15512 (char *) "self",(char *) "language",(char *) "flags", NULL
15515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15517 if (!SWIG_IsOK(res1
)) {
15518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15520 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15523 if (!SWIG_IsOK(ecode2
)) {
15524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15526 arg2
= static_cast< int >(val2
);
15529 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15530 if (!SWIG_IsOK(ecode3
)) {
15531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15533 arg3
= static_cast< int >(val3
);
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15538 wxPyEndAllowThreads(__tstate
);
15539 if (PyErr_Occurred()) SWIG_fail
;
15542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15550 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15551 PyObject
*resultobj
= 0;
15554 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (int)wxLocale::GetSystemLanguage();
15558 wxPyEndAllowThreads(__tstate
);
15559 if (PyErr_Occurred()) SWIG_fail
;
15561 resultobj
= SWIG_From_int(static_cast< int >(result
));
15568 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15569 PyObject
*resultobj
= 0;
15570 wxFontEncoding result
;
15572 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15575 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15576 wxPyEndAllowThreads(__tstate
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15579 resultobj
= SWIG_From_int(static_cast< int >(result
));
15586 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15587 PyObject
*resultobj
= 0;
15590 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 result
= wxLocale::GetSystemEncodingName();
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15610 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15611 PyObject
*resultobj
= 0;
15612 wxLocale
*arg1
= (wxLocale
*) 0 ;
15616 PyObject
*swig_obj
[1] ;
15618 if (!args
) SWIG_fail
;
15619 swig_obj
[0] = args
;
15620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15621 if (!SWIG_IsOK(res1
)) {
15622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15624 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15628 wxPyEndAllowThreads(__tstate
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15640 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15641 PyObject
*resultobj
= 0;
15642 wxLocale
*arg1
= (wxLocale
*) 0 ;
15646 PyObject
*swig_obj
[1] ;
15648 if (!args
) SWIG_fail
;
15649 swig_obj
[0] = args
;
15650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15651 if (!SWIG_IsOK(res1
)) {
15652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15654 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 result
= ((wxLocale
const *)arg1
)->GetLocale();
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15674 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15675 PyObject
*resultobj
= 0;
15676 wxLocale
*arg1
= (wxLocale
*) 0 ;
15680 PyObject
*swig_obj
[1] ;
15682 if (!args
) SWIG_fail
;
15683 swig_obj
[0] = args
;
15684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15685 if (!SWIG_IsOK(res1
)) {
15686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15688 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15691 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= SWIG_From_int(static_cast< int >(result
));
15702 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15703 PyObject
*resultobj
= 0;
15704 wxLocale
*arg1
= (wxLocale
*) 0 ;
15708 PyObject
*swig_obj
[1] ;
15710 if (!args
) SWIG_fail
;
15711 swig_obj
[0] = args
;
15712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15713 if (!SWIG_IsOK(res1
)) {
15714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15716 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 result
= ((wxLocale
const *)arg1
)->GetSysName();
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15736 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15737 PyObject
*resultobj
= 0;
15738 wxLocale
*arg1
= (wxLocale
*) 0 ;
15742 PyObject
*swig_obj
[1] ;
15744 if (!args
) SWIG_fail
;
15745 swig_obj
[0] = args
;
15746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15747 if (!SWIG_IsOK(res1
)) {
15748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15750 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15753 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15759 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15761 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15770 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
= 0;
15772 wxString
*arg1
= 0 ;
15773 bool temp1
= false ;
15774 PyObject
* obj0
= 0 ;
15775 char * kwnames
[] = {
15776 (char *) "prefix", NULL
15779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15781 arg1
= wxString_in_helper(obj0
);
15782 if (arg1
== NULL
) SWIG_fail
;
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15791 resultobj
= SWIG_Py_Void();
15806 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15807 PyObject
*resultobj
= 0;
15808 wxLocale
*arg1
= (wxLocale
*) 0 ;
15809 wxString
*arg2
= 0 ;
15813 bool temp2
= false ;
15814 PyObject
* obj0
= 0 ;
15815 PyObject
* obj1
= 0 ;
15816 char * kwnames
[] = {
15817 (char *) "self",(char *) "szDomain", NULL
15820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15822 if (!SWIG_IsOK(res1
)) {
15823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
15825 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15827 arg2
= wxString_in_helper(obj1
);
15828 if (arg2
== NULL
) SWIG_fail
;
15832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15833 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15854 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15855 PyObject
*resultobj
= 0;
15856 wxLocale
*arg1
= (wxLocale
*) 0 ;
15857 wxString
*arg2
= 0 ;
15861 bool temp2
= false ;
15862 PyObject
* obj0
= 0 ;
15863 PyObject
* obj1
= 0 ;
15864 char * kwnames
[] = {
15865 (char *) "self",(char *) "szDomain", NULL
15868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15870 if (!SWIG_IsOK(res1
)) {
15871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
15873 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15875 arg2
= wxString_in_helper(obj1
);
15876 if (arg2
== NULL
) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
15882 wxPyEndAllowThreads(__tstate
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15902 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15903 PyObject
*resultobj
= 0;
15905 wxLanguageInfo
*result
= 0 ;
15908 PyObject
* obj0
= 0 ;
15909 char * kwnames
[] = {
15910 (char *) "lang", NULL
15913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
15914 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15915 if (!SWIG_IsOK(ecode1
)) {
15916 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
15918 arg1
= static_cast< int >(val1
);
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15921 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
15922 wxPyEndAllowThreads(__tstate
);
15923 if (PyErr_Occurred()) SWIG_fail
;
15925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15932 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15933 PyObject
*resultobj
= 0;
15938 PyObject
* obj0
= 0 ;
15939 char * kwnames
[] = {
15940 (char *) "lang", NULL
15943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
15944 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15945 if (!SWIG_IsOK(ecode1
)) {
15946 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
15948 arg1
= static_cast< int >(val1
);
15950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15951 result
= wxLocale::GetLanguageName(arg1
);
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15968 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
= 0;
15970 wxString
*arg1
= 0 ;
15971 wxLanguageInfo
*result
= 0 ;
15972 bool temp1
= false ;
15973 PyObject
* obj0
= 0 ;
15974 char * kwnames
[] = {
15975 (char *) "locale", NULL
15978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
15980 arg1
= wxString_in_helper(obj0
);
15981 if (arg1
== NULL
) SWIG_fail
;
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16005 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16006 PyObject
*resultobj
= 0;
16007 wxLanguageInfo
*arg1
= 0 ;
16010 PyObject
* obj0
= 0 ;
16011 char * kwnames
[] = {
16012 (char *) "info", NULL
16015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16016 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16017 if (!SWIG_IsOK(res1
)) {
16018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16023 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16030 resultobj
= SWIG_Py_Void();
16037 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16038 PyObject
*resultobj
= 0;
16039 wxLocale
*arg1
= (wxLocale
*) 0 ;
16040 wxString
*arg2
= 0 ;
16041 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16042 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16046 bool temp2
= false ;
16047 bool temp3
= false ;
16048 PyObject
* obj0
= 0 ;
16049 PyObject
* obj1
= 0 ;
16050 PyObject
* obj2
= 0 ;
16051 char * kwnames
[] = {
16052 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16057 if (!SWIG_IsOK(res1
)) {
16058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16060 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16062 arg2
= wxString_in_helper(obj1
);
16063 if (arg2
== NULL
) SWIG_fail
;
16068 arg3
= wxString_in_helper(obj2
);
16069 if (arg3
== NULL
) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16076 wxPyEndAllowThreads(__tstate
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16081 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16083 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16108 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16109 PyObject
*resultobj
= 0;
16110 wxLocale
*arg1
= (wxLocale
*) 0 ;
16111 wxString
*result
= 0 ;
16114 PyObject
*swig_obj
[1] ;
16116 if (!args
) SWIG_fail
;
16117 swig_obj
[0] = args
;
16118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16119 if (!SWIG_IsOK(res1
)) {
16120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16122 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16127 result
= (wxString
*) &_result_ref
;
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16134 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16136 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16145 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16147 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16148 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16149 return SWIG_Py_Void();
16152 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16153 return SWIG_Python_InitShadowInstance(args
);
16156 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16157 PyObject
*resultobj
= 0;
16158 int arg1
= (int) -1 ;
16159 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16160 wxPyLocale
*result
= 0 ;
16165 PyObject
* obj0
= 0 ;
16166 PyObject
* obj1
= 0 ;
16167 char * kwnames
[] = {
16168 (char *) "language",(char *) "flags", NULL
16171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16173 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16174 if (!SWIG_IsOK(ecode1
)) {
16175 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16177 arg1
= static_cast< int >(val1
);
16180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16181 if (!SWIG_IsOK(ecode2
)) {
16182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16184 arg2
= static_cast< int >(val2
);
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16199 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16200 PyObject
*resultobj
= 0;
16201 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16204 PyObject
*swig_obj
[1] ;
16206 if (!args
) SWIG_fail
;
16207 swig_obj
[0] = args
;
16208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16209 if (!SWIG_IsOK(res1
)) {
16210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16212 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16220 resultobj
= SWIG_Py_Void();
16227 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
= 0;
16229 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16230 PyObject
*arg2
= (PyObject
*) 0 ;
16231 PyObject
*arg3
= (PyObject
*) 0 ;
16234 PyObject
* obj0
= 0 ;
16235 PyObject
* obj1
= 0 ;
16236 PyObject
* obj2
= 0 ;
16237 char * kwnames
[] = {
16238 (char *) "self",(char *) "self",(char *) "_class", NULL
16241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16243 if (!SWIG_IsOK(res1
)) {
16244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16246 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16255 resultobj
= SWIG_Py_Void();
16262 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
= 0;
16264 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16265 wxChar
*arg2
= (wxChar
*) 0 ;
16266 wxChar
*arg3
= (wxChar
*) NULL
;
16267 wxChar
*result
= 0 ;
16274 PyObject
* obj0
= 0 ;
16275 PyObject
* obj1
= 0 ;
16276 PyObject
* obj2
= 0 ;
16277 char * kwnames
[] = {
16278 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16283 if (!SWIG_IsOK(res1
)) {
16284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16286 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16288 if (!SWIG_IsOK(res2
)) {
16289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16291 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16293 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16294 if (!SWIG_IsOK(res3
)) {
16295 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16297 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16312 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
= 0;
16314 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16315 wxChar
*arg2
= (wxChar
*) 0 ;
16316 wxChar
*arg3
= (wxChar
*) 0 ;
16318 wxChar
*arg5
= (wxChar
*) NULL
;
16319 wxChar
*result
= 0 ;
16330 PyObject
* obj0
= 0 ;
16331 PyObject
* obj1
= 0 ;
16332 PyObject
* obj2
= 0 ;
16333 PyObject
* obj3
= 0 ;
16334 PyObject
* obj4
= 0 ;
16335 char * kwnames
[] = {
16336 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16341 if (!SWIG_IsOK(res1
)) {
16342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16344 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16345 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16346 if (!SWIG_IsOK(res2
)) {
16347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16349 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16350 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16351 if (!SWIG_IsOK(res3
)) {
16352 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16354 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16355 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16356 if (!SWIG_IsOK(ecode4
)) {
16357 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16359 arg4
= static_cast< size_t >(val4
);
16361 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16362 if (!SWIG_IsOK(res5
)) {
16363 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16365 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16380 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16382 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16383 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16384 return SWIG_Py_Void();
16387 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16388 return SWIG_Python_InitShadowInstance(args
);
16391 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16392 PyObject
*resultobj
= 0;
16393 wxLocale
*result
= 0 ;
16395 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 result
= (wxLocale
*)wxGetLocale();
16399 wxPyEndAllowThreads(__tstate
);
16400 if (PyErr_Occurred()) SWIG_fail
;
16402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16409 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16410 PyObject
*resultobj
= 0;
16411 wxString
*arg1
= 0 ;
16413 bool temp1
= false ;
16415 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16417 arg1
= wxString_in_helper(swig_obj
[0]);
16418 if (arg1
== NULL
) SWIG_fail
;
16422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16423 result
= wxGetTranslation((wxString
const &)*arg1
);
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16448 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16449 PyObject
*resultobj
= 0;
16450 wxString
*arg1
= 0 ;
16451 wxString
*arg2
= 0 ;
16453 bool temp1
= false ;
16454 bool temp2
= false ;
16456 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16458 arg1
= wxString_in_helper(swig_obj
[0]);
16459 if (arg1
== NULL
) SWIG_fail
;
16463 arg2
= wxString_in_helper(swig_obj
[1]);
16464 if (arg2
== NULL
) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16502 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16503 PyObject
*resultobj
= 0;
16504 wxString
*arg1
= 0 ;
16505 wxString
*arg2
= 0 ;
16508 bool temp1
= false ;
16509 bool temp2
= false ;
16513 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16515 arg1
= wxString_in_helper(swig_obj
[0]);
16516 if (arg1
== NULL
) SWIG_fail
;
16520 arg2
= wxString_in_helper(swig_obj
[1]);
16521 if (arg2
== NULL
) SWIG_fail
;
16524 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16525 if (!SWIG_IsOK(ecode3
)) {
16526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16528 arg3
= static_cast< size_t >(val3
);
16530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16531 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16564 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16565 PyObject
*resultobj
= 0;
16566 wxString
*arg1
= 0 ;
16567 wxString
*arg2
= 0 ;
16569 wxString
*arg4
= 0 ;
16571 bool temp1
= false ;
16572 bool temp2
= false ;
16575 bool temp4
= false ;
16577 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16579 arg1
= wxString_in_helper(swig_obj
[0]);
16580 if (arg1
== NULL
) SWIG_fail
;
16584 arg2
= wxString_in_helper(swig_obj
[1]);
16585 if (arg2
== NULL
) SWIG_fail
;
16588 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16589 if (!SWIG_IsOK(ecode3
)) {
16590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16592 arg3
= static_cast< size_t >(val3
);
16594 arg4
= wxString_in_helper(swig_obj
[3]);
16595 if (arg4
== NULL
) SWIG_fail
;
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16641 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16645 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16648 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16651 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16654 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16657 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16661 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16666 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16667 PyObject
*resultobj
= 0;
16668 wxEncodingConverter
*result
= 0 ;
16670 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16684 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16685 PyObject
*resultobj
= 0;
16686 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16689 PyObject
*swig_obj
[1] ;
16691 if (!args
) SWIG_fail
;
16692 swig_obj
[0] = args
;
16693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16694 if (!SWIG_IsOK(res1
)) {
16695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16697 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16705 resultobj
= SWIG_Py_Void();
16712 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16713 PyObject
*resultobj
= 0;
16714 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16715 wxFontEncoding arg2
;
16716 wxFontEncoding arg3
;
16717 int arg4
= (int) wxCONVERT_STRICT
;
16727 PyObject
* obj0
= 0 ;
16728 PyObject
* obj1
= 0 ;
16729 PyObject
* obj2
= 0 ;
16730 PyObject
* obj3
= 0 ;
16731 char * kwnames
[] = {
16732 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16737 if (!SWIG_IsOK(res1
)) {
16738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16740 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16742 if (!SWIG_IsOK(ecode2
)) {
16743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16745 arg2
= static_cast< wxFontEncoding
>(val2
);
16746 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16747 if (!SWIG_IsOK(ecode3
)) {
16748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16750 arg3
= static_cast< wxFontEncoding
>(val3
);
16752 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16753 if (!SWIG_IsOK(ecode4
)) {
16754 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
16756 arg4
= static_cast< int >(val4
);
16759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16773 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
= 0;
16775 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16776 wxString
*arg2
= 0 ;
16780 bool temp2
= false ;
16781 PyObject
* obj0
= 0 ;
16782 PyObject
* obj1
= 0 ;
16783 char * kwnames
[] = {
16784 (char *) "self",(char *) "input", NULL
16787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16789 if (!SWIG_IsOK(res1
)) {
16790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16792 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16794 arg2
= wxString_in_helper(obj1
);
16795 if (arg2
== NULL
) SWIG_fail
;
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 result
= (arg1
)->Convert((wxString
const &)*arg2
);
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16825 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
= 0;
16827 wxFontEncoding arg1
;
16828 int arg2
= (int) wxPLATFORM_CURRENT
;
16829 wxFontEncodingArray result
;
16834 PyObject
* obj0
= 0 ;
16835 PyObject
* obj1
= 0 ;
16836 char * kwnames
[] = {
16837 (char *) "enc",(char *) "platform", NULL
16840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16841 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16842 if (!SWIG_IsOK(ecode1
)) {
16843 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16845 arg1
= static_cast< wxFontEncoding
>(val1
);
16847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16848 if (!SWIG_IsOK(ecode2
)) {
16849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
16851 arg2
= static_cast< int >(val2
);
16854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16855 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
16856 wxPyEndAllowThreads(__tstate
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16860 resultobj
= PyList_New(0);
16861 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
16862 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
16863 PyList_Append(resultobj
, number
);
16873 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
= 0;
16875 wxFontEncoding arg1
;
16876 wxFontEncodingArray result
;
16879 PyObject
* obj0
= 0 ;
16880 char * kwnames
[] = {
16881 (char *) "enc", NULL
16884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
16885 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16886 if (!SWIG_IsOK(ecode1
)) {
16887 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16889 arg1
= static_cast< wxFontEncoding
>(val1
);
16891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16897 resultobj
= PyList_New(0);
16898 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
16899 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
16900 PyList_Append(resultobj
, number
);
16910 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
= 0;
16912 wxFontEncoding arg1
;
16913 wxFontEncoding arg2
;
16919 PyObject
* obj0
= 0 ;
16920 PyObject
* obj1
= 0 ;
16921 char * kwnames
[] = {
16922 (char *) "encIn",(char *) "encOut", NULL
16925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16926 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16927 if (!SWIG_IsOK(ecode1
)) {
16928 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16930 arg1
= static_cast< wxFontEncoding
>(val1
);
16931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16932 if (!SWIG_IsOK(ecode2
)) {
16933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16935 arg2
= static_cast< wxFontEncoding
>(val2
);
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16951 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16954 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
16955 return SWIG_Py_Void();
16958 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16959 return SWIG_Python_InitShadowInstance(args
);
16962 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16963 PyObject
*resultobj
= 0;
16964 wxDC
*arg1
= (wxDC
*) 0 ;
16967 PyObject
*swig_obj
[1] ;
16969 if (!args
) SWIG_fail
;
16970 swig_obj
[0] = args
;
16971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
16972 if (!SWIG_IsOK(res1
)) {
16973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
16975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16980 wxPyEndAllowThreads(__tstate
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16983 resultobj
= SWIG_Py_Void();
16990 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16991 PyObject
*resultobj
= 0;
16992 wxDC
*arg1
= (wxDC
*) 0 ;
16995 wxColour
*arg4
= 0 ;
16996 int arg5
= (int) wxFLOOD_SURFACE
;
17007 PyObject
* obj0
= 0 ;
17008 PyObject
* obj1
= 0 ;
17009 PyObject
* obj2
= 0 ;
17010 PyObject
* obj3
= 0 ;
17011 PyObject
* obj4
= 0 ;
17012 char * kwnames
[] = {
17013 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17018 if (!SWIG_IsOK(res1
)) {
17019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17021 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17023 if (!SWIG_IsOK(ecode2
)) {
17024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17026 arg2
= static_cast< int >(val2
);
17027 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17028 if (!SWIG_IsOK(ecode3
)) {
17029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17031 arg3
= static_cast< int >(val3
);
17034 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17037 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17038 if (!SWIG_IsOK(ecode5
)) {
17039 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17041 arg5
= static_cast< int >(val5
);
17044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17045 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17046 wxPyEndAllowThreads(__tstate
);
17047 if (PyErr_Occurred()) SWIG_fail
;
17050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17058 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17059 PyObject
*resultobj
= 0;
17060 wxDC
*arg1
= (wxDC
*) 0 ;
17061 wxPoint
*arg2
= 0 ;
17062 wxColour
*arg3
= 0 ;
17063 int arg4
= (int) wxFLOOD_SURFACE
;
17071 PyObject
* obj0
= 0 ;
17072 PyObject
* obj1
= 0 ;
17073 PyObject
* obj2
= 0 ;
17074 PyObject
* obj3
= 0 ;
17075 char * kwnames
[] = {
17076 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17081 if (!SWIG_IsOK(res1
)) {
17082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17084 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17087 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17091 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17094 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17095 if (!SWIG_IsOK(ecode4
)) {
17096 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17098 arg4
= static_cast< int >(val4
);
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17103 wxPyEndAllowThreads(__tstate
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17115 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17116 PyObject
*resultobj
= 0;
17117 wxDC
*arg1
= (wxDC
*) 0 ;
17119 wxColour
*arg3
= 0 ;
17120 wxColour
*arg4
= 0 ;
17121 wxPoint
*arg5
= 0 ;
17128 PyObject
* obj0
= 0 ;
17129 PyObject
* obj1
= 0 ;
17130 PyObject
* obj2
= 0 ;
17131 PyObject
* obj3
= 0 ;
17132 PyObject
* obj4
= 0 ;
17133 char * kwnames
[] = {
17134 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17139 if (!SWIG_IsOK(res1
)) {
17140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17142 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17145 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17149 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17153 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17157 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17165 resultobj
= SWIG_Py_Void();
17172 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
= 0;
17174 wxDC
*arg1
= (wxDC
*) 0 ;
17176 wxColour
*arg3
= 0 ;
17177 wxColour
*arg4
= 0 ;
17178 wxDirection arg5
= (wxDirection
) wxEAST
;
17186 PyObject
* obj0
= 0 ;
17187 PyObject
* obj1
= 0 ;
17188 PyObject
* obj2
= 0 ;
17189 PyObject
* obj3
= 0 ;
17190 PyObject
* obj4
= 0 ;
17191 char * kwnames
[] = {
17192 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17197 if (!SWIG_IsOK(res1
)) {
17198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17200 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17203 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17207 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17211 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17214 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17215 if (!SWIG_IsOK(ecode5
)) {
17216 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17218 arg5
= static_cast< wxDirection
>(val5
);
17221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17222 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17223 wxPyEndAllowThreads(__tstate
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17226 resultobj
= SWIG_Py_Void();
17233 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17234 PyObject
*resultobj
= 0;
17235 wxDC
*arg1
= (wxDC
*) 0 ;
17245 PyObject
* obj0
= 0 ;
17246 PyObject
* obj1
= 0 ;
17247 PyObject
* obj2
= 0 ;
17248 char * kwnames
[] = {
17249 (char *) "self",(char *) "x",(char *) "y", NULL
17252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17254 if (!SWIG_IsOK(res1
)) {
17255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17257 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17259 if (!SWIG_IsOK(ecode2
)) {
17260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17262 arg2
= static_cast< int >(val2
);
17263 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17264 if (!SWIG_IsOK(ecode3
)) {
17265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17267 arg3
= static_cast< int >(val3
);
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17271 wxPyEndAllowThreads(__tstate
);
17272 if (PyErr_Occurred()) SWIG_fail
;
17274 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17281 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
= 0;
17283 wxDC
*arg1
= (wxDC
*) 0 ;
17284 wxPoint
*arg2
= 0 ;
17289 PyObject
* obj0
= 0 ;
17290 PyObject
* obj1
= 0 ;
17291 char * kwnames
[] = {
17292 (char *) "self",(char *) "pt", NULL
17295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17297 if (!SWIG_IsOK(res1
)) {
17298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17300 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17303 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17311 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17318 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
= 0;
17320 wxDC
*arg1
= (wxDC
*) 0 ;
17335 PyObject
* obj0
= 0 ;
17336 PyObject
* obj1
= 0 ;
17337 PyObject
* obj2
= 0 ;
17338 PyObject
* obj3
= 0 ;
17339 PyObject
* obj4
= 0 ;
17340 char * kwnames
[] = {
17341 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17346 if (!SWIG_IsOK(res1
)) {
17347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17349 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17351 if (!SWIG_IsOK(ecode2
)) {
17352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17354 arg2
= static_cast< int >(val2
);
17355 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17356 if (!SWIG_IsOK(ecode3
)) {
17357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17359 arg3
= static_cast< int >(val3
);
17360 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17361 if (!SWIG_IsOK(ecode4
)) {
17362 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17364 arg4
= static_cast< int >(val4
);
17365 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17366 if (!SWIG_IsOK(ecode5
)) {
17367 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17369 arg5
= static_cast< int >(val5
);
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= SWIG_Py_Void();
17383 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
= 0;
17385 wxDC
*arg1
= (wxDC
*) 0 ;
17386 wxPoint
*arg2
= 0 ;
17387 wxPoint
*arg3
= 0 ;
17392 PyObject
* obj0
= 0 ;
17393 PyObject
* obj1
= 0 ;
17394 PyObject
* obj2
= 0 ;
17395 char * kwnames
[] = {
17396 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17401 if (!SWIG_IsOK(res1
)) {
17402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17404 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17407 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17411 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17415 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17416 wxPyEndAllowThreads(__tstate
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17419 resultobj
= SWIG_Py_Void();
17426 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17427 PyObject
*resultobj
= 0;
17428 wxDC
*arg1
= (wxDC
*) 0 ;
17437 PyObject
* obj0
= 0 ;
17438 PyObject
* obj1
= 0 ;
17439 PyObject
* obj2
= 0 ;
17440 char * kwnames
[] = {
17441 (char *) "self",(char *) "x",(char *) "y", NULL
17444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17446 if (!SWIG_IsOK(res1
)) {
17447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17449 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17451 if (!SWIG_IsOK(ecode2
)) {
17452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17454 arg2
= static_cast< int >(val2
);
17455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17456 if (!SWIG_IsOK(ecode3
)) {
17457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17459 arg3
= static_cast< int >(val3
);
17461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17462 (arg1
)->CrossHair(arg2
,arg3
);
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= SWIG_Py_Void();
17473 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
= 0;
17475 wxDC
*arg1
= (wxDC
*) 0 ;
17476 wxPoint
*arg2
= 0 ;
17480 PyObject
* obj0
= 0 ;
17481 PyObject
* obj1
= 0 ;
17482 char * kwnames
[] = {
17483 (char *) "self",(char *) "pt", NULL
17486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17488 if (!SWIG_IsOK(res1
)) {
17489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17491 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17494 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17499 wxPyEndAllowThreads(__tstate
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17502 resultobj
= SWIG_Py_Void();
17509 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17510 PyObject
*resultobj
= 0;
17511 wxDC
*arg1
= (wxDC
*) 0 ;
17532 PyObject
* obj0
= 0 ;
17533 PyObject
* obj1
= 0 ;
17534 PyObject
* obj2
= 0 ;
17535 PyObject
* obj3
= 0 ;
17536 PyObject
* obj4
= 0 ;
17537 PyObject
* obj5
= 0 ;
17538 PyObject
* obj6
= 0 ;
17539 char * kwnames
[] = {
17540 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17545 if (!SWIG_IsOK(res1
)) {
17546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17548 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17550 if (!SWIG_IsOK(ecode2
)) {
17551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17553 arg2
= static_cast< int >(val2
);
17554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17555 if (!SWIG_IsOK(ecode3
)) {
17556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17558 arg3
= static_cast< int >(val3
);
17559 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17560 if (!SWIG_IsOK(ecode4
)) {
17561 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17563 arg4
= static_cast< int >(val4
);
17564 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17565 if (!SWIG_IsOK(ecode5
)) {
17566 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17568 arg5
= static_cast< int >(val5
);
17569 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17570 if (!SWIG_IsOK(ecode6
)) {
17571 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17573 arg6
= static_cast< int >(val6
);
17574 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17575 if (!SWIG_IsOK(ecode7
)) {
17576 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17578 arg7
= static_cast< int >(val7
);
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= SWIG_Py_Void();
17592 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
= 0;
17594 wxDC
*arg1
= (wxDC
*) 0 ;
17595 wxPoint
*arg2
= 0 ;
17596 wxPoint
*arg3
= 0 ;
17597 wxPoint
*arg4
= 0 ;
17603 PyObject
* obj0
= 0 ;
17604 PyObject
* obj1
= 0 ;
17605 PyObject
* obj2
= 0 ;
17606 PyObject
* obj3
= 0 ;
17607 char * kwnames
[] = {
17608 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17613 if (!SWIG_IsOK(res1
)) {
17614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17616 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17619 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17623 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17627 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17631 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17632 wxPyEndAllowThreads(__tstate
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17635 resultobj
= SWIG_Py_Void();
17642 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
= 0;
17644 wxDC
*arg1
= (wxDC
*) 0 ;
17659 PyObject
* obj0
= 0 ;
17660 PyObject
* obj1
= 0 ;
17661 PyObject
* obj2
= 0 ;
17662 PyObject
* obj3
= 0 ;
17663 PyObject
* obj4
= 0 ;
17664 char * kwnames
[] = {
17665 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17670 if (!SWIG_IsOK(res1
)) {
17671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17673 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17675 if (!SWIG_IsOK(ecode2
)) {
17676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17678 arg2
= static_cast< int >(val2
);
17679 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17680 if (!SWIG_IsOK(ecode3
)) {
17681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17683 arg3
= static_cast< int >(val3
);
17684 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17685 if (!SWIG_IsOK(ecode4
)) {
17686 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17688 arg4
= static_cast< int >(val4
);
17689 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17690 if (!SWIG_IsOK(ecode5
)) {
17691 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17693 arg5
= static_cast< int >(val5
);
17695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17696 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= SWIG_Py_Void();
17707 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
= 0;
17709 wxDC
*arg1
= (wxDC
*) 0 ;
17714 PyObject
* obj0
= 0 ;
17715 PyObject
* obj1
= 0 ;
17716 char * kwnames
[] = {
17717 (char *) "self",(char *) "rect", NULL
17720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17722 if (!SWIG_IsOK(res1
)) {
17723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17725 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17728 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17736 resultobj
= SWIG_Py_Void();
17743 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17744 PyObject
*resultobj
= 0;
17745 wxDC
*arg1
= (wxDC
*) 0 ;
17766 PyObject
* obj0
= 0 ;
17767 PyObject
* obj1
= 0 ;
17768 PyObject
* obj2
= 0 ;
17769 PyObject
* obj3
= 0 ;
17770 PyObject
* obj4
= 0 ;
17771 PyObject
* obj5
= 0 ;
17772 PyObject
* obj6
= 0 ;
17773 char * kwnames
[] = {
17774 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
17777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17779 if (!SWIG_IsOK(res1
)) {
17780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
17782 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17784 if (!SWIG_IsOK(ecode2
)) {
17785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
17787 arg2
= static_cast< int >(val2
);
17788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17789 if (!SWIG_IsOK(ecode3
)) {
17790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
17792 arg3
= static_cast< int >(val3
);
17793 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17794 if (!SWIG_IsOK(ecode4
)) {
17795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
17797 arg4
= static_cast< int >(val4
);
17798 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17799 if (!SWIG_IsOK(ecode5
)) {
17800 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
17802 arg5
= static_cast< int >(val5
);
17803 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
17804 if (!SWIG_IsOK(ecode6
)) {
17805 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
17807 arg6
= static_cast< double >(val6
);
17808 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
17809 if (!SWIG_IsOK(ecode7
)) {
17810 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
17812 arg7
= static_cast< double >(val7
);
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= SWIG_Py_Void();
17826 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17827 PyObject
*resultobj
= 0;
17828 wxDC
*arg1
= (wxDC
*) 0 ;
17829 wxPoint
*arg2
= 0 ;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 PyObject
* obj2
= 0 ;
17844 PyObject
* obj3
= 0 ;
17845 PyObject
* obj4
= 0 ;
17846 char * kwnames
[] = {
17847 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
17850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17852 if (!SWIG_IsOK(res1
)) {
17853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17855 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17858 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17862 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17864 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
17865 if (!SWIG_IsOK(ecode4
)) {
17866 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
17868 arg4
= static_cast< double >(val4
);
17869 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
17870 if (!SWIG_IsOK(ecode5
)) {
17871 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
17873 arg5
= static_cast< double >(val5
);
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
17877 wxPyEndAllowThreads(__tstate
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17880 resultobj
= SWIG_Py_Void();
17887 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
= 0;
17889 wxDC
*arg1
= (wxDC
*) 0 ;
17898 PyObject
* obj0
= 0 ;
17899 PyObject
* obj1
= 0 ;
17900 PyObject
* obj2
= 0 ;
17901 char * kwnames
[] = {
17902 (char *) "self",(char *) "x",(char *) "y", NULL
17905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17907 if (!SWIG_IsOK(res1
)) {
17908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17910 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17912 if (!SWIG_IsOK(ecode2
)) {
17913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
17915 arg2
= static_cast< int >(val2
);
17916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17917 if (!SWIG_IsOK(ecode3
)) {
17918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
17920 arg3
= static_cast< int >(val3
);
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 (arg1
)->DrawPoint(arg2
,arg3
);
17924 wxPyEndAllowThreads(__tstate
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= SWIG_Py_Void();
17934 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
= 0;
17936 wxDC
*arg1
= (wxDC
*) 0 ;
17937 wxPoint
*arg2
= 0 ;
17941 PyObject
* obj0
= 0 ;
17942 PyObject
* obj1
= 0 ;
17943 char * kwnames
[] = {
17944 (char *) "self",(char *) "pt", NULL
17947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17955 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 resultobj
= SWIG_Py_Void();
17970 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
= 0;
17972 wxDC
*arg1
= (wxDC
*) 0 ;
17987 PyObject
* obj0
= 0 ;
17988 PyObject
* obj1
= 0 ;
17989 PyObject
* obj2
= 0 ;
17990 PyObject
* obj3
= 0 ;
17991 PyObject
* obj4
= 0 ;
17992 char * kwnames
[] = {
17993 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17998 if (!SWIG_IsOK(res1
)) {
17999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18001 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18003 if (!SWIG_IsOK(ecode2
)) {
18004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18006 arg2
= static_cast< int >(val2
);
18007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18008 if (!SWIG_IsOK(ecode3
)) {
18009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18011 arg3
= static_cast< int >(val3
);
18012 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18013 if (!SWIG_IsOK(ecode4
)) {
18014 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18016 arg4
= static_cast< int >(val4
);
18017 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18018 if (!SWIG_IsOK(ecode5
)) {
18019 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18021 arg5
= static_cast< int >(val5
);
18023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 resultobj
= SWIG_Py_Void();
18035 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
= 0;
18037 wxDC
*arg1
= (wxDC
*) 0 ;
18042 PyObject
* obj0
= 0 ;
18043 PyObject
* obj1
= 0 ;
18044 char * kwnames
[] = {
18045 (char *) "self",(char *) "rect", NULL
18048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18050 if (!SWIG_IsOK(res1
)) {
18051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18053 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18056 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18060 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18061 wxPyEndAllowThreads(__tstate
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18064 resultobj
= SWIG_Py_Void();
18071 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18072 PyObject
*resultobj
= 0;
18073 wxDC
*arg1
= (wxDC
*) 0 ;
18074 wxPoint
*arg2
= 0 ;
18080 PyObject
* obj0
= 0 ;
18081 PyObject
* obj1
= 0 ;
18082 PyObject
* obj2
= 0 ;
18083 char * kwnames
[] = {
18084 (char *) "self",(char *) "pt",(char *) "sz", NULL
18087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18089 if (!SWIG_IsOK(res1
)) {
18090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18092 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18095 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18099 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= SWIG_Py_Void();
18114 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
= 0;
18116 wxDC
*arg1
= (wxDC
*) 0 ;
18134 PyObject
* obj0
= 0 ;
18135 PyObject
* obj1
= 0 ;
18136 PyObject
* obj2
= 0 ;
18137 PyObject
* obj3
= 0 ;
18138 PyObject
* obj4
= 0 ;
18139 PyObject
* obj5
= 0 ;
18140 char * kwnames
[] = {
18141 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18146 if (!SWIG_IsOK(res1
)) {
18147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18149 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18151 if (!SWIG_IsOK(ecode2
)) {
18152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18154 arg2
= static_cast< int >(val2
);
18155 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18156 if (!SWIG_IsOK(ecode3
)) {
18157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18159 arg3
= static_cast< int >(val3
);
18160 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18161 if (!SWIG_IsOK(ecode4
)) {
18162 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18164 arg4
= static_cast< int >(val4
);
18165 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18166 if (!SWIG_IsOK(ecode5
)) {
18167 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18169 arg5
= static_cast< int >(val5
);
18170 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18171 if (!SWIG_IsOK(ecode6
)) {
18172 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18174 arg6
= static_cast< double >(val6
);
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18178 wxPyEndAllowThreads(__tstate
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= SWIG_Py_Void();
18188 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18189 PyObject
*resultobj
= 0;
18190 wxDC
*arg1
= (wxDC
*) 0 ;
18198 PyObject
* obj0
= 0 ;
18199 PyObject
* obj1
= 0 ;
18200 PyObject
* obj2
= 0 ;
18201 char * kwnames
[] = {
18202 (char *) "self",(char *) "r",(char *) "radius", NULL
18205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18207 if (!SWIG_IsOK(res1
)) {
18208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18210 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18213 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18215 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18216 if (!SWIG_IsOK(ecode3
)) {
18217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18219 arg3
= static_cast< double >(val3
);
18221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18222 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= SWIG_Py_Void();
18233 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
= 0;
18235 wxDC
*arg1
= (wxDC
*) 0 ;
18236 wxPoint
*arg2
= 0 ;
18245 PyObject
* obj0
= 0 ;
18246 PyObject
* obj1
= 0 ;
18247 PyObject
* obj2
= 0 ;
18248 PyObject
* obj3
= 0 ;
18249 char * kwnames
[] = {
18250 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18255 if (!SWIG_IsOK(res1
)) {
18256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18258 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18261 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18265 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18267 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18268 if (!SWIG_IsOK(ecode4
)) {
18269 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18271 arg4
= static_cast< double >(val4
);
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18275 wxPyEndAllowThreads(__tstate
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18278 resultobj
= SWIG_Py_Void();
18285 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
= 0;
18287 wxDC
*arg1
= (wxDC
*) 0 ;
18299 PyObject
* obj0
= 0 ;
18300 PyObject
* obj1
= 0 ;
18301 PyObject
* obj2
= 0 ;
18302 PyObject
* obj3
= 0 ;
18303 char * kwnames
[] = {
18304 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18309 if (!SWIG_IsOK(res1
)) {
18310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18312 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18314 if (!SWIG_IsOK(ecode2
)) {
18315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18317 arg2
= static_cast< int >(val2
);
18318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18319 if (!SWIG_IsOK(ecode3
)) {
18320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18322 arg3
= static_cast< int >(val3
);
18323 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18324 if (!SWIG_IsOK(ecode4
)) {
18325 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18327 arg4
= static_cast< int >(val4
);
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 resultobj
= SWIG_Py_Void();
18341 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
= 0;
18343 wxDC
*arg1
= (wxDC
*) 0 ;
18344 wxPoint
*arg2
= 0 ;
18351 PyObject
* obj0
= 0 ;
18352 PyObject
* obj1
= 0 ;
18353 PyObject
* obj2
= 0 ;
18354 char * kwnames
[] = {
18355 (char *) "self",(char *) "pt",(char *) "radius", NULL
18358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18360 if (!SWIG_IsOK(res1
)) {
18361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18363 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18366 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18369 if (!SWIG_IsOK(ecode3
)) {
18370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18372 arg3
= static_cast< int >(val3
);
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= SWIG_Py_Void();
18386 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
= 0;
18388 wxDC
*arg1
= (wxDC
*) 0 ;
18403 PyObject
* obj0
= 0 ;
18404 PyObject
* obj1
= 0 ;
18405 PyObject
* obj2
= 0 ;
18406 PyObject
* obj3
= 0 ;
18407 PyObject
* obj4
= 0 ;
18408 char * kwnames
[] = {
18409 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18414 if (!SWIG_IsOK(res1
)) {
18415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18417 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18419 if (!SWIG_IsOK(ecode2
)) {
18420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18422 arg2
= static_cast< int >(val2
);
18423 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18424 if (!SWIG_IsOK(ecode3
)) {
18425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18427 arg3
= static_cast< int >(val3
);
18428 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18429 if (!SWIG_IsOK(ecode4
)) {
18430 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18432 arg4
= static_cast< int >(val4
);
18433 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18434 if (!SWIG_IsOK(ecode5
)) {
18435 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18437 arg5
= static_cast< int >(val5
);
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 resultobj
= SWIG_Py_Void();
18451 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
= 0;
18453 wxDC
*arg1
= (wxDC
*) 0 ;
18458 PyObject
* obj0
= 0 ;
18459 PyObject
* obj1
= 0 ;
18460 char * kwnames
[] = {
18461 (char *) "self",(char *) "rect", NULL
18464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18466 if (!SWIG_IsOK(res1
)) {
18467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18469 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18472 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18480 resultobj
= SWIG_Py_Void();
18487 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
= 0;
18489 wxDC
*arg1
= (wxDC
*) 0 ;
18490 wxPoint
*arg2
= 0 ;
18496 PyObject
* obj0
= 0 ;
18497 PyObject
* obj1
= 0 ;
18498 PyObject
* obj2
= 0 ;
18499 char * kwnames
[] = {
18500 (char *) "self",(char *) "pt",(char *) "sz", NULL
18503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18505 if (!SWIG_IsOK(res1
)) {
18506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18508 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18511 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18515 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18519 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18520 wxPyEndAllowThreads(__tstate
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18523 resultobj
= SWIG_Py_Void();
18530 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
= 0;
18532 wxDC
*arg1
= (wxDC
*) 0 ;
18544 PyObject
* obj0
= 0 ;
18545 PyObject
* obj1
= 0 ;
18546 PyObject
* obj2
= 0 ;
18547 PyObject
* obj3
= 0 ;
18548 char * kwnames
[] = {
18549 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18554 if (!SWIG_IsOK(res1
)) {
18555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18557 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18558 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18559 if (!SWIG_IsOK(res2
)) {
18560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18565 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18566 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18567 if (!SWIG_IsOK(ecode3
)) {
18568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18570 arg3
= static_cast< int >(val3
);
18571 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18572 if (!SWIG_IsOK(ecode4
)) {
18573 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18575 arg4
= static_cast< int >(val4
);
18577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18578 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18579 wxPyEndAllowThreads(__tstate
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18582 resultobj
= SWIG_Py_Void();
18589 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
= 0;
18591 wxDC
*arg1
= (wxDC
*) 0 ;
18593 wxPoint
*arg3
= 0 ;
18599 PyObject
* obj0
= 0 ;
18600 PyObject
* obj1
= 0 ;
18601 PyObject
* obj2
= 0 ;
18602 char * kwnames
[] = {
18603 (char *) "self",(char *) "icon",(char *) "pt", NULL
18606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18608 if (!SWIG_IsOK(res1
)) {
18609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18611 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18612 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18613 if (!SWIG_IsOK(res2
)) {
18614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18619 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18622 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18626 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18630 resultobj
= SWIG_Py_Void();
18637 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18638 PyObject
*resultobj
= 0;
18639 wxDC
*arg1
= (wxDC
*) 0 ;
18640 wxBitmap
*arg2
= 0 ;
18643 bool arg5
= (bool) false ;
18654 PyObject
* obj0
= 0 ;
18655 PyObject
* obj1
= 0 ;
18656 PyObject
* obj2
= 0 ;
18657 PyObject
* obj3
= 0 ;
18658 PyObject
* obj4
= 0 ;
18659 char * kwnames
[] = {
18660 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18665 if (!SWIG_IsOK(res1
)) {
18666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18668 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18669 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18670 if (!SWIG_IsOK(res2
)) {
18671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18676 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18677 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18678 if (!SWIG_IsOK(ecode3
)) {
18679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18681 arg3
= static_cast< int >(val3
);
18682 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18683 if (!SWIG_IsOK(ecode4
)) {
18684 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18686 arg4
= static_cast< int >(val4
);
18688 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18689 if (!SWIG_IsOK(ecode5
)) {
18690 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18692 arg5
= static_cast< bool >(val5
);
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18700 resultobj
= SWIG_Py_Void();
18707 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
= 0;
18709 wxDC
*arg1
= (wxDC
*) 0 ;
18710 wxBitmap
*arg2
= 0 ;
18711 wxPoint
*arg3
= 0 ;
18712 bool arg4
= (bool) false ;
18720 PyObject
* obj0
= 0 ;
18721 PyObject
* obj1
= 0 ;
18722 PyObject
* obj2
= 0 ;
18723 PyObject
* obj3
= 0 ;
18724 char * kwnames
[] = {
18725 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18730 if (!SWIG_IsOK(res1
)) {
18731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18734 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18735 if (!SWIG_IsOK(res2
)) {
18736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18741 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18744 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18747 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18748 if (!SWIG_IsOK(ecode4
)) {
18749 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18751 arg4
= static_cast< bool >(val4
);
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18755 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 resultobj
= SWIG_Py_Void();
18766 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18767 PyObject
*resultobj
= 0;
18768 wxDC
*arg1
= (wxDC
*) 0 ;
18769 wxString
*arg2
= 0 ;
18774 bool temp2
= false ;
18779 PyObject
* obj0
= 0 ;
18780 PyObject
* obj1
= 0 ;
18781 PyObject
* obj2
= 0 ;
18782 PyObject
* obj3
= 0 ;
18783 char * kwnames
[] = {
18784 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
18787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18789 if (!SWIG_IsOK(res1
)) {
18790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
18792 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18794 arg2
= wxString_in_helper(obj1
);
18795 if (arg2
== NULL
) SWIG_fail
;
18798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18799 if (!SWIG_IsOK(ecode3
)) {
18800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
18802 arg3
= static_cast< int >(val3
);
18803 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18804 if (!SWIG_IsOK(ecode4
)) {
18805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
18807 arg4
= static_cast< int >(val4
);
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18814 resultobj
= SWIG_Py_Void();
18829 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18830 PyObject
*resultobj
= 0;
18831 wxDC
*arg1
= (wxDC
*) 0 ;
18832 wxString
*arg2
= 0 ;
18833 wxPoint
*arg3
= 0 ;
18836 bool temp2
= false ;
18838 PyObject
* obj0
= 0 ;
18839 PyObject
* obj1
= 0 ;
18840 PyObject
* obj2
= 0 ;
18841 char * kwnames
[] = {
18842 (char *) "self",(char *) "text",(char *) "pt", NULL
18845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18847 if (!SWIG_IsOK(res1
)) {
18848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18850 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18852 arg2
= wxString_in_helper(obj1
);
18853 if (arg2
== NULL
) SWIG_fail
;
18858 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18866 resultobj
= SWIG_Py_Void();
18881 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
= 0;
18883 wxDC
*arg1
= (wxDC
*) 0 ;
18884 wxString
*arg2
= 0 ;
18890 bool temp2
= false ;
18897 PyObject
* obj0
= 0 ;
18898 PyObject
* obj1
= 0 ;
18899 PyObject
* obj2
= 0 ;
18900 PyObject
* obj3
= 0 ;
18901 PyObject
* obj4
= 0 ;
18902 char * kwnames
[] = {
18903 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
18906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18908 if (!SWIG_IsOK(res1
)) {
18909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
18911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18913 arg2
= wxString_in_helper(obj1
);
18914 if (arg2
== NULL
) SWIG_fail
;
18917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18918 if (!SWIG_IsOK(ecode3
)) {
18919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
18921 arg3
= static_cast< int >(val3
);
18922 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18923 if (!SWIG_IsOK(ecode4
)) {
18924 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
18926 arg4
= static_cast< int >(val4
);
18927 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18928 if (!SWIG_IsOK(ecode5
)) {
18929 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
18931 arg5
= static_cast< double >(val5
);
18933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18934 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18935 wxPyEndAllowThreads(__tstate
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18938 resultobj
= SWIG_Py_Void();
18953 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
= 0;
18955 wxDC
*arg1
= (wxDC
*) 0 ;
18956 wxString
*arg2
= 0 ;
18957 wxPoint
*arg3
= 0 ;
18961 bool temp2
= false ;
18965 PyObject
* obj0
= 0 ;
18966 PyObject
* obj1
= 0 ;
18967 PyObject
* obj2
= 0 ;
18968 PyObject
* obj3
= 0 ;
18969 char * kwnames
[] = {
18970 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
18973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18975 if (!SWIG_IsOK(res1
)) {
18976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18978 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18980 arg2
= wxString_in_helper(obj1
);
18981 if (arg2
== NULL
) SWIG_fail
;
18986 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18988 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18989 if (!SWIG_IsOK(ecode4
)) {
18990 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
18992 arg4
= static_cast< double >(val4
);
18994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18995 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 resultobj
= SWIG_Py_Void();
19014 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
= 0;
19016 wxDC
*arg1
= (wxDC
*) 0 ;
19021 wxDC
*arg6
= (wxDC
*) 0 ;
19024 int arg9
= (int) wxCOPY
;
19025 bool arg10
= (bool) false ;
19026 int arg11
= (int) -1 ;
19027 int arg12
= (int) -1 ;
19053 PyObject
* obj0
= 0 ;
19054 PyObject
* obj1
= 0 ;
19055 PyObject
* obj2
= 0 ;
19056 PyObject
* obj3
= 0 ;
19057 PyObject
* obj4
= 0 ;
19058 PyObject
* obj5
= 0 ;
19059 PyObject
* obj6
= 0 ;
19060 PyObject
* obj7
= 0 ;
19061 PyObject
* obj8
= 0 ;
19062 PyObject
* obj9
= 0 ;
19063 PyObject
* obj10
= 0 ;
19064 PyObject
* obj11
= 0 ;
19065 char * kwnames
[] = {
19066 (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
19069 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
;
19070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19071 if (!SWIG_IsOK(res1
)) {
19072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19074 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19076 if (!SWIG_IsOK(ecode2
)) {
19077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19079 arg2
= static_cast< int >(val2
);
19080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19081 if (!SWIG_IsOK(ecode3
)) {
19082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19084 arg3
= static_cast< int >(val3
);
19085 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19086 if (!SWIG_IsOK(ecode4
)) {
19087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19089 arg4
= static_cast< int >(val4
);
19090 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19091 if (!SWIG_IsOK(ecode5
)) {
19092 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19094 arg5
= static_cast< int >(val5
);
19095 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19096 if (!SWIG_IsOK(res6
)) {
19097 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19099 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19100 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19101 if (!SWIG_IsOK(ecode7
)) {
19102 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19104 arg7
= static_cast< int >(val7
);
19105 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19106 if (!SWIG_IsOK(ecode8
)) {
19107 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19109 arg8
= static_cast< int >(val8
);
19111 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19112 if (!SWIG_IsOK(ecode9
)) {
19113 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19115 arg9
= static_cast< int >(val9
);
19118 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19119 if (!SWIG_IsOK(ecode10
)) {
19120 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19122 arg10
= static_cast< bool >(val10
);
19125 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19126 if (!SWIG_IsOK(ecode11
)) {
19127 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19129 arg11
= static_cast< int >(val11
);
19132 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19133 if (!SWIG_IsOK(ecode12
)) {
19134 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19136 arg12
= static_cast< int >(val12
);
19139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19140 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19153 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
= 0;
19155 wxDC
*arg1
= (wxDC
*) 0 ;
19156 wxPoint
*arg2
= 0 ;
19158 wxDC
*arg4
= (wxDC
*) 0 ;
19159 wxPoint
*arg5
= 0 ;
19160 int arg6
= (int) wxCOPY
;
19161 bool arg7
= (bool) false ;
19162 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19163 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19177 PyObject
* obj0
= 0 ;
19178 PyObject
* obj1
= 0 ;
19179 PyObject
* obj2
= 0 ;
19180 PyObject
* obj3
= 0 ;
19181 PyObject
* obj4
= 0 ;
19182 PyObject
* obj5
= 0 ;
19183 PyObject
* obj6
= 0 ;
19184 PyObject
* obj7
= 0 ;
19185 char * kwnames
[] = {
19186 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19191 if (!SWIG_IsOK(res1
)) {
19192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19194 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19197 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19201 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19203 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19204 if (!SWIG_IsOK(res4
)) {
19205 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19207 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19210 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19213 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19214 if (!SWIG_IsOK(ecode6
)) {
19215 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19217 arg6
= static_cast< int >(val6
);
19220 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19221 if (!SWIG_IsOK(ecode7
)) {
19222 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19224 arg7
= static_cast< bool >(val7
);
19229 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19247 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
= 0;
19249 wxDC
*arg1
= (wxDC
*) 0 ;
19264 PyObject
* obj0
= 0 ;
19265 PyObject
* obj1
= 0 ;
19266 PyObject
* obj2
= 0 ;
19267 PyObject
* obj3
= 0 ;
19268 PyObject
* obj4
= 0 ;
19269 char * kwnames
[] = {
19270 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19275 if (!SWIG_IsOK(res1
)) {
19276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19278 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19280 if (!SWIG_IsOK(ecode2
)) {
19281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19283 arg2
= static_cast< int >(val2
);
19284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19285 if (!SWIG_IsOK(ecode3
)) {
19286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19288 arg3
= static_cast< int >(val3
);
19289 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19290 if (!SWIG_IsOK(ecode4
)) {
19291 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19293 arg4
= static_cast< int >(val4
);
19294 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19295 if (!SWIG_IsOK(ecode5
)) {
19296 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19298 arg5
= static_cast< int >(val5
);
19300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19301 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19302 wxPyEndAllowThreads(__tstate
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 resultobj
= SWIG_Py_Void();
19312 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
= 0;
19314 wxDC
*arg1
= (wxDC
*) 0 ;
19315 wxPoint
*arg2
= 0 ;
19321 PyObject
* obj0
= 0 ;
19322 PyObject
* obj1
= 0 ;
19323 PyObject
* obj2
= 0 ;
19324 char * kwnames
[] = {
19325 (char *) "self",(char *) "pt",(char *) "sz", NULL
19328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19330 if (!SWIG_IsOK(res1
)) {
19331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19333 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19336 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19340 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19344 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19348 resultobj
= SWIG_Py_Void();
19355 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19356 PyObject
*resultobj
= 0;
19357 wxDC
*arg1
= (wxDC
*) 0 ;
19358 wxRegion
*arg2
= 0 ;
19363 PyObject
* obj0
= 0 ;
19364 PyObject
* obj1
= 0 ;
19365 char * kwnames
[] = {
19366 (char *) "self",(char *) "region", NULL
19369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19371 if (!SWIG_IsOK(res1
)) {
19372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19374 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19375 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19376 if (!SWIG_IsOK(res2
)) {
19377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19382 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19389 resultobj
= SWIG_Py_Void();
19396 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19397 PyObject
*resultobj
= 0;
19398 wxDC
*arg1
= (wxDC
*) 0 ;
19403 PyObject
* obj0
= 0 ;
19404 PyObject
* obj1
= 0 ;
19405 char * kwnames
[] = {
19406 (char *) "self",(char *) "rect", NULL
19409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19411 if (!SWIG_IsOK(res1
)) {
19412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19414 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19417 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19422 wxPyEndAllowThreads(__tstate
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19425 resultobj
= SWIG_Py_Void();
19432 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
= 0;
19434 wxDC
*arg1
= (wxDC
*) 0 ;
19436 wxPoint
*arg3
= (wxPoint
*) 0 ;
19437 int arg4
= (int) 0 ;
19438 int arg5
= (int) 0 ;
19445 PyObject
* obj0
= 0 ;
19446 PyObject
* obj1
= 0 ;
19447 PyObject
* obj2
= 0 ;
19448 PyObject
* obj3
= 0 ;
19449 char * kwnames
[] = {
19450 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19455 if (!SWIG_IsOK(res1
)) {
19456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19460 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19461 if (arg3
== NULL
) SWIG_fail
;
19464 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19465 if (!SWIG_IsOK(ecode4
)) {
19466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19468 arg4
= static_cast< int >(val4
);
19471 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19472 if (!SWIG_IsOK(ecode5
)) {
19473 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19475 arg5
= static_cast< int >(val5
);
19478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19479 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 resultobj
= SWIG_Py_Void();
19485 if (arg3
) delete [] arg3
;
19490 if (arg3
) delete [] arg3
;
19496 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19497 PyObject
*resultobj
= 0;
19498 wxDC
*arg1
= (wxDC
*) 0 ;
19500 wxPoint
*arg3
= (wxPoint
*) 0 ;
19501 int arg4
= (int) 0 ;
19502 int arg5
= (int) 0 ;
19503 int arg6
= (int) wxODDEVEN_RULE
;
19512 PyObject
* obj0
= 0 ;
19513 PyObject
* obj1
= 0 ;
19514 PyObject
* obj2
= 0 ;
19515 PyObject
* obj3
= 0 ;
19516 PyObject
* obj4
= 0 ;
19517 char * kwnames
[] = {
19518 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19523 if (!SWIG_IsOK(res1
)) {
19524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19526 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19528 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19529 if (arg3
== NULL
) SWIG_fail
;
19532 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19533 if (!SWIG_IsOK(ecode4
)) {
19534 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19536 arg4
= static_cast< int >(val4
);
19539 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19540 if (!SWIG_IsOK(ecode5
)) {
19541 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19543 arg5
= static_cast< int >(val5
);
19546 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19547 if (!SWIG_IsOK(ecode6
)) {
19548 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19550 arg6
= static_cast< int >(val6
);
19553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19554 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19555 wxPyEndAllowThreads(__tstate
);
19556 if (PyErr_Occurred()) SWIG_fail
;
19558 resultobj
= SWIG_Py_Void();
19560 if (arg3
) delete [] arg3
;
19565 if (arg3
) delete [] arg3
;
19571 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
= 0;
19573 wxDC
*arg1
= (wxDC
*) 0 ;
19574 wxString
*arg2
= 0 ;
19576 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19577 int arg5
= (int) -1 ;
19580 bool temp2
= false ;
19586 PyObject
* obj0
= 0 ;
19587 PyObject
* obj1
= 0 ;
19588 PyObject
* obj2
= 0 ;
19589 PyObject
* obj3
= 0 ;
19590 PyObject
* obj4
= 0 ;
19591 char * kwnames
[] = {
19592 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19597 if (!SWIG_IsOK(res1
)) {
19598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19600 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19602 arg2
= wxString_in_helper(obj1
);
19603 if (arg2
== NULL
) SWIG_fail
;
19608 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19611 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19612 if (!SWIG_IsOK(ecode4
)) {
19613 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19615 arg4
= static_cast< int >(val4
);
19618 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19619 if (!SWIG_IsOK(ecode5
)) {
19620 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19622 arg5
= static_cast< int >(val5
);
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19630 resultobj
= SWIG_Py_Void();
19645 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
= 0;
19647 wxDC
*arg1
= (wxDC
*) 0 ;
19648 wxString
*arg2
= 0 ;
19649 wxBitmap
*arg3
= 0 ;
19651 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19652 int arg6
= (int) -1 ;
19656 bool temp2
= false ;
19664 PyObject
* obj0
= 0 ;
19665 PyObject
* obj1
= 0 ;
19666 PyObject
* obj2
= 0 ;
19667 PyObject
* obj3
= 0 ;
19668 PyObject
* obj4
= 0 ;
19669 PyObject
* obj5
= 0 ;
19670 char * kwnames
[] = {
19671 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19676 if (!SWIG_IsOK(res1
)) {
19677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19679 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19681 arg2
= wxString_in_helper(obj1
);
19682 if (arg2
== NULL
) SWIG_fail
;
19685 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19686 if (!SWIG_IsOK(res3
)) {
19687 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19692 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19695 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19698 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19699 if (!SWIG_IsOK(ecode5
)) {
19700 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19702 arg5
= static_cast< int >(val5
);
19705 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19706 if (!SWIG_IsOK(ecode6
)) {
19707 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19709 arg6
= static_cast< int >(val6
);
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19713 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19717 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19732 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19733 PyObject
*resultobj
= 0;
19734 wxDC
*arg1
= (wxDC
*) 0 ;
19736 wxPoint
*arg3
= (wxPoint
*) 0 ;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 char * kwnames
[] = {
19742 (char *) "self",(char *) "points", NULL
19745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19747 if (!SWIG_IsOK(res1
)) {
19748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19750 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19752 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19753 if (arg3
== NULL
) SWIG_fail
;
19756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 (arg1
)->DrawSpline(arg2
,arg3
);
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19761 resultobj
= SWIG_Py_Void();
19763 if (arg3
) delete [] arg3
;
19768 if (arg3
) delete [] arg3
;
19774 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19775 PyObject
*resultobj
= 0;
19776 wxDC
*arg1
= (wxDC
*) 0 ;
19779 PyObject
*swig_obj
[1] ;
19781 if (!args
) SWIG_fail
;
19782 swig_obj
[0] = args
;
19783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19784 if (!SWIG_IsOK(res1
)) {
19785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
19787 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= SWIG_Py_Void();
19801 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19802 PyObject
*resultobj
= 0;
19803 wxDC
*arg1
= (wxDC
*) 0 ;
19804 wxString
*arg2
= 0 ;
19808 bool temp2
= false ;
19809 PyObject
* obj0
= 0 ;
19810 PyObject
* obj1
= 0 ;
19811 char * kwnames
[] = {
19812 (char *) "self",(char *) "message", NULL
19815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19817 if (!SWIG_IsOK(res1
)) {
19818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
19820 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19822 arg2
= wxString_in_helper(obj1
);
19823 if (arg2
== NULL
) SWIG_fail
;
19827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19828 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
19829 wxPyEndAllowThreads(__tstate
);
19830 if (PyErr_Occurred()) SWIG_fail
;
19833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19849 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19850 PyObject
*resultobj
= 0;
19851 wxDC
*arg1
= (wxDC
*) 0 ;
19854 PyObject
*swig_obj
[1] ;
19856 if (!args
) SWIG_fail
;
19857 swig_obj
[0] = args
;
19858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19859 if (!SWIG_IsOK(res1
)) {
19860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
19862 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19869 resultobj
= SWIG_Py_Void();
19876 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19877 PyObject
*resultobj
= 0;
19878 wxDC
*arg1
= (wxDC
*) 0 ;
19881 PyObject
*swig_obj
[1] ;
19883 if (!args
) SWIG_fail
;
19884 swig_obj
[0] = args
;
19885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19886 if (!SWIG_IsOK(res1
)) {
19887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
19889 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19892 (arg1
)->StartPage();
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19896 resultobj
= SWIG_Py_Void();
19903 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19904 PyObject
*resultobj
= 0;
19905 wxDC
*arg1
= (wxDC
*) 0 ;
19908 PyObject
*swig_obj
[1] ;
19910 if (!args
) SWIG_fail
;
19911 swig_obj
[0] = args
;
19912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19913 if (!SWIG_IsOK(res1
)) {
19914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
19916 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 resultobj
= SWIG_Py_Void();
19930 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
= 0;
19932 wxDC
*arg1
= (wxDC
*) 0 ;
19938 PyObject
* obj0
= 0 ;
19939 PyObject
* obj1
= 0 ;
19940 char * kwnames
[] = {
19941 (char *) "self",(char *) "font", NULL
19944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19946 if (!SWIG_IsOK(res1
)) {
19947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
19949 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19950 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19951 if (!SWIG_IsOK(res2
)) {
19952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19955 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19957 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19960 (arg1
)->SetFont((wxFont
const &)*arg2
);
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19964 resultobj
= SWIG_Py_Void();
19971 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19972 PyObject
*resultobj
= 0;
19973 wxDC
*arg1
= (wxDC
*) 0 ;
19979 PyObject
* obj0
= 0 ;
19980 PyObject
* obj1
= 0 ;
19981 char * kwnames
[] = {
19982 (char *) "self",(char *) "pen", NULL
19985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19987 if (!SWIG_IsOK(res1
)) {
19988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
19990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19991 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
19992 if (!SWIG_IsOK(res2
)) {
19993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
19996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
19998 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20001 (arg1
)->SetPen((wxPen
const &)*arg2
);
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= SWIG_Py_Void();
20012 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
= 0;
20014 wxDC
*arg1
= (wxDC
*) 0 ;
20015 wxBrush
*arg2
= 0 ;
20020 PyObject
* obj0
= 0 ;
20021 PyObject
* obj1
= 0 ;
20022 char * kwnames
[] = {
20023 (char *) "self",(char *) "brush", NULL
20026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20028 if (!SWIG_IsOK(res1
)) {
20029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20031 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20032 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20033 if (!SWIG_IsOK(res2
)) {
20034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20039 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= SWIG_Py_Void();
20053 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20054 PyObject
*resultobj
= 0;
20055 wxDC
*arg1
= (wxDC
*) 0 ;
20056 wxBrush
*arg2
= 0 ;
20061 PyObject
* obj0
= 0 ;
20062 PyObject
* obj1
= 0 ;
20063 char * kwnames
[] = {
20064 (char *) "self",(char *) "brush", NULL
20067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20069 if (!SWIG_IsOK(res1
)) {
20070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20072 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20073 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20074 if (!SWIG_IsOK(res2
)) {
20075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20080 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20083 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20087 resultobj
= SWIG_Py_Void();
20094 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
= 0;
20096 wxDC
*arg1
= (wxDC
*) 0 ;
20102 PyObject
* obj0
= 0 ;
20103 PyObject
* obj1
= 0 ;
20104 char * kwnames
[] = {
20105 (char *) "self",(char *) "mode", NULL
20108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20110 if (!SWIG_IsOK(res1
)) {
20111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20115 if (!SWIG_IsOK(ecode2
)) {
20116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20118 arg2
= static_cast< int >(val2
);
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 (arg1
)->SetBackgroundMode(arg2
);
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20125 resultobj
= SWIG_Py_Void();
20132 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
= 0;
20134 wxDC
*arg1
= (wxDC
*) 0 ;
20135 wxPalette
*arg2
= 0 ;
20140 PyObject
* obj0
= 0 ;
20141 PyObject
* obj1
= 0 ;
20142 char * kwnames
[] = {
20143 (char *) "self",(char *) "palette", NULL
20146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20148 if (!SWIG_IsOK(res1
)) {
20149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20151 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20152 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20153 if (!SWIG_IsOK(res2
)) {
20154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20159 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20166 resultobj
= SWIG_Py_Void();
20173 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20174 PyObject
*resultobj
= 0;
20175 wxDC
*arg1
= (wxDC
*) 0 ;
20178 PyObject
*swig_obj
[1] ;
20180 if (!args
) SWIG_fail
;
20181 swig_obj
[0] = args
;
20182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20183 if (!SWIG_IsOK(res1
)) {
20184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20186 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20189 (arg1
)->DestroyClippingRegion();
20190 wxPyEndAllowThreads(__tstate
);
20191 if (PyErr_Occurred()) SWIG_fail
;
20193 resultobj
= SWIG_Py_Void();
20200 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20201 PyObject
*resultobj
= 0;
20202 wxDC
*arg1
= (wxDC
*) 0 ;
20203 int *arg2
= (int *) 0 ;
20204 int *arg3
= (int *) 0 ;
20205 int *arg4
= (int *) 0 ;
20206 int *arg5
= (int *) 0 ;
20210 int res2
= SWIG_TMPOBJ
;
20212 int res3
= SWIG_TMPOBJ
;
20214 int res4
= SWIG_TMPOBJ
;
20216 int res5
= SWIG_TMPOBJ
;
20217 PyObject
*swig_obj
[1] ;
20223 if (!args
) SWIG_fail
;
20224 swig_obj
[0] = args
;
20225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20226 if (!SWIG_IsOK(res1
)) {
20227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20229 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20233 wxPyEndAllowThreads(__tstate
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20236 resultobj
= SWIG_Py_Void();
20237 if (SWIG_IsTmpObj(res2
)) {
20238 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20240 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20241 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20243 if (SWIG_IsTmpObj(res3
)) {
20244 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20246 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20247 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20249 if (SWIG_IsTmpObj(res4
)) {
20250 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20252 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20255 if (SWIG_IsTmpObj(res5
)) {
20256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20258 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20267 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20268 PyObject
*resultobj
= 0;
20269 wxDC
*arg1
= (wxDC
*) 0 ;
20273 PyObject
*swig_obj
[1] ;
20275 if (!args
) SWIG_fail
;
20276 swig_obj
[0] = args
;
20277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20278 if (!SWIG_IsOK(res1
)) {
20279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20281 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20284 result
= wxDC_GetClippingRect(arg1
);
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20288 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20295 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20296 PyObject
*resultobj
= 0;
20297 wxDC
*arg1
= (wxDC
*) 0 ;
20301 PyObject
*swig_obj
[1] ;
20303 if (!args
) SWIG_fail
;
20304 swig_obj
[0] = args
;
20305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20306 if (!SWIG_IsOK(res1
)) {
20307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20309 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 resultobj
= SWIG_From_int(static_cast< int >(result
));
20323 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20324 PyObject
*resultobj
= 0;
20325 wxDC
*arg1
= (wxDC
*) 0 ;
20329 PyObject
*swig_obj
[1] ;
20331 if (!args
) SWIG_fail
;
20332 swig_obj
[0] = args
;
20333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20334 if (!SWIG_IsOK(res1
)) {
20335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20337 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20341 wxPyEndAllowThreads(__tstate
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20344 resultobj
= SWIG_From_int(static_cast< int >(result
));
20351 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
= 0;
20353 wxDC
*arg1
= (wxDC
*) 0 ;
20354 wxString
*arg2
= 0 ;
20355 int *arg3
= (int *) 0 ;
20356 int *arg4
= (int *) 0 ;
20359 bool temp2
= false ;
20361 int res3
= SWIG_TMPOBJ
;
20363 int res4
= SWIG_TMPOBJ
;
20364 PyObject
* obj0
= 0 ;
20365 PyObject
* obj1
= 0 ;
20366 char * kwnames
[] = {
20367 (char *) "self",(char *) "string", NULL
20372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20374 if (!SWIG_IsOK(res1
)) {
20375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20379 arg2
= wxString_in_helper(obj1
);
20380 if (arg2
== NULL
) SWIG_fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20386 wxPyEndAllowThreads(__tstate
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20389 resultobj
= SWIG_Py_Void();
20390 if (SWIG_IsTmpObj(res3
)) {
20391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20393 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20396 if (SWIG_IsTmpObj(res4
)) {
20397 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20399 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20400 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20416 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
= 0;
20418 wxDC
*arg1
= (wxDC
*) 0 ;
20419 wxString
*arg2
= 0 ;
20420 int *arg3
= (int *) 0 ;
20421 int *arg4
= (int *) 0 ;
20422 int *arg5
= (int *) 0 ;
20423 int *arg6
= (int *) 0 ;
20424 wxFont
*arg7
= (wxFont
*) NULL
;
20427 bool temp2
= false ;
20429 int res3
= SWIG_TMPOBJ
;
20431 int res4
= SWIG_TMPOBJ
;
20433 int res5
= SWIG_TMPOBJ
;
20435 int res6
= SWIG_TMPOBJ
;
20438 PyObject
* obj0
= 0 ;
20439 PyObject
* obj1
= 0 ;
20440 PyObject
* obj2
= 0 ;
20441 char * kwnames
[] = {
20442 (char *) "self",(char *) "string",(char *) "font", NULL
20449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20451 if (!SWIG_IsOK(res1
)) {
20452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20454 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20456 arg2
= wxString_in_helper(obj1
);
20457 if (arg2
== NULL
) SWIG_fail
;
20461 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20462 if (!SWIG_IsOK(res7
)) {
20463 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20465 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20469 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20470 wxPyEndAllowThreads(__tstate
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20473 resultobj
= SWIG_Py_Void();
20474 if (SWIG_IsTmpObj(res3
)) {
20475 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20477 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20478 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20480 if (SWIG_IsTmpObj(res4
)) {
20481 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20483 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20484 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20486 if (SWIG_IsTmpObj(res5
)) {
20487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20489 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20492 if (SWIG_IsTmpObj(res6
)) {
20493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20495 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20512 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
= 0;
20514 wxDC
*arg1
= (wxDC
*) 0 ;
20515 wxString
*arg2
= 0 ;
20516 int *arg3
= (int *) 0 ;
20517 int *arg4
= (int *) 0 ;
20518 int *arg5
= (int *) 0 ;
20519 wxFont
*arg6
= (wxFont
*) NULL
;
20522 bool temp2
= false ;
20524 int res3
= SWIG_TMPOBJ
;
20526 int res4
= SWIG_TMPOBJ
;
20528 int res5
= SWIG_TMPOBJ
;
20531 PyObject
* obj0
= 0 ;
20532 PyObject
* obj1
= 0 ;
20533 PyObject
* obj2
= 0 ;
20534 char * kwnames
[] = {
20535 (char *) "self",(char *) "text",(char *) "font", NULL
20541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20543 if (!SWIG_IsOK(res1
)) {
20544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20546 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20548 arg2
= wxString_in_helper(obj1
);
20549 if (arg2
== NULL
) SWIG_fail
;
20553 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20554 if (!SWIG_IsOK(res6
)) {
20555 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20557 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20562 wxPyEndAllowThreads(__tstate
);
20563 if (PyErr_Occurred()) SWIG_fail
;
20565 resultobj
= SWIG_Py_Void();
20566 if (SWIG_IsTmpObj(res3
)) {
20567 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20569 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20570 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20572 if (SWIG_IsTmpObj(res4
)) {
20573 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20575 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20576 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20578 if (SWIG_IsTmpObj(res5
)) {
20579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20581 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20582 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20598 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20599 PyObject
*resultobj
= 0;
20600 wxDC
*arg1
= (wxDC
*) 0 ;
20601 wxString
*arg2
= 0 ;
20605 bool temp2
= false ;
20606 PyObject
* obj0
= 0 ;
20607 PyObject
* obj1
= 0 ;
20608 char * kwnames
[] = {
20609 (char *) "self",(char *) "text", NULL
20612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20614 if (!SWIG_IsOK(res1
)) {
20615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20617 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20619 arg2
= wxString_in_helper(obj1
);
20620 if (arg2
== NULL
) SWIG_fail
;
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= PyList_New(0);
20632 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
20633 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
20634 PyList_Append(resultobj
, val
);
20652 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20653 PyObject
*resultobj
= 0;
20654 wxDC
*arg1
= (wxDC
*) 0 ;
20658 PyObject
*swig_obj
[1] ;
20660 if (!args
) SWIG_fail
;
20661 swig_obj
[0] = args
;
20662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20663 if (!SWIG_IsOK(res1
)) {
20664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20666 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 result
= (arg1
)->GetSize();
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20673 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20680 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20681 PyObject
*resultobj
= 0;
20682 wxDC
*arg1
= (wxDC
*) 0 ;
20683 int *arg2
= (int *) 0 ;
20684 int *arg3
= (int *) 0 ;
20688 int res2
= SWIG_TMPOBJ
;
20690 int res3
= SWIG_TMPOBJ
;
20691 PyObject
*swig_obj
[1] ;
20695 if (!args
) SWIG_fail
;
20696 swig_obj
[0] = args
;
20697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20698 if (!SWIG_IsOK(res1
)) {
20699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20701 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 (arg1
)->GetSize(arg2
,arg3
);
20705 wxPyEndAllowThreads(__tstate
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20708 resultobj
= SWIG_Py_Void();
20709 if (SWIG_IsTmpObj(res2
)) {
20710 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20712 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20713 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20715 if (SWIG_IsTmpObj(res3
)) {
20716 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20718 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20719 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20727 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20728 PyObject
*resultobj
= 0;
20729 wxDC
*arg1
= (wxDC
*) 0 ;
20733 PyObject
*swig_obj
[1] ;
20735 if (!args
) SWIG_fail
;
20736 swig_obj
[0] = args
;
20737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20738 if (!SWIG_IsOK(res1
)) {
20739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20741 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20744 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20755 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20756 PyObject
*resultobj
= 0;
20757 wxDC
*arg1
= (wxDC
*) 0 ;
20758 int *arg2
= (int *) 0 ;
20759 int *arg3
= (int *) 0 ;
20763 int res2
= SWIG_TMPOBJ
;
20765 int res3
= SWIG_TMPOBJ
;
20766 PyObject
*swig_obj
[1] ;
20770 if (!args
) SWIG_fail
;
20771 swig_obj
[0] = args
;
20772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20773 if (!SWIG_IsOK(res1
)) {
20774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20776 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20779 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
20780 wxPyEndAllowThreads(__tstate
);
20781 if (PyErr_Occurred()) SWIG_fail
;
20783 resultobj
= SWIG_Py_Void();
20784 if (SWIG_IsTmpObj(res2
)) {
20785 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20787 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20788 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20790 if (SWIG_IsTmpObj(res3
)) {
20791 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20793 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20794 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20802 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20803 PyObject
*resultobj
= 0;
20804 wxDC
*arg1
= (wxDC
*) 0 ;
20811 PyObject
* obj0
= 0 ;
20812 PyObject
* obj1
= 0 ;
20813 char * kwnames
[] = {
20814 (char *) "self",(char *) "x", NULL
20817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20819 if (!SWIG_IsOK(res1
)) {
20820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
20822 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20824 if (!SWIG_IsOK(ecode2
)) {
20825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
20827 arg2
= static_cast< int >(val2
);
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
20831 wxPyEndAllowThreads(__tstate
);
20832 if (PyErr_Occurred()) SWIG_fail
;
20834 resultobj
= SWIG_From_int(static_cast< int >(result
));
20841 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20842 PyObject
*resultobj
= 0;
20843 wxDC
*arg1
= (wxDC
*) 0 ;
20850 PyObject
* obj0
= 0 ;
20851 PyObject
* obj1
= 0 ;
20852 char * kwnames
[] = {
20853 (char *) "self",(char *) "y", NULL
20856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20858 if (!SWIG_IsOK(res1
)) {
20859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
20861 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20863 if (!SWIG_IsOK(ecode2
)) {
20864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
20866 arg2
= static_cast< int >(val2
);
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20873 resultobj
= SWIG_From_int(static_cast< int >(result
));
20880 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
= 0;
20882 wxDC
*arg1
= (wxDC
*) 0 ;
20889 PyObject
* obj0
= 0 ;
20890 PyObject
* obj1
= 0 ;
20891 char * kwnames
[] = {
20892 (char *) "self",(char *) "x", NULL
20895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20897 if (!SWIG_IsOK(res1
)) {
20898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
20900 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20902 if (!SWIG_IsOK(ecode2
)) {
20903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
20905 arg2
= static_cast< int >(val2
);
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20912 resultobj
= SWIG_From_int(static_cast< int >(result
));
20919 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20920 PyObject
*resultobj
= 0;
20921 wxDC
*arg1
= (wxDC
*) 0 ;
20928 PyObject
* obj0
= 0 ;
20929 PyObject
* obj1
= 0 ;
20930 char * kwnames
[] = {
20931 (char *) "self",(char *) "y", NULL
20934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20936 if (!SWIG_IsOK(res1
)) {
20937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
20939 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20941 if (!SWIG_IsOK(ecode2
)) {
20942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
20944 arg2
= static_cast< int >(val2
);
20946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20947 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
20948 wxPyEndAllowThreads(__tstate
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20951 resultobj
= SWIG_From_int(static_cast< int >(result
));
20958 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20959 PyObject
*resultobj
= 0;
20960 wxDC
*arg1
= (wxDC
*) 0 ;
20967 PyObject
* obj0
= 0 ;
20968 PyObject
* obj1
= 0 ;
20969 char * kwnames
[] = {
20970 (char *) "self",(char *) "x", NULL
20973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20975 if (!SWIG_IsOK(res1
)) {
20976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
20978 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20980 if (!SWIG_IsOK(ecode2
)) {
20981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
20983 arg2
= static_cast< int >(val2
);
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
20987 wxPyEndAllowThreads(__tstate
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= SWIG_From_int(static_cast< int >(result
));
20997 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20998 PyObject
*resultobj
= 0;
20999 wxDC
*arg1
= (wxDC
*) 0 ;
21006 PyObject
* obj0
= 0 ;
21007 PyObject
* obj1
= 0 ;
21008 char * kwnames
[] = {
21009 (char *) "self",(char *) "y", NULL
21012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21014 if (!SWIG_IsOK(res1
)) {
21015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21017 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21019 if (!SWIG_IsOK(ecode2
)) {
21020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21022 arg2
= static_cast< int >(val2
);
21024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21025 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21026 wxPyEndAllowThreads(__tstate
);
21027 if (PyErr_Occurred()) SWIG_fail
;
21029 resultobj
= SWIG_From_int(static_cast< int >(result
));
21036 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21037 PyObject
*resultobj
= 0;
21038 wxDC
*arg1
= (wxDC
*) 0 ;
21045 PyObject
* obj0
= 0 ;
21046 PyObject
* obj1
= 0 ;
21047 char * kwnames
[] = {
21048 (char *) "self",(char *) "x", NULL
21051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21053 if (!SWIG_IsOK(res1
)) {
21054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21056 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21058 if (!SWIG_IsOK(ecode2
)) {
21059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21061 arg2
= static_cast< int >(val2
);
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21068 resultobj
= SWIG_From_int(static_cast< int >(result
));
21075 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21076 PyObject
*resultobj
= 0;
21077 wxDC
*arg1
= (wxDC
*) 0 ;
21084 PyObject
* obj0
= 0 ;
21085 PyObject
* obj1
= 0 ;
21086 char * kwnames
[] = {
21087 (char *) "self",(char *) "y", NULL
21090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21092 if (!SWIG_IsOK(res1
)) {
21093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21095 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21097 if (!SWIG_IsOK(ecode2
)) {
21098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21100 arg2
= static_cast< int >(val2
);
21102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21103 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21104 wxPyEndAllowThreads(__tstate
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21107 resultobj
= SWIG_From_int(static_cast< int >(result
));
21114 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21115 PyObject
*resultobj
= 0;
21116 wxDC
*arg1
= (wxDC
*) 0 ;
21120 PyObject
*swig_obj
[1] ;
21122 if (!args
) SWIG_fail
;
21123 swig_obj
[0] = args
;
21124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21125 if (!SWIG_IsOK(res1
)) {
21126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21128 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21132 wxPyEndAllowThreads(__tstate
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21144 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21145 PyObject
*resultobj
= 0;
21146 wxDC
*arg1
= (wxDC
*) 0 ;
21150 PyObject
*swig_obj
[1] ;
21152 if (!args
) SWIG_fail
;
21153 swig_obj
[0] = args
;
21154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21155 if (!SWIG_IsOK(res1
)) {
21156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21158 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21162 wxPyEndAllowThreads(__tstate
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21174 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21175 PyObject
*resultobj
= 0;
21176 wxDC
*arg1
= (wxDC
*) 0 ;
21180 PyObject
*swig_obj
[1] ;
21182 if (!args
) SWIG_fail
;
21183 swig_obj
[0] = args
;
21184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21185 if (!SWIG_IsOK(res1
)) {
21186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21188 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21191 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21192 wxPyEndAllowThreads(__tstate
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21195 resultobj
= SWIG_From_int(static_cast< int >(result
));
21202 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21203 PyObject
*resultobj
= 0;
21204 wxDC
*arg1
= (wxDC
*) 0 ;
21208 PyObject
*swig_obj
[1] ;
21210 if (!args
) SWIG_fail
;
21211 swig_obj
[0] = args
;
21212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21213 if (!SWIG_IsOK(res1
)) {
21214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21219 result
= ((wxDC
const *)arg1
)->GetPPI();
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21223 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21230 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21231 PyObject
*resultobj
= 0;
21232 wxDC
*arg1
= (wxDC
*) 0 ;
21236 PyObject
*swig_obj
[1] ;
21238 if (!args
) SWIG_fail
;
21239 swig_obj
[0] = args
;
21240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21241 if (!SWIG_IsOK(res1
)) {
21242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
21244 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21247 result
= (bool)((wxDC
const *)arg1
)->Ok();
21248 wxPyEndAllowThreads(__tstate
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21260 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21261 PyObject
*resultobj
= 0;
21262 wxDC
*arg1
= (wxDC
*) 0 ;
21266 PyObject
*swig_obj
[1] ;
21268 if (!args
) SWIG_fail
;
21269 swig_obj
[0] = args
;
21270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21271 if (!SWIG_IsOK(res1
)) {
21272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21274 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21277 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 resultobj
= SWIG_From_int(static_cast< int >(result
));
21288 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21289 PyObject
*resultobj
= 0;
21290 wxDC
*arg1
= (wxDC
*) 0 ;
21291 wxBrush
*result
= 0 ;
21294 PyObject
*swig_obj
[1] ;
21296 if (!args
) SWIG_fail
;
21297 swig_obj
[0] = args
;
21298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21299 if (!SWIG_IsOK(res1
)) {
21300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21302 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21307 result
= (wxBrush
*) &_result_ref
;
21309 wxPyEndAllowThreads(__tstate
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21313 wxBrush
* resultptr
= new wxBrush(*result
);
21314 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21322 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21323 PyObject
*resultobj
= 0;
21324 wxDC
*arg1
= (wxDC
*) 0 ;
21325 wxBrush
*result
= 0 ;
21328 PyObject
*swig_obj
[1] ;
21330 if (!args
) SWIG_fail
;
21331 swig_obj
[0] = args
;
21332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21333 if (!SWIG_IsOK(res1
)) {
21334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21340 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21341 result
= (wxBrush
*) &_result_ref
;
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21347 wxBrush
* resultptr
= new wxBrush(*result
);
21348 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21356 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21357 PyObject
*resultobj
= 0;
21358 wxDC
*arg1
= (wxDC
*) 0 ;
21359 wxFont
*result
= 0 ;
21362 PyObject
*swig_obj
[1] ;
21364 if (!args
) SWIG_fail
;
21365 swig_obj
[0] = args
;
21366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21367 if (!SWIG_IsOK(res1
)) {
21368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21370 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21374 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21375 result
= (wxFont
*) &_result_ref
;
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21381 wxFont
* resultptr
= new wxFont(*result
);
21382 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21390 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21391 PyObject
*resultobj
= 0;
21392 wxDC
*arg1
= (wxDC
*) 0 ;
21393 wxPen
*result
= 0 ;
21396 PyObject
*swig_obj
[1] ;
21398 if (!args
) SWIG_fail
;
21399 swig_obj
[0] = args
;
21400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21401 if (!SWIG_IsOK(res1
)) {
21402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21404 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21409 result
= (wxPen
*) &_result_ref
;
21411 wxPyEndAllowThreads(__tstate
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21415 wxPen
* resultptr
= new wxPen(*result
);
21416 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21424 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21425 PyObject
*resultobj
= 0;
21426 wxDC
*arg1
= (wxDC
*) 0 ;
21427 wxColour
*result
= 0 ;
21430 PyObject
*swig_obj
[1] ;
21432 if (!args
) SWIG_fail
;
21433 swig_obj
[0] = args
;
21434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21435 if (!SWIG_IsOK(res1
)) {
21436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21438 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21442 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21443 result
= (wxColour
*) &_result_ref
;
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21455 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21456 PyObject
*resultobj
= 0;
21457 wxDC
*arg1
= (wxDC
*) 0 ;
21458 wxColour
*result
= 0 ;
21461 PyObject
*swig_obj
[1] ;
21463 if (!args
) SWIG_fail
;
21464 swig_obj
[0] = args
;
21465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21466 if (!SWIG_IsOK(res1
)) {
21467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21469 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21474 result
= (wxColour
*) &_result_ref
;
21476 wxPyEndAllowThreads(__tstate
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21486 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21487 PyObject
*resultobj
= 0;
21488 wxDC
*arg1
= (wxDC
*) 0 ;
21489 wxColour
*arg2
= 0 ;
21493 PyObject
* obj0
= 0 ;
21494 PyObject
* obj1
= 0 ;
21495 char * kwnames
[] = {
21496 (char *) "self",(char *) "colour", NULL
21499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21501 if (!SWIG_IsOK(res1
)) {
21502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21504 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21507 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21511 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21515 resultobj
= SWIG_Py_Void();
21522 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
= 0;
21524 wxDC
*arg1
= (wxDC
*) 0 ;
21525 wxColour
*arg2
= 0 ;
21529 PyObject
* obj0
= 0 ;
21530 PyObject
* obj1
= 0 ;
21531 char * kwnames
[] = {
21532 (char *) "self",(char *) "colour", NULL
21535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21537 if (!SWIG_IsOK(res1
)) {
21538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21540 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21543 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21547 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21548 wxPyEndAllowThreads(__tstate
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21551 resultobj
= SWIG_Py_Void();
21558 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21559 PyObject
*resultobj
= 0;
21560 wxDC
*arg1
= (wxDC
*) 0 ;
21564 PyObject
*swig_obj
[1] ;
21566 if (!args
) SWIG_fail
;
21567 swig_obj
[0] = args
;
21568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21569 if (!SWIG_IsOK(res1
)) {
21570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21572 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21579 resultobj
= SWIG_From_int(static_cast< int >(result
));
21586 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21587 PyObject
*resultobj
= 0;
21588 wxDC
*arg1
= (wxDC
*) 0 ;
21594 PyObject
* obj0
= 0 ;
21595 PyObject
* obj1
= 0 ;
21596 char * kwnames
[] = {
21597 (char *) "self",(char *) "mode", NULL
21600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21602 if (!SWIG_IsOK(res1
)) {
21603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21605 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21607 if (!SWIG_IsOK(ecode2
)) {
21608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21610 arg2
= static_cast< int >(val2
);
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 (arg1
)->SetMapMode(arg2
);
21614 wxPyEndAllowThreads(__tstate
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21617 resultobj
= SWIG_Py_Void();
21624 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21625 PyObject
*resultobj
= 0;
21626 wxDC
*arg1
= (wxDC
*) 0 ;
21627 double *arg2
= (double *) 0 ;
21628 double *arg3
= (double *) 0 ;
21632 int res2
= SWIG_TMPOBJ
;
21634 int res3
= SWIG_TMPOBJ
;
21635 PyObject
*swig_obj
[1] ;
21639 if (!args
) SWIG_fail
;
21640 swig_obj
[0] = args
;
21641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21642 if (!SWIG_IsOK(res1
)) {
21643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21645 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21649 wxPyEndAllowThreads(__tstate
);
21650 if (PyErr_Occurred()) SWIG_fail
;
21652 resultobj
= SWIG_Py_Void();
21653 if (SWIG_IsTmpObj(res2
)) {
21654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21656 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21659 if (SWIG_IsTmpObj(res3
)) {
21660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21662 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21671 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
= 0;
21673 wxDC
*arg1
= (wxDC
*) 0 ;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 PyObject
* obj2
= 0 ;
21685 char * kwnames
[] = {
21686 (char *) "self",(char *) "x",(char *) "y", NULL
21689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21691 if (!SWIG_IsOK(res1
)) {
21692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21695 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21696 if (!SWIG_IsOK(ecode2
)) {
21697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21699 arg2
= static_cast< double >(val2
);
21700 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21701 if (!SWIG_IsOK(ecode3
)) {
21702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21704 arg3
= static_cast< double >(val3
);
21706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21707 (arg1
)->SetUserScale(arg2
,arg3
);
21708 wxPyEndAllowThreads(__tstate
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21711 resultobj
= SWIG_Py_Void();
21718 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21719 PyObject
*resultobj
= 0;
21720 wxDC
*arg1
= (wxDC
*) 0 ;
21721 double *arg2
= (double *) 0 ;
21722 double *arg3
= (double *) 0 ;
21726 int res2
= SWIG_TMPOBJ
;
21728 int res3
= SWIG_TMPOBJ
;
21729 PyObject
*swig_obj
[1] ;
21733 if (!args
) SWIG_fail
;
21734 swig_obj
[0] = args
;
21735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21736 if (!SWIG_IsOK(res1
)) {
21737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21739 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21742 (arg1
)->GetLogicalScale(arg2
,arg3
);
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 resultobj
= SWIG_Py_Void();
21747 if (SWIG_IsTmpObj(res2
)) {
21748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21750 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21753 if (SWIG_IsTmpObj(res3
)) {
21754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21756 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21765 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
= 0;
21767 wxDC
*arg1
= (wxDC
*) 0 ;
21776 PyObject
* obj0
= 0 ;
21777 PyObject
* obj1
= 0 ;
21778 PyObject
* obj2
= 0 ;
21779 char * kwnames
[] = {
21780 (char *) "self",(char *) "x",(char *) "y", NULL
21783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21785 if (!SWIG_IsOK(res1
)) {
21786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21788 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21789 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21790 if (!SWIG_IsOK(ecode2
)) {
21791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
21793 arg2
= static_cast< double >(val2
);
21794 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21795 if (!SWIG_IsOK(ecode3
)) {
21796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
21798 arg3
= static_cast< double >(val3
);
21800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21801 (arg1
)->SetLogicalScale(arg2
,arg3
);
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21805 resultobj
= SWIG_Py_Void();
21812 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21813 PyObject
*resultobj
= 0;
21814 wxDC
*arg1
= (wxDC
*) 0 ;
21818 PyObject
*swig_obj
[1] ;
21820 if (!args
) SWIG_fail
;
21821 swig_obj
[0] = args
;
21822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21823 if (!SWIG_IsOK(res1
)) {
21824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
21826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21833 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
21840 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21841 PyObject
*resultobj
= 0;
21842 wxDC
*arg1
= (wxDC
*) 0 ;
21843 int *arg2
= (int *) 0 ;
21844 int *arg3
= (int *) 0 ;
21848 int res2
= SWIG_TMPOBJ
;
21850 int res3
= SWIG_TMPOBJ
;
21851 PyObject
*swig_obj
[1] ;
21855 if (!args
) SWIG_fail
;
21856 swig_obj
[0] = args
;
21857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21858 if (!SWIG_IsOK(res1
)) {
21859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21861 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21864 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= SWIG_Py_Void();
21869 if (SWIG_IsTmpObj(res2
)) {
21870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21872 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21875 if (SWIG_IsTmpObj(res3
)) {
21876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21878 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21887 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21888 PyObject
*resultobj
= 0;
21889 wxDC
*arg1
= (wxDC
*) 0 ;
21898 PyObject
* obj0
= 0 ;
21899 PyObject
* obj1
= 0 ;
21900 PyObject
* obj2
= 0 ;
21901 char * kwnames
[] = {
21902 (char *) "self",(char *) "x",(char *) "y", NULL
21905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21907 if (!SWIG_IsOK(res1
)) {
21908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
21910 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21912 if (!SWIG_IsOK(ecode2
)) {
21913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
21915 arg2
= static_cast< int >(val2
);
21916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21917 if (!SWIG_IsOK(ecode3
)) {
21918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
21920 arg3
= static_cast< int >(val3
);
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21927 resultobj
= SWIG_Py_Void();
21934 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21935 PyObject
*resultobj
= 0;
21936 wxDC
*arg1
= (wxDC
*) 0 ;
21937 wxPoint
*arg2
= 0 ;
21941 PyObject
* obj0
= 0 ;
21942 PyObject
* obj1
= 0 ;
21943 char * kwnames
[] = {
21944 (char *) "self",(char *) "point", NULL
21947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21949 if (!SWIG_IsOK(res1
)) {
21950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
21952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21955 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 resultobj
= SWIG_Py_Void();
21970 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21971 PyObject
*resultobj
= 0;
21972 wxDC
*arg1
= (wxDC
*) 0 ;
21976 PyObject
*swig_obj
[1] ;
21978 if (!args
) SWIG_fail
;
21979 swig_obj
[0] = args
;
21980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21981 if (!SWIG_IsOK(res1
)) {
21982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
21984 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
21988 wxPyEndAllowThreads(__tstate
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
21998 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21999 PyObject
*resultobj
= 0;
22000 wxDC
*arg1
= (wxDC
*) 0 ;
22001 int *arg2
= (int *) 0 ;
22002 int *arg3
= (int *) 0 ;
22006 int res2
= SWIG_TMPOBJ
;
22008 int res3
= SWIG_TMPOBJ
;
22009 PyObject
*swig_obj
[1] ;
22013 if (!args
) SWIG_fail
;
22014 swig_obj
[0] = args
;
22015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22016 if (!SWIG_IsOK(res1
)) {
22017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22019 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22022 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22023 wxPyEndAllowThreads(__tstate
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22026 resultobj
= SWIG_Py_Void();
22027 if (SWIG_IsTmpObj(res2
)) {
22028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22030 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22033 if (SWIG_IsTmpObj(res3
)) {
22034 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22036 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22037 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22045 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22046 PyObject
*resultobj
= 0;
22047 wxDC
*arg1
= (wxDC
*) 0 ;
22056 PyObject
* obj0
= 0 ;
22057 PyObject
* obj1
= 0 ;
22058 PyObject
* obj2
= 0 ;
22059 char * kwnames
[] = {
22060 (char *) "self",(char *) "x",(char *) "y", NULL
22063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22065 if (!SWIG_IsOK(res1
)) {
22066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22068 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22070 if (!SWIG_IsOK(ecode2
)) {
22071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22073 arg2
= static_cast< int >(val2
);
22074 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22075 if (!SWIG_IsOK(ecode3
)) {
22076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22078 arg3
= static_cast< int >(val3
);
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22081 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22085 resultobj
= SWIG_Py_Void();
22092 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22093 PyObject
*resultobj
= 0;
22094 wxDC
*arg1
= (wxDC
*) 0 ;
22095 wxPoint
*arg2
= 0 ;
22099 PyObject
* obj0
= 0 ;
22100 PyObject
* obj1
= 0 ;
22101 char * kwnames
[] = {
22102 (char *) "self",(char *) "point", NULL
22105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22107 if (!SWIG_IsOK(res1
)) {
22108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22110 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22113 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22117 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22118 wxPyEndAllowThreads(__tstate
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22121 resultobj
= SWIG_Py_Void();
22128 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22129 PyObject
*resultobj
= 0;
22130 wxDC
*arg1
= (wxDC
*) 0 ;
22139 PyObject
* obj0
= 0 ;
22140 PyObject
* obj1
= 0 ;
22141 PyObject
* obj2
= 0 ;
22142 char * kwnames
[] = {
22143 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22148 if (!SWIG_IsOK(res1
)) {
22149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22151 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22152 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22153 if (!SWIG_IsOK(ecode2
)) {
22154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22156 arg2
= static_cast< bool >(val2
);
22157 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22158 if (!SWIG_IsOK(ecode3
)) {
22159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22161 arg3
= static_cast< bool >(val3
);
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22168 resultobj
= SWIG_Py_Void();
22175 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22176 PyObject
*resultobj
= 0;
22177 wxDC
*arg1
= (wxDC
*) 0 ;
22181 PyObject
*swig_obj
[1] ;
22183 if (!args
) SWIG_fail
;
22184 swig_obj
[0] = args
;
22185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22186 if (!SWIG_IsOK(res1
)) {
22187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22189 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22196 resultobj
= SWIG_From_int(static_cast< int >(result
));
22203 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22204 PyObject
*resultobj
= 0;
22205 wxDC
*arg1
= (wxDC
*) 0 ;
22211 PyObject
* obj0
= 0 ;
22212 PyObject
* obj1
= 0 ;
22213 char * kwnames
[] = {
22214 (char *) "self",(char *) "function", NULL
22217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22219 if (!SWIG_IsOK(res1
)) {
22220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22222 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22224 if (!SWIG_IsOK(ecode2
)) {
22225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22227 arg2
= static_cast< int >(val2
);
22229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22230 (arg1
)->SetLogicalFunction(arg2
);
22231 wxPyEndAllowThreads(__tstate
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22234 resultobj
= SWIG_Py_Void();
22241 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22242 PyObject
*resultobj
= 0;
22243 wxDC
*arg1
= (wxDC
*) 0 ;
22246 PyObject
*swig_obj
[1] ;
22248 if (!args
) SWIG_fail
;
22249 swig_obj
[0] = args
;
22250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22251 if (!SWIG_IsOK(res1
)) {
22252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22254 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22257 (arg1
)->ComputeScaleAndOrigin();
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22261 resultobj
= SWIG_Py_Void();
22268 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22269 PyObject
*resultobj
= 0;
22270 wxDC
*arg1
= (wxDC
*) 0 ;
22279 PyObject
* obj0
= 0 ;
22280 PyObject
* obj1
= 0 ;
22281 PyObject
* obj2
= 0 ;
22282 char * kwnames
[] = {
22283 (char *) "self",(char *) "x",(char *) "y", NULL
22286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22288 if (!SWIG_IsOK(res1
)) {
22289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22291 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22293 if (!SWIG_IsOK(ecode2
)) {
22294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22296 arg2
= static_cast< int >(val2
);
22297 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22298 if (!SWIG_IsOK(ecode3
)) {
22299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22301 arg3
= static_cast< int >(val3
);
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22305 wxPyEndAllowThreads(__tstate
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22308 resultobj
= SWIG_Py_Void();
22315 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
= 0;
22317 wxDC
*arg1
= (wxDC
*) 0 ;
22318 wxPoint
*arg2
= 0 ;
22322 PyObject
* obj0
= 0 ;
22323 PyObject
* obj1
= 0 ;
22324 char * kwnames
[] = {
22325 (char *) "self",(char *) "point", NULL
22328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22330 if (!SWIG_IsOK(res1
)) {
22331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22333 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22336 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22341 wxPyEndAllowThreads(__tstate
);
22342 if (PyErr_Occurred()) SWIG_fail
;
22344 resultobj
= SWIG_Py_Void();
22351 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22352 PyObject
*resultobj
= 0;
22353 wxDC
*arg1
= (wxDC
*) 0 ;
22356 PyObject
*swig_obj
[1] ;
22358 if (!args
) SWIG_fail
;
22359 swig_obj
[0] = args
;
22360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22361 if (!SWIG_IsOK(res1
)) {
22362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22364 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 (arg1
)->ResetBoundingBox();
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= SWIG_Py_Void();
22378 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22379 PyObject
*resultobj
= 0;
22380 wxDC
*arg1
= (wxDC
*) 0 ;
22384 PyObject
*swig_obj
[1] ;
22386 if (!args
) SWIG_fail
;
22387 swig_obj
[0] = args
;
22388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22389 if (!SWIG_IsOK(res1
)) {
22390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22392 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 result
= (int)((wxDC
const *)arg1
)->MinX();
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= SWIG_From_int(static_cast< int >(result
));
22406 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22407 PyObject
*resultobj
= 0;
22408 wxDC
*arg1
= (wxDC
*) 0 ;
22412 PyObject
*swig_obj
[1] ;
22414 if (!args
) SWIG_fail
;
22415 swig_obj
[0] = args
;
22416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22417 if (!SWIG_IsOK(res1
)) {
22418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22420 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 result
= (int)((wxDC
const *)arg1
)->MaxX();
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= SWIG_From_int(static_cast< int >(result
));
22434 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22435 PyObject
*resultobj
= 0;
22436 wxDC
*arg1
= (wxDC
*) 0 ;
22440 PyObject
*swig_obj
[1] ;
22442 if (!args
) SWIG_fail
;
22443 swig_obj
[0] = args
;
22444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22445 if (!SWIG_IsOK(res1
)) {
22446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22448 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 result
= (int)((wxDC
const *)arg1
)->MinY();
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22455 resultobj
= SWIG_From_int(static_cast< int >(result
));
22462 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22463 PyObject
*resultobj
= 0;
22464 wxDC
*arg1
= (wxDC
*) 0 ;
22468 PyObject
*swig_obj
[1] ;
22470 if (!args
) SWIG_fail
;
22471 swig_obj
[0] = args
;
22472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22473 if (!SWIG_IsOK(res1
)) {
22474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22476 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 result
= (int)((wxDC
const *)arg1
)->MaxY();
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22483 resultobj
= SWIG_From_int(static_cast< int >(result
));
22490 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22491 PyObject
*resultobj
= 0;
22492 wxDC
*arg1
= (wxDC
*) 0 ;
22493 int *arg2
= (int *) 0 ;
22494 int *arg3
= (int *) 0 ;
22495 int *arg4
= (int *) 0 ;
22496 int *arg5
= (int *) 0 ;
22500 int res2
= SWIG_TMPOBJ
;
22502 int res3
= SWIG_TMPOBJ
;
22504 int res4
= SWIG_TMPOBJ
;
22506 int res5
= SWIG_TMPOBJ
;
22507 PyObject
*swig_obj
[1] ;
22513 if (!args
) SWIG_fail
;
22514 swig_obj
[0] = args
;
22515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22516 if (!SWIG_IsOK(res1
)) {
22517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22519 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22523 wxPyEndAllowThreads(__tstate
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22526 resultobj
= SWIG_Py_Void();
22527 if (SWIG_IsTmpObj(res2
)) {
22528 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22530 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22531 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22533 if (SWIG_IsTmpObj(res3
)) {
22534 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22536 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22537 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22539 if (SWIG_IsTmpObj(res4
)) {
22540 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22542 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22545 if (SWIG_IsTmpObj(res5
)) {
22546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22548 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22557 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22558 PyObject
*resultobj
= 0;
22559 wxDC
*arg1
= (wxDC
*) 0 ;
22560 PyObject
*arg2
= (PyObject
*) 0 ;
22561 PyObject
*arg3
= (PyObject
*) 0 ;
22562 PyObject
*arg4
= (PyObject
*) 0 ;
22563 PyObject
*result
= 0 ;
22566 PyObject
* obj0
= 0 ;
22567 PyObject
* obj1
= 0 ;
22568 PyObject
* obj2
= 0 ;
22569 PyObject
* obj3
= 0 ;
22570 char * kwnames
[] = {
22571 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22576 if (!SWIG_IsOK(res1
)) {
22577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22579 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 resultobj
= result
;
22596 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22597 PyObject
*resultobj
= 0;
22598 wxDC
*arg1
= (wxDC
*) 0 ;
22599 PyObject
*arg2
= (PyObject
*) 0 ;
22600 PyObject
*arg3
= (PyObject
*) 0 ;
22601 PyObject
*arg4
= (PyObject
*) 0 ;
22602 PyObject
*result
= 0 ;
22605 PyObject
* obj0
= 0 ;
22606 PyObject
* obj1
= 0 ;
22607 PyObject
* obj2
= 0 ;
22608 PyObject
* obj3
= 0 ;
22609 char * kwnames
[] = {
22610 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22615 if (!SWIG_IsOK(res1
)) {
22616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22618 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 resultobj
= result
;
22635 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22636 PyObject
*resultobj
= 0;
22637 wxDC
*arg1
= (wxDC
*) 0 ;
22638 PyObject
*arg2
= (PyObject
*) 0 ;
22639 PyObject
*arg3
= (PyObject
*) 0 ;
22640 PyObject
*arg4
= (PyObject
*) 0 ;
22641 PyObject
*result
= 0 ;
22644 PyObject
* obj0
= 0 ;
22645 PyObject
* obj1
= 0 ;
22646 PyObject
* obj2
= 0 ;
22647 PyObject
* obj3
= 0 ;
22648 char * kwnames
[] = {
22649 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22654 if (!SWIG_IsOK(res1
)) {
22655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22664 wxPyEndAllowThreads(__tstate
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22667 resultobj
= result
;
22674 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22675 PyObject
*resultobj
= 0;
22676 wxDC
*arg1
= (wxDC
*) 0 ;
22677 PyObject
*arg2
= (PyObject
*) 0 ;
22678 PyObject
*arg3
= (PyObject
*) 0 ;
22679 PyObject
*arg4
= (PyObject
*) 0 ;
22680 PyObject
*result
= 0 ;
22683 PyObject
* obj0
= 0 ;
22684 PyObject
* obj1
= 0 ;
22685 PyObject
* obj2
= 0 ;
22686 PyObject
* obj3
= 0 ;
22687 char * kwnames
[] = {
22688 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22693 if (!SWIG_IsOK(res1
)) {
22694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
22696 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22706 resultobj
= result
;
22713 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22714 PyObject
*resultobj
= 0;
22715 wxDC
*arg1
= (wxDC
*) 0 ;
22716 PyObject
*arg2
= (PyObject
*) 0 ;
22717 PyObject
*arg3
= (PyObject
*) 0 ;
22718 PyObject
*arg4
= (PyObject
*) 0 ;
22719 PyObject
*result
= 0 ;
22722 PyObject
* obj0
= 0 ;
22723 PyObject
* obj1
= 0 ;
22724 PyObject
* obj2
= 0 ;
22725 PyObject
* obj3
= 0 ;
22726 char * kwnames
[] = {
22727 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22732 if (!SWIG_IsOK(res1
)) {
22733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
22735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 resultobj
= result
;
22752 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
= 0;
22754 wxDC
*arg1
= (wxDC
*) 0 ;
22755 PyObject
*arg2
= (PyObject
*) 0 ;
22756 PyObject
*arg3
= (PyObject
*) 0 ;
22757 PyObject
*arg4
= (PyObject
*) 0 ;
22758 PyObject
*arg5
= (PyObject
*) 0 ;
22759 PyObject
*result
= 0 ;
22762 PyObject
* obj0
= 0 ;
22763 PyObject
* obj1
= 0 ;
22764 PyObject
* obj2
= 0 ;
22765 PyObject
* obj3
= 0 ;
22766 PyObject
* obj4
= 0 ;
22767 char * kwnames
[] = {
22768 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
22771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22773 if (!SWIG_IsOK(res1
)) {
22774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
22776 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22783 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22787 resultobj
= result
;
22794 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22796 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22797 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
22798 return SWIG_Py_Void();
22801 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22802 PyObject
*resultobj
= 0;
22803 wxMemoryDC
*result
= 0 ;
22805 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
22807 if (!wxPyCheckForApp()) SWIG_fail
;
22808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 result
= (wxMemoryDC
*)new wxMemoryDC();
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
22820 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
= 0;
22822 wxDC
*arg1
= (wxDC
*) 0 ;
22823 wxMemoryDC
*result
= 0 ;
22826 PyObject
* obj0
= 0 ;
22827 char * kwnames
[] = {
22828 (char *) "oldDC", NULL
22831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
22832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22833 if (!SWIG_IsOK(res1
)) {
22834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
22836 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22838 if (!wxPyCheckForApp()) SWIG_fail
;
22839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22840 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
22851 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
= 0;
22853 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
22854 wxBitmap
*arg2
= 0 ;
22859 PyObject
* obj0
= 0 ;
22860 PyObject
* obj1
= 0 ;
22861 char * kwnames
[] = {
22862 (char *) "self",(char *) "bitmap", NULL
22865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
22867 if (!SWIG_IsOK(res1
)) {
22868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
22870 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
22871 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22872 if (!SWIG_IsOK(res2
)) {
22873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22878 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= SWIG_Py_Void();
22892 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22894 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22895 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
22896 return SWIG_Py_Void();
22899 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22900 return SWIG_Python_InitShadowInstance(args
);
22903 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
22904 PyObject
*resultobj
= 0;
22905 wxDC
*arg1
= (wxDC
*) 0 ;
22906 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
22907 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
22908 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
22909 wxBufferedDC
*result
= 0 ;
22917 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
22918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22919 if (!SWIG_IsOK(res1
)) {
22920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
22922 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22924 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22925 if (!SWIG_IsOK(res2
)) {
22926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22931 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22934 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
22935 if (!SWIG_IsOK(ecode3
)) {
22936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
22938 arg3
= static_cast< int >(val3
);
22941 if (!wxPyCheckForApp()) SWIG_fail
;
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
22954 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
22955 PyObject
*resultobj
= 0;
22956 wxDC
*arg1
= (wxDC
*) 0 ;
22958 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
22959 wxBufferedDC
*result
= 0 ;
22966 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
22967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22968 if (!SWIG_IsOK(res1
)) {
22969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
22971 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22974 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
22977 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
22978 if (!SWIG_IsOK(ecode3
)) {
22979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
22981 arg3
= static_cast< int >(val3
);
22984 if (!wxPyCheckForApp()) SWIG_fail
;
22985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22986 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
22987 wxPyEndAllowThreads(__tstate
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
22997 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23001 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23003 if ((argc
>= 1) && (argc
<= 3)) {
23007 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23008 _v
= SWIG_CheckState(res
);
23010 if (!_v
) goto check_1
;
23012 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23016 if ((argc
>= 2) && (argc
<= 3)) {
23017 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23021 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23026 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23027 PyObject
*resultobj
= 0;
23028 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23031 PyObject
*swig_obj
[1] ;
23033 if (!args
) SWIG_fail
;
23034 swig_obj
[0] = args
;
23035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23036 if (!SWIG_IsOK(res1
)) {
23037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23039 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_Py_Void();
23054 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23055 PyObject
*resultobj
= 0;
23056 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23059 PyObject
*swig_obj
[1] ;
23061 if (!args
) SWIG_fail
;
23062 swig_obj
[0] = args
;
23063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23064 if (!SWIG_IsOK(res1
)) {
23065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23067 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23071 wxPyEndAllowThreads(__tstate
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23074 resultobj
= SWIG_Py_Void();
23081 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23083 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23084 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23085 return SWIG_Py_Void();
23088 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23089 return SWIG_Python_InitShadowInstance(args
);
23092 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
= 0;
23094 wxWindow
*arg1
= (wxWindow
*) 0 ;
23095 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23096 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23097 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23098 wxBufferedPaintDC
*result
= 0 ;
23105 PyObject
* obj0
= 0 ;
23106 PyObject
* obj1
= 0 ;
23107 PyObject
* obj2
= 0 ;
23108 char * kwnames
[] = {
23109 (char *) "window",(char *) "buffer",(char *) "style", NULL
23112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23114 if (!SWIG_IsOK(res1
)) {
23115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23117 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23119 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23120 if (!SWIG_IsOK(res2
)) {
23121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23126 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23130 if (!SWIG_IsOK(ecode3
)) {
23131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23133 arg3
= static_cast< int >(val3
);
23136 if (!wxPyCheckForApp()) SWIG_fail
;
23137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23138 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23139 wxPyEndAllowThreads(__tstate
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23149 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23151 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23152 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23153 return SWIG_Py_Void();
23156 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23157 return SWIG_Python_InitShadowInstance(args
);
23160 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23161 PyObject
*resultobj
= 0;
23162 wxScreenDC
*result
= 0 ;
23164 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23166 if (!wxPyCheckForApp()) SWIG_fail
;
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 result
= (wxScreenDC
*)new wxScreenDC();
23169 wxPyEndAllowThreads(__tstate
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23179 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23180 PyObject
*resultobj
= 0;
23181 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23182 wxWindow
*arg2
= (wxWindow
*) 0 ;
23188 PyObject
* obj0
= 0 ;
23189 PyObject
* obj1
= 0 ;
23190 char * kwnames
[] = {
23191 (char *) "self",(char *) "window", NULL
23194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23196 if (!SWIG_IsOK(res1
)) {
23197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23199 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23200 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23201 if (!SWIG_IsOK(res2
)) {
23202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23204 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23220 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
= 0;
23222 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23223 wxRect
*arg2
= (wxRect
*) NULL
;
23229 PyObject
* obj0
= 0 ;
23230 PyObject
* obj1
= 0 ;
23231 char * kwnames
[] = {
23232 (char *) "self",(char *) "rect", NULL
23235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23237 if (!SWIG_IsOK(res1
)) {
23238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23240 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23242 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23243 if (!SWIG_IsOK(res2
)) {
23244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23246 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23250 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23251 wxPyEndAllowThreads(__tstate
);
23252 if (PyErr_Occurred()) SWIG_fail
;
23255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23263 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23264 PyObject
*resultobj
= 0;
23265 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23269 PyObject
*swig_obj
[1] ;
23271 if (!args
) SWIG_fail
;
23272 swig_obj
[0] = args
;
23273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23274 if (!SWIG_IsOK(res1
)) {
23275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23277 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 result
= (bool)(arg1
)->EndDrawingOnTop();
23281 wxPyEndAllowThreads(__tstate
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23293 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23296 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23297 return SWIG_Py_Void();
23300 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23301 return SWIG_Python_InitShadowInstance(args
);
23304 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23305 PyObject
*resultobj
= 0;
23306 wxWindow
*arg1
= (wxWindow
*) 0 ;
23307 wxClientDC
*result
= 0 ;
23310 PyObject
* obj0
= 0 ;
23311 char * kwnames
[] = {
23312 (char *) "win", NULL
23315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23317 if (!SWIG_IsOK(res1
)) {
23318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23320 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23322 if (!wxPyCheckForApp()) SWIG_fail
;
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 result
= (wxClientDC
*)new wxClientDC(arg1
);
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23335 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23337 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23338 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23339 return SWIG_Py_Void();
23342 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23343 return SWIG_Python_InitShadowInstance(args
);
23346 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
= 0;
23348 wxWindow
*arg1
= (wxWindow
*) 0 ;
23349 wxPaintDC
*result
= 0 ;
23352 PyObject
* obj0
= 0 ;
23353 char * kwnames
[] = {
23354 (char *) "win", NULL
23357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23359 if (!SWIG_IsOK(res1
)) {
23360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23362 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23364 if (!wxPyCheckForApp()) SWIG_fail
;
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23377 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23380 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23381 return SWIG_Py_Void();
23384 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23385 return SWIG_Python_InitShadowInstance(args
);
23388 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23389 PyObject
*resultobj
= 0;
23390 wxWindow
*arg1
= (wxWindow
*) 0 ;
23391 wxWindowDC
*result
= 0 ;
23394 PyObject
* obj0
= 0 ;
23395 char * kwnames
[] = {
23396 (char *) "win", NULL
23399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23401 if (!SWIG_IsOK(res1
)) {
23402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23404 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23406 if (!wxPyCheckForApp()) SWIG_fail
;
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23419 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23422 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23423 return SWIG_Py_Void();
23426 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23427 return SWIG_Python_InitShadowInstance(args
);
23430 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23431 PyObject
*resultobj
= 0;
23434 wxMirrorDC
*result
= 0 ;
23439 PyObject
* obj0
= 0 ;
23440 PyObject
* obj1
= 0 ;
23441 char * kwnames
[] = {
23442 (char *) "dc",(char *) "mirror", NULL
23445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23446 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23447 if (!SWIG_IsOK(res1
)) {
23448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23453 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23454 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23455 if (!SWIG_IsOK(ecode2
)) {
23456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23458 arg2
= static_cast< bool >(val2
);
23460 if (!wxPyCheckForApp()) SWIG_fail
;
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23462 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23463 wxPyEndAllowThreads(__tstate
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23473 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23475 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23476 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23477 return SWIG_Py_Void();
23480 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23481 return SWIG_Python_InitShadowInstance(args
);
23484 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23485 PyObject
*resultobj
= 0;
23486 wxPrintData
*arg1
= 0 ;
23487 wxPostScriptDC
*result
= 0 ;
23490 PyObject
* obj0
= 0 ;
23491 char * kwnames
[] = {
23492 (char *) "printData", NULL
23495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23496 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23497 if (!SWIG_IsOK(res1
)) {
23498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23503 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23505 if (!wxPyCheckForApp()) SWIG_fail
;
23506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23507 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23518 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23519 PyObject
*resultobj
= 0;
23520 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23521 wxPrintData
*result
= 0 ;
23524 PyObject
*swig_obj
[1] ;
23526 if (!args
) SWIG_fail
;
23527 swig_obj
[0] = args
;
23528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23529 if (!SWIG_IsOK(res1
)) {
23530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23532 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23537 result
= (wxPrintData
*) &_result_ref
;
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23549 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
= 0;
23551 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23552 wxPrintData
*arg2
= 0 ;
23557 PyObject
* obj0
= 0 ;
23558 PyObject
* obj1
= 0 ;
23559 char * kwnames
[] = {
23560 (char *) "self",(char *) "data", NULL
23563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23565 if (!SWIG_IsOK(res1
)) {
23566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23568 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23569 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23570 if (!SWIG_IsOK(res2
)) {
23571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23576 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23580 wxPyEndAllowThreads(__tstate
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23583 resultobj
= SWIG_Py_Void();
23590 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23591 PyObject
*resultobj
= 0;
23595 PyObject
* obj0
= 0 ;
23596 char * kwnames
[] = {
23597 (char *) "ppi", NULL
23600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23601 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23602 if (!SWIG_IsOK(ecode1
)) {
23603 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23605 arg1
= static_cast< int >(val1
);
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 wxPostScriptDC::SetResolution(arg1
);
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= SWIG_Py_Void();
23619 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23620 PyObject
*resultobj
= 0;
23623 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 result
= (int)wxPostScriptDC::GetResolution();
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23630 resultobj
= SWIG_From_int(static_cast< int >(result
));
23637 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23640 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
23641 return SWIG_Py_Void();
23644 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23645 return SWIG_Python_InitShadowInstance(args
);
23648 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23649 PyObject
*resultobj
= 0;
23650 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23651 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23652 wxMetaFile
*result
= 0 ;
23653 bool temp1
= false ;
23654 PyObject
* obj0
= 0 ;
23655 char * kwnames
[] = {
23656 (char *) "filename", NULL
23659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
23662 arg1
= wxString_in_helper(obj0
);
23663 if (arg1
== NULL
) SWIG_fail
;
23668 if (!wxPyCheckForApp()) SWIG_fail
;
23669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
23689 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23690 PyObject
*resultobj
= 0;
23691 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23694 PyObject
*swig_obj
[1] ;
23696 if (!args
) SWIG_fail
;
23697 swig_obj
[0] = args
;
23698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
23699 if (!SWIG_IsOK(res1
)) {
23700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23702 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= SWIG_Py_Void();
23717 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23718 PyObject
*resultobj
= 0;
23719 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23723 PyObject
*swig_obj
[1] ;
23725 if (!args
) SWIG_fail
;
23726 swig_obj
[0] = args
;
23727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23728 if (!SWIG_IsOK(res1
)) {
23729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23731 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 result
= (bool)(arg1
)->Ok();
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23747 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23748 PyObject
*resultobj
= 0;
23749 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23750 int arg2
= (int) 0 ;
23751 int arg3
= (int) 0 ;
23759 PyObject
* obj0
= 0 ;
23760 PyObject
* obj1
= 0 ;
23761 PyObject
* obj2
= 0 ;
23762 char * kwnames
[] = {
23763 (char *) "self",(char *) "width",(char *) "height", NULL
23766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23768 if (!SWIG_IsOK(res1
)) {
23769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23771 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23774 if (!SWIG_IsOK(ecode2
)) {
23775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
23777 arg2
= static_cast< int >(val2
);
23780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23781 if (!SWIG_IsOK(ecode3
)) {
23782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
23784 arg3
= static_cast< int >(val3
);
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23801 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23802 PyObject
*resultobj
= 0;
23803 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23807 PyObject
*swig_obj
[1] ;
23809 if (!args
) SWIG_fail
;
23810 swig_obj
[0] = args
;
23811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23812 if (!SWIG_IsOK(res1
)) {
23813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23815 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 result
= (arg1
)->GetSize();
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23829 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23830 PyObject
*resultobj
= 0;
23831 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23835 PyObject
*swig_obj
[1] ;
23837 if (!args
) SWIG_fail
;
23838 swig_obj
[0] = args
;
23839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23840 if (!SWIG_IsOK(res1
)) {
23841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23843 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 result
= (int)(arg1
)->GetWidth();
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 resultobj
= SWIG_From_int(static_cast< int >(result
));
23857 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23858 PyObject
*resultobj
= 0;
23859 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23863 PyObject
*swig_obj
[1] ;
23865 if (!args
) SWIG_fail
;
23866 swig_obj
[0] = args
;
23867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23868 if (!SWIG_IsOK(res1
)) {
23869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23871 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 result
= (int)(arg1
)->GetHeight();
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= SWIG_From_int(static_cast< int >(result
));
23885 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23887 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23888 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
23889 return SWIG_Py_Void();
23892 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23893 return SWIG_Python_InitShadowInstance(args
);
23896 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23897 PyObject
*resultobj
= 0;
23898 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23899 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23900 int arg2
= (int) 0 ;
23901 int arg3
= (int) 0 ;
23902 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23903 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23904 wxMetaFileDC
*result
= 0 ;
23905 bool temp1
= false ;
23910 bool temp4
= false ;
23911 PyObject
* obj0
= 0 ;
23912 PyObject
* obj1
= 0 ;
23913 PyObject
* obj2
= 0 ;
23914 PyObject
* obj3
= 0 ;
23915 char * kwnames
[] = {
23916 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
23919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23922 arg1
= wxString_in_helper(obj0
);
23923 if (arg1
== NULL
) SWIG_fail
;
23928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23929 if (!SWIG_IsOK(ecode2
)) {
23930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
23932 arg2
= static_cast< int >(val2
);
23935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23936 if (!SWIG_IsOK(ecode3
)) {
23937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
23939 arg3
= static_cast< int >(val3
);
23943 arg4
= wxString_in_helper(obj3
);
23944 if (arg4
== NULL
) SWIG_fail
;
23949 if (!wxPyCheckForApp()) SWIG_fail
;
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
23978 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23979 PyObject
*resultobj
= 0;
23980 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
23981 wxMetaFile
*result
= 0 ;
23984 PyObject
*swig_obj
[1] ;
23986 if (!args
) SWIG_fail
;
23987 swig_obj
[0] = args
;
23988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
23989 if (!SWIG_IsOK(res1
)) {
23990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
23992 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
23994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23995 result
= (wxMetaFile
*)(arg1
)->Close();
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
23999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24006 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24009 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24010 return SWIG_Py_Void();
24013 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24014 return SWIG_Python_InitShadowInstance(args
);
24017 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24018 PyObject
*resultobj
= 0;
24019 wxPrintData
*arg1
= 0 ;
24020 wxPrinterDC
*result
= 0 ;
24023 PyObject
* obj0
= 0 ;
24024 char * kwnames
[] = {
24025 (char *) "printData", NULL
24028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24029 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24030 if (!SWIG_IsOK(res1
)) {
24031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24036 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24038 if (!wxPyCheckForApp()) SWIG_fail
;
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24051 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24054 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24055 return SWIG_Py_Void();
24058 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24059 return SWIG_Python_InitShadowInstance(args
);
24062 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24063 PyObject
*resultobj
= 0;
24066 int arg3
= (int) true ;
24067 int arg4
= (int) 1 ;
24068 wxImageList
*result
= 0 ;
24077 PyObject
* obj0
= 0 ;
24078 PyObject
* obj1
= 0 ;
24079 PyObject
* obj2
= 0 ;
24080 PyObject
* obj3
= 0 ;
24081 char * kwnames
[] = {
24082 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
24085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24086 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24087 if (!SWIG_IsOK(ecode1
)) {
24088 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
24090 arg1
= static_cast< int >(val1
);
24091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24092 if (!SWIG_IsOK(ecode2
)) {
24093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
24095 arg2
= static_cast< int >(val2
);
24097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24098 if (!SWIG_IsOK(ecode3
)) {
24099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
24101 arg3
= static_cast< int >(val3
);
24104 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24105 if (!SWIG_IsOK(ecode4
)) {
24106 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
24108 arg4
= static_cast< int >(val4
);
24111 if (!wxPyCheckForApp()) SWIG_fail
;
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
24114 wxPyEndAllowThreads(__tstate
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24118 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
24126 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24127 PyObject
*resultobj
= 0;
24128 wxImageList
*arg1
= (wxImageList
*) 0 ;
24131 PyObject
*swig_obj
[1] ;
24133 if (!args
) SWIG_fail
;
24134 swig_obj
[0] = args
;
24135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
24136 if (!SWIG_IsOK(res1
)) {
24137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
24139 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24144 wxPyEndAllowThreads(__tstate
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24147 resultobj
= SWIG_Py_Void();
24154 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
= 0;
24156 wxImageList
*arg1
= (wxImageList
*) 0 ;
24157 wxBitmap
*arg2
= 0 ;
24158 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
24159 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
24167 PyObject
* obj0
= 0 ;
24168 PyObject
* obj1
= 0 ;
24169 PyObject
* obj2
= 0 ;
24170 char * kwnames
[] = {
24171 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
24174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24176 if (!SWIG_IsOK(res1
)) {
24177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
24179 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24180 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24181 if (!SWIG_IsOK(res2
)) {
24182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24187 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24189 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24190 if (!SWIG_IsOK(res3
)) {
24191 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24196 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24200 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24204 resultobj
= SWIG_From_int(static_cast< int >(result
));
24211 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
= 0;
24213 wxImageList
*arg1
= (wxImageList
*) 0 ;
24214 wxBitmap
*arg2
= 0 ;
24215 wxColour
*arg3
= 0 ;
24222 PyObject
* obj0
= 0 ;
24223 PyObject
* obj1
= 0 ;
24224 PyObject
* obj2
= 0 ;
24225 char * kwnames
[] = {
24226 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
24229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24231 if (!SWIG_IsOK(res1
)) {
24232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
24234 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24235 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24236 if (!SWIG_IsOK(res2
)) {
24237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24242 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24245 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
24250 wxPyEndAllowThreads(__tstate
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24253 resultobj
= SWIG_From_int(static_cast< int >(result
));
24260 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24261 PyObject
*resultobj
= 0;
24262 wxImageList
*arg1
= (wxImageList
*) 0 ;
24269 PyObject
* obj0
= 0 ;
24270 PyObject
* obj1
= 0 ;
24271 char * kwnames
[] = {
24272 (char *) "self",(char *) "icon", NULL
24275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24277 if (!SWIG_IsOK(res1
)) {
24278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
24280 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24281 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
24282 if (!SWIG_IsOK(res2
)) {
24283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
24286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
24288 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24295 resultobj
= SWIG_From_int(static_cast< int >(result
));
24302 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
= 0;
24304 wxImageList
*arg1
= (wxImageList
*) 0 ;
24306 SwigValueWrapper
<wxBitmap
> result
;
24311 PyObject
* obj0
= 0 ;
24312 PyObject
* obj1
= 0 ;
24313 char * kwnames
[] = {
24314 (char *) "self",(char *) "index", NULL
24317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24319 if (!SWIG_IsOK(res1
)) {
24320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
24322 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24324 if (!SWIG_IsOK(ecode2
)) {
24325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
24327 arg2
= static_cast< int >(val2
);
24329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24330 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24334 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
24341 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24342 PyObject
*resultobj
= 0;
24343 wxImageList
*arg1
= (wxImageList
*) 0 ;
24350 PyObject
* obj0
= 0 ;
24351 PyObject
* obj1
= 0 ;
24352 char * kwnames
[] = {
24353 (char *) "self",(char *) "index", NULL
24356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24358 if (!SWIG_IsOK(res1
)) {
24359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
24361 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24363 if (!SWIG_IsOK(ecode2
)) {
24364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
24366 arg2
= static_cast< int >(val2
);
24368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24369 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24373 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
24380 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
= 0;
24382 wxImageList
*arg1
= (wxImageList
*) 0 ;
24384 wxBitmap
*arg3
= 0 ;
24385 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
24386 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
24396 PyObject
* obj0
= 0 ;
24397 PyObject
* obj1
= 0 ;
24398 PyObject
* obj2
= 0 ;
24399 PyObject
* obj3
= 0 ;
24400 char * kwnames
[] = {
24401 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
24404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24406 if (!SWIG_IsOK(res1
)) {
24407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
24409 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24411 if (!SWIG_IsOK(ecode2
)) {
24412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
24414 arg2
= static_cast< int >(val2
);
24415 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24416 if (!SWIG_IsOK(res3
)) {
24417 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24422 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24424 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24425 if (!SWIG_IsOK(res4
)) {
24426 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24431 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
24436 wxPyEndAllowThreads(__tstate
);
24437 if (PyErr_Occurred()) SWIG_fail
;
24440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24448 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24449 PyObject
*resultobj
= 0;
24450 wxImageList
*arg1
= (wxImageList
*) 0 ;
24455 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
24456 bool arg7
= (bool) (bool)false ;
24472 PyObject
* obj0
= 0 ;
24473 PyObject
* obj1
= 0 ;
24474 PyObject
* obj2
= 0 ;
24475 PyObject
* obj3
= 0 ;
24476 PyObject
* obj4
= 0 ;
24477 PyObject
* obj5
= 0 ;
24478 PyObject
* obj6
= 0 ;
24479 char * kwnames
[] = {
24480 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
24483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24485 if (!SWIG_IsOK(res1
)) {
24486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
24488 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24490 if (!SWIG_IsOK(ecode2
)) {
24491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
24493 arg2
= static_cast< int >(val2
);
24494 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24495 if (!SWIG_IsOK(res3
)) {
24496 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
24499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
24501 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24502 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24503 if (!SWIG_IsOK(ecode4
)) {
24504 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
24506 arg4
= static_cast< int >(val4
);
24507 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24508 if (!SWIG_IsOK(ecode5
)) {
24509 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
24511 arg5
= static_cast< int >(val5
);
24513 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24514 if (!SWIG_IsOK(ecode6
)) {
24515 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
24517 arg6
= static_cast< int >(val6
);
24520 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24521 if (!SWIG_IsOK(ecode7
)) {
24522 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
24524 arg7
= static_cast< bool >(val7
);
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
24529 wxPyEndAllowThreads(__tstate
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24541 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24542 PyObject
*resultobj
= 0;
24543 wxImageList
*arg1
= (wxImageList
*) 0 ;
24547 PyObject
*swig_obj
[1] ;
24549 if (!args
) SWIG_fail
;
24550 swig_obj
[0] = args
;
24551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24552 if (!SWIG_IsOK(res1
)) {
24553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
24555 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24558 result
= (int)(arg1
)->GetImageCount();
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24562 resultobj
= SWIG_From_int(static_cast< int >(result
));
24569 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
= 0;
24571 wxImageList
*arg1
= (wxImageList
*) 0 ;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 char * kwnames
[] = {
24581 (char *) "self",(char *) "index", NULL
24584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24586 if (!SWIG_IsOK(res1
)) {
24587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
24589 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24591 if (!SWIG_IsOK(ecode2
)) {
24592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
24594 arg2
= static_cast< int >(val2
);
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 result
= (bool)(arg1
)->Remove(arg2
);
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24610 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24611 PyObject
*resultobj
= 0;
24612 wxImageList
*arg1
= (wxImageList
*) 0 ;
24616 PyObject
*swig_obj
[1] ;
24618 if (!args
) SWIG_fail
;
24619 swig_obj
[0] = args
;
24620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24621 if (!SWIG_IsOK(res1
)) {
24622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
24624 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24627 result
= (bool)(arg1
)->RemoveAll();
24628 wxPyEndAllowThreads(__tstate
);
24629 if (PyErr_Occurred()) SWIG_fail
;
24632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24640 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24641 PyObject
*resultobj
= 0;
24642 wxImageList
*arg1
= (wxImageList
*) 0 ;
24651 int res3
= SWIG_TMPOBJ
;
24653 int res4
= SWIG_TMPOBJ
;
24654 PyObject
* obj0
= 0 ;
24655 PyObject
* obj1
= 0 ;
24656 char * kwnames
[] = {
24657 (char *) "self",(char *) "index", NULL
24662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24664 if (!SWIG_IsOK(res1
)) {
24665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
24667 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24669 if (!SWIG_IsOK(ecode2
)) {
24670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
24672 arg2
= static_cast< int >(val2
);
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24679 resultobj
= SWIG_Py_Void();
24680 if (SWIG_IsTmpObj(res3
)) {
24681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24683 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24686 if (SWIG_IsTmpObj(res4
)) {
24687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
24689 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
24698 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24700 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24701 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
24702 return SWIG_Py_Void();
24705 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24706 return SWIG_Python_InitShadowInstance(args
);
24709 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24710 PyObject
*resultobj
= 0;
24711 wxStockGDI
*result
= 0 ;
24713 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 result
= (wxStockGDI
*)new wxStockGDI();
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
24727 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24728 PyObject
*resultobj
= 0;
24729 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
24732 PyObject
*swig_obj
[1] ;
24734 if (!args
) SWIG_fail
;
24735 swig_obj
[0] = args
;
24736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
24737 if (!SWIG_IsOK(res1
)) {
24738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
24740 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
24742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= SWIG_Py_Void();
24755 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24756 PyObject
*resultobj
= 0;
24758 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 wxStockGDI::DeleteAll();
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24765 resultobj
= SWIG_Py_Void();
24772 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24773 PyObject
*resultobj
= 0;
24774 wxStockGDI
*result
= 0 ;
24776 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 wxStockGDI
&_result_ref
= wxStockGDI::instance();
24781 result
= (wxStockGDI
*) &_result_ref
;
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
24793 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24794 PyObject
*resultobj
= 0;
24795 wxStockGDI::Item arg1
;
24796 wxBrush
*result
= 0 ;
24799 PyObject
* obj0
= 0 ;
24800 char * kwnames
[] = {
24801 (char *) "item", NULL
24804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
24805 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24806 if (!SWIG_IsOK(ecode1
)) {
24807 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24809 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24812 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
24823 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
= 0;
24825 wxStockGDI::Item arg1
;
24826 wxColour
*result
= 0 ;
24829 PyObject
* obj0
= 0 ;
24830 char * kwnames
[] = {
24831 (char *) "item", NULL
24834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
24835 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24836 if (!SWIG_IsOK(ecode1
)) {
24837 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24839 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24842 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
24843 wxPyEndAllowThreads(__tstate
);
24844 if (PyErr_Occurred()) SWIG_fail
;
24846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
24853 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24854 PyObject
*resultobj
= 0;
24855 wxStockGDI::Item arg1
;
24856 wxCursor
*result
= 0 ;
24859 PyObject
* obj0
= 0 ;
24860 char * kwnames
[] = {
24861 (char *) "item", NULL
24864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
24865 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24866 if (!SWIG_IsOK(ecode1
)) {
24867 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24869 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
24873 wxPyEndAllowThreads(__tstate
);
24874 if (PyErr_Occurred()) SWIG_fail
;
24876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
24883 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24884 PyObject
*resultobj
= 0;
24885 wxStockGDI::Item arg1
;
24886 wxPen
*result
= 0 ;
24889 PyObject
* obj0
= 0 ;
24890 char * kwnames
[] = {
24891 (char *) "item", NULL
24894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
24895 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24896 if (!SWIG_IsOK(ecode1
)) {
24897 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24899 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24902 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
24903 wxPyEndAllowThreads(__tstate
);
24904 if (PyErr_Occurred()) SWIG_fail
;
24906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
24913 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24914 PyObject
*resultobj
= 0;
24915 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
24916 wxStockGDI::Item arg2
;
24917 wxFont
*result
= 0 ;
24922 PyObject
* obj0
= 0 ;
24923 PyObject
* obj1
= 0 ;
24924 char * kwnames
[] = {
24925 (char *) "self",(char *) "item", NULL
24928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
24930 if (!SWIG_IsOK(res1
)) {
24931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
24933 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
24934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24935 if (!SWIG_IsOK(ecode2
)) {
24936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
24938 arg2
= static_cast< wxStockGDI::Item
>(val2
);
24940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24941 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
24942 wxPyEndAllowThreads(__tstate
);
24943 if (PyErr_Occurred()) SWIG_fail
;
24945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
24952 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24954 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24955 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
24956 return SWIG_Py_Void();
24959 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24960 return SWIG_Python_InitShadowInstance(args
);
24963 SWIGINTERN
int NullBitmap_set(PyObject
*) {
24964 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
24969 SWIGINTERN PyObject
*NullBitmap_get(void) {
24970 PyObject
*pyobj
= 0;
24972 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
24977 SWIGINTERN
int NullIcon_set(PyObject
*) {
24978 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
24983 SWIGINTERN PyObject
*NullIcon_get(void) {
24984 PyObject
*pyobj
= 0;
24986 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
24991 SWIGINTERN
int NullCursor_set(PyObject
*) {
24992 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
24997 SWIGINTERN PyObject
*NullCursor_get(void) {
24998 PyObject
*pyobj
= 0;
25000 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
25005 SWIGINTERN
int NullPen_set(PyObject
*) {
25006 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
25011 SWIGINTERN PyObject
*NullPen_get(void) {
25012 PyObject
*pyobj
= 0;
25014 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
25019 SWIGINTERN
int NullBrush_set(PyObject
*) {
25020 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
25025 SWIGINTERN PyObject
*NullBrush_get(void) {
25026 PyObject
*pyobj
= 0;
25028 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
25033 SWIGINTERN
int NullPalette_set(PyObject
*) {
25034 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
25039 SWIGINTERN PyObject
*NullPalette_get(void) {
25040 PyObject
*pyobj
= 0;
25042 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
25047 SWIGINTERN
int NullFont_set(PyObject
*) {
25048 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
25053 SWIGINTERN PyObject
*NullFont_get(void) {
25054 PyObject
*pyobj
= 0;
25056 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
25061 SWIGINTERN
int NullColour_set(PyObject
*) {
25062 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
25067 SWIGINTERN PyObject
*NullColour_get(void) {
25068 PyObject
*pyobj
= 0;
25070 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
25075 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25076 PyObject
*resultobj
= 0;
25077 wxGDIObjListBase
*result
= 0 ;
25079 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
25081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25082 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
25083 wxPyEndAllowThreads(__tstate
);
25084 if (PyErr_Occurred()) SWIG_fail
;
25086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
25093 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25094 PyObject
*resultobj
= 0;
25095 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
25098 PyObject
*swig_obj
[1] ;
25100 if (!args
) SWIG_fail
;
25101 swig_obj
[0] = args
;
25102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
25103 if (!SWIG_IsOK(res1
)) {
25104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
25106 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 wxPyEndAllowThreads(__tstate
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25114 resultobj
= SWIG_Py_Void();
25121 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25124 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
25125 return SWIG_Py_Void();
25128 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25129 return SWIG_Python_InitShadowInstance(args
);
25132 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25133 PyObject
*resultobj
= 0;
25134 wxPenList
*arg1
= (wxPenList
*) 0 ;
25135 wxColour
*arg2
= 0 ;
25138 wxPen
*result
= 0 ;
25146 PyObject
* obj0
= 0 ;
25147 PyObject
* obj1
= 0 ;
25148 PyObject
* obj2
= 0 ;
25149 PyObject
* obj3
= 0 ;
25150 char * kwnames
[] = {
25151 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
25154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25156 if (!SWIG_IsOK(res1
)) {
25157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25159 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25162 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25164 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25165 if (!SWIG_IsOK(ecode3
)) {
25166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
25168 arg3
= static_cast< int >(val3
);
25169 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25170 if (!SWIG_IsOK(ecode4
)) {
25171 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
25173 arg4
= static_cast< int >(val4
);
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
25177 wxPyEndAllowThreads(__tstate
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
25187 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25188 PyObject
*resultobj
= 0;
25189 wxPenList
*arg1
= (wxPenList
*) 0 ;
25190 wxPen
*arg2
= (wxPen
*) 0 ;
25195 PyObject
* obj0
= 0 ;
25196 PyObject
* obj1
= 0 ;
25197 char * kwnames
[] = {
25198 (char *) "self",(char *) "pen", NULL
25201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25203 if (!SWIG_IsOK(res1
)) {
25204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
25206 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25207 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25208 if (!SWIG_IsOK(res2
)) {
25209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
25211 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 (arg1
)->AddPen(arg2
);
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= SWIG_Py_Void();
25225 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
= 0;
25227 wxPenList
*arg1
= (wxPenList
*) 0 ;
25228 wxPen
*arg2
= (wxPen
*) 0 ;
25233 PyObject
* obj0
= 0 ;
25234 PyObject
* obj1
= 0 ;
25235 char * kwnames
[] = {
25236 (char *) "self",(char *) "pen", NULL
25239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25241 if (!SWIG_IsOK(res1
)) {
25242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25244 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25245 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25246 if (!SWIG_IsOK(res2
)) {
25247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
25249 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 (arg1
)->RemovePen(arg2
);
25253 wxPyEndAllowThreads(__tstate
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25256 resultobj
= SWIG_Py_Void();
25263 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25266 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
25267 return SWIG_Py_Void();
25270 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25271 PyObject
*resultobj
= 0;
25272 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25273 wxColour
*arg2
= 0 ;
25274 int arg3
= (int) wxSOLID
;
25275 wxBrush
*result
= 0 ;
25281 PyObject
* obj0
= 0 ;
25282 PyObject
* obj1
= 0 ;
25283 PyObject
* obj2
= 0 ;
25284 char * kwnames
[] = {
25285 (char *) "self",(char *) "colour",(char *) "style", NULL
25288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25290 if (!SWIG_IsOK(res1
)) {
25291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25293 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25296 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25300 if (!SWIG_IsOK(ecode3
)) {
25301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
25303 arg3
= static_cast< int >(val3
);
25306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25307 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
25308 wxPyEndAllowThreads(__tstate
);
25309 if (PyErr_Occurred()) SWIG_fail
;
25311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
25318 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25319 PyObject
*resultobj
= 0;
25320 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25321 wxBrush
*arg2
= (wxBrush
*) 0 ;
25326 PyObject
* obj0
= 0 ;
25327 PyObject
* obj1
= 0 ;
25328 char * kwnames
[] = {
25329 (char *) "self",(char *) "brush", NULL
25332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25334 if (!SWIG_IsOK(res1
)) {
25335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25337 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25338 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
25339 if (!SWIG_IsOK(res2
)) {
25340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
25342 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 (arg1
)->AddBrush(arg2
);
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= SWIG_Py_Void();
25356 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25357 PyObject
*resultobj
= 0;
25358 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25359 wxBrush
*arg2
= (wxBrush
*) 0 ;
25364 PyObject
* obj0
= 0 ;
25365 PyObject
* obj1
= 0 ;
25366 char * kwnames
[] = {
25367 (char *) "self",(char *) "brush", NULL
25370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25372 if (!SWIG_IsOK(res1
)) {
25373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25375 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25376 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
25377 if (!SWIG_IsOK(res2
)) {
25378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
25380 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25383 (arg1
)->RemoveBrush(arg2
);
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 resultobj
= SWIG_Py_Void();
25394 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25397 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
25398 return SWIG_Py_Void();
25401 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
= 0;
25403 wxFontList
*arg1
= (wxFontList
*) 0 ;
25408 bool arg6
= (bool) false ;
25409 wxString
const &arg7_defvalue
= wxPyEmptyString
;
25410 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25411 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
25412 wxFont
*result
= 0 ;
25425 bool temp7
= false ;
25428 PyObject
* obj0
= 0 ;
25429 PyObject
* obj1
= 0 ;
25430 PyObject
* obj2
= 0 ;
25431 PyObject
* obj3
= 0 ;
25432 PyObject
* obj4
= 0 ;
25433 PyObject
* obj5
= 0 ;
25434 PyObject
* obj6
= 0 ;
25435 PyObject
* obj7
= 0 ;
25436 char * kwnames
[] = {
25437 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
25440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25442 if (!SWIG_IsOK(res1
)) {
25443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25445 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25447 if (!SWIG_IsOK(ecode2
)) {
25448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
25450 arg2
= static_cast< int >(val2
);
25451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25452 if (!SWIG_IsOK(ecode3
)) {
25453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
25455 arg3
= static_cast< int >(val3
);
25456 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25457 if (!SWIG_IsOK(ecode4
)) {
25458 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
25460 arg4
= static_cast< int >(val4
);
25461 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25462 if (!SWIG_IsOK(ecode5
)) {
25463 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
25465 arg5
= static_cast< int >(val5
);
25467 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
25468 if (!SWIG_IsOK(ecode6
)) {
25469 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
25471 arg6
= static_cast< bool >(val6
);
25475 arg7
= wxString_in_helper(obj6
);
25476 if (arg7
== NULL
) SWIG_fail
;
25481 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
25482 if (!SWIG_IsOK(ecode8
)) {
25483 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
25485 arg8
= static_cast< wxFontEncoding
>(val8
);
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
25490 wxPyEndAllowThreads(__tstate
);
25491 if (PyErr_Occurred()) SWIG_fail
;
25493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
25508 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
= 0;
25510 wxFontList
*arg1
= (wxFontList
*) 0 ;
25511 wxFont
*arg2
= (wxFont
*) 0 ;
25516 PyObject
* obj0
= 0 ;
25517 PyObject
* obj1
= 0 ;
25518 char * kwnames
[] = {
25519 (char *) "self",(char *) "font", NULL
25522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25524 if (!SWIG_IsOK(res1
)) {
25525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25527 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25528 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
25529 if (!SWIG_IsOK(res2
)) {
25530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
25532 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25535 (arg1
)->AddFont(arg2
);
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25539 resultobj
= SWIG_Py_Void();
25546 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
= 0;
25548 wxFontList
*arg1
= (wxFontList
*) 0 ;
25549 wxFont
*arg2
= (wxFont
*) 0 ;
25554 PyObject
* obj0
= 0 ;
25555 PyObject
* obj1
= 0 ;
25556 char * kwnames
[] = {
25557 (char *) "self",(char *) "font", NULL
25560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25562 if (!SWIG_IsOK(res1
)) {
25563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25565 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
25567 if (!SWIG_IsOK(res2
)) {
25568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
25570 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25573 (arg1
)->RemoveFont(arg2
);
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25577 resultobj
= SWIG_Py_Void();
25584 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25587 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
25588 return SWIG_Py_Void();
25591 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25592 PyObject
*resultobj
= 0;
25593 wxColourDatabase
*result
= 0 ;
25595 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
25597 if (!wxPyCheckForApp()) SWIG_fail
;
25598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25599 result
= (wxColourDatabase
*)new wxColourDatabase();
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
25610 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25611 PyObject
*resultobj
= 0;
25612 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25615 PyObject
*swig_obj
[1] ;
25617 if (!args
) SWIG_fail
;
25618 swig_obj
[0] = args
;
25619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
25620 if (!SWIG_IsOK(res1
)) {
25621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25623 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25628 wxPyEndAllowThreads(__tstate
);
25629 if (PyErr_Occurred()) SWIG_fail
;
25631 resultobj
= SWIG_Py_Void();
25638 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25639 PyObject
*resultobj
= 0;
25640 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25641 wxString
*arg2
= 0 ;
25645 bool temp2
= false ;
25646 PyObject
* obj0
= 0 ;
25647 PyObject
* obj1
= 0 ;
25648 char * kwnames
[] = {
25649 (char *) "self",(char *) "name", NULL
25652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25654 if (!SWIG_IsOK(res1
)) {
25655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
25657 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25659 arg2
= wxString_in_helper(obj1
);
25660 if (arg2
== NULL
) SWIG_fail
;
25664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25665 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
25666 wxPyEndAllowThreads(__tstate
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25669 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25684 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25685 PyObject
*resultobj
= 0;
25686 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25687 wxColour
*arg2
= 0 ;
25692 PyObject
* obj0
= 0 ;
25693 PyObject
* obj1
= 0 ;
25694 char * kwnames
[] = {
25695 (char *) "self",(char *) "colour", NULL
25698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25700 if (!SWIG_IsOK(res1
)) {
25701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
25703 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25706 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25727 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
= 0;
25729 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25730 wxString
*arg2
= 0 ;
25731 wxColour
*arg3
= 0 ;
25734 bool temp2
= false ;
25736 PyObject
* obj0
= 0 ;
25737 PyObject
* obj1
= 0 ;
25738 PyObject
* obj2
= 0 ;
25739 char * kwnames
[] = {
25740 (char *) "self",(char *) "name",(char *) "colour", NULL
25743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25745 if (!SWIG_IsOK(res1
)) {
25746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25748 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25750 arg2
= wxString_in_helper(obj1
);
25751 if (arg2
== NULL
) SWIG_fail
;
25756 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= SWIG_Py_Void();
25779 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25780 PyObject
*resultobj
= 0;
25781 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25782 wxString
*arg2
= 0 ;
25788 bool temp2
= false ;
25795 PyObject
* obj0
= 0 ;
25796 PyObject
* obj1
= 0 ;
25797 PyObject
* obj2
= 0 ;
25798 PyObject
* obj3
= 0 ;
25799 PyObject
* obj4
= 0 ;
25800 char * kwnames
[] = {
25801 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
25804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25806 if (!SWIG_IsOK(res1
)) {
25807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25809 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25811 arg2
= wxString_in_helper(obj1
);
25812 if (arg2
== NULL
) SWIG_fail
;
25815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25816 if (!SWIG_IsOK(ecode3
)) {
25817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
25819 arg3
= static_cast< int >(val3
);
25820 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25821 if (!SWIG_IsOK(ecode4
)) {
25822 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
25824 arg4
= static_cast< int >(val4
);
25825 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25826 if (!SWIG_IsOK(ecode5
)) {
25827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
25829 arg5
= static_cast< int >(val5
);
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25832 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25833 wxPyEndAllowThreads(__tstate
);
25834 if (PyErr_Occurred()) SWIG_fail
;
25836 resultobj
= SWIG_Py_Void();
25851 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25853 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25854 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
25855 return SWIG_Py_Void();
25858 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25859 return SWIG_Python_InitShadowInstance(args
);
25862 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25863 PyObject
*resultobj
= 0;
25864 wxFontList
*result
= 0 ;
25866 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 result
= (wxFontList
*)_wxPyInitTheFontList();
25870 wxPyEndAllowThreads(__tstate
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
25880 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25881 PyObject
*resultobj
= 0;
25882 wxPenList
*result
= 0 ;
25884 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
25886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25887 result
= (wxPenList
*)_wxPyInitThePenList();
25888 wxPyEndAllowThreads(__tstate
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
25898 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25899 PyObject
*resultobj
= 0;
25900 wxBrushList
*result
= 0 ;
25902 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
25904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25905 result
= (wxBrushList
*)_wxPyInitTheBrushList();
25906 wxPyEndAllowThreads(__tstate
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
25916 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25917 PyObject
*resultobj
= 0;
25918 wxColourDatabase
*result
= 0 ;
25920 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
25922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25923 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
25924 wxPyEndAllowThreads(__tstate
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25934 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25935 PyObject
*resultobj
= 0;
25936 wxEffects
*result
= 0 ;
25938 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 result
= (wxEffects
*)new wxEffects();
25942 wxPyEndAllowThreads(__tstate
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
25952 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25953 PyObject
*resultobj
= 0;
25954 wxEffects
*arg1
= (wxEffects
*) 0 ;
25958 PyObject
*swig_obj
[1] ;
25960 if (!args
) SWIG_fail
;
25961 swig_obj
[0] = args
;
25962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25963 if (!SWIG_IsOK(res1
)) {
25964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
25966 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25969 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
25970 wxPyEndAllowThreads(__tstate
);
25971 if (PyErr_Occurred()) SWIG_fail
;
25973 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25980 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25981 PyObject
*resultobj
= 0;
25982 wxEffects
*arg1
= (wxEffects
*) 0 ;
25986 PyObject
*swig_obj
[1] ;
25988 if (!args
) SWIG_fail
;
25989 swig_obj
[0] = args
;
25990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
25991 if (!SWIG_IsOK(res1
)) {
25992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
25994 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
25996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25997 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
25998 wxPyEndAllowThreads(__tstate
);
25999 if (PyErr_Occurred()) SWIG_fail
;
26001 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26008 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26009 PyObject
*resultobj
= 0;
26010 wxEffects
*arg1
= (wxEffects
*) 0 ;
26014 PyObject
*swig_obj
[1] ;
26016 if (!args
) SWIG_fail
;
26017 swig_obj
[0] = args
;
26018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26019 if (!SWIG_IsOK(res1
)) {
26020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
26022 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26025 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
26026 wxPyEndAllowThreads(__tstate
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26029 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26036 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26037 PyObject
*resultobj
= 0;
26038 wxEffects
*arg1
= (wxEffects
*) 0 ;
26042 PyObject
*swig_obj
[1] ;
26044 if (!args
) SWIG_fail
;
26045 swig_obj
[0] = args
;
26046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26047 if (!SWIG_IsOK(res1
)) {
26048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26050 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26053 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
26054 wxPyEndAllowThreads(__tstate
);
26055 if (PyErr_Occurred()) SWIG_fail
;
26057 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26064 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26065 PyObject
*resultobj
= 0;
26066 wxEffects
*arg1
= (wxEffects
*) 0 ;
26070 PyObject
*swig_obj
[1] ;
26072 if (!args
) SWIG_fail
;
26073 swig_obj
[0] = args
;
26074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26075 if (!SWIG_IsOK(res1
)) {
26076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26078 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26081 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
26082 wxPyEndAllowThreads(__tstate
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26092 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
= 0;
26094 wxEffects
*arg1
= (wxEffects
*) 0 ;
26095 wxColour
*arg2
= 0 ;
26099 PyObject
* obj0
= 0 ;
26100 PyObject
* obj1
= 0 ;
26101 char * kwnames
[] = {
26102 (char *) "self",(char *) "c", NULL
26105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26107 if (!SWIG_IsOK(res1
)) {
26108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26110 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26113 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26117 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
26118 wxPyEndAllowThreads(__tstate
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26121 resultobj
= SWIG_Py_Void();
26128 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
= 0;
26130 wxEffects
*arg1
= (wxEffects
*) 0 ;
26131 wxColour
*arg2
= 0 ;
26135 PyObject
* obj0
= 0 ;
26136 PyObject
* obj1
= 0 ;
26137 char * kwnames
[] = {
26138 (char *) "self",(char *) "c", NULL
26141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26143 if (!SWIG_IsOK(res1
)) {
26144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26146 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26149 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26153 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
26154 wxPyEndAllowThreads(__tstate
);
26155 if (PyErr_Occurred()) SWIG_fail
;
26157 resultobj
= SWIG_Py_Void();
26164 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26165 PyObject
*resultobj
= 0;
26166 wxEffects
*arg1
= (wxEffects
*) 0 ;
26167 wxColour
*arg2
= 0 ;
26171 PyObject
* obj0
= 0 ;
26172 PyObject
* obj1
= 0 ;
26173 char * kwnames
[] = {
26174 (char *) "self",(char *) "c", NULL
26177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26179 if (!SWIG_IsOK(res1
)) {
26180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26182 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26185 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26189 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
26190 wxPyEndAllowThreads(__tstate
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26193 resultobj
= SWIG_Py_Void();
26200 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26201 PyObject
*resultobj
= 0;
26202 wxEffects
*arg1
= (wxEffects
*) 0 ;
26203 wxColour
*arg2
= 0 ;
26207 PyObject
* obj0
= 0 ;
26208 PyObject
* obj1
= 0 ;
26209 char * kwnames
[] = {
26210 (char *) "self",(char *) "c", NULL
26213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26215 if (!SWIG_IsOK(res1
)) {
26216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26218 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26221 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26225 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
26226 wxPyEndAllowThreads(__tstate
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 resultobj
= SWIG_Py_Void();
26236 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26237 PyObject
*resultobj
= 0;
26238 wxEffects
*arg1
= (wxEffects
*) 0 ;
26239 wxColour
*arg2
= 0 ;
26243 PyObject
* obj0
= 0 ;
26244 PyObject
* obj1
= 0 ;
26245 char * kwnames
[] = {
26246 (char *) "self",(char *) "c", NULL
26249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26251 if (!SWIG_IsOK(res1
)) {
26252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26254 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26257 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26261 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
26262 wxPyEndAllowThreads(__tstate
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26265 resultobj
= SWIG_Py_Void();
26272 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
= 0;
26274 wxEffects
*arg1
= (wxEffects
*) 0 ;
26275 wxColour
*arg2
= 0 ;
26276 wxColour
*arg3
= 0 ;
26277 wxColour
*arg4
= 0 ;
26278 wxColour
*arg5
= 0 ;
26279 wxColour
*arg6
= 0 ;
26287 PyObject
* obj0
= 0 ;
26288 PyObject
* obj1
= 0 ;
26289 PyObject
* obj2
= 0 ;
26290 PyObject
* obj3
= 0 ;
26291 PyObject
* obj4
= 0 ;
26292 PyObject
* obj5
= 0 ;
26293 char * kwnames
[] = {
26294 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
26297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26299 if (!SWIG_IsOK(res1
)) {
26300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
26302 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26305 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26309 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26313 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
26317 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
26321 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26329 resultobj
= SWIG_Py_Void();
26336 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
= 0;
26338 wxEffects
*arg1
= (wxEffects
*) 0 ;
26341 int arg4
= (int) 1 ;
26349 PyObject
* obj0
= 0 ;
26350 PyObject
* obj1
= 0 ;
26351 PyObject
* obj2
= 0 ;
26352 PyObject
* obj3
= 0 ;
26353 char * kwnames
[] = {
26354 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
26357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26359 if (!SWIG_IsOK(res1
)) {
26360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
26362 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26363 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
26364 if (!SWIG_IsOK(res2
)) {
26365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
26368 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
26370 arg2
= reinterpret_cast< wxDC
* >(argp2
);
26373 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
26376 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26377 if (!SWIG_IsOK(ecode4
)) {
26378 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
26380 arg4
= static_cast< int >(val4
);
26383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
26385 wxPyEndAllowThreads(__tstate
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26388 resultobj
= SWIG_Py_Void();
26395 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26396 PyObject
*resultobj
= 0;
26397 wxEffects
*arg1
= (wxEffects
*) 0 ;
26400 wxBitmap
*arg4
= 0 ;
26409 PyObject
* obj0
= 0 ;
26410 PyObject
* obj1
= 0 ;
26411 PyObject
* obj2
= 0 ;
26412 PyObject
* obj3
= 0 ;
26413 char * kwnames
[] = {
26414 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
26417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26419 if (!SWIG_IsOK(res1
)) {
26420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
26422 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26425 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26427 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26428 if (!SWIG_IsOK(res3
)) {
26429 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
26432 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
26434 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26435 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
26436 if (!SWIG_IsOK(res4
)) {
26437 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
26440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
26442 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
26446 wxPyEndAllowThreads(__tstate
);
26447 if (PyErr_Occurred()) SWIG_fail
;
26450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26458 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26461 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
26462 return SWIG_Py_Void();
26465 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26466 return SWIG_Python_InitShadowInstance(args
);
26469 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26470 PyObject
*resultobj
= 0;
26474 wxSplitterRenderParams
*result
= 0 ;
26481 PyObject
* obj0
= 0 ;
26482 PyObject
* obj1
= 0 ;
26483 PyObject
* obj2
= 0 ;
26484 char * kwnames
[] = {
26485 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
26488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26489 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26490 if (!SWIG_IsOK(ecode1
)) {
26491 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
26493 arg1
= static_cast< int >(val1
);
26494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26495 if (!SWIG_IsOK(ecode2
)) {
26496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
26498 arg2
= static_cast< int >(val2
);
26499 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
26500 if (!SWIG_IsOK(ecode3
)) {
26501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
26503 arg3
= static_cast< bool >(val3
);
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
26507 wxPyEndAllowThreads(__tstate
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
26517 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26518 PyObject
*resultobj
= 0;
26519 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26522 PyObject
*swig_obj
[1] ;
26524 if (!args
) SWIG_fail
;
26525 swig_obj
[0] = args
;
26526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
26527 if (!SWIG_IsOK(res1
)) {
26528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26530 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26538 resultobj
= SWIG_Py_Void();
26545 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26546 PyObject
*resultobj
= 0;
26547 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26551 PyObject
*swig_obj
[1] ;
26553 if (!args
) SWIG_fail
;
26554 swig_obj
[0] = args
;
26555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26556 if (!SWIG_IsOK(res1
)) {
26557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26559 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26560 result
= (int)(int) ((arg1
)->widthSash
);
26561 resultobj
= SWIG_From_int(static_cast< int >(result
));
26568 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26569 PyObject
*resultobj
= 0;
26570 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26574 PyObject
*swig_obj
[1] ;
26576 if (!args
) SWIG_fail
;
26577 swig_obj
[0] = args
;
26578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26579 if (!SWIG_IsOK(res1
)) {
26580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26582 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26583 result
= (int)(int) ((arg1
)->border
);
26584 resultobj
= SWIG_From_int(static_cast< int >(result
));
26591 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26592 PyObject
*resultobj
= 0;
26593 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26597 PyObject
*swig_obj
[1] ;
26599 if (!args
) SWIG_fail
;
26600 swig_obj
[0] = args
;
26601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26602 if (!SWIG_IsOK(res1
)) {
26603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26605 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26606 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
26607 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
26614 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26617 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
26618 return SWIG_Py_Void();
26621 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26622 return SWIG_Python_InitShadowInstance(args
);
26625 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26626 PyObject
*resultobj
= 0;
26629 wxRendererVersion
*result
= 0 ;
26634 PyObject
* obj0
= 0 ;
26635 PyObject
* obj1
= 0 ;
26636 char * kwnames
[] = {
26637 (char *) "version_",(char *) "age_", NULL
26640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26641 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26642 if (!SWIG_IsOK(ecode1
)) {
26643 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
26645 arg1
= static_cast< int >(val1
);
26646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26647 if (!SWIG_IsOK(ecode2
)) {
26648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
26650 arg2
= static_cast< int >(val2
);
26652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26653 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
26654 wxPyEndAllowThreads(__tstate
);
26655 if (PyErr_Occurred()) SWIG_fail
;
26657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
26664 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26665 PyObject
*resultobj
= 0;
26666 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
26669 PyObject
*swig_obj
[1] ;
26671 if (!args
) SWIG_fail
;
26672 swig_obj
[0] = args
;
26673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
26674 if (!SWIG_IsOK(res1
)) {
26675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
26677 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26682 wxPyEndAllowThreads(__tstate
);
26683 if (PyErr_Occurred()) SWIG_fail
;
26685 resultobj
= SWIG_Py_Void();
26692 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26693 PyObject
*resultobj
= 0;
26694 wxRendererVersion
*arg1
= 0 ;
26698 PyObject
* obj0
= 0 ;
26699 char * kwnames
[] = {
26700 (char *) "ver", NULL
26703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
26704 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
26705 if (!SWIG_IsOK(res1
)) {
26706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
26709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
26711 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26714 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
26715 wxPyEndAllowThreads(__tstate
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26727 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26728 PyObject
*resultobj
= 0;
26729 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
26733 PyObject
*swig_obj
[1] ;
26735 if (!args
) SWIG_fail
;
26736 swig_obj
[0] = args
;
26737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
26738 if (!SWIG_IsOK(res1
)) {
26739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
26741 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26742 result
= (int)(int) ((arg1
)->version
);
26743 resultobj
= SWIG_From_int(static_cast< int >(result
));
26750 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26751 PyObject
*resultobj
= 0;
26752 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
26756 PyObject
*swig_obj
[1] ;
26758 if (!args
) SWIG_fail
;
26759 swig_obj
[0] = args
;
26760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
26761 if (!SWIG_IsOK(res1
)) {
26762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
26764 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
26765 result
= (int)(int) ((arg1
)->age
);
26766 resultobj
= SWIG_From_int(static_cast< int >(result
));
26773 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26776 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
26777 return SWIG_Py_Void();
26780 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26781 return SWIG_Python_InitShadowInstance(args
);
26784 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26785 PyObject
*resultobj
= 0;
26786 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26787 wxWindow
*arg2
= (wxWindow
*) 0 ;
26790 int arg5
= (int) 0 ;
26800 PyObject
* obj0
= 0 ;
26801 PyObject
* obj1
= 0 ;
26802 PyObject
* obj2
= 0 ;
26803 PyObject
* obj3
= 0 ;
26804 PyObject
* obj4
= 0 ;
26805 char * kwnames
[] = {
26806 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26811 if (!SWIG_IsOK(res1
)) {
26812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26814 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26815 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26816 if (!SWIG_IsOK(res2
)) {
26817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
26819 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26820 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26821 if (!SWIG_IsOK(res3
)) {
26822 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
26825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
26827 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26830 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26833 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26834 if (!SWIG_IsOK(ecode5
)) {
26835 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
26837 arg5
= static_cast< int >(val5
);
26840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26841 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26842 wxPyEndAllowThreads(__tstate
);
26843 if (PyErr_Occurred()) SWIG_fail
;
26845 resultobj
= SWIG_Py_Void();
26852 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26853 PyObject
*resultobj
= 0;
26854 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26855 wxWindow
*arg2
= (wxWindow
*) 0 ;
26858 int arg5
= (int) 0 ;
26868 PyObject
* obj0
= 0 ;
26869 PyObject
* obj1
= 0 ;
26870 PyObject
* obj2
= 0 ;
26871 PyObject
* obj3
= 0 ;
26872 PyObject
* obj4
= 0 ;
26873 char * kwnames
[] = {
26874 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26879 if (!SWIG_IsOK(res1
)) {
26880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26882 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26883 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26884 if (!SWIG_IsOK(res2
)) {
26885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
26887 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26888 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26889 if (!SWIG_IsOK(res3
)) {
26890 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
26893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
26895 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26898 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26901 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26902 if (!SWIG_IsOK(ecode5
)) {
26903 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
26905 arg5
= static_cast< int >(val5
);
26908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26909 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26910 wxPyEndAllowThreads(__tstate
);
26911 if (PyErr_Occurred()) SWIG_fail
;
26913 resultobj
= SWIG_Py_Void();
26920 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26921 PyObject
*resultobj
= 0;
26922 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26923 wxWindow
*arg2
= (wxWindow
*) 0 ;
26926 int arg5
= (int) 0 ;
26936 PyObject
* obj0
= 0 ;
26937 PyObject
* obj1
= 0 ;
26938 PyObject
* obj2
= 0 ;
26939 PyObject
* obj3
= 0 ;
26940 PyObject
* obj4
= 0 ;
26941 char * kwnames
[] = {
26942 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
26945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
26947 if (!SWIG_IsOK(res1
)) {
26948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
26950 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
26951 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26952 if (!SWIG_IsOK(res2
)) {
26953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
26955 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26956 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26957 if (!SWIG_IsOK(res3
)) {
26958 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
26961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
26963 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26966 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26969 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26970 if (!SWIG_IsOK(ecode5
)) {
26971 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
26973 arg5
= static_cast< int >(val5
);
26976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26977 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
26978 wxPyEndAllowThreads(__tstate
);
26979 if (PyErr_Occurred()) SWIG_fail
;
26981 resultobj
= SWIG_Py_Void();
26988 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26989 PyObject
*resultobj
= 0;
26990 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
26991 wxWindow
*arg2
= (wxWindow
*) 0 ;
26995 wxOrientation arg6
;
26996 int arg7
= (int) 0 ;
27010 PyObject
* obj0
= 0 ;
27011 PyObject
* obj1
= 0 ;
27012 PyObject
* obj2
= 0 ;
27013 PyObject
* obj3
= 0 ;
27014 PyObject
* obj4
= 0 ;
27015 PyObject
* obj5
= 0 ;
27016 PyObject
* obj6
= 0 ;
27017 char * kwnames
[] = {
27018 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
27021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27023 if (!SWIG_IsOK(res1
)) {
27024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27026 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27027 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27028 if (!SWIG_IsOK(res2
)) {
27029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
27031 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27032 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27033 if (!SWIG_IsOK(res3
)) {
27034 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27039 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27042 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27044 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27045 if (!SWIG_IsOK(ecode5
)) {
27046 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
27048 arg5
= static_cast< int >(val5
);
27049 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27050 if (!SWIG_IsOK(ecode6
)) {
27051 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
27053 arg6
= static_cast< wxOrientation
>(val6
);
27055 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
27056 if (!SWIG_IsOK(ecode7
)) {
27057 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
27059 arg7
= static_cast< int >(val7
);
27062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27063 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27067 resultobj
= SWIG_Py_Void();
27074 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
= 0;
27076 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27077 wxWindow
*arg2
= (wxWindow
*) 0 ;
27080 int arg5
= (int) 0 ;
27090 PyObject
* obj0
= 0 ;
27091 PyObject
* obj1
= 0 ;
27092 PyObject
* obj2
= 0 ;
27093 PyObject
* obj3
= 0 ;
27094 PyObject
* obj4
= 0 ;
27095 char * kwnames
[] = {
27096 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27101 if (!SWIG_IsOK(res1
)) {
27102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27104 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27105 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27106 if (!SWIG_IsOK(res2
)) {
27107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27109 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27110 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27111 if (!SWIG_IsOK(res3
)) {
27112 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27115 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27117 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27120 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27123 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27124 if (!SWIG_IsOK(ecode5
)) {
27125 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
27127 arg5
= static_cast< int >(val5
);
27130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27131 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27135 resultobj
= SWIG_Py_Void();
27142 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27143 PyObject
*resultobj
= 0;
27144 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27145 wxWindow
*arg2
= (wxWindow
*) 0 ;
27148 int arg5
= (int) 0 ;
27158 PyObject
* obj0
= 0 ;
27159 PyObject
* obj1
= 0 ;
27160 PyObject
* obj2
= 0 ;
27161 PyObject
* obj3
= 0 ;
27162 PyObject
* obj4
= 0 ;
27163 char * kwnames
[] = {
27164 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27169 if (!SWIG_IsOK(res1
)) {
27170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27172 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27173 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27174 if (!SWIG_IsOK(res2
)) {
27175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
27177 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27178 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27179 if (!SWIG_IsOK(res3
)) {
27180 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27185 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27188 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27191 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27192 if (!SWIG_IsOK(ecode5
)) {
27193 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
27195 arg5
= static_cast< int >(val5
);
27198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27199 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27200 wxPyEndAllowThreads(__tstate
);
27201 if (PyErr_Occurred()) SWIG_fail
;
27203 resultobj
= SWIG_Py_Void();
27210 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27211 PyObject
*resultobj
= 0;
27212 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27213 wxWindow
*arg2
= (wxWindow
*) 0 ;
27216 int arg5
= (int) 0 ;
27226 PyObject
* obj0
= 0 ;
27227 PyObject
* obj1
= 0 ;
27228 PyObject
* obj2
= 0 ;
27229 PyObject
* obj3
= 0 ;
27230 PyObject
* obj4
= 0 ;
27231 char * kwnames
[] = {
27232 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27237 if (!SWIG_IsOK(res1
)) {
27238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27240 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27241 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27242 if (!SWIG_IsOK(res2
)) {
27243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
27245 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27246 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27247 if (!SWIG_IsOK(res3
)) {
27248 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27253 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27256 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27259 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27260 if (!SWIG_IsOK(ecode5
)) {
27261 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
27263 arg5
= static_cast< int >(val5
);
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27268 wxPyEndAllowThreads(__tstate
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27271 resultobj
= SWIG_Py_Void();
27278 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27279 PyObject
*resultobj
= 0;
27280 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27281 wxWindow
*arg2
= (wxWindow
*) 0 ;
27284 int arg5
= (int) 0 ;
27294 PyObject
* obj0
= 0 ;
27295 PyObject
* obj1
= 0 ;
27296 PyObject
* obj2
= 0 ;
27297 PyObject
* obj3
= 0 ;
27298 PyObject
* obj4
= 0 ;
27299 char * kwnames
[] = {
27300 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27305 if (!SWIG_IsOK(res1
)) {
27306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27308 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27310 if (!SWIG_IsOK(res2
)) {
27311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27313 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27314 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27315 if (!SWIG_IsOK(res3
)) {
27316 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
27319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
27321 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27324 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27327 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27328 if (!SWIG_IsOK(ecode5
)) {
27329 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
27331 arg5
= static_cast< int >(val5
);
27334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27336 wxPyEndAllowThreads(__tstate
);
27337 if (PyErr_Occurred()) SWIG_fail
;
27339 resultobj
= SWIG_Py_Void();
27346 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27347 PyObject
*resultobj
= 0;
27348 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27349 wxWindow
*arg2
= (wxWindow
*) 0 ;
27352 int arg5
= (int) 0 ;
27362 PyObject
* obj0
= 0 ;
27363 PyObject
* obj1
= 0 ;
27364 PyObject
* obj2
= 0 ;
27365 PyObject
* obj3
= 0 ;
27366 PyObject
* obj4
= 0 ;
27367 char * kwnames
[] = {
27368 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27373 if (!SWIG_IsOK(res1
)) {
27374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27376 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27377 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27378 if (!SWIG_IsOK(res2
)) {
27379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
27381 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27382 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27383 if (!SWIG_IsOK(res3
)) {
27384 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
27387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
27389 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27392 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27395 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27396 if (!SWIG_IsOK(ecode5
)) {
27397 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
27399 arg5
= static_cast< int >(val5
);
27402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27403 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27404 wxPyEndAllowThreads(__tstate
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27407 resultobj
= SWIG_Py_Void();
27414 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27415 PyObject
*resultobj
= 0;
27416 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27417 wxWindow
*arg2
= (wxWindow
*) 0 ;
27418 SwigValueWrapper
<wxSplitterRenderParams
> result
;
27423 PyObject
* obj0
= 0 ;
27424 PyObject
* obj1
= 0 ;
27425 char * kwnames
[] = {
27426 (char *) "self",(char *) "win", NULL
27429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27431 if (!SWIG_IsOK(res1
)) {
27432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27434 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27435 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27436 if (!SWIG_IsOK(res2
)) {
27437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
27439 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
27443 wxPyEndAllowThreads(__tstate
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27446 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
27453 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27454 PyObject
*resultobj
= 0;
27455 wxRendererNative
*result
= 0 ;
27457 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
27459 if (!wxPyCheckForApp()) SWIG_fail
;
27460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 wxRendererNative
&_result_ref
= wxRendererNative::Get();
27463 result
= (wxRendererNative
*) &_result_ref
;
27465 wxPyEndAllowThreads(__tstate
);
27466 if (PyErr_Occurred()) SWIG_fail
;
27468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27475 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27476 PyObject
*resultobj
= 0;
27477 wxRendererNative
*result
= 0 ;
27479 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
27481 if (!wxPyCheckForApp()) SWIG_fail
;
27482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27484 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
27485 result
= (wxRendererNative
*) &_result_ref
;
27487 wxPyEndAllowThreads(__tstate
);
27488 if (PyErr_Occurred()) SWIG_fail
;
27490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27497 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27498 PyObject
*resultobj
= 0;
27499 wxRendererNative
*result
= 0 ;
27501 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
27503 if (!wxPyCheckForApp()) SWIG_fail
;
27504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27506 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
27507 result
= (wxRendererNative
*) &_result_ref
;
27509 wxPyEndAllowThreads(__tstate
);
27510 if (PyErr_Occurred()) SWIG_fail
;
27512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27519 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27520 PyObject
*resultobj
= 0;
27521 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27522 wxRendererNative
*result
= 0 ;
27525 PyObject
* obj0
= 0 ;
27526 char * kwnames
[] = {
27527 (char *) "renderer", NULL
27530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
27531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27532 if (!SWIG_IsOK(res1
)) {
27533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27535 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27537 if (!wxPyCheckForApp()) SWIG_fail
;
27538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27539 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
27540 wxPyEndAllowThreads(__tstate
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27550 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27551 PyObject
*resultobj
= 0;
27552 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27553 SwigValueWrapper
<wxRendererVersion
> result
;
27556 PyObject
*swig_obj
[1] ;
27558 if (!args
) SWIG_fail
;
27559 swig_obj
[0] = args
;
27560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27561 if (!SWIG_IsOK(res1
)) {
27562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
27564 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27567 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
27568 wxPyEndAllowThreads(__tstate
);
27569 if (PyErr_Occurred()) SWIG_fail
;
27571 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
27578 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27580 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27581 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
27582 return SWIG_Py_Void();
27585 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27586 PyObject
*resultobj
= 0;
27587 wxPseudoDC
*result
= 0 ;
27589 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
27591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27592 result
= (wxPseudoDC
*)new wxPseudoDC();
27593 wxPyEndAllowThreads(__tstate
);
27594 if (PyErr_Occurred()) SWIG_fail
;
27596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
27603 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27604 PyObject
*resultobj
= 0;
27605 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27608 PyObject
*swig_obj
[1] ;
27610 if (!args
) SWIG_fail
;
27611 swig_obj
[0] = args
;
27612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27613 if (!SWIG_IsOK(res1
)) {
27614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27616 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27619 (arg1
)->BeginDrawing();
27620 wxPyEndAllowThreads(__tstate
);
27621 if (PyErr_Occurred()) SWIG_fail
;
27623 resultobj
= SWIG_Py_Void();
27630 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27631 PyObject
*resultobj
= 0;
27632 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27635 PyObject
*swig_obj
[1] ;
27637 if (!args
) SWIG_fail
;
27638 swig_obj
[0] = args
;
27639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27640 if (!SWIG_IsOK(res1
)) {
27641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27643 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 (arg1
)->EndDrawing();
27647 wxPyEndAllowThreads(__tstate
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27650 resultobj
= SWIG_Py_Void();
27657 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27658 PyObject
*resultobj
= 0;
27659 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27662 PyObject
*swig_obj
[1] ;
27664 if (!args
) SWIG_fail
;
27665 swig_obj
[0] = args
;
27666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
27667 if (!SWIG_IsOK(res1
)) {
27668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27670 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27675 wxPyEndAllowThreads(__tstate
);
27676 if (PyErr_Occurred()) SWIG_fail
;
27678 resultobj
= SWIG_Py_Void();
27685 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27686 PyObject
*resultobj
= 0;
27687 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27690 PyObject
*swig_obj
[1] ;
27692 if (!args
) SWIG_fail
;
27693 swig_obj
[0] = args
;
27694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27695 if (!SWIG_IsOK(res1
)) {
27696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27698 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27701 (arg1
)->RemoveAll();
27702 wxPyEndAllowThreads(__tstate
);
27703 if (PyErr_Occurred()) SWIG_fail
;
27705 resultobj
= SWIG_Py_Void();
27712 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27713 PyObject
*resultobj
= 0;
27714 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27718 PyObject
*swig_obj
[1] ;
27720 if (!args
) SWIG_fail
;
27721 swig_obj
[0] = args
;
27722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27723 if (!SWIG_IsOK(res1
)) {
27724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27726 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27729 result
= (int)(arg1
)->GetLen();
27730 wxPyEndAllowThreads(__tstate
);
27731 if (PyErr_Occurred()) SWIG_fail
;
27733 resultobj
= SWIG_From_int(static_cast< int >(result
));
27740 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27741 PyObject
*resultobj
= 0;
27742 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27748 PyObject
* obj0
= 0 ;
27749 PyObject
* obj1
= 0 ;
27750 char * kwnames
[] = {
27751 (char *) "self",(char *) "id", NULL
27754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27756 if (!SWIG_IsOK(res1
)) {
27757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27759 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27761 if (!SWIG_IsOK(ecode2
)) {
27762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
27764 arg2
= static_cast< int >(val2
);
27766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27767 (arg1
)->SetId(arg2
);
27768 wxPyEndAllowThreads(__tstate
);
27769 if (PyErr_Occurred()) SWIG_fail
;
27771 resultobj
= SWIG_Py_Void();
27778 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27779 PyObject
*resultobj
= 0;
27780 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27786 PyObject
* obj0
= 0 ;
27787 PyObject
* obj1
= 0 ;
27788 char * kwnames
[] = {
27789 (char *) "self",(char *) "id", NULL
27792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27794 if (!SWIG_IsOK(res1
)) {
27795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27797 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27799 if (!SWIG_IsOK(ecode2
)) {
27800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
27802 arg2
= static_cast< int >(val2
);
27804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27805 (arg1
)->ClearId(arg2
);
27806 wxPyEndAllowThreads(__tstate
);
27807 if (PyErr_Occurred()) SWIG_fail
;
27809 resultobj
= SWIG_Py_Void();
27816 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27817 PyObject
*resultobj
= 0;
27818 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27824 PyObject
* obj0
= 0 ;
27825 PyObject
* obj1
= 0 ;
27826 char * kwnames
[] = {
27827 (char *) "self",(char *) "id", NULL
27830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27832 if (!SWIG_IsOK(res1
)) {
27833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27835 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27837 if (!SWIG_IsOK(ecode2
)) {
27838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
27840 arg2
= static_cast< int >(val2
);
27842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27843 (arg1
)->RemoveId(arg2
);
27844 wxPyEndAllowThreads(__tstate
);
27845 if (PyErr_Occurred()) SWIG_fail
;
27847 resultobj
= SWIG_Py_Void();
27854 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27855 PyObject
*resultobj
= 0;
27856 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27868 PyObject
* obj0
= 0 ;
27869 PyObject
* obj1
= 0 ;
27870 PyObject
* obj2
= 0 ;
27871 PyObject
* obj3
= 0 ;
27872 char * kwnames
[] = {
27873 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
27876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27878 if (!SWIG_IsOK(res1
)) {
27879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27881 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27883 if (!SWIG_IsOK(ecode2
)) {
27884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
27886 arg2
= static_cast< int >(val2
);
27887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27888 if (!SWIG_IsOK(ecode3
)) {
27889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
27891 arg3
= static_cast< int >(val3
);
27892 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27893 if (!SWIG_IsOK(ecode4
)) {
27894 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
27896 arg4
= static_cast< int >(val4
);
27898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27899 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
27900 wxPyEndAllowThreads(__tstate
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27903 resultobj
= SWIG_Py_Void();
27910 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
= 0;
27912 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27914 wxDC
*arg3
= (wxDC
*) 0 ;
27921 PyObject
* obj0
= 0 ;
27922 PyObject
* obj1
= 0 ;
27923 PyObject
* obj2
= 0 ;
27924 char * kwnames
[] = {
27925 (char *) "self",(char *) "id",(char *) "dc", NULL
27928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27930 if (!SWIG_IsOK(res1
)) {
27931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27933 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27935 if (!SWIG_IsOK(ecode2
)) {
27936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
27938 arg2
= static_cast< int >(val2
);
27939 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
27940 if (!SWIG_IsOK(res3
)) {
27941 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
27943 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 (arg1
)->DrawIdToDC(arg2
,arg3
);
27947 wxPyEndAllowThreads(__tstate
);
27948 if (PyErr_Occurred()) SWIG_fail
;
27950 resultobj
= SWIG_Py_Void();
27957 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27958 PyObject
*resultobj
= 0;
27959 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
27967 PyObject
* obj0
= 0 ;
27968 PyObject
* obj1
= 0 ;
27969 PyObject
* obj2
= 0 ;
27970 char * kwnames
[] = {
27971 (char *) "self",(char *) "id",(char *) "rect", NULL
27974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
27976 if (!SWIG_IsOK(res1
)) {
27977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
27979 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
27980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27981 if (!SWIG_IsOK(ecode2
)) {
27982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
27984 arg2
= static_cast< int >(val2
);
27987 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 (arg1
)->SetIdBounds(arg2
,*arg3
);
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27995 resultobj
= SWIG_Py_Void();
28002 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28003 PyObject
*resultobj
= 0;
28004 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28011 PyObject
* obj0
= 0 ;
28012 PyObject
* obj1
= 0 ;
28013 char * kwnames
[] = {
28014 (char *) "self",(char *) "id", NULL
28017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28019 if (!SWIG_IsOK(res1
)) {
28020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28022 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28024 if (!SWIG_IsOK(ecode2
)) {
28025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
28027 arg2
= static_cast< int >(val2
);
28029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28030 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
28031 wxPyEndAllowThreads(__tstate
);
28032 if (PyErr_Occurred()) SWIG_fail
;
28034 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28041 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28042 PyObject
*resultobj
= 0;
28043 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28044 wxDC
*arg2
= (wxDC
*) 0 ;
28051 PyObject
* obj0
= 0 ;
28052 PyObject
* obj1
= 0 ;
28053 PyObject
* obj2
= 0 ;
28054 char * kwnames
[] = {
28055 (char *) "self",(char *) "dc",(char *) "rect", NULL
28058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28060 if (!SWIG_IsOK(res1
)) {
28061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28063 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28064 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28065 if (!SWIG_IsOK(res2
)) {
28066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
28068 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28071 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28075 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28079 resultobj
= SWIG_Py_Void();
28086 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28087 PyObject
*resultobj
= 0;
28088 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28089 wxDC
*arg2
= (wxDC
*) 0 ;
28090 wxRegion
*arg3
= 0 ;
28097 PyObject
* obj0
= 0 ;
28098 PyObject
* obj1
= 0 ;
28099 PyObject
* obj2
= 0 ;
28100 char * kwnames
[] = {
28101 (char *) "self",(char *) "dc",(char *) "region", NULL
28104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28106 if (!SWIG_IsOK(res1
)) {
28107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28109 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28110 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28111 if (!SWIG_IsOK(res2
)) {
28112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
28114 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28115 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
28116 if (!SWIG_IsOK(res3
)) {
28117 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28122 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
28124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28125 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
28126 wxPyEndAllowThreads(__tstate
);
28127 if (PyErr_Occurred()) SWIG_fail
;
28129 resultobj
= SWIG_Py_Void();
28136 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28137 PyObject
*resultobj
= 0;
28138 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28139 wxDC
*arg2
= (wxDC
*) 0 ;
28144 PyObject
* obj0
= 0 ;
28145 PyObject
* obj1
= 0 ;
28146 char * kwnames
[] = {
28147 (char *) "self",(char *) "dc", NULL
28150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28152 if (!SWIG_IsOK(res1
)) {
28153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28155 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28156 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28157 if (!SWIG_IsOK(res2
)) {
28158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
28160 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28163 (arg1
)->DrawToDC(arg2
);
28164 wxPyEndAllowThreads(__tstate
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28167 resultobj
= SWIG_Py_Void();
28174 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28175 PyObject
*resultobj
= 0;
28176 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28179 wxColour
*arg4
= 0 ;
28180 int arg5
= (int) wxFLOOD_SURFACE
;
28190 PyObject
* obj0
= 0 ;
28191 PyObject
* obj1
= 0 ;
28192 PyObject
* obj2
= 0 ;
28193 PyObject
* obj3
= 0 ;
28194 PyObject
* obj4
= 0 ;
28195 char * kwnames
[] = {
28196 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
28199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28201 if (!SWIG_IsOK(res1
)) {
28202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28204 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28206 if (!SWIG_IsOK(ecode2
)) {
28207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
28209 arg2
= static_cast< int >(val2
);
28210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28211 if (!SWIG_IsOK(ecode3
)) {
28212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
28214 arg3
= static_cast< int >(val3
);
28217 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
28220 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28221 if (!SWIG_IsOK(ecode5
)) {
28222 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
28224 arg5
= static_cast< int >(val5
);
28227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28228 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28232 resultobj
= SWIG_Py_Void();
28239 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28240 PyObject
*resultobj
= 0;
28241 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28242 wxPoint
*arg2
= 0 ;
28243 wxColour
*arg3
= 0 ;
28244 int arg4
= (int) wxFLOOD_SURFACE
;
28251 PyObject
* obj0
= 0 ;
28252 PyObject
* obj1
= 0 ;
28253 PyObject
* obj2
= 0 ;
28254 PyObject
* obj3
= 0 ;
28255 char * kwnames
[] = {
28256 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
28259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28261 if (!SWIG_IsOK(res1
)) {
28262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28264 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28267 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28271 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28274 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28275 if (!SWIG_IsOK(ecode4
)) {
28276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
28278 arg4
= static_cast< int >(val4
);
28281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28282 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
28283 wxPyEndAllowThreads(__tstate
);
28284 if (PyErr_Occurred()) SWIG_fail
;
28286 resultobj
= SWIG_Py_Void();
28293 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28294 PyObject
*resultobj
= 0;
28295 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28310 PyObject
* obj0
= 0 ;
28311 PyObject
* obj1
= 0 ;
28312 PyObject
* obj2
= 0 ;
28313 PyObject
* obj3
= 0 ;
28314 PyObject
* obj4
= 0 ;
28315 char * kwnames
[] = {
28316 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
28319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28321 if (!SWIG_IsOK(res1
)) {
28322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28324 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28326 if (!SWIG_IsOK(ecode2
)) {
28327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
28329 arg2
= static_cast< int >(val2
);
28330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28331 if (!SWIG_IsOK(ecode3
)) {
28332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
28334 arg3
= static_cast< int >(val3
);
28335 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28336 if (!SWIG_IsOK(ecode4
)) {
28337 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
28339 arg4
= static_cast< int >(val4
);
28340 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28341 if (!SWIG_IsOK(ecode5
)) {
28342 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
28344 arg5
= static_cast< int >(val5
);
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
28348 wxPyEndAllowThreads(__tstate
);
28349 if (PyErr_Occurred()) SWIG_fail
;
28351 resultobj
= SWIG_Py_Void();
28358 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28359 PyObject
*resultobj
= 0;
28360 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28361 wxPoint
*arg2
= 0 ;
28362 wxPoint
*arg3
= 0 ;
28367 PyObject
* obj0
= 0 ;
28368 PyObject
* obj1
= 0 ;
28369 PyObject
* obj2
= 0 ;
28370 char * kwnames
[] = {
28371 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
28374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28376 if (!SWIG_IsOK(res1
)) {
28377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28379 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28382 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28386 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28390 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
28391 wxPyEndAllowThreads(__tstate
);
28392 if (PyErr_Occurred()) SWIG_fail
;
28394 resultobj
= SWIG_Py_Void();
28401 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28402 PyObject
*resultobj
= 0;
28403 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28412 PyObject
* obj0
= 0 ;
28413 PyObject
* obj1
= 0 ;
28414 PyObject
* obj2
= 0 ;
28415 char * kwnames
[] = {
28416 (char *) "self",(char *) "x",(char *) "y", NULL
28419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28421 if (!SWIG_IsOK(res1
)) {
28422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28424 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28426 if (!SWIG_IsOK(ecode2
)) {
28427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
28429 arg2
= static_cast< int >(val2
);
28430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28431 if (!SWIG_IsOK(ecode3
)) {
28432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
28434 arg3
= static_cast< int >(val3
);
28436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28437 (arg1
)->CrossHair(arg2
,arg3
);
28438 wxPyEndAllowThreads(__tstate
);
28439 if (PyErr_Occurred()) SWIG_fail
;
28441 resultobj
= SWIG_Py_Void();
28448 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28449 PyObject
*resultobj
= 0;
28450 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28451 wxPoint
*arg2
= 0 ;
28455 PyObject
* obj0
= 0 ;
28456 PyObject
* obj1
= 0 ;
28457 char * kwnames
[] = {
28458 (char *) "self",(char *) "pt", NULL
28461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28463 if (!SWIG_IsOK(res1
)) {
28464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28466 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28469 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28473 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
28474 wxPyEndAllowThreads(__tstate
);
28475 if (PyErr_Occurred()) SWIG_fail
;
28477 resultobj
= SWIG_Py_Void();
28484 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28485 PyObject
*resultobj
= 0;
28486 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28507 PyObject
* obj0
= 0 ;
28508 PyObject
* obj1
= 0 ;
28509 PyObject
* obj2
= 0 ;
28510 PyObject
* obj3
= 0 ;
28511 PyObject
* obj4
= 0 ;
28512 PyObject
* obj5
= 0 ;
28513 PyObject
* obj6
= 0 ;
28514 char * kwnames
[] = {
28515 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
28518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28520 if (!SWIG_IsOK(res1
)) {
28521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28523 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28525 if (!SWIG_IsOK(ecode2
)) {
28526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
28528 arg2
= static_cast< int >(val2
);
28529 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28530 if (!SWIG_IsOK(ecode3
)) {
28531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
28533 arg3
= static_cast< int >(val3
);
28534 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28535 if (!SWIG_IsOK(ecode4
)) {
28536 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
28538 arg4
= static_cast< int >(val4
);
28539 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28540 if (!SWIG_IsOK(ecode5
)) {
28541 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
28543 arg5
= static_cast< int >(val5
);
28544 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
28545 if (!SWIG_IsOK(ecode6
)) {
28546 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
28548 arg6
= static_cast< int >(val6
);
28549 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
28550 if (!SWIG_IsOK(ecode7
)) {
28551 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
28553 arg7
= static_cast< int >(val7
);
28555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28556 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28557 wxPyEndAllowThreads(__tstate
);
28558 if (PyErr_Occurred()) SWIG_fail
;
28560 resultobj
= SWIG_Py_Void();
28567 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28568 PyObject
*resultobj
= 0;
28569 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28570 wxPoint
*arg2
= 0 ;
28571 wxPoint
*arg3
= 0 ;
28572 wxPoint
*arg4
= 0 ;
28578 PyObject
* obj0
= 0 ;
28579 PyObject
* obj1
= 0 ;
28580 PyObject
* obj2
= 0 ;
28581 PyObject
* obj3
= 0 ;
28582 char * kwnames
[] = {
28583 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
28586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28588 if (!SWIG_IsOK(res1
)) {
28589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28591 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28594 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28598 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28602 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28606 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
28607 wxPyEndAllowThreads(__tstate
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28610 resultobj
= SWIG_Py_Void();
28617 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28618 PyObject
*resultobj
= 0;
28619 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28634 PyObject
* obj0
= 0 ;
28635 PyObject
* obj1
= 0 ;
28636 PyObject
* obj2
= 0 ;
28637 PyObject
* obj3
= 0 ;
28638 PyObject
* obj4
= 0 ;
28639 char * kwnames
[] = {
28640 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28645 if (!SWIG_IsOK(res1
)) {
28646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28648 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28650 if (!SWIG_IsOK(ecode2
)) {
28651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
28653 arg2
= static_cast< int >(val2
);
28654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28655 if (!SWIG_IsOK(ecode3
)) {
28656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
28658 arg3
= static_cast< int >(val3
);
28659 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28660 if (!SWIG_IsOK(ecode4
)) {
28661 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
28663 arg4
= static_cast< int >(val4
);
28664 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28665 if (!SWIG_IsOK(ecode5
)) {
28666 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
28668 arg5
= static_cast< int >(val5
);
28670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28671 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
28672 wxPyEndAllowThreads(__tstate
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28675 resultobj
= SWIG_Py_Void();
28682 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28683 PyObject
*resultobj
= 0;
28684 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28689 PyObject
* obj0
= 0 ;
28690 PyObject
* obj1
= 0 ;
28691 char * kwnames
[] = {
28692 (char *) "self",(char *) "rect", NULL
28695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28697 if (!SWIG_IsOK(res1
)) {
28698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28700 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28703 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28707 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
28708 wxPyEndAllowThreads(__tstate
);
28709 if (PyErr_Occurred()) SWIG_fail
;
28711 resultobj
= SWIG_Py_Void();
28718 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28719 PyObject
*resultobj
= 0;
28720 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28741 PyObject
* obj0
= 0 ;
28742 PyObject
* obj1
= 0 ;
28743 PyObject
* obj2
= 0 ;
28744 PyObject
* obj3
= 0 ;
28745 PyObject
* obj4
= 0 ;
28746 PyObject
* obj5
= 0 ;
28747 PyObject
* obj6
= 0 ;
28748 char * kwnames
[] = {
28749 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
28752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28754 if (!SWIG_IsOK(res1
)) {
28755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28757 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28759 if (!SWIG_IsOK(ecode2
)) {
28760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
28762 arg2
= static_cast< int >(val2
);
28763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28764 if (!SWIG_IsOK(ecode3
)) {
28765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
28767 arg3
= static_cast< int >(val3
);
28768 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28769 if (!SWIG_IsOK(ecode4
)) {
28770 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
28772 arg4
= static_cast< int >(val4
);
28773 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28774 if (!SWIG_IsOK(ecode5
)) {
28775 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
28777 arg5
= static_cast< int >(val5
);
28778 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28779 if (!SWIG_IsOK(ecode6
)) {
28780 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
28782 arg6
= static_cast< double >(val6
);
28783 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28784 if (!SWIG_IsOK(ecode7
)) {
28785 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
28787 arg7
= static_cast< double >(val7
);
28789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28790 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28791 wxPyEndAllowThreads(__tstate
);
28792 if (PyErr_Occurred()) SWIG_fail
;
28794 resultobj
= SWIG_Py_Void();
28801 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28802 PyObject
*resultobj
= 0;
28803 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28804 wxPoint
*arg2
= 0 ;
28816 PyObject
* obj0
= 0 ;
28817 PyObject
* obj1
= 0 ;
28818 PyObject
* obj2
= 0 ;
28819 PyObject
* obj3
= 0 ;
28820 PyObject
* obj4
= 0 ;
28821 char * kwnames
[] = {
28822 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
28825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28827 if (!SWIG_IsOK(res1
)) {
28828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28830 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28833 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28837 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
28839 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28840 if (!SWIG_IsOK(ecode4
)) {
28841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
28843 arg4
= static_cast< double >(val4
);
28844 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28845 if (!SWIG_IsOK(ecode5
)) {
28846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
28848 arg5
= static_cast< double >(val5
);
28850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28851 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28855 resultobj
= SWIG_Py_Void();
28862 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28863 PyObject
*resultobj
= 0;
28864 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28873 PyObject
* obj0
= 0 ;
28874 PyObject
* obj1
= 0 ;
28875 PyObject
* obj2
= 0 ;
28876 char * kwnames
[] = {
28877 (char *) "self",(char *) "x",(char *) "y", NULL
28880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28882 if (!SWIG_IsOK(res1
)) {
28883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28885 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28887 if (!SWIG_IsOK(ecode2
)) {
28888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
28890 arg2
= static_cast< int >(val2
);
28891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28892 if (!SWIG_IsOK(ecode3
)) {
28893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
28895 arg3
= static_cast< int >(val3
);
28897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28898 (arg1
)->DrawPoint(arg2
,arg3
);
28899 wxPyEndAllowThreads(__tstate
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28902 resultobj
= SWIG_Py_Void();
28909 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28910 PyObject
*resultobj
= 0;
28911 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28912 wxPoint
*arg2
= 0 ;
28916 PyObject
* obj0
= 0 ;
28917 PyObject
* obj1
= 0 ;
28918 char * kwnames
[] = {
28919 (char *) "self",(char *) "pt", NULL
28922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28924 if (!SWIG_IsOK(res1
)) {
28925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28927 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28930 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28934 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
28935 wxPyEndAllowThreads(__tstate
);
28936 if (PyErr_Occurred()) SWIG_fail
;
28938 resultobj
= SWIG_Py_Void();
28945 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28946 PyObject
*resultobj
= 0;
28947 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28962 PyObject
* obj0
= 0 ;
28963 PyObject
* obj1
= 0 ;
28964 PyObject
* obj2
= 0 ;
28965 PyObject
* obj3
= 0 ;
28966 PyObject
* obj4
= 0 ;
28967 char * kwnames
[] = {
28968 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28973 if (!SWIG_IsOK(res1
)) {
28974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28976 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28978 if (!SWIG_IsOK(ecode2
)) {
28979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
28981 arg2
= static_cast< int >(val2
);
28982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28983 if (!SWIG_IsOK(ecode3
)) {
28984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
28986 arg3
= static_cast< int >(val3
);
28987 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28988 if (!SWIG_IsOK(ecode4
)) {
28989 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
28991 arg4
= static_cast< int >(val4
);
28992 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28993 if (!SWIG_IsOK(ecode5
)) {
28994 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
28996 arg5
= static_cast< int >(val5
);
28998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29000 wxPyEndAllowThreads(__tstate
);
29001 if (PyErr_Occurred()) SWIG_fail
;
29003 resultobj
= SWIG_Py_Void();
29010 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29011 PyObject
*resultobj
= 0;
29012 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29017 PyObject
* obj0
= 0 ;
29018 PyObject
* obj1
= 0 ;
29019 char * kwnames
[] = {
29020 (char *) "self",(char *) "rect", NULL
29023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29025 if (!SWIG_IsOK(res1
)) {
29026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29028 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29031 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29035 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
29036 wxPyEndAllowThreads(__tstate
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29039 resultobj
= SWIG_Py_Void();
29046 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29047 PyObject
*resultobj
= 0;
29048 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29049 wxPoint
*arg2
= 0 ;
29055 PyObject
* obj0
= 0 ;
29056 PyObject
* obj1
= 0 ;
29057 PyObject
* obj2
= 0 ;
29058 char * kwnames
[] = {
29059 (char *) "self",(char *) "pt",(char *) "sz", NULL
29062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29064 if (!SWIG_IsOK(res1
)) {
29065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29067 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29070 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29074 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
29079 wxPyEndAllowThreads(__tstate
);
29080 if (PyErr_Occurred()) SWIG_fail
;
29082 resultobj
= SWIG_Py_Void();
29089 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29090 PyObject
*resultobj
= 0;
29091 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29109 PyObject
* obj0
= 0 ;
29110 PyObject
* obj1
= 0 ;
29111 PyObject
* obj2
= 0 ;
29112 PyObject
* obj3
= 0 ;
29113 PyObject
* obj4
= 0 ;
29114 PyObject
* obj5
= 0 ;
29115 char * kwnames
[] = {
29116 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
29119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29121 if (!SWIG_IsOK(res1
)) {
29122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29124 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29126 if (!SWIG_IsOK(ecode2
)) {
29127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
29129 arg2
= static_cast< int >(val2
);
29130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29131 if (!SWIG_IsOK(ecode3
)) {
29132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
29134 arg3
= static_cast< int >(val3
);
29135 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29136 if (!SWIG_IsOK(ecode4
)) {
29137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
29139 arg4
= static_cast< int >(val4
);
29140 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29141 if (!SWIG_IsOK(ecode5
)) {
29142 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
29144 arg5
= static_cast< int >(val5
);
29145 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29146 if (!SWIG_IsOK(ecode6
)) {
29147 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
29149 arg6
= static_cast< double >(val6
);
29151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29152 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29153 wxPyEndAllowThreads(__tstate
);
29154 if (PyErr_Occurred()) SWIG_fail
;
29156 resultobj
= SWIG_Py_Void();
29163 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29164 PyObject
*resultobj
= 0;
29165 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29173 PyObject
* obj0
= 0 ;
29174 PyObject
* obj1
= 0 ;
29175 PyObject
* obj2
= 0 ;
29176 char * kwnames
[] = {
29177 (char *) "self",(char *) "r",(char *) "radius", NULL
29180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29182 if (!SWIG_IsOK(res1
)) {
29183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29185 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29188 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29190 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29191 if (!SWIG_IsOK(ecode3
)) {
29192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
29194 arg3
= static_cast< double >(val3
);
29196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29197 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
29198 wxPyEndAllowThreads(__tstate
);
29199 if (PyErr_Occurred()) SWIG_fail
;
29201 resultobj
= SWIG_Py_Void();
29208 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29209 PyObject
*resultobj
= 0;
29210 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29211 wxPoint
*arg2
= 0 ;
29220 PyObject
* obj0
= 0 ;
29221 PyObject
* obj1
= 0 ;
29222 PyObject
* obj2
= 0 ;
29223 PyObject
* obj3
= 0 ;
29224 char * kwnames
[] = {
29225 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
29228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29230 if (!SWIG_IsOK(res1
)) {
29231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29233 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29240 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29242 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29243 if (!SWIG_IsOK(ecode4
)) {
29244 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
29246 arg4
= static_cast< double >(val4
);
29248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29249 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
29250 wxPyEndAllowThreads(__tstate
);
29251 if (PyErr_Occurred()) SWIG_fail
;
29253 resultobj
= SWIG_Py_Void();
29260 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29261 PyObject
*resultobj
= 0;
29262 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29274 PyObject
* obj0
= 0 ;
29275 PyObject
* obj1
= 0 ;
29276 PyObject
* obj2
= 0 ;
29277 PyObject
* obj3
= 0 ;
29278 char * kwnames
[] = {
29279 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
29282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29284 if (!SWIG_IsOK(res1
)) {
29285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29287 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29289 if (!SWIG_IsOK(ecode2
)) {
29290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
29292 arg2
= static_cast< int >(val2
);
29293 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29294 if (!SWIG_IsOK(ecode3
)) {
29295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
29297 arg3
= static_cast< int >(val3
);
29298 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29299 if (!SWIG_IsOK(ecode4
)) {
29300 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
29302 arg4
= static_cast< int >(val4
);
29304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29305 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
29306 wxPyEndAllowThreads(__tstate
);
29307 if (PyErr_Occurred()) SWIG_fail
;
29309 resultobj
= SWIG_Py_Void();
29316 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29317 PyObject
*resultobj
= 0;
29318 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29319 wxPoint
*arg2
= 0 ;
29326 PyObject
* obj0
= 0 ;
29327 PyObject
* obj1
= 0 ;
29328 PyObject
* obj2
= 0 ;
29329 char * kwnames
[] = {
29330 (char *) "self",(char *) "pt",(char *) "radius", NULL
29333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29335 if (!SWIG_IsOK(res1
)) {
29336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29338 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29341 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29344 if (!SWIG_IsOK(ecode3
)) {
29345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
29347 arg3
= static_cast< int >(val3
);
29349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29350 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
29351 wxPyEndAllowThreads(__tstate
);
29352 if (PyErr_Occurred()) SWIG_fail
;
29354 resultobj
= SWIG_Py_Void();
29361 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29362 PyObject
*resultobj
= 0;
29363 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29378 PyObject
* obj0
= 0 ;
29379 PyObject
* obj1
= 0 ;
29380 PyObject
* obj2
= 0 ;
29381 PyObject
* obj3
= 0 ;
29382 PyObject
* obj4
= 0 ;
29383 char * kwnames
[] = {
29384 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29389 if (!SWIG_IsOK(res1
)) {
29390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29392 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29394 if (!SWIG_IsOK(ecode2
)) {
29395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
29397 arg2
= static_cast< int >(val2
);
29398 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29399 if (!SWIG_IsOK(ecode3
)) {
29400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
29402 arg3
= static_cast< int >(val3
);
29403 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29404 if (!SWIG_IsOK(ecode4
)) {
29405 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
29407 arg4
= static_cast< int >(val4
);
29408 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29409 if (!SWIG_IsOK(ecode5
)) {
29410 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
29412 arg5
= static_cast< int >(val5
);
29414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29415 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29416 wxPyEndAllowThreads(__tstate
);
29417 if (PyErr_Occurred()) SWIG_fail
;
29419 resultobj
= SWIG_Py_Void();
29426 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29427 PyObject
*resultobj
= 0;
29428 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29433 PyObject
* obj0
= 0 ;
29434 PyObject
* obj1
= 0 ;
29435 char * kwnames
[] = {
29436 (char *) "self",(char *) "rect", NULL
29439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29441 if (!SWIG_IsOK(res1
)) {
29442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29444 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29447 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29455 resultobj
= SWIG_Py_Void();
29462 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29463 PyObject
*resultobj
= 0;
29464 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29465 wxPoint
*arg2
= 0 ;
29471 PyObject
* obj0
= 0 ;
29472 PyObject
* obj1
= 0 ;
29473 PyObject
* obj2
= 0 ;
29474 char * kwnames
[] = {
29475 (char *) "self",(char *) "pt",(char *) "sz", NULL
29478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29480 if (!SWIG_IsOK(res1
)) {
29481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29483 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29486 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29490 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29494 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
29495 wxPyEndAllowThreads(__tstate
);
29496 if (PyErr_Occurred()) SWIG_fail
;
29498 resultobj
= SWIG_Py_Void();
29505 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29506 PyObject
*resultobj
= 0;
29507 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29519 PyObject
* obj0
= 0 ;
29520 PyObject
* obj1
= 0 ;
29521 PyObject
* obj2
= 0 ;
29522 PyObject
* obj3
= 0 ;
29523 char * kwnames
[] = {
29524 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
29527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29529 if (!SWIG_IsOK(res1
)) {
29530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29532 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29533 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29534 if (!SWIG_IsOK(res2
)) {
29535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29538 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29540 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29542 if (!SWIG_IsOK(ecode3
)) {
29543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
29545 arg3
= static_cast< int >(val3
);
29546 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29547 if (!SWIG_IsOK(ecode4
)) {
29548 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
29550 arg4
= static_cast< int >(val4
);
29552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29553 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
29554 wxPyEndAllowThreads(__tstate
);
29555 if (PyErr_Occurred()) SWIG_fail
;
29557 resultobj
= SWIG_Py_Void();
29564 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29565 PyObject
*resultobj
= 0;
29566 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29568 wxPoint
*arg3
= 0 ;
29574 PyObject
* obj0
= 0 ;
29575 PyObject
* obj1
= 0 ;
29576 PyObject
* obj2
= 0 ;
29577 char * kwnames
[] = {
29578 (char *) "self",(char *) "icon",(char *) "pt", NULL
29581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29583 if (!SWIG_IsOK(res1
)) {
29584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29586 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29588 if (!SWIG_IsOK(res2
)) {
29589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
29592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
29594 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29597 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29601 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
29602 wxPyEndAllowThreads(__tstate
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29605 resultobj
= SWIG_Py_Void();
29612 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29613 PyObject
*resultobj
= 0;
29614 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29615 wxBitmap
*arg2
= 0 ;
29618 bool arg5
= (bool) false ;
29629 PyObject
* obj0
= 0 ;
29630 PyObject
* obj1
= 0 ;
29631 PyObject
* obj2
= 0 ;
29632 PyObject
* obj3
= 0 ;
29633 PyObject
* obj4
= 0 ;
29634 char * kwnames
[] = {
29635 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
29638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29640 if (!SWIG_IsOK(res1
)) {
29641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29643 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29645 if (!SWIG_IsOK(res2
)) {
29646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29651 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29653 if (!SWIG_IsOK(ecode3
)) {
29654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
29656 arg3
= static_cast< int >(val3
);
29657 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29658 if (!SWIG_IsOK(ecode4
)) {
29659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
29661 arg4
= static_cast< int >(val4
);
29663 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
29664 if (!SWIG_IsOK(ecode5
)) {
29665 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
29667 arg5
= static_cast< bool >(val5
);
29670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29671 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
29672 wxPyEndAllowThreads(__tstate
);
29673 if (PyErr_Occurred()) SWIG_fail
;
29675 resultobj
= SWIG_Py_Void();
29682 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29683 PyObject
*resultobj
= 0;
29684 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29685 wxBitmap
*arg2
= 0 ;
29686 wxPoint
*arg3
= 0 ;
29687 bool arg4
= (bool) false ;
29695 PyObject
* obj0
= 0 ;
29696 PyObject
* obj1
= 0 ;
29697 PyObject
* obj2
= 0 ;
29698 PyObject
* obj3
= 0 ;
29699 char * kwnames
[] = {
29700 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
29703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29705 if (!SWIG_IsOK(res1
)) {
29706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29708 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29709 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29710 if (!SWIG_IsOK(res2
)) {
29711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29716 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29719 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29722 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
29723 if (!SWIG_IsOK(ecode4
)) {
29724 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
29726 arg4
= static_cast< bool >(val4
);
29729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29730 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
29731 wxPyEndAllowThreads(__tstate
);
29732 if (PyErr_Occurred()) SWIG_fail
;
29734 resultobj
= SWIG_Py_Void();
29741 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29742 PyObject
*resultobj
= 0;
29743 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29744 wxString
*arg2
= 0 ;
29749 bool temp2
= false ;
29754 PyObject
* obj0
= 0 ;
29755 PyObject
* obj1
= 0 ;
29756 PyObject
* obj2
= 0 ;
29757 PyObject
* obj3
= 0 ;
29758 char * kwnames
[] = {
29759 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
29762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29764 if (!SWIG_IsOK(res1
)) {
29765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29767 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29769 arg2
= wxString_in_helper(obj1
);
29770 if (arg2
== NULL
) SWIG_fail
;
29773 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29774 if (!SWIG_IsOK(ecode3
)) {
29775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
29777 arg3
= static_cast< int >(val3
);
29778 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29779 if (!SWIG_IsOK(ecode4
)) {
29780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
29782 arg4
= static_cast< int >(val4
);
29784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29785 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
29786 wxPyEndAllowThreads(__tstate
);
29787 if (PyErr_Occurred()) SWIG_fail
;
29789 resultobj
= SWIG_Py_Void();
29804 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
= 0;
29806 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29807 wxString
*arg2
= 0 ;
29808 wxPoint
*arg3
= 0 ;
29811 bool temp2
= false ;
29813 PyObject
* obj0
= 0 ;
29814 PyObject
* obj1
= 0 ;
29815 PyObject
* obj2
= 0 ;
29816 char * kwnames
[] = {
29817 (char *) "self",(char *) "text",(char *) "pt", NULL
29820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29822 if (!SWIG_IsOK(res1
)) {
29823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29825 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29827 arg2
= wxString_in_helper(obj1
);
29828 if (arg2
== NULL
) SWIG_fail
;
29833 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29837 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
29838 wxPyEndAllowThreads(__tstate
);
29839 if (PyErr_Occurred()) SWIG_fail
;
29841 resultobj
= SWIG_Py_Void();
29856 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29857 PyObject
*resultobj
= 0;
29858 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29859 wxString
*arg2
= 0 ;
29865 bool temp2
= false ;
29872 PyObject
* obj0
= 0 ;
29873 PyObject
* obj1
= 0 ;
29874 PyObject
* obj2
= 0 ;
29875 PyObject
* obj3
= 0 ;
29876 PyObject
* obj4
= 0 ;
29877 char * kwnames
[] = {
29878 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
29881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29883 if (!SWIG_IsOK(res1
)) {
29884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29886 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29888 arg2
= wxString_in_helper(obj1
);
29889 if (arg2
== NULL
) SWIG_fail
;
29892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29893 if (!SWIG_IsOK(ecode3
)) {
29894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
29896 arg3
= static_cast< int >(val3
);
29897 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29898 if (!SWIG_IsOK(ecode4
)) {
29899 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
29901 arg4
= static_cast< int >(val4
);
29902 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29903 if (!SWIG_IsOK(ecode5
)) {
29904 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
29906 arg5
= static_cast< double >(val5
);
29908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29909 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29910 wxPyEndAllowThreads(__tstate
);
29911 if (PyErr_Occurred()) SWIG_fail
;
29913 resultobj
= SWIG_Py_Void();
29928 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29929 PyObject
*resultobj
= 0;
29930 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29931 wxString
*arg2
= 0 ;
29932 wxPoint
*arg3
= 0 ;
29936 bool temp2
= false ;
29940 PyObject
* obj0
= 0 ;
29941 PyObject
* obj1
= 0 ;
29942 PyObject
* obj2
= 0 ;
29943 PyObject
* obj3
= 0 ;
29944 char * kwnames
[] = {
29945 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
29948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29950 if (!SWIG_IsOK(res1
)) {
29951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29953 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29955 arg2
= wxString_in_helper(obj1
);
29956 if (arg2
== NULL
) SWIG_fail
;
29961 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29963 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29964 if (!SWIG_IsOK(ecode4
)) {
29965 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
29967 arg4
= static_cast< double >(val4
);
29969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29970 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
29971 wxPyEndAllowThreads(__tstate
);
29972 if (PyErr_Occurred()) SWIG_fail
;
29974 resultobj
= SWIG_Py_Void();
29989 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29990 PyObject
*resultobj
= 0;
29991 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29993 wxPoint
*arg3
= (wxPoint
*) 0 ;
29994 int arg4
= (int) 0 ;
29995 int arg5
= (int) 0 ;
30002 PyObject
* obj0
= 0 ;
30003 PyObject
* obj1
= 0 ;
30004 PyObject
* obj2
= 0 ;
30005 PyObject
* obj3
= 0 ;
30006 char * kwnames
[] = {
30007 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
30010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30012 if (!SWIG_IsOK(res1
)) {
30013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30015 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30017 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30018 if (arg3
== NULL
) SWIG_fail
;
30021 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30022 if (!SWIG_IsOK(ecode4
)) {
30023 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
30025 arg4
= static_cast< int >(val4
);
30028 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30029 if (!SWIG_IsOK(ecode5
)) {
30030 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
30032 arg5
= static_cast< int >(val5
);
30035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30036 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
30037 wxPyEndAllowThreads(__tstate
);
30038 if (PyErr_Occurred()) SWIG_fail
;
30040 resultobj
= SWIG_Py_Void();
30042 if (arg3
) delete [] arg3
;
30047 if (arg3
) delete [] arg3
;
30053 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30054 PyObject
*resultobj
= 0;
30055 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30057 wxPoint
*arg3
= (wxPoint
*) 0 ;
30058 int arg4
= (int) 0 ;
30059 int arg5
= (int) 0 ;
30060 int arg6
= (int) wxODDEVEN_RULE
;
30069 PyObject
* obj0
= 0 ;
30070 PyObject
* obj1
= 0 ;
30071 PyObject
* obj2
= 0 ;
30072 PyObject
* obj3
= 0 ;
30073 PyObject
* obj4
= 0 ;
30074 char * kwnames
[] = {
30075 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
30078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30080 if (!SWIG_IsOK(res1
)) {
30081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30083 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30085 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30086 if (arg3
== NULL
) SWIG_fail
;
30089 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30090 if (!SWIG_IsOK(ecode4
)) {
30091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
30093 arg4
= static_cast< int >(val4
);
30096 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30097 if (!SWIG_IsOK(ecode5
)) {
30098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
30100 arg5
= static_cast< int >(val5
);
30103 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
30104 if (!SWIG_IsOK(ecode6
)) {
30105 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
30107 arg6
= static_cast< int >(val6
);
30110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30111 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
30112 wxPyEndAllowThreads(__tstate
);
30113 if (PyErr_Occurred()) SWIG_fail
;
30115 resultobj
= SWIG_Py_Void();
30117 if (arg3
) delete [] arg3
;
30122 if (arg3
) delete [] arg3
;
30128 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30129 PyObject
*resultobj
= 0;
30130 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30131 wxString
*arg2
= 0 ;
30133 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30134 int arg5
= (int) -1 ;
30137 bool temp2
= false ;
30143 PyObject
* obj0
= 0 ;
30144 PyObject
* obj1
= 0 ;
30145 PyObject
* obj2
= 0 ;
30146 PyObject
* obj3
= 0 ;
30147 PyObject
* obj4
= 0 ;
30148 char * kwnames
[] = {
30149 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30154 if (!SWIG_IsOK(res1
)) {
30155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30157 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30159 arg2
= wxString_in_helper(obj1
);
30160 if (arg2
== NULL
) SWIG_fail
;
30165 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
30168 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30169 if (!SWIG_IsOK(ecode4
)) {
30170 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
30172 arg4
= static_cast< int >(val4
);
30175 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30176 if (!SWIG_IsOK(ecode5
)) {
30177 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
30179 arg5
= static_cast< int >(val5
);
30182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30183 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
30184 wxPyEndAllowThreads(__tstate
);
30185 if (PyErr_Occurred()) SWIG_fail
;
30187 resultobj
= SWIG_Py_Void();
30202 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30203 PyObject
*resultobj
= 0;
30204 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30205 wxString
*arg2
= 0 ;
30206 wxBitmap
*arg3
= 0 ;
30208 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30209 int arg6
= (int) -1 ;
30212 bool temp2
= false ;
30220 PyObject
* obj0
= 0 ;
30221 PyObject
* obj1
= 0 ;
30222 PyObject
* obj2
= 0 ;
30223 PyObject
* obj3
= 0 ;
30224 PyObject
* obj4
= 0 ;
30225 PyObject
* obj5
= 0 ;
30226 char * kwnames
[] = {
30227 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30232 if (!SWIG_IsOK(res1
)) {
30233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30235 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30237 arg2
= wxString_in_helper(obj1
);
30238 if (arg2
== NULL
) SWIG_fail
;
30241 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30242 if (!SWIG_IsOK(res3
)) {
30243 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30248 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30251 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30254 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30255 if (!SWIG_IsOK(ecode5
)) {
30256 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
30258 arg5
= static_cast< int >(val5
);
30261 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30262 if (!SWIG_IsOK(ecode6
)) {
30263 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
30265 arg6
= static_cast< int >(val6
);
30268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30269 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
30270 wxPyEndAllowThreads(__tstate
);
30271 if (PyErr_Occurred()) SWIG_fail
;
30273 resultobj
= SWIG_Py_Void();
30288 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30289 PyObject
*resultobj
= 0;
30290 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30292 wxPoint
*arg3
= (wxPoint
*) 0 ;
30295 PyObject
* obj0
= 0 ;
30296 PyObject
* obj1
= 0 ;
30297 char * kwnames
[] = {
30298 (char *) "self",(char *) "points", NULL
30301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30303 if (!SWIG_IsOK(res1
)) {
30304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30306 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30308 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30309 if (arg3
== NULL
) SWIG_fail
;
30312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30313 (arg1
)->DrawSpline(arg2
,arg3
);
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30317 resultobj
= SWIG_Py_Void();
30319 if (arg3
) delete [] arg3
;
30324 if (arg3
) delete [] arg3
;
30330 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30331 PyObject
*resultobj
= 0;
30332 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30335 PyObject
*swig_obj
[1] ;
30337 if (!args
) SWIG_fail
;
30338 swig_obj
[0] = args
;
30339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30340 if (!SWIG_IsOK(res1
)) {
30341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30343 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30347 wxPyEndAllowThreads(__tstate
);
30348 if (PyErr_Occurred()) SWIG_fail
;
30350 resultobj
= SWIG_Py_Void();
30357 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30358 PyObject
*resultobj
= 0;
30359 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30365 PyObject
* obj0
= 0 ;
30366 PyObject
* obj1
= 0 ;
30367 char * kwnames
[] = {
30368 (char *) "self",(char *) "font", NULL
30371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30373 if (!SWIG_IsOK(res1
)) {
30374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30376 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30377 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30378 if (!SWIG_IsOK(res2
)) {
30379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30384 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30387 (arg1
)->SetFont((wxFont
const &)*arg2
);
30388 wxPyEndAllowThreads(__tstate
);
30389 if (PyErr_Occurred()) SWIG_fail
;
30391 resultobj
= SWIG_Py_Void();
30398 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30399 PyObject
*resultobj
= 0;
30400 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30406 PyObject
* obj0
= 0 ;
30407 PyObject
* obj1
= 0 ;
30408 char * kwnames
[] = {
30409 (char *) "self",(char *) "pen", NULL
30412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30414 if (!SWIG_IsOK(res1
)) {
30415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30417 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30418 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30419 if (!SWIG_IsOK(res2
)) {
30420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
30423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
30425 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30428 (arg1
)->SetPen((wxPen
const &)*arg2
);
30429 wxPyEndAllowThreads(__tstate
);
30430 if (PyErr_Occurred()) SWIG_fail
;
30432 resultobj
= SWIG_Py_Void();
30439 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30440 PyObject
*resultobj
= 0;
30441 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30442 wxBrush
*arg2
= 0 ;
30447 PyObject
* obj0
= 0 ;
30448 PyObject
* obj1
= 0 ;
30449 char * kwnames
[] = {
30450 (char *) "self",(char *) "brush", NULL
30453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30455 if (!SWIG_IsOK(res1
)) {
30456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30458 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30459 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30460 if (!SWIG_IsOK(res2
)) {
30461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30466 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30469 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
30470 wxPyEndAllowThreads(__tstate
);
30471 if (PyErr_Occurred()) SWIG_fail
;
30473 resultobj
= SWIG_Py_Void();
30480 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30481 PyObject
*resultobj
= 0;
30482 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30483 wxBrush
*arg2
= 0 ;
30488 PyObject
* obj0
= 0 ;
30489 PyObject
* obj1
= 0 ;
30490 char * kwnames
[] = {
30491 (char *) "self",(char *) "brush", NULL
30494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30496 if (!SWIG_IsOK(res1
)) {
30497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30499 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30500 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30501 if (!SWIG_IsOK(res2
)) {
30502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
30505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
30507 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30510 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
30511 wxPyEndAllowThreads(__tstate
);
30512 if (PyErr_Occurred()) SWIG_fail
;
30514 resultobj
= SWIG_Py_Void();
30521 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30522 PyObject
*resultobj
= 0;
30523 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30529 PyObject
* obj0
= 0 ;
30530 PyObject
* obj1
= 0 ;
30531 char * kwnames
[] = {
30532 (char *) "self",(char *) "mode", NULL
30535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30537 if (!SWIG_IsOK(res1
)) {
30538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30540 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30542 if (!SWIG_IsOK(ecode2
)) {
30543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
30545 arg2
= static_cast< int >(val2
);
30547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30548 (arg1
)->SetBackgroundMode(arg2
);
30549 wxPyEndAllowThreads(__tstate
);
30550 if (PyErr_Occurred()) SWIG_fail
;
30552 resultobj
= SWIG_Py_Void();
30559 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30560 PyObject
*resultobj
= 0;
30561 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30562 wxPalette
*arg2
= 0 ;
30567 PyObject
* obj0
= 0 ;
30568 PyObject
* obj1
= 0 ;
30569 char * kwnames
[] = {
30570 (char *) "self",(char *) "palette", NULL
30573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30575 if (!SWIG_IsOK(res1
)) {
30576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30578 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30579 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
30580 if (!SWIG_IsOK(res2
)) {
30581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
30584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
30586 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
30588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30589 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
30590 wxPyEndAllowThreads(__tstate
);
30591 if (PyErr_Occurred()) SWIG_fail
;
30593 resultobj
= SWIG_Py_Void();
30600 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30601 PyObject
*resultobj
= 0;
30602 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30603 wxColour
*arg2
= 0 ;
30607 PyObject
* obj0
= 0 ;
30608 PyObject
* obj1
= 0 ;
30609 char * kwnames
[] = {
30610 (char *) "self",(char *) "colour", NULL
30613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30615 if (!SWIG_IsOK(res1
)) {
30616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30618 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30621 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30625 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
30626 wxPyEndAllowThreads(__tstate
);
30627 if (PyErr_Occurred()) SWIG_fail
;
30629 resultobj
= SWIG_Py_Void();
30636 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30637 PyObject
*resultobj
= 0;
30638 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30639 wxColour
*arg2
= 0 ;
30643 PyObject
* obj0
= 0 ;
30644 PyObject
* obj1
= 0 ;
30645 char * kwnames
[] = {
30646 (char *) "self",(char *) "colour", NULL
30649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30651 if (!SWIG_IsOK(res1
)) {
30652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30654 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30657 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30661 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
30662 wxPyEndAllowThreads(__tstate
);
30663 if (PyErr_Occurred()) SWIG_fail
;
30665 resultobj
= SWIG_Py_Void();
30672 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30673 PyObject
*resultobj
= 0;
30674 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30680 PyObject
* obj0
= 0 ;
30681 PyObject
* obj1
= 0 ;
30682 char * kwnames
[] = {
30683 (char *) "self",(char *) "function", NULL
30686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30688 if (!SWIG_IsOK(res1
)) {
30689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30691 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30693 if (!SWIG_IsOK(ecode2
)) {
30694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
30696 arg2
= static_cast< int >(val2
);
30698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30699 (arg1
)->SetLogicalFunction(arg2
);
30700 wxPyEndAllowThreads(__tstate
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30703 resultobj
= SWIG_Py_Void();
30710 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30713 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
30714 return SWIG_Py_Void();
30717 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30718 return SWIG_Python_InitShadowInstance(args
);
30721 static PyMethodDef SwigMethods
[] = {
30722 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
30723 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
30724 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
30725 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
30726 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
30727 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30728 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30729 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30730 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
30731 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
30732 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
30733 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
30734 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
30735 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
30736 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30737 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30738 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30739 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30740 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
30741 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30742 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30743 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30744 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
30745 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
30746 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
30747 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
30749 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30750 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30751 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
30752 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
30753 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
30754 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
30755 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30756 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
30757 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
30758 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
30759 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
30760 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
30761 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
30762 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
30763 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30764 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30765 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30766 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30767 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30768 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30769 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
30770 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30771 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30772 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30773 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
30774 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
30775 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30776 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
30778 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30779 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30780 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30781 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
30782 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
30783 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
30784 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
30785 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
30786 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
30787 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30788 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
30789 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
30790 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30791 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
30792 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30793 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30794 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30795 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30796 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30797 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
30798 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
30799 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
30800 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
30801 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
30802 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
30803 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
30804 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30805 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30806 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30807 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30808 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30809 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
30810 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30811 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30812 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30813 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30814 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30815 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30816 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30817 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
30818 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
30819 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30820 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30822 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
30823 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
30824 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
30825 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
30826 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
30827 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
30828 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
30829 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
30830 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
30831 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
30832 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
30833 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
30834 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
30835 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
30836 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
30837 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30838 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
30839 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
30840 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30841 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30842 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30843 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30844 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
30846 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
30847 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
30848 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
30849 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
30850 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
30851 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
30852 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
30853 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
30854 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
30855 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
30856 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
30857 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30858 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
30859 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
30860 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30861 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30862 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30863 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30864 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30865 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
30866 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
30867 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
30868 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
30870 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
30871 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
30872 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30873 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
30874 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
30875 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30876 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30878 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
30879 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
30880 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
30881 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
30882 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30883 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30884 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30886 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
30887 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
30888 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30889 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
30890 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
30891 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30892 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
30893 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30894 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
30895 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
30896 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
30897 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
30898 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30899 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
30901 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30903 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30904 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
30905 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
30906 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30907 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
30908 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30909 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
30911 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
30912 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
30913 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30914 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30916 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30917 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
30918 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
30919 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30920 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30921 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30923 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
30925 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30926 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30927 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
30929 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30930 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30931 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30932 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30933 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30934 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30935 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30936 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30937 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30938 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
30939 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
30942 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
30943 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
30945 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
30946 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
30947 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
30948 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
30949 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
30950 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
30951 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
30952 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
30953 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
30954 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
30955 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
30956 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
30957 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
30958 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
30959 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
30960 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
30961 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30962 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
30963 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
30964 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
30965 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
30966 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
30967 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
30968 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
30969 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30971 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30972 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30973 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30974 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30975 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30976 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30977 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
30978 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
30979 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
30981 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
30982 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
30983 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
30984 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
30985 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
30986 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
30987 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
30988 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
30989 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30990 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
30991 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
30992 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
30993 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30994 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
30996 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
30997 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
30998 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30999 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31000 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
31001 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31002 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31003 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31004 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31005 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31006 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
31007 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31009 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
31012 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
31013 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
31015 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
31021 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
31024 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
31025 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
31026 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
31027 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
31028 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
31029 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
31030 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
31031 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
31032 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
31033 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
31034 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
31035 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
31036 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31038 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31039 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31041 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31042 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31044 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31045 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31047 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
31048 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
31049 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
31050 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
31052 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
31053 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
31055 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
31056 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
31057 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
31058 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31059 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31060 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31061 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
31062 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
31063 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31064 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
31065 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
31066 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
31067 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
31068 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
31069 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
31070 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
31071 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
31072 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
31073 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31074 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
31075 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31076 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31077 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
31078 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
31079 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
31080 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
31081 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
31082 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
31083 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
31084 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
31085 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31090 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31091 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31092 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
31094 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
31095 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
31096 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
31098 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31099 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31100 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31101 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
31102 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
31103 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
31104 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
31105 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
31106 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
31107 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31112 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
31113 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
31114 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
31115 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31116 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31126 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31132 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31133 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31136 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31137 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31143 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31146 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31160 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
31164 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
31166 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
31167 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
31168 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31172 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31173 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
31175 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
31176 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
31177 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
31178 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
31179 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31183 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
31184 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
31185 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
31186 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
31187 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31193 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
31196 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
31197 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
31198 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
31199 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
31200 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
31201 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
31202 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
31203 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
31204 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
31205 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
31206 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
31207 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31209 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
31210 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31211 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
31212 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31213 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
31214 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31215 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
31216 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
31217 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
31220 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
31221 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
31225 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
31227 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
31230 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
31231 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
31232 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
31233 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
31234 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
31235 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31238 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31241 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
31242 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
31243 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
31246 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
31247 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
31248 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
31249 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
31250 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
31251 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
31252 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
31254 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
31255 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
31256 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
31259 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
31260 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
31261 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
31263 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
31264 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
31266 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
31267 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
31269 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
31270 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31271 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
31272 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
31273 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
31275 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31276 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
31278 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
31279 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
31280 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31281 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
31282 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
31283 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31284 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
31285 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
31286 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
31287 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
31288 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
31289 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31290 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
31291 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
31292 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
31293 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
31295 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
31296 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
31298 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
31306 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31307 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
31308 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31309 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
31310 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
31311 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
31312 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
31313 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
31314 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
31315 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31316 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
31321 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
31322 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
31323 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
31324 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
31325 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
31326 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31329 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
31330 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
31334 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31336 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
31338 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
31339 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
31340 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31342 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
31345 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
31346 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
31347 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
31348 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
31349 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
31350 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
31351 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
31352 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
31353 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
31354 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
31355 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
31356 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
31365 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
31366 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
31368 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
31369 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
31370 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
31371 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
31372 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
31373 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
31375 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
31377 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
31378 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
31379 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
31380 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
31391 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
31392 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
31393 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
31395 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
31396 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
31397 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
31398 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
31399 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
31400 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
31401 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
31402 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
31451 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
31461 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
31462 { NULL
, NULL
, 0, NULL
}
31466 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31468 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
31469 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
31471 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
31472 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31474 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
31475 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
31477 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
31478 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
31480 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
31481 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
31483 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
31484 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
31486 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
31487 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
31489 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
31490 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
31492 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
31493 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
31495 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
31496 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
31498 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
31499 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
31501 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
31502 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
31504 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
31505 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
31507 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
31508 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
31510 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
31511 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
31513 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
31514 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
31516 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
31517 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
31519 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
31520 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31522 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
31523 return (void *)((wxDC
*) ((wxClientDC
*) x
));
31525 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
31526 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
31528 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
31529 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
31531 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
31532 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
31534 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
31535 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
31537 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
31538 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
31540 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
31541 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
31543 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
31544 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31546 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31547 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31549 static void *_p_wxPenTo_p_wxObject(void *x
) {
31550 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
31552 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
31553 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
31555 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31556 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31558 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31559 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31561 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31562 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31564 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31565 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31567 static void *_p_wxIconTo_p_wxObject(void *x
) {
31568 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
31570 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31571 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31573 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31574 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31576 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31577 return (void *)((wxObject
*) ((wxSizer
*) x
));
31579 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31580 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31582 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31583 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31585 static void *_p_wxEventTo_p_wxObject(void *x
) {
31586 return (void *)((wxObject
*) ((wxEvent
*) x
));
31588 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31589 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31591 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31592 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31594 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31595 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31597 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
31598 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
31600 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31601 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31603 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31604 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31606 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31607 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31609 static void *_p_wxDCTo_p_wxObject(void *x
) {
31610 return (void *)((wxObject
*) ((wxDC
*) x
));
31612 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31613 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31615 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31616 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31618 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31619 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31621 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31622 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31624 static void *_p_wxControlTo_p_wxObject(void *x
) {
31625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31627 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31628 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31630 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
31631 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
31633 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31634 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31636 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
31637 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
31639 static void *_p_wxRegionTo_p_wxObject(void *x
) {
31640 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
31642 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31643 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31645 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
31646 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
31648 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
31649 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
31651 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
31652 return (void *)((wxObject
*) ((wxEffects
*) x
));
31654 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31655 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31657 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31660 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
31661 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
31663 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31664 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31666 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31667 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31669 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31670 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31672 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31673 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31675 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31676 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31678 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31679 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31681 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31682 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31684 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31685 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31687 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31688 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31690 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31691 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31693 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31694 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31696 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31697 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31699 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31700 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31702 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31703 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31705 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31706 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31708 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31709 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31711 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31712 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31714 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31715 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31717 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31718 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31720 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31721 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31723 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31724 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31726 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31727 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31729 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31730 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31732 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31733 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31735 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31736 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31738 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
31739 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
31741 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
31742 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
31744 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
31745 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
31747 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
31748 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
31750 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
31751 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
31753 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31754 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31756 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31757 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31759 static void *_p_wxImageTo_p_wxObject(void *x
) {
31760 return (void *)((wxObject
*) ((wxImage
*) x
));
31762 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31763 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31765 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
31766 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
31768 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
31769 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
31771 static void *_p_wxImageListTo_p_wxObject(void *x
) {
31772 return (void *)((wxObject
*) ((wxImageList
*) x
));
31774 static void *_p_wxCursorTo_p_wxObject(void *x
) {
31775 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
31777 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
31778 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
31780 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
31781 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
31783 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31784 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31786 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31787 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31789 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31790 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31792 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31793 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31795 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31796 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31798 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31801 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
31802 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
31804 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31805 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31807 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
31808 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
31810 static void *_p_wxMaskTo_p_wxObject(void *x
) {
31811 return (void *)((wxObject
*) ((wxMask
*) x
));
31813 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31814 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31816 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31817 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31819 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31820 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31822 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31823 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31825 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31826 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31828 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31829 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31831 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31832 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31834 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31835 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31837 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31838 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31840 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31841 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31843 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31844 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31846 static void *_p_wxFontTo_p_wxObject(void *x
) {
31847 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
31849 static void *_p_wxBrushTo_p_wxObject(void *x
) {
31850 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
31852 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
31853 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
31855 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31858 static void *_p_wxColourTo_p_wxObject(void *x
) {
31859 return (void *)((wxObject
*) ((wxColour
*) x
));
31861 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31864 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31865 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31867 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31868 return (void *)((wxWindow
*) ((wxControl
*) x
));
31870 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31871 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31873 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31874 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31876 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
31877 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
31879 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
31880 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
31882 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
31883 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
31884 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
31885 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};
31886 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
31887 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
31888 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
31889 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
31890 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
31891 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
31892 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
31893 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
31894 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
31895 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
31896 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
31897 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
31898 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
31899 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
31900 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
31901 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
31902 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
31903 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
31904 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
31905 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
31906 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
31907 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
31908 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
31909 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
31910 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
31911 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
31912 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
31913 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
31914 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
31915 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
31916 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
31917 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
31918 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
31919 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
31920 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
31921 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
31922 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
31923 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
31924 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
31925 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
31926 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
31927 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
31928 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
31929 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
31930 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
31931 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
31932 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
31933 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
31934 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
31935 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
31936 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
31937 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
31938 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
31939 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
31940 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
31941 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
31942 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
31943 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
31944 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
31945 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
31946 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
31947 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
31948 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
31949 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
31950 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
31951 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
31952 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
31953 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
31954 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
31955 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
31956 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
31957 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
31958 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
31959 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
31960 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
31961 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
31962 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
31963 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
31964 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
31965 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
31966 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
31967 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
31968 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
31969 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
31970 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
31971 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
31972 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
31973 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
31974 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
31975 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
31976 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
31977 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
31978 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
31979 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
31980 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
31981 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
31982 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
31983 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
31984 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
31985 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
31986 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
31987 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
31988 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
31989 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
31990 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
31991 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
31992 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
31993 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
31994 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
31995 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
31996 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
31997 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
31998 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
31999 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32000 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32001 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32002 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32003 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32004 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32005 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
32006 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
32007 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32008 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
32009 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
32010 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
32011 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32012 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
32013 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32014 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
32015 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
32016 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
32017 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
32018 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32019 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32020 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
32021 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
32022 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
32023 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
32024 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32025 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
32026 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
32027 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32028 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32029 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
32031 static swig_type_info
*swig_type_initial
[] = {
32035 &_swigt__p_form_ops_t
,
32037 &_swigt__p_unsigned_char
,
32038 &_swigt__p_unsigned_int
,
32039 &_swigt__p_unsigned_long
,
32040 &_swigt__p_wxANIHandler
,
32041 &_swigt__p_wxAcceleratorTable
,
32042 &_swigt__p_wxActivateEvent
,
32043 &_swigt__p_wxAlphaPixelData
,
32044 &_swigt__p_wxAlphaPixelData_Accessor
,
32045 &_swigt__p_wxBMPHandler
,
32046 &_swigt__p_wxBitmap
,
32047 &_swigt__p_wxBoxSizer
,
32048 &_swigt__p_wxBrush
,
32049 &_swigt__p_wxBrushList
,
32050 &_swigt__p_wxBufferedDC
,
32051 &_swigt__p_wxBufferedPaintDC
,
32052 &_swigt__p_wxCURHandler
,
32054 &_swigt__p_wxChildFocusEvent
,
32055 &_swigt__p_wxClientDC
,
32056 &_swigt__p_wxClipboardTextEvent
,
32057 &_swigt__p_wxCloseEvent
,
32058 &_swigt__p_wxColour
,
32059 &_swigt__p_wxColourDatabase
,
32060 &_swigt__p_wxCommandEvent
,
32061 &_swigt__p_wxContextMenuEvent
,
32062 &_swigt__p_wxControl
,
32063 &_swigt__p_wxControlWithItems
,
32064 &_swigt__p_wxCursor
,
32067 &_swigt__p_wxDateEvent
,
32068 &_swigt__p_wxDisplayChangedEvent
,
32069 &_swigt__p_wxDropFilesEvent
,
32070 &_swigt__p_wxDuplexMode
,
32071 &_swigt__p_wxEffects
,
32072 &_swigt__p_wxEncodingConverter
,
32073 &_swigt__p_wxEraseEvent
,
32074 &_swigt__p_wxEvent
,
32075 &_swigt__p_wxEvtHandler
,
32076 &_swigt__p_wxFSFile
,
32077 &_swigt__p_wxFileSystem
,
32078 &_swigt__p_wxFlexGridSizer
,
32079 &_swigt__p_wxFocusEvent
,
32081 &_swigt__p_wxFontList
,
32082 &_swigt__p_wxFontMapper
,
32083 &_swigt__p_wxGBSizerItem
,
32084 &_swigt__p_wxGDIObjListBase
,
32085 &_swigt__p_wxGDIObject
,
32086 &_swigt__p_wxGIFHandler
,
32087 &_swigt__p_wxGridBagSizer
,
32088 &_swigt__p_wxGridSizer
,
32089 &_swigt__p_wxICOHandler
,
32091 &_swigt__p_wxIconBundle
,
32092 &_swigt__p_wxIconLocation
,
32093 &_swigt__p_wxIconizeEvent
,
32094 &_swigt__p_wxIdleEvent
,
32095 &_swigt__p_wxImage
,
32096 &_swigt__p_wxImageHandler
,
32097 &_swigt__p_wxImageList
,
32098 &_swigt__p_wxIndividualLayoutConstraint
,
32099 &_swigt__p_wxInitDialogEvent
,
32100 &_swigt__p_wxJPEGHandler
,
32101 &_swigt__p_wxKeyEvent
,
32102 &_swigt__p_wxLanguageInfo
,
32103 &_swigt__p_wxLayoutConstraints
,
32104 &_swigt__p_wxLocale
,
32106 &_swigt__p_wxMaximizeEvent
,
32107 &_swigt__p_wxMemoryDC
,
32109 &_swigt__p_wxMenuBar
,
32110 &_swigt__p_wxMenuEvent
,
32111 &_swigt__p_wxMenuItem
,
32112 &_swigt__p_wxMetaFile
,
32113 &_swigt__p_wxMetaFileDC
,
32114 &_swigt__p_wxMirrorDC
,
32115 &_swigt__p_wxMouseCaptureChangedEvent
,
32116 &_swigt__p_wxMouseCaptureLostEvent
,
32117 &_swigt__p_wxMouseEvent
,
32118 &_swigt__p_wxMoveEvent
,
32119 &_swigt__p_wxNativeEncodingInfo
,
32120 &_swigt__p_wxNativeFontInfo
,
32121 &_swigt__p_wxNativePixelData
,
32122 &_swigt__p_wxNativePixelData_Accessor
,
32123 &_swigt__p_wxNavigationKeyEvent
,
32124 &_swigt__p_wxNcPaintEvent
,
32125 &_swigt__p_wxNotifyEvent
,
32126 &_swigt__p_wxObject
,
32127 &_swigt__p_wxPCXHandler
,
32128 &_swigt__p_wxPNGHandler
,
32129 &_swigt__p_wxPNMHandler
,
32130 &_swigt__p_wxPaintDC
,
32131 &_swigt__p_wxPaintEvent
,
32132 &_swigt__p_wxPalette
,
32133 &_swigt__p_wxPaletteChangedEvent
,
32134 &_swigt__p_wxPaperSize
,
32136 &_swigt__p_wxPenList
,
32137 &_swigt__p_wxPixelDataBase
,
32138 &_swigt__p_wxPoint
,
32139 &_swigt__p_wxPostScriptDC
,
32140 &_swigt__p_wxPrintData
,
32141 &_swigt__p_wxPrinterDC
,
32142 &_swigt__p_wxPseudoDC
,
32143 &_swigt__p_wxPyApp
,
32144 &_swigt__p_wxPyCommandEvent
,
32145 &_swigt__p_wxPyEvent
,
32146 &_swigt__p_wxPyFontEnumerator
,
32147 &_swigt__p_wxPyImageHandler
,
32148 &_swigt__p_wxPyLocale
,
32149 &_swigt__p_wxPySizer
,
32150 &_swigt__p_wxPyValidator
,
32151 &_swigt__p_wxQueryNewPaletteEvent
,
32153 &_swigt__p_wxRegion
,
32154 &_swigt__p_wxRegionIterator
,
32155 &_swigt__p_wxRendererNative
,
32156 &_swigt__p_wxRendererVersion
,
32157 &_swigt__p_wxScreenDC
,
32158 &_swigt__p_wxScrollEvent
,
32159 &_swigt__p_wxScrollWinEvent
,
32160 &_swigt__p_wxSetCursorEvent
,
32161 &_swigt__p_wxShowEvent
,
32163 &_swigt__p_wxSizeEvent
,
32164 &_swigt__p_wxSizer
,
32165 &_swigt__p_wxSizerItem
,
32166 &_swigt__p_wxSplitterRenderParams
,
32167 &_swigt__p_wxStaticBoxSizer
,
32168 &_swigt__p_wxStdDialogButtonSizer
,
32169 &_swigt__p_wxStockGDI
,
32170 &_swigt__p_wxString
,
32171 &_swigt__p_wxSysColourChangedEvent
,
32172 &_swigt__p_wxTIFFHandler
,
32173 &_swigt__p_wxUpdateUIEvent
,
32174 &_swigt__p_wxValidator
,
32175 &_swigt__p_wxWindow
,
32176 &_swigt__p_wxWindowCreateEvent
,
32177 &_swigt__p_wxWindowDC
,
32178 &_swigt__p_wxWindowDestroyEvent
,
32179 &_swigt__p_wxXPMHandler
,
32182 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
32183 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32184 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
32185 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32186 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32187 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32188 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32189 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32190 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
32191 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32192 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32193 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
32194 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
32195 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}};
32196 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
32197 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
32198 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
32199 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32200 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
32201 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
32202 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}};
32203 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
32204 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32205 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
32206 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
32207 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32208 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
32209 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
32210 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}};
32211 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}};
32212 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32213 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32214 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
32215 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32216 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
32217 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
32218 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}};
32219 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
32220 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}};
32221 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
32222 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
32223 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
32224 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
32225 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
32226 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
32227 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32228 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32229 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32230 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32231 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32232 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32233 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32234 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32235 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32236 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32237 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32238 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32239 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
32240 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32241 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32242 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32243 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32244 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32245 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32246 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32247 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32248 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32249 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32250 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32251 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32252 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32253 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32254 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32255 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32256 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32257 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32258 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32259 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32260 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32261 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32262 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32263 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32264 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32265 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32266 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32267 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32268 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32269 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32270 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32271 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32272 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32273 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32274 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32275 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
32276 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32277 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32278 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32279 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32280 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32281 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
32282 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32283 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32284 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32285 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32286 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32287 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32288 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32289 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32290 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32291 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32292 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32293 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32294 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32295 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32296 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32297 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32298 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32299 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32300 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32301 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32302 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32303 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32304 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}};
32305 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
32306 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
32307 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32308 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
32309 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
32310 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}};
32311 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32312 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
32313 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32314 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
32315 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
32316 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
32317 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
32318 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32319 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32320 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
32321 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
32322 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
32323 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
32324 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32325 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
32326 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
32327 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32328 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}};
32329 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
32331 static swig_cast_info
*swig_cast_initial
[] = {
32335 _swigc__p_form_ops_t
,
32337 _swigc__p_unsigned_char
,
32338 _swigc__p_unsigned_int
,
32339 _swigc__p_unsigned_long
,
32340 _swigc__p_wxANIHandler
,
32341 _swigc__p_wxAcceleratorTable
,
32342 _swigc__p_wxActivateEvent
,
32343 _swigc__p_wxAlphaPixelData
,
32344 _swigc__p_wxAlphaPixelData_Accessor
,
32345 _swigc__p_wxBMPHandler
,
32346 _swigc__p_wxBitmap
,
32347 _swigc__p_wxBoxSizer
,
32349 _swigc__p_wxBrushList
,
32350 _swigc__p_wxBufferedDC
,
32351 _swigc__p_wxBufferedPaintDC
,
32352 _swigc__p_wxCURHandler
,
32354 _swigc__p_wxChildFocusEvent
,
32355 _swigc__p_wxClientDC
,
32356 _swigc__p_wxClipboardTextEvent
,
32357 _swigc__p_wxCloseEvent
,
32358 _swigc__p_wxColour
,
32359 _swigc__p_wxColourDatabase
,
32360 _swigc__p_wxCommandEvent
,
32361 _swigc__p_wxContextMenuEvent
,
32362 _swigc__p_wxControl
,
32363 _swigc__p_wxControlWithItems
,
32364 _swigc__p_wxCursor
,
32367 _swigc__p_wxDateEvent
,
32368 _swigc__p_wxDisplayChangedEvent
,
32369 _swigc__p_wxDropFilesEvent
,
32370 _swigc__p_wxDuplexMode
,
32371 _swigc__p_wxEffects
,
32372 _swigc__p_wxEncodingConverter
,
32373 _swigc__p_wxEraseEvent
,
32375 _swigc__p_wxEvtHandler
,
32376 _swigc__p_wxFSFile
,
32377 _swigc__p_wxFileSystem
,
32378 _swigc__p_wxFlexGridSizer
,
32379 _swigc__p_wxFocusEvent
,
32381 _swigc__p_wxFontList
,
32382 _swigc__p_wxFontMapper
,
32383 _swigc__p_wxGBSizerItem
,
32384 _swigc__p_wxGDIObjListBase
,
32385 _swigc__p_wxGDIObject
,
32386 _swigc__p_wxGIFHandler
,
32387 _swigc__p_wxGridBagSizer
,
32388 _swigc__p_wxGridSizer
,
32389 _swigc__p_wxICOHandler
,
32391 _swigc__p_wxIconBundle
,
32392 _swigc__p_wxIconLocation
,
32393 _swigc__p_wxIconizeEvent
,
32394 _swigc__p_wxIdleEvent
,
32396 _swigc__p_wxImageHandler
,
32397 _swigc__p_wxImageList
,
32398 _swigc__p_wxIndividualLayoutConstraint
,
32399 _swigc__p_wxInitDialogEvent
,
32400 _swigc__p_wxJPEGHandler
,
32401 _swigc__p_wxKeyEvent
,
32402 _swigc__p_wxLanguageInfo
,
32403 _swigc__p_wxLayoutConstraints
,
32404 _swigc__p_wxLocale
,
32406 _swigc__p_wxMaximizeEvent
,
32407 _swigc__p_wxMemoryDC
,
32409 _swigc__p_wxMenuBar
,
32410 _swigc__p_wxMenuEvent
,
32411 _swigc__p_wxMenuItem
,
32412 _swigc__p_wxMetaFile
,
32413 _swigc__p_wxMetaFileDC
,
32414 _swigc__p_wxMirrorDC
,
32415 _swigc__p_wxMouseCaptureChangedEvent
,
32416 _swigc__p_wxMouseCaptureLostEvent
,
32417 _swigc__p_wxMouseEvent
,
32418 _swigc__p_wxMoveEvent
,
32419 _swigc__p_wxNativeEncodingInfo
,
32420 _swigc__p_wxNativeFontInfo
,
32421 _swigc__p_wxNativePixelData
,
32422 _swigc__p_wxNativePixelData_Accessor
,
32423 _swigc__p_wxNavigationKeyEvent
,
32424 _swigc__p_wxNcPaintEvent
,
32425 _swigc__p_wxNotifyEvent
,
32426 _swigc__p_wxObject
,
32427 _swigc__p_wxPCXHandler
,
32428 _swigc__p_wxPNGHandler
,
32429 _swigc__p_wxPNMHandler
,
32430 _swigc__p_wxPaintDC
,
32431 _swigc__p_wxPaintEvent
,
32432 _swigc__p_wxPalette
,
32433 _swigc__p_wxPaletteChangedEvent
,
32434 _swigc__p_wxPaperSize
,
32436 _swigc__p_wxPenList
,
32437 _swigc__p_wxPixelDataBase
,
32439 _swigc__p_wxPostScriptDC
,
32440 _swigc__p_wxPrintData
,
32441 _swigc__p_wxPrinterDC
,
32442 _swigc__p_wxPseudoDC
,
32444 _swigc__p_wxPyCommandEvent
,
32445 _swigc__p_wxPyEvent
,
32446 _swigc__p_wxPyFontEnumerator
,
32447 _swigc__p_wxPyImageHandler
,
32448 _swigc__p_wxPyLocale
,
32449 _swigc__p_wxPySizer
,
32450 _swigc__p_wxPyValidator
,
32451 _swigc__p_wxQueryNewPaletteEvent
,
32453 _swigc__p_wxRegion
,
32454 _swigc__p_wxRegionIterator
,
32455 _swigc__p_wxRendererNative
,
32456 _swigc__p_wxRendererVersion
,
32457 _swigc__p_wxScreenDC
,
32458 _swigc__p_wxScrollEvent
,
32459 _swigc__p_wxScrollWinEvent
,
32460 _swigc__p_wxSetCursorEvent
,
32461 _swigc__p_wxShowEvent
,
32463 _swigc__p_wxSizeEvent
,
32465 _swigc__p_wxSizerItem
,
32466 _swigc__p_wxSplitterRenderParams
,
32467 _swigc__p_wxStaticBoxSizer
,
32468 _swigc__p_wxStdDialogButtonSizer
,
32469 _swigc__p_wxStockGDI
,
32470 _swigc__p_wxString
,
32471 _swigc__p_wxSysColourChangedEvent
,
32472 _swigc__p_wxTIFFHandler
,
32473 _swigc__p_wxUpdateUIEvent
,
32474 _swigc__p_wxValidator
,
32475 _swigc__p_wxWindow
,
32476 _swigc__p_wxWindowCreateEvent
,
32477 _swigc__p_wxWindowDC
,
32478 _swigc__p_wxWindowDestroyEvent
,
32479 _swigc__p_wxXPMHandler
,
32483 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32485 static swig_const_info swig_const_table
[] = {
32486 {0, 0, 0, 0.0, 0, 0}};
32491 /* -----------------------------------------------------------------------------
32492 * Type initialization:
32493 * This problem is tough by the requirement that no dynamic
32494 * memory is used. Also, since swig_type_info structures store pointers to
32495 * swig_cast_info structures and swig_cast_info structures store pointers back
32496 * to swig_type_info structures, we need some lookup code at initialization.
32497 * The idea is that swig generates all the structures that are needed.
32498 * The runtime then collects these partially filled structures.
32499 * The SWIG_InitializeModule function takes these initial arrays out of
32500 * swig_module, and does all the lookup, filling in the swig_module.types
32501 * array with the correct data and linking the correct swig_cast_info
32502 * structures together.
32504 * The generated swig_type_info structures are assigned staticly to an initial
32505 * array. We just loop though that array, and handle each type individually.
32506 * First we lookup if this type has been already loaded, and if so, use the
32507 * loaded structure instead of the generated one. Then we have to fill in the
32508 * cast linked list. The cast data is initially stored in something like a
32509 * two-dimensional array. Each row corresponds to a type (there are the same
32510 * number of rows as there are in the swig_type_initial array). Each entry in
32511 * a column is one of the swig_cast_info structures for that type.
32512 * The cast_initial array is actually an array of arrays, because each row has
32513 * a variable number of columns. So to actually build the cast linked list,
32514 * we find the array of casts associated with the type, and loop through it
32515 * adding the casts to the list. The one last trick we need to do is making
32516 * sure the type pointer in the swig_cast_info struct is correct.
32518 * First off, we lookup the cast->type name to see if it is already loaded.
32519 * There are three cases to handle:
32520 * 1) If the cast->type has already been loaded AND the type we are adding
32521 * casting info to has not been loaded (it is in this module), THEN we
32522 * replace the cast->type pointer with the type pointer that has already
32524 * 2) If BOTH types (the one we are adding casting info to, and the
32525 * cast->type) are loaded, THEN the cast info has already been loaded by
32526 * the previous module so we just ignore it.
32527 * 3) Finally, if cast->type has not already been loaded, then we add that
32528 * swig_cast_info to the linked list (because the cast->type) pointer will
32530 * ----------------------------------------------------------------------------- */
32540 #define SWIGRUNTIME_DEBUG
32544 SWIG_InitializeModule(void *clientdata
) {
32546 swig_module_info
*module_head
;
32547 static int init_run
= 0;
32549 clientdata
= clientdata
;
32551 if (init_run
) return;
32554 /* Initialize the swig_module */
32555 swig_module
.type_initial
= swig_type_initial
;
32556 swig_module
.cast_initial
= swig_cast_initial
;
32558 /* Try and load any already created modules */
32559 module_head
= SWIG_GetModule(clientdata
);
32561 swig_module
.next
= module_head
->next
;
32562 module_head
->next
= &swig_module
;
32564 /* This is the first module loaded */
32565 swig_module
.next
= &swig_module
;
32566 SWIG_SetModule(clientdata
, &swig_module
);
32569 /* Now work on filling in swig_module.types */
32570 #ifdef SWIGRUNTIME_DEBUG
32571 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
32573 for (i
= 0; i
< swig_module
.size
; ++i
) {
32574 swig_type_info
*type
= 0;
32575 swig_type_info
*ret
;
32576 swig_cast_info
*cast
;
32578 #ifdef SWIGRUNTIME_DEBUG
32579 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32582 /* if there is another module already loaded */
32583 if (swig_module
.next
!= &swig_module
) {
32584 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
32587 /* Overwrite clientdata field */
32588 #ifdef SWIGRUNTIME_DEBUG
32589 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
32591 if (swig_module
.type_initial
[i
]->clientdata
) {
32592 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
32593 #ifdef SWIGRUNTIME_DEBUG
32594 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
32598 type
= swig_module
.type_initial
[i
];
32601 /* Insert casting types */
32602 cast
= swig_module
.cast_initial
[i
];
32603 while (cast
->type
) {
32604 /* Don't need to add information already in the list */
32606 #ifdef SWIGRUNTIME_DEBUG
32607 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
32609 if (swig_module
.next
!= &swig_module
) {
32610 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
32611 #ifdef SWIGRUNTIME_DEBUG
32612 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
32616 if (type
== swig_module
.type_initial
[i
]) {
32617 #ifdef SWIGRUNTIME_DEBUG
32618 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
32623 /* Check for casting already in the list */
32624 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
32625 #ifdef SWIGRUNTIME_DEBUG
32626 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
32628 if (!ocast
) ret
= 0;
32633 #ifdef SWIGRUNTIME_DEBUG
32634 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
32637 type
->cast
->prev
= cast
;
32638 cast
->next
= type
->cast
;
32644 /* Set entry in modules->types array equal to the type */
32645 swig_module
.types
[i
] = type
;
32647 swig_module
.types
[i
] = 0;
32649 #ifdef SWIGRUNTIME_DEBUG
32650 printf("**** SWIG_InitializeModule: Cast List ******\n");
32651 for (i
= 0; i
< swig_module
.size
; ++i
) {
32653 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
32654 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32655 while (cast
->type
) {
32656 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
32660 printf("---- Total casts: %d\n",j
);
32662 printf("**** SWIG_InitializeModule: Cast List ******\n");
32666 /* This function will propagate the clientdata field of type to
32667 * any new swig_type_info structures that have been added into the list
32668 * of equivalent types. It is like calling
32669 * SWIG_TypeClientData(type, clientdata) a second time.
32672 SWIG_PropagateClientData(void) {
32674 swig_cast_info
*equiv
;
32675 static int init_run
= 0;
32677 if (init_run
) return;
32680 for (i
= 0; i
< swig_module
.size
; i
++) {
32681 if (swig_module
.types
[i
]->clientdata
) {
32682 equiv
= swig_module
.types
[i
]->cast
;
32684 if (!equiv
->converter
) {
32685 if (equiv
->type
&& !equiv
->type
->clientdata
)
32686 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
32688 equiv
= equiv
->next
;
32708 /* Python-specific SWIG API */
32709 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32710 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32711 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32713 /* -----------------------------------------------------------------------------
32714 * global variable support code.
32715 * ----------------------------------------------------------------------------- */
32717 typedef struct swig_globalvar
{
32718 char *name
; /* Name of global variable */
32719 PyObject
*(*get_attr
)(void); /* Return the current value */
32720 int (*set_attr
)(PyObject
*); /* Set the value */
32721 struct swig_globalvar
*next
;
32724 typedef struct swig_varlinkobject
{
32726 swig_globalvar
*vars
;
32727 } swig_varlinkobject
;
32729 SWIGINTERN PyObject
*
32730 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
32731 return PyString_FromString("<Swig global variables>");
32734 SWIGINTERN PyObject
*
32735 swig_varlink_str(swig_varlinkobject
*v
) {
32736 PyObject
*str
= PyString_FromString("(");
32737 swig_globalvar
*var
;
32738 for (var
= v
->vars
; var
; var
=var
->next
) {
32739 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
32740 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
32742 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
32747 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
32748 PyObject
*str
= swig_varlink_str(v
);
32749 fprintf(fp
,"Swig global variables ");
32750 fprintf(fp
,"%s\n", PyString_AsString(str
));
32756 swig_varlink_dealloc(swig_varlinkobject
*v
) {
32757 swig_globalvar
*var
= v
->vars
;
32759 swig_globalvar
*n
= var
->next
;
32766 SWIGINTERN PyObject
*
32767 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
32768 PyObject
*res
= NULL
;
32769 swig_globalvar
*var
= v
->vars
;
32771 if (strcmp(var
->name
,n
) == 0) {
32772 res
= (*var
->get_attr
)();
32777 if (res
== NULL
&& !PyErr_Occurred()) {
32778 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32784 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
32786 swig_globalvar
*var
= v
->vars
;
32788 if (strcmp(var
->name
,n
) == 0) {
32789 res
= (*var
->set_attr
)(p
);
32794 if (res
== 1 && !PyErr_Occurred()) {
32795 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
32800 SWIGINTERN PyTypeObject
*
32801 swig_varlink_type(void) {
32802 static char varlink__doc__
[] = "Swig var link object";
32803 static PyTypeObject varlink_type
;
32804 static int type_init
= 0;
32806 const PyTypeObject tmp
32808 PyObject_HEAD_INIT(NULL
)
32809 0, /* Number of items in variable part (ob_size) */
32810 (char *)"swigvarlink", /* Type name (tp_name) */
32811 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
32812 0, /* Itemsize (tp_itemsize) */
32813 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
32814 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
32815 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
32816 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
32817 0, /* tp_compare */
32818 (reprfunc
) swig_varlink_repr
, /* tp_repr */
32819 0, /* tp_as_number */
32820 0, /* tp_as_sequence */
32821 0, /* tp_as_mapping */
32824 (reprfunc
)swig_varlink_str
, /* tp_str */
32825 0, /* tp_getattro */
32826 0, /* tp_setattro */
32827 0, /* tp_as_buffer */
32829 varlink__doc__
, /* tp_doc */
32830 0, /* tp_traverse */
32832 0, /* tp_richcompare */
32833 0, /* tp_weaklistoffset */
32834 #if PY_VERSION_HEX >= 0x02020000
32835 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
32837 #if PY_VERSION_HEX >= 0x02030000
32840 #ifdef COUNT_ALLOCS
32841 0,0,0,0 /* tp_alloc -> tp_next */
32844 varlink_type
= tmp
;
32845 varlink_type
.ob_type
= &PyType_Type
;
32848 return &varlink_type
;
32851 /* Create a variable linking object for use later */
32852 SWIGINTERN PyObject
*
32853 SWIG_Python_newvarlink(void) {
32854 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
32858 return ((PyObject
*) result
);
32862 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
32863 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
32864 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
32866 size_t size
= strlen(name
)+1;
32867 gv
->name
= (char *)malloc(size
);
32869 strncpy(gv
->name
,name
,size
);
32870 gv
->get_attr
= get_attr
;
32871 gv
->set_attr
= set_attr
;
32872 gv
->next
= v
->vars
;
32878 SWIGINTERN PyObject
*
32880 static PyObject
*_SWIG_globals
= 0;
32881 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
32882 return _SWIG_globals
;
32885 /* -----------------------------------------------------------------------------
32886 * constants/methods manipulation
32887 * ----------------------------------------------------------------------------- */
32889 /* Install Constants */
32891 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
32894 for (i
= 0; constants
[i
].type
; ++i
) {
32895 switch(constants
[i
].type
) {
32896 case SWIG_PY_POINTER
:
32897 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
32899 case SWIG_PY_BINARY
:
32900 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
32907 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
32913 /* -----------------------------------------------------------------------------*/
32914 /* Fix SwigMethods to carry the callback ptrs when needed */
32915 /* -----------------------------------------------------------------------------*/
32918 SWIG_Python_FixMethods(PyMethodDef
*methods
,
32919 swig_const_info
*const_table
,
32920 swig_type_info
**types
,
32921 swig_type_info
**types_initial
) {
32923 for (i
= 0; methods
[i
].ml_name
; ++i
) {
32924 const char *c
= methods
[i
].ml_doc
;
32925 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
32927 swig_const_info
*ci
= 0;
32928 const char *name
= c
+ 10;
32929 for (j
= 0; const_table
[j
].type
; ++j
) {
32930 if (strncmp(const_table
[j
].name
, name
,
32931 strlen(const_table
[j
].name
)) == 0) {
32932 ci
= &(const_table
[j
]);
32937 size_t shift
= (ci
->ptype
) - types
;
32938 swig_type_info
*ty
= types_initial
[shift
];
32939 size_t ldoc
= (c
- methods
[i
].ml_doc
);
32940 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
32941 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
32944 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
32946 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
32948 strncpy(buff
, "swig_ptr: ", 10);
32950 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
32951 methods
[i
].ml_doc
= ndoc
;
32963 /* -----------------------------------------------------------------------------*
32964 * Partial Init method
32965 * -----------------------------------------------------------------------------*/
32970 SWIGEXPORT
void SWIG_init(void) {
32973 /* Fix SwigMethods to carry the callback ptrs when needed */
32974 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
32976 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32977 d
= PyModule_GetDict(m
);
32979 SWIG_InitializeModule(0);
32980 SWIG_InstallConstants(d
,swig_const_table
);
32983 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
32984 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
32985 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
32986 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
32987 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
32988 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
32989 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
32990 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
32991 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
32992 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
32993 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
32994 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
32995 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
32996 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
32997 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
32998 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
32999 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
33000 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
33001 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
33002 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
33003 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
33004 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
33005 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
33006 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
33007 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
33008 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
33009 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
33010 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
33011 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
33012 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
33013 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
33014 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
33015 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
33016 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
33017 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
33018 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
33019 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
33020 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
33021 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
33022 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
33023 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
33024 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
33025 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
33026 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
33027 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
33028 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
33029 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
33030 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
33031 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
33032 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
33033 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
33034 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
33035 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
33036 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
33037 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
33038 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
33039 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
33040 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
33041 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
33042 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
33043 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
33044 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
33045 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
33046 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
33047 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
33048 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
33049 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
33050 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
33051 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
33052 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
33053 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
33054 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
33055 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
33056 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
33057 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
33058 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
33059 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
33060 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
33061 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
33062 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
33063 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
33064 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
33065 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
33066 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
33067 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
33068 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
33069 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
33070 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
33071 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
33072 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
33073 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
33074 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
33075 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
33076 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
33077 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
33078 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
33079 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
33080 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
33081 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
33082 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
33083 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
33084 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
33085 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
33086 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
33087 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
33088 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
33089 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
33090 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
33091 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
33092 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
33093 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
33094 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
33095 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
33096 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
33097 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
33098 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
33099 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
33100 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
33101 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
33102 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
33103 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
33104 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
33105 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
33106 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
33107 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
33108 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
33109 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
33110 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
33111 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
33112 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
33113 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
33114 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
33116 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
33118 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
33119 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
33120 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
33121 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
33122 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
33123 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
33124 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
33125 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
33126 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
33127 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
33128 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
33129 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
33130 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
33131 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
33132 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
33133 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
33134 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
33135 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
33136 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
33137 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
33138 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
33139 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
33140 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
33141 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
33142 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
33143 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
33144 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
33145 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
33146 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
33147 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
33148 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
33149 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
33150 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
33151 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
33152 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
33153 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
33154 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
33155 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
33156 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
33157 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
33158 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
33159 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
33160 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
33161 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
33162 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
33163 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
33164 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
33165 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
33166 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
33167 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
33168 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
33169 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
33170 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
33171 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
33172 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
33173 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
33174 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
33175 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
33176 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
33177 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
33178 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
33179 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
33180 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
33181 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
33182 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
33183 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
33184 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
33185 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
33186 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
33187 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
33188 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
33189 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
33190 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
33191 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
33192 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
33193 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
33194 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
33195 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
33196 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
33197 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
33198 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
33199 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
33200 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
33201 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
33202 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
33203 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
33204 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
33205 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
33206 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
33207 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
33208 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
33209 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
33210 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
33211 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
33212 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
33213 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
33214 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
33215 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
33216 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
33217 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
33218 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
33219 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
33220 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
33221 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
33222 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
33223 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
33224 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
33225 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
33226 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
33227 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
33228 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
33229 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
33230 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
33231 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
33232 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
33233 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
33234 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
33235 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
33236 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
33237 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
33238 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
33239 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
33240 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
33241 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
33242 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
33243 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
33244 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
33245 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
33246 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
33247 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
33248 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
33249 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
33250 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
33251 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
33252 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
33253 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
33254 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
33255 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
33256 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
33257 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
33258 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
33259 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
33260 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
33261 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
33262 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
33263 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
33264 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
33265 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
33266 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
33267 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
33268 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
33269 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
33270 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
33271 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
33272 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
33273 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
33274 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
33275 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
33276 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
33277 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
33278 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
33279 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
33280 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
33281 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
33282 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
33283 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
33284 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
33285 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
33286 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
33287 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
33288 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
33289 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
33290 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
33291 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
33292 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
33293 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
33294 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
33295 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
33296 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
33297 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
33298 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
33299 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
33300 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
33301 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
33302 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
33303 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
33304 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
33305 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
33306 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
33307 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
33308 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
33309 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
33310 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
33311 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
33312 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
33313 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
33314 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
33315 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
33316 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
33317 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
33318 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
33319 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
33320 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
33321 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
33322 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
33323 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
33324 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
33325 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
33326 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
33327 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
33328 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
33329 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
33330 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
33331 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
33332 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
33333 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
33334 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
33335 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
33336 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
33337 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
33338 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
33339 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
33340 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
33341 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
33342 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
33343 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
33344 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
33345 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
33346 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
33347 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
33348 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
33349 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
33350 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
33351 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
33352 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
33353 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
33354 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
33355 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
33356 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
33357 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
33358 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
33359 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
33360 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
33361 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
33362 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
33363 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
33364 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
33365 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
33366 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
33367 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
33368 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
33369 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
33370 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
33371 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
33372 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
33373 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
33374 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
33375 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
33376 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
33377 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
33378 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
33379 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
33380 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
33381 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
33382 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
33383 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
33384 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
33385 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
33386 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
33387 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
33388 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
33389 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
33390 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
33391 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
33392 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
33393 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
33394 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
33395 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
33396 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
33397 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
33398 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
33399 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
33400 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
33401 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
33402 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
33403 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
33404 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
33405 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
33406 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
33407 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
33408 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33409 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
33410 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
33411 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
33412 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
33413 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
33414 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
33415 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
33416 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
33417 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
33418 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
33419 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
33420 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
33421 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
33422 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
33423 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
33424 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
33425 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
33426 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
33427 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
33428 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
33429 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
33430 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
33431 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
33433 // Work around a chicken/egg problem in drawlist.cpp
33434 wxPyDrawList_SetAPIPtr();