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_wxArrayDouble swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2483 #define SWIGTYPE_p_wxBrush swig_types[17]
2484 #define SWIGTYPE_p_wxBrushList swig_types[18]
2485 #define SWIGTYPE_p_wxBufferedDC swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxChar swig_types[22]
2489 #define SWIGTYPE_p_wxChildFocusEvent swig_types[23]
2490 #define SWIGTYPE_p_wxClientDC swig_types[24]
2491 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[25]
2492 #define SWIGTYPE_p_wxCloseEvent swig_types[26]
2493 #define SWIGTYPE_p_wxColor swig_types[27]
2494 #define SWIGTYPE_p_wxColour swig_types[28]
2495 #define SWIGTYPE_p_wxColourDatabase swig_types[29]
2496 #define SWIGTYPE_p_wxCommandEvent swig_types[30]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[31]
2498 #define SWIGTYPE_p_wxControl swig_types[32]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[33]
2500 #define SWIGTYPE_p_wxCursor swig_types[34]
2501 #define SWIGTYPE_p_wxDC swig_types[35]
2502 #define SWIGTYPE_p_wxDash swig_types[36]
2503 #define SWIGTYPE_p_wxDateEvent swig_types[37]
2504 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[38]
2505 #define SWIGTYPE_p_wxDropFilesEvent swig_types[39]
2506 #define SWIGTYPE_p_wxDuplexMode swig_types[40]
2507 #define SWIGTYPE_p_wxEffects swig_types[41]
2508 #define SWIGTYPE_p_wxEncodingConverter swig_types[42]
2509 #define SWIGTYPE_p_wxEraseEvent swig_types[43]
2510 #define SWIGTYPE_p_wxEvent swig_types[44]
2511 #define SWIGTYPE_p_wxEvtHandler swig_types[45]
2512 #define SWIGTYPE_p_wxFSFile swig_types[46]
2513 #define SWIGTYPE_p_wxFileSystem swig_types[47]
2514 #define SWIGTYPE_p_wxFlexGridSizer swig_types[48]
2515 #define SWIGTYPE_p_wxFocusEvent swig_types[49]
2516 #define SWIGTYPE_p_wxFont swig_types[50]
2517 #define SWIGTYPE_p_wxFontList swig_types[51]
2518 #define SWIGTYPE_p_wxFontMapper swig_types[52]
2519 #define SWIGTYPE_p_wxGBSizerItem swig_types[53]
2520 #define SWIGTYPE_p_wxGCDC swig_types[54]
2521 #define SWIGTYPE_p_wxGDIObjListBase swig_types[55]
2522 #define SWIGTYPE_p_wxGDIObject swig_types[56]
2523 #define SWIGTYPE_p_wxGIFHandler swig_types[57]
2524 #define SWIGTYPE_p_wxGraphicsContext swig_types[58]
2525 #define SWIGTYPE_p_wxGraphicsPath swig_types[59]
2526 #define SWIGTYPE_p_wxGridBagSizer swig_types[60]
2527 #define SWIGTYPE_p_wxGridSizer swig_types[61]
2528 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[62]
2529 #define SWIGTYPE_p_wxICOHandler swig_types[63]
2530 #define SWIGTYPE_p_wxIcon swig_types[64]
2531 #define SWIGTYPE_p_wxIconBundle swig_types[65]
2532 #define SWIGTYPE_p_wxIconLocation swig_types[66]
2533 #define SWIGTYPE_p_wxIconizeEvent swig_types[67]
2534 #define SWIGTYPE_p_wxIdleEvent swig_types[68]
2535 #define SWIGTYPE_p_wxImage swig_types[69]
2536 #define SWIGTYPE_p_wxImageHandler swig_types[70]
2537 #define SWIGTYPE_p_wxImageList swig_types[71]
2538 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[72]
2539 #define SWIGTYPE_p_wxInitDialogEvent swig_types[73]
2540 #define SWIGTYPE_p_wxJPEGHandler swig_types[74]
2541 #define SWIGTYPE_p_wxKeyEvent swig_types[75]
2542 #define SWIGTYPE_p_wxLanguageInfo swig_types[76]
2543 #define SWIGTYPE_p_wxLayoutConstraints swig_types[77]
2544 #define SWIGTYPE_p_wxLocale swig_types[78]
2545 #define SWIGTYPE_p_wxMask swig_types[79]
2546 #define SWIGTYPE_p_wxMaximizeEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMemoryDC swig_types[81]
2548 #define SWIGTYPE_p_wxMenu swig_types[82]
2549 #define SWIGTYPE_p_wxMenuBar swig_types[83]
2550 #define SWIGTYPE_p_wxMenuEvent swig_types[84]
2551 #define SWIGTYPE_p_wxMenuItem swig_types[85]
2552 #define SWIGTYPE_p_wxMetaFile swig_types[86]
2553 #define SWIGTYPE_p_wxMetaFileDC swig_types[87]
2554 #define SWIGTYPE_p_wxMirrorDC swig_types[88]
2555 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
2556 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[90]
2557 #define SWIGTYPE_p_wxMouseEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMoveEvent swig_types[92]
2559 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[93]
2560 #define SWIGTYPE_p_wxNativeFontInfo swig_types[94]
2561 #define SWIGTYPE_p_wxNativePixelData swig_types[95]
2562 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[96]
2563 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[97]
2564 #define SWIGTYPE_p_wxNcPaintEvent swig_types[98]
2565 #define SWIGTYPE_p_wxNotifyEvent swig_types[99]
2566 #define SWIGTYPE_p_wxObject swig_types[100]
2567 #define SWIGTYPE_p_wxPCXHandler swig_types[101]
2568 #define SWIGTYPE_p_wxPNGHandler swig_types[102]
2569 #define SWIGTYPE_p_wxPNMHandler swig_types[103]
2570 #define SWIGTYPE_p_wxPaintDC swig_types[104]
2571 #define SWIGTYPE_p_wxPaintEvent swig_types[105]
2572 #define SWIGTYPE_p_wxPalette swig_types[106]
2573 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPaperSize swig_types[108]
2575 #define SWIGTYPE_p_wxPen swig_types[109]
2576 #define SWIGTYPE_p_wxPenList swig_types[110]
2577 #define SWIGTYPE_p_wxPixelDataBase swig_types[111]
2578 #define SWIGTYPE_p_wxPoint swig_types[112]
2579 #define SWIGTYPE_p_wxPoint2D swig_types[113]
2580 #define SWIGTYPE_p_wxPostScriptDC swig_types[114]
2581 #define SWIGTYPE_p_wxPrintData swig_types[115]
2582 #define SWIGTYPE_p_wxPrinterDC swig_types[116]
2583 #define SWIGTYPE_p_wxPseudoDC swig_types[117]
2584 #define SWIGTYPE_p_wxPyApp swig_types[118]
2585 #define SWIGTYPE_p_wxPyCommandEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPyEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[121]
2588 #define SWIGTYPE_p_wxPyImageHandler swig_types[122]
2589 #define SWIGTYPE_p_wxPyLocale swig_types[123]
2590 #define SWIGTYPE_p_wxPySizer swig_types[124]
2591 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxRegionIterator swig_types[129]
2596 #define SWIGTYPE_p_wxRendererNative swig_types[130]
2597 #define SWIGTYPE_p_wxRendererVersion swig_types[131]
2598 #define SWIGTYPE_p_wxScreenDC swig_types[132]
2599 #define SWIGTYPE_p_wxScrollEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrollWinEvent swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[141]
2608 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
2610 #define SWIGTYPE_p_wxStockGDI swig_types[144]
2611 #define SWIGTYPE_p_wxString swig_types[145]
2612 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[146]
2613 #define SWIGTYPE_p_wxTIFFHandler swig_types[147]
2614 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[148]
2615 #define SWIGTYPE_p_wxValidator swig_types[149]
2616 #define SWIGTYPE_p_wxWindow swig_types[150]
2617 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[151]
2618 #define SWIGTYPE_p_wxWindowDC swig_types[152]
2619 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[153]
2620 #define SWIGTYPE_p_wxXPMHandler swig_types[154]
2621 static swig_type_info
*swig_types
[156];
2622 static swig_module_info swig_module
= {swig_types
, 155, 0, 0, 0, 0};
2623 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2624 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2626 /* -------- TYPES TABLE (END) -------- */
2628 #if (PY_VERSION_HEX <= 0x02000000)
2629 # if !defined(SWIG_PYTHON_CLASSIC)
2630 # error "This python version requires to use swig with the '-classic' option"
2633 #if (PY_VERSION_HEX <= 0x02020000)
2634 # error "This python version requires to use swig with the '-nomodern' option"
2636 #if (PY_VERSION_HEX <= 0x02020000)
2637 # error "This python version requires to use swig with the '-nomodernargs' option"
2640 # error "This python version requires to use swig with the '-nofastunpack' option"
2643 /*-----------------------------------------------
2644 @(target):= _gdi_.so
2645 ------------------------------------------------*/
2646 #define SWIG_init init_gdi_
2648 #define SWIG_name "_gdi_"
2650 #define SWIGVERSION 0x010329
2653 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2654 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2657 #include <stdexcept>
2661 class PyObject_ptr
{
2666 PyObject_ptr() :_obj(0)
2670 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2675 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2677 if (initial_ref
) Py_XINCREF(_obj
);
2680 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2682 Py_XINCREF(item
._obj
);
2693 operator PyObject
*() const
2698 PyObject
*operator->() const
2707 struct PyObject_var
: PyObject_ptr
{
2708 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2710 PyObject_var
& operator = (PyObject
* obj
)
2720 #include "wx/wxPython/wxPython.h"
2721 #include "wx/wxPython/pyclasses.h"
2724 static const wxString
wxPyEmptyString(wxEmptyString
);
2726 #define SWIG_From_long PyInt_FromLong
2729 SWIGINTERNINLINE PyObject
*
2730 SWIG_From_int (int value
)
2732 return SWIG_From_long (value
);
2738 # define LLONG_MIN LONG_LONG_MIN
2741 # define LLONG_MAX LONG_LONG_MAX
2744 # define ULLONG_MAX ULONG_LONG_MAX
2749 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2751 if (PyNumber_Check(obj
)) {
2752 if (val
) *val
= PyInt_AsLong(obj
);
2755 return SWIG_TypeError
;
2760 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2763 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2764 return SWIG_TypeError
;
2767 *val
= (unsigned long)v
;
2773 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2776 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2777 if (SWIG_IsOK(res
)) {
2778 if ((v
> UCHAR_MAX
)) {
2779 return SWIG_OverflowError
;
2781 if (val
) *val
= static_cast< unsigned char >(v
);
2788 SWIGINTERNINLINE PyObject
*
2789 SWIG_From_unsigned_SS_long (unsigned long value
)
2791 return (value
> LONG_MAX
) ?
2792 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2796 SWIGINTERNINLINE PyObject
*
2797 SWIG_From_unsigned_SS_char (unsigned char value
)
2799 return SWIG_From_unsigned_SS_long (value
);
2802 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2803 wxColour temp
, *obj
= &temp
;
2804 if ( other
== Py_None
) return false;
2805 if ( ! wxColour_helper(other
, &obj
) ) {
2809 return self
->operator==(*obj
);
2811 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2812 wxColour temp
, *obj
= &temp
;
2813 if ( other
== Py_None
) return true;
2814 if ( ! wxColour_helper(other
, &obj
)) {
2818 return self
->operator!=(*obj
);
2822 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2824 if (obj
== Py_True
) {
2825 if (val
) *val
= true;
2827 } else if (obj
== Py_False
) {
2828 if (val
) *val
= false;
2832 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2833 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2838 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2839 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2843 int alpha
= wxALPHA_OPAQUE
;
2846 green
= self
->Green();
2847 blue
= self
->Blue();
2848 alpha
= self
->Alpha();
2850 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2851 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2852 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2854 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2857 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2858 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2862 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2865 int res
= SWIG_AsVal_long (obj
, &v
);
2866 if (SWIG_IsOK(res
)) {
2867 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2868 return SWIG_OverflowError
;
2870 if (val
) *val
= static_cast< int >(v
);
2876 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2878 int count
= self
->GetDashes(&dashes
);
2879 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2880 PyObject
* retval
= PyList_New(0);
2881 for (int x
=0; x
<count
; x
++) {
2882 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2883 PyList_Append(retval
, pyint
);
2886 wxPyEndBlockThreads(blocked
);
2889 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2891 int size
= PyList_Size(pyDashes
);
2892 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2894 // black magic warning! The array of wxDashes needs to exist as
2895 // long as the pen does because wxPen does not copy the array. So
2896 // stick a copy in a Python string object and attach it to _self,
2897 // and then call SetDashes with a pointer to that array. Then
2898 // when the Python pen object is destroyed the array will be
2900 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2901 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2903 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2905 Py_DECREF(strDashes
);
2906 wxPyEndBlockThreads(blocked
);
2908 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2909 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2911 #include <wx/rawbmp.h>
2914 #include <wx/image.h>
2916 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2917 char** cArray
= NULL
;
2920 if (!PyList_Check(listOfStrings
)) {
2921 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2924 count
= PyList_Size(listOfStrings
);
2925 cArray
= new char*[count
];
2927 for(int x
=0; x
<count
; x
++) {
2928 // TODO: Need some validation and error checking here
2929 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2935 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2936 char** cArray
= NULL
;
2939 cArray
= ConvertListOfStrings(listOfStrings
);
2942 bmp
= new wxBitmap(cArray
);
2946 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2949 PyString_AsStringAndSize(bits
, &buf
, &length
);
2950 return new wxBitmap(buf
, width
, height
, depth
);
2952 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2953 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2954 wxSize
size(self
->GetWidth(), self
->GetHeight());
2957 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2958 wxMask
*mask
= new wxMask(*self
, colour
);
2959 self
->SetMask(mask
);
2961 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2962 self
->SetWidth(size
.x
);
2963 self
->SetHeight(size
.y
);
2965 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2966 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2968 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2969 // appears to me that the other platforms are already doing it, so I'll just
2970 // automatically do it for wxMSW here.
2972 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2973 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2975 #define wxPy_premultiply(p, a) (p)
2976 #define wxPy_unpremultiply(p, a) (p)
2980 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2981 buffer data
, int DATASIZE
,
2982 buffer alpha
, int ALPHASIZE
)
2984 if (DATASIZE
!= width
*height
*3) {
2985 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2989 if (ALPHASIZE
!= width
*height
) {
2990 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2994 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
2995 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
2997 // raise an exception...
2998 wxPyErr_SetString(PyExc_RuntimeError
,
2999 "Failed to gain raw access to bitmap data.");
3004 wxAlphaPixelData::Iterator
p(pixData
);
3005 for (int y
=0; y
<height
; y
++) {
3006 wxAlphaPixelData::Iterator rowStart
= p
;
3007 for (int x
=0; x
<width
; x
++) {
3008 byte a
= *(alpha
++);
3009 p
.Red() = wxPy_premultiply(*(data
++), a
);
3010 p
.Green() = wxPy_premultiply(*(data
++), a
);
3011 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3016 p
.OffsetY(pixData
, 1);
3021 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3023 if (DATASIZE
!= width
*height
*3) {
3024 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3028 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3029 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3031 // raise an exception...
3032 wxPyErr_SetString(PyExc_RuntimeError
,
3033 "Failed to gain raw access to bitmap data.");
3037 wxNativePixelData::Iterator
p(pixData
);
3038 for (int y
=0; y
<height
; y
++) {
3039 wxNativePixelData::Iterator rowStart
= p
;
3040 for (int x
=0; x
<width
; x
++) {
3041 p
.Red() = *(data
++);
3042 p
.Green() = *(data
++);
3043 p
.Blue() = *(data
++);
3047 p
.OffsetY(pixData
, 1);
3053 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3055 if (DATASIZE
!= width
*height
*4) {
3056 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3060 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3061 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3063 // raise an exception...
3064 wxPyErr_SetString(PyExc_RuntimeError
,
3065 "Failed to gain raw access to bitmap data.");
3070 wxAlphaPixelData::Iterator
p(pixData
);
3071 for (int y
=0; y
<height
; y
++) {
3072 wxAlphaPixelData::Iterator rowStart
= p
;
3073 for (int x
=0; x
<width
; x
++) {
3075 p
.Red() = wxPy_premultiply(*(data
++), a
);
3076 p
.Green() = wxPy_premultiply(*(data
++), a
);
3077 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3078 p
.Alpha() = a
; data
++;
3082 p
.OffsetY(pixData
, 1);
3088 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3090 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3091 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3092 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3094 self
->Green() = green
;
3095 self
->Blue() = blue
;
3097 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3098 PyObject
* rv
= PyTuple_New(3);
3099 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3100 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3101 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3105 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3107 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3108 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3109 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3110 self
->Red() = wxPy_premultiply(red
, alpha
);
3111 self
->Green() = wxPy_premultiply(green
, alpha
);
3112 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3113 self
->Alpha() = alpha
;
3115 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3116 PyObject
* rv
= PyTuple_New(4);
3117 int red
= self
->Red();
3118 int green
= self
->Green();
3119 int blue
= self
->Blue();
3120 int alpha
= self
->Alpha();
3122 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3123 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3124 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3125 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3128 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3130 return new wxMask(bitmap
, *wxBLACK
);
3132 return new wxMask(bitmap
, colour
);
3135 #include <wx/iconbndl.h>
3137 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3138 wxIcon
* icon
= new wxIcon();
3139 icon
->CopyFromBitmap(bmp
);
3142 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3143 char** cArray
= NULL
;
3146 cArray
= ConvertListOfStrings(listOfStrings
);
3149 icon
= new wxIcon(cArray
);
3153 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3154 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3156 return new wxIconLocation(*filename
, num
);
3161 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3163 self
->SetIndex(num
);
3168 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3170 return self
->GetIndex();
3175 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3177 wxImage
img(cursorName
, type
);
3178 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3179 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3180 return new wxCursor(img
);
3182 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3185 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3188 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3191 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3192 return self
->operator bool();
3195 #include <wx/fontutil.h>
3196 #include <wx/fontmap.h>
3197 #include <wx/fontenum.h>
3199 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3200 return self
->ToString();
3203 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3204 { wxPyRaiseNotImplemented(); return NULL
; }
3206 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3207 { wxPyRaiseNotImplemented(); return false; }
3210 SWIGINTERNINLINE PyObject
*
3211 SWIG_From_size_t (size_t value
)
3213 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3217 SWIGINTERNINLINE
int
3218 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3221 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3222 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3226 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3227 wxFontEncoding alt_enc
;
3228 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3229 return PyInt_FromLong(alt_enc
);
3235 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3236 wxNativeFontInfo nfi
;
3237 nfi
.FromString(info
);
3238 return new wxFont(nfi
);
3240 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3241 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3243 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3244 return wxFontBase::New(pixelSize
, family
,
3245 style
, weight
, underlined
,
3248 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3249 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3251 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3252 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3254 class wxPyFontEnumerator
: public wxFontEnumerator
{
3256 wxPyFontEnumerator() {}
3257 ~wxPyFontEnumerator() {}
3259 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3260 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3265 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3266 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3269 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3271 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3272 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3273 ret
= wxArrayString2PyList_helper(arr
);
3274 wxPyEndBlockThreads(blocked
);
3277 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3279 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3280 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3281 ret
= wxArrayString2PyList_helper(arr
);
3282 wxPyEndBlockThreads(blocked
);
3288 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3291 loc
= new wxLocale();
3293 loc
= new wxLocale(language
, flags
);
3294 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3295 // for the floating point conversions and such to work right.
3296 #if PY_VERSION_HEX < 0x02040000
3297 setlocale(LC_NUMERIC
, "C");
3301 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3302 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3303 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3304 // for the floating point conversions and such to work right.
3305 #if PY_VERSION_HEX < 0x02040000
3306 setlocale(LC_NUMERIC
, "C");
3310 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3311 bool rc
= self
->Init(language
, flags
);
3312 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3313 // for the floating point conversions and such to work right.
3314 #if PY_VERSION_HEX < 0x02040000
3315 setlocale(LC_NUMERIC
, "C");
3320 class wxPyLocale
: public wxLocale
3325 wxPyLocale(const wxChar
*szName
, // name (for messages)
3326 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3327 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3328 bool bLoadDefault
= true, // preload wxstd.mo?
3329 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3331 wxPyLocale(int language
, // wxLanguage id or custom language
3332 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3336 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3337 const wxChar
*szDomain
= NULL
) const;
3338 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3339 const wxChar
*szOrigString2
, size_t n
,
3340 const wxChar
*szDomain
= NULL
) const;
3342 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3343 const wxChar
*szDomain
= NULL
) const;
3344 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3345 const wxChar
*szOrigString2
, size_t n
,
3346 const wxChar
*szDomain
= NULL
) const;
3350 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3353 wxPyLocale::wxPyLocale() : wxLocale()
3357 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3358 const wxChar
*szShort
, // dir prefix (for msg files)
3359 const wxChar
*szLocale
, // locale (for setlocale)
3360 bool bLoadDefault
, // preload wxstd.mo?
3361 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3362 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3366 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3367 int flags
) : wxLocale(language
, flags
)
3371 wxPyLocale::~wxPyLocale()
3375 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3376 const wxChar
*szDomain
) const
3378 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3379 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3382 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3383 const wxChar
*szOrigString2
, size_t n
,
3384 const wxChar
*szDomain
) const
3386 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3387 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3390 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3391 const wxChar
*szDomain
) const
3394 static wxString str
;
3395 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.
3396 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3397 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3398 PyObject
* param1
= wx2PyString(szOrigString
);
3399 PyObject
* param2
= wx2PyString(szDomain
);
3400 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3404 str
= Py2wxString(ret
);
3408 wxPyEndBlockThreads(blocked
);
3409 return (found
? (wxChar
*)str
.c_str() : NULL
);
3412 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3413 const wxChar
*szOrigString2
, size_t n
,
3414 const wxChar
*szDomain
) const
3417 static wxString str
;
3418 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.
3419 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3420 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3421 PyObject
* param1
= wx2PyString(szOrigString
);
3422 PyObject
* param2
= wx2PyString(szOrigString2
);
3423 PyObject
* param4
= wx2PyString(szDomain
);
3424 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3429 str
= Py2wxString(ret
);
3433 wxPyEndBlockThreads(blocked
);
3434 return (found
? (wxChar
*)str
.c_str() : NULL
);
3437 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3440 loc
= new wxPyLocale();
3442 loc
= new wxPyLocale(language
, flags
);
3443 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3444 // for the floating point conversions and such to work right.
3445 #if PY_VERSION_HEX < 0x02040000
3446 setlocale(LC_NUMERIC
, "C");
3451 #include "wx/wxPython/pydrawxxx.h"
3453 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3455 self
->GetPixel(x
, y
, &col
);
3458 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3460 self
->GetPixel(pt
, &col
);
3465 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3467 if (PyNumber_Check(obj
)) {
3468 if (val
) *val
= PyFloat_AsDouble(obj
);
3471 return SWIG_TypeError
;
3474 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3476 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3479 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3481 self
->GetClippingBox(rect
);
3484 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3486 self
->GetPartialTextExtents(text
, widths
);
3490 #define SWIG_From_double PyFloat_FromDouble
3492 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3493 self
->SetLogicalOrigin(point
.x
, point
.y
);
3495 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3496 self
->SetDeviceOrigin(point
.x
, point
.y
);
3498 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3499 self
->CalcBoundingBox(point
.x
, point
.y
);
3501 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3502 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3504 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3505 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3507 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3508 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3510 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3511 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3513 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3514 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3516 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3517 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3520 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3528 #include <wx/dcbuffer.h>
3531 #include <wx/dcps.h>
3534 #include <wx/metafile.h>
3537 #include <wx/graphics.h>
3540 #if !wxUSE_GRAPHICS_CONTEXT
3541 // C++ stub classes for platforms that don't have wxGraphicsContext yet.
3543 class wxGraphicsPath
3547 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3548 PyErr_SetString(PyExc_NotImplementedError
,
3549 "wxGraphicsPath is not available on this platform.");
3550 wxPyEndBlockThreads(blocked
);
3552 virtual ~wxGraphicsPath() {}
3554 void MoveToPoint( wxDouble
, wxDouble
) {}
3555 void AddLineToPoint( wxDouble
, wxDouble
) {}
3556 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3557 void CloseSubpath() {}
3558 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3559 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3561 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3562 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3563 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3564 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3566 wxPoint2DDouble
GetCurrentPoint() { return wxPoint2DDouble(0,0); }
3567 void MoveToPoint( const wxPoint2DDouble
& ) {}
3568 void AddLineToPoint( const wxPoint2DDouble
&) {}
3569 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3570 void AddArc( const wxPoint2DDouble
&, wxDouble
, wxDouble
, wxDouble
, bool) {}
3574 class wxGraphicsContext
3577 wxGraphicsContext() {
3578 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3579 PyErr_SetString(PyExc_NotImplementedError
,
3580 "wxGraphicsContext is not available on this platform.");
3581 wxPyEndBlockThreads(blocked
);
3583 virtual ~wxGraphicsContext() {}
3585 static wxGraphicsContext
* Create( const wxWindowDC
&) {
3586 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3587 PyErr_SetString(PyExc_NotImplementedError
,
3588 "wxGraphicsPath is not available on this platform.");
3589 wxPyEndBlockThreads(blocked
);
3593 wxGraphicsPath
* CreatePath() { return NULL
; }
3596 void Clip( const wxRegion
& ) {}
3597 void Translate( wxDouble
, wxDouble
) {}
3598 void Scale( wxDouble
, wxDouble
) {}
3599 void Rotate( wxDouble
) {}
3600 void SetPen( const wxPen
& ) {}
3601 void SetBrush( const wxBrush
& ) {}
3602 void SetLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3603 const wxColour
&, const wxColour
&) {}
3604 void SetRadialGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3605 const wxColour
&, const wxColour
&) {}
3606 void SetFont( const wxFont
& ) {}
3607 void SetTextColor( const wxColour
& ) {}
3608 void StrokePath( const wxGraphicsPath
* ) {}
3609 void FillPath( const wxGraphicsPath
*, int ) {}
3610 void DrawPath( const wxGraphicsPath
*, int ) {}
3611 void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3612 void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3613 void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3614 wxDouble
*, wxDouble
* ) const {}
3615 void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3616 void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3617 void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3618 void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3619 void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3620 void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3621 void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3622 void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3623 void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3624 void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3628 class wxGCDC
: public wxWindowDC
3631 wxGCDC(const wxWindowDC
&) {
3632 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3633 PyErr_SetString(PyExc_NotImplementedError
,
3634 "wxGCDC is not available on this platform.");
3635 wxPyEndBlockThreads(blocked
);
3639 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3640 PyErr_SetString(PyExc_NotImplementedError
,
3641 "wxGCDC is not available on this platform.");
3642 wxPyEndBlockThreads(blocked
);
3645 virtual ~wxGCDC() {}
3647 wxGraphicsContext
* GetGraphicContext() { return NULL
; }
3654 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3655 self
->AddColour(name
, wxColour(red
, green
, blue
));
3658 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3659 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3660 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3661 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3664 #include <wx/effects.h>
3667 #include "wx/renderer.h"
3670 SWIGINTERNINLINE PyObject
*
3671 SWIG_From_bool (bool value
)
3673 return PyBool_FromLong(value
? 1 : 0);
3677 #include "wx/wxPython/pseudodc.h"
3679 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3681 self
->GetIdBounds(id
, rect
);
3687 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3688 PyObject
*resultobj
= 0;
3689 wxGDIObject
*result
= 0 ;
3691 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3693 if (!wxPyCheckForApp()) SWIG_fail
;
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 result
= (wxGDIObject
*)new wxGDIObject();
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3706 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3707 PyObject
*resultobj
= 0;
3708 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3711 PyObject
*swig_obj
[1] ;
3713 if (!args
) SWIG_fail
;
3715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3716 if (!SWIG_IsOK(res1
)) {
3717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3719 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 wxPyEndAllowThreads(__tstate
);
3725 if (PyErr_Occurred()) SWIG_fail
;
3727 resultobj
= SWIG_Py_Void();
3734 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3735 PyObject
*resultobj
= 0;
3736 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3740 PyObject
*swig_obj
[1] ;
3742 if (!args
) SWIG_fail
;
3744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3745 if (!SWIG_IsOK(res1
)) {
3746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3748 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 result
= (bool)(arg1
)->IsNull();
3752 wxPyEndAllowThreads(__tstate
);
3753 if (PyErr_Occurred()) SWIG_fail
;
3756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3764 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3766 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3767 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3768 return SWIG_Py_Void();
3771 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3772 return SWIG_Python_InitShadowInstance(args
);
3775 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
*resultobj
= 0;
3777 byte arg1
= (byte
) 0 ;
3778 byte arg2
= (byte
) 0 ;
3779 byte arg3
= (byte
) 0 ;
3780 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3781 wxColour
*result
= 0 ;
3782 unsigned char val1
;
3784 unsigned char val2
;
3786 unsigned char val3
;
3788 unsigned char val4
;
3790 PyObject
* obj0
= 0 ;
3791 PyObject
* obj1
= 0 ;
3792 PyObject
* obj2
= 0 ;
3793 PyObject
* obj3
= 0 ;
3794 char * kwnames
[] = {
3795 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3800 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3801 if (!SWIG_IsOK(ecode1
)) {
3802 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3804 arg1
= static_cast< byte
>(val1
);
3807 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3808 if (!SWIG_IsOK(ecode2
)) {
3809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3811 arg2
= static_cast< byte
>(val2
);
3814 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3815 if (!SWIG_IsOK(ecode3
)) {
3816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3818 arg3
= static_cast< byte
>(val3
);
3821 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3822 if (!SWIG_IsOK(ecode4
)) {
3823 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3825 arg4
= static_cast< byte
>(val4
);
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3840 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
*resultobj
= 0;
3842 wxString
*arg1
= 0 ;
3843 wxColour
*result
= 0 ;
3844 bool temp1
= false ;
3845 PyObject
* obj0
= 0 ;
3846 char * kwnames
[] = {
3847 (char *) "colorName", NULL
3850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3852 arg1
= wxString_in_helper(obj0
);
3853 if (arg1
== NULL
) SWIG_fail
;
3857 if (!wxPyCheckForApp()) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3878 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
= 0;
3880 unsigned long arg1
;
3881 wxColour
*result
= 0 ;
3882 unsigned long val1
;
3884 PyObject
* obj0
= 0 ;
3885 char * kwnames
[] = {
3886 (char *) "colRGB", NULL
3889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3890 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3891 if (!SWIG_IsOK(ecode1
)) {
3892 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3894 arg1
= static_cast< unsigned long >(val1
);
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 result
= (wxColour
*)new wxColour(arg1
);
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3908 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3909 PyObject
*resultobj
= 0;
3910 wxColour
*arg1
= (wxColour
*) 0 ;
3913 PyObject
*swig_obj
[1] ;
3915 if (!args
) SWIG_fail
;
3917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3918 if (!SWIG_IsOK(res1
)) {
3919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3921 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3929 resultobj
= SWIG_Py_Void();
3936 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3937 PyObject
*resultobj
= 0;
3938 wxColour
*arg1
= (wxColour
*) 0 ;
3942 PyObject
*swig_obj
[1] ;
3944 if (!args
) SWIG_fail
;
3946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3947 if (!SWIG_IsOK(res1
)) {
3948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3950 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 result
= (byte
)(arg1
)->Red();
3954 wxPyEndAllowThreads(__tstate
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3957 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3964 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3965 PyObject
*resultobj
= 0;
3966 wxColour
*arg1
= (wxColour
*) 0 ;
3970 PyObject
*swig_obj
[1] ;
3972 if (!args
) SWIG_fail
;
3974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3975 if (!SWIG_IsOK(res1
)) {
3976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3978 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 result
= (byte
)(arg1
)->Green();
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3992 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3993 PyObject
*resultobj
= 0;
3994 wxColour
*arg1
= (wxColour
*) 0 ;
3998 PyObject
*swig_obj
[1] ;
4000 if (!args
) SWIG_fail
;
4002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4003 if (!SWIG_IsOK(res1
)) {
4004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4006 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 result
= (byte
)(arg1
)->Blue();
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4020 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4021 PyObject
*resultobj
= 0;
4022 wxColour
*arg1
= (wxColour
*) 0 ;
4026 PyObject
*swig_obj
[1] ;
4028 if (!args
) SWIG_fail
;
4030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4031 if (!SWIG_IsOK(res1
)) {
4032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4034 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4037 result
= (byte
)(arg1
)->Alpha();
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4041 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4048 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4049 PyObject
*resultobj
= 0;
4050 wxColour
*arg1
= (wxColour
*) 0 ;
4054 PyObject
*swig_obj
[1] ;
4056 if (!args
) SWIG_fail
;
4058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4059 if (!SWIG_IsOK(res1
)) {
4060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
4062 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 result
= (bool)(arg1
)->Ok();
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4078 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
= 0;
4080 wxColour
*arg1
= (wxColour
*) 0 ;
4084 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4087 unsigned char val2
;
4089 unsigned char val3
;
4091 unsigned char val4
;
4093 unsigned char val5
;
4095 PyObject
* obj0
= 0 ;
4096 PyObject
* obj1
= 0 ;
4097 PyObject
* obj2
= 0 ;
4098 PyObject
* obj3
= 0 ;
4099 PyObject
* obj4
= 0 ;
4100 char * kwnames
[] = {
4101 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4106 if (!SWIG_IsOK(res1
)) {
4107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4109 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4110 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4111 if (!SWIG_IsOK(ecode2
)) {
4112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4114 arg2
= static_cast< byte
>(val2
);
4115 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4116 if (!SWIG_IsOK(ecode3
)) {
4117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4119 arg3
= static_cast< byte
>(val3
);
4120 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4121 if (!SWIG_IsOK(ecode4
)) {
4122 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4124 arg4
= static_cast< byte
>(val4
);
4126 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4127 if (!SWIG_IsOK(ecode5
)) {
4128 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4130 arg5
= static_cast< byte
>(val5
);
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4134 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 resultobj
= SWIG_Py_Void();
4145 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
*resultobj
= 0;
4147 wxColour
*arg1
= (wxColour
*) 0 ;
4148 unsigned long arg2
;
4151 unsigned long val2
;
4153 PyObject
* obj0
= 0 ;
4154 PyObject
* obj1
= 0 ;
4155 char * kwnames
[] = {
4156 (char *) "self",(char *) "colRGB", NULL
4159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4161 if (!SWIG_IsOK(res1
)) {
4162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4164 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4165 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4166 if (!SWIG_IsOK(ecode2
)) {
4167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4169 arg2
= static_cast< unsigned long >(val2
);
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4176 resultobj
= SWIG_Py_Void();
4183 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
= 0;
4185 wxColour
*arg1
= (wxColour
*) 0 ;
4186 wxString
*arg2
= 0 ;
4189 bool temp2
= false ;
4190 PyObject
* obj0
= 0 ;
4191 PyObject
* obj1
= 0 ;
4192 char * kwnames
[] = {
4193 (char *) "self",(char *) "colourName", NULL
4196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4198 if (!SWIG_IsOK(res1
)) {
4199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4201 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4203 arg2
= wxString_in_helper(obj1
);
4204 if (arg2
== NULL
) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 (arg1
)->Set((wxString
const &)*arg2
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 resultobj
= SWIG_Py_Void();
4228 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
*resultobj
= 0;
4230 wxColour
*arg1
= (wxColour
*) 0 ;
4231 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4237 PyObject
* obj0
= 0 ;
4238 PyObject
* obj1
= 0 ;
4239 char * kwnames
[] = {
4240 (char *) "self",(char *) "flags", NULL
4243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4245 if (!SWIG_IsOK(res1
)) {
4246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4248 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4250 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4251 if (!SWIG_IsOK(ecode2
)) {
4252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4254 arg2
= static_cast< long >(val2
);
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4275 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4276 PyObject
*resultobj
= 0;
4277 wxColour
*arg1
= (wxColour
*) 0 ;
4281 PyObject
*swig_obj
[1] ;
4283 if (!args
) SWIG_fail
;
4285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4286 if (!SWIG_IsOK(res1
)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4289 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4296 resultobj
= SWIG_From_long(static_cast< long >(result
));
4303 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
= 0;
4305 wxColour
*arg1
= (wxColour
*) 0 ;
4306 PyObject
*arg2
= (PyObject
*) 0 ;
4310 PyObject
* obj0
= 0 ;
4311 PyObject
* obj1
= 0 ;
4312 char * kwnames
[] = {
4313 (char *) "self",(char *) "other", NULL
4316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4318 if (!SWIG_IsOK(res1
)) {
4319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4321 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4324 result
= (bool)wxColour___eq__(arg1
,arg2
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4336 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
*resultobj
= 0;
4338 wxColour
*arg1
= (wxColour
*) 0 ;
4339 PyObject
*arg2
= (PyObject
*) 0 ;
4343 PyObject
* obj0
= 0 ;
4344 PyObject
* obj1
= 0 ;
4345 char * kwnames
[] = {
4346 (char *) "self",(char *) "other", NULL
4349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4351 if (!SWIG_IsOK(res1
)) {
4352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4354 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4357 result
= (bool)wxColour___ne__(arg1
,arg2
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4369 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
= 0;
4371 wxColour
*arg1
= (wxColour
*) 0 ;
4372 bool arg2
= (bool) false ;
4373 PyObject
*result
= 0 ;
4378 PyObject
* obj0
= 0 ;
4379 PyObject
* obj1
= 0 ;
4380 char * kwnames
[] = {
4381 (char *) "self",(char *) "includeAlpha", NULL
4384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4386 if (!SWIG_IsOK(res1
)) {
4387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4389 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4391 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4392 if (!SWIG_IsOK(ecode2
)) {
4393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4395 arg2
= static_cast< bool >(val2
);
4398 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4408 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4409 PyObject
*resultobj
= 0;
4410 wxColour
*arg1
= (wxColour
*) 0 ;
4411 unsigned long result
;
4414 PyObject
*swig_obj
[1] ;
4416 if (!args
) SWIG_fail
;
4418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4419 if (!SWIG_IsOK(res1
)) {
4420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4422 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4424 result
= (unsigned long)wxColour_GetRGB(arg1
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4427 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4434 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4436 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4437 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4438 return SWIG_Py_Void();
4441 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4442 return SWIG_Python_InitShadowInstance(args
);
4445 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
*resultobj
= 0;
4448 unsigned char *arg2
= (unsigned char *) 0 ;
4449 unsigned char *arg3
= (unsigned char *) 0 ;
4450 unsigned char *arg4
= (unsigned char *) 0 ;
4451 wxPalette
*result
= 0 ;
4460 PyObject
* obj0
= 0 ;
4461 PyObject
* obj1
= 0 ;
4462 PyObject
* obj2
= 0 ;
4463 PyObject
* obj3
= 0 ;
4464 char * kwnames
[] = {
4465 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4469 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4470 if (!SWIG_IsOK(ecode1
)) {
4471 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4473 arg1
= static_cast< int >(val1
);
4474 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4475 if (!SWIG_IsOK(res2
)) {
4476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4478 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4479 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4480 if (!SWIG_IsOK(res3
)) {
4481 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4483 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4484 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4485 if (!SWIG_IsOK(res4
)) {
4486 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4488 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4490 if (!wxPyCheckForApp()) SWIG_fail
;
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4493 wxPyEndAllowThreads(__tstate
);
4494 if (PyErr_Occurred()) SWIG_fail
;
4496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4503 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4504 PyObject
*resultobj
= 0;
4505 wxPalette
*arg1
= (wxPalette
*) 0 ;
4508 PyObject
*swig_obj
[1] ;
4510 if (!args
) SWIG_fail
;
4512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4513 if (!SWIG_IsOK(res1
)) {
4514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4516 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 resultobj
= SWIG_Py_Void();
4531 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
= 0;
4533 wxPalette
*arg1
= (wxPalette
*) 0 ;
4540 unsigned char val2
;
4542 unsigned char val3
;
4544 unsigned char val4
;
4546 PyObject
* obj0
= 0 ;
4547 PyObject
* obj1
= 0 ;
4548 PyObject
* obj2
= 0 ;
4549 PyObject
* obj3
= 0 ;
4550 char * kwnames
[] = {
4551 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4556 if (!SWIG_IsOK(res1
)) {
4557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4559 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4560 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4561 if (!SWIG_IsOK(ecode2
)) {
4562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4564 arg2
= static_cast< byte
>(val2
);
4565 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4566 if (!SWIG_IsOK(ecode3
)) {
4567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4569 arg3
= static_cast< byte
>(val3
);
4570 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4571 if (!SWIG_IsOK(ecode4
)) {
4572 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4574 arg4
= static_cast< byte
>(val4
);
4576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4577 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4578 wxPyEndAllowThreads(__tstate
);
4579 if (PyErr_Occurred()) SWIG_fail
;
4581 resultobj
= SWIG_From_int(static_cast< int >(result
));
4588 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
= 0;
4590 wxPalette
*arg1
= (wxPalette
*) 0 ;
4592 byte
*arg3
= (byte
*) 0 ;
4593 byte
*arg4
= (byte
*) 0 ;
4594 byte
*arg5
= (byte
*) 0 ;
4601 int res3
= SWIG_TMPOBJ
;
4603 int res4
= SWIG_TMPOBJ
;
4605 int res5
= SWIG_TMPOBJ
;
4606 PyObject
* obj0
= 0 ;
4607 PyObject
* obj1
= 0 ;
4608 char * kwnames
[] = {
4609 (char *) "self",(char *) "pixel", NULL
4615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4617 if (!SWIG_IsOK(res1
)) {
4618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4620 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4622 if (!SWIG_IsOK(ecode2
)) {
4623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4625 arg2
= static_cast< int >(val2
);
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4635 if (SWIG_IsTmpObj(res3
)) {
4636 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4638 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4639 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4641 if (SWIG_IsTmpObj(res4
)) {
4642 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4644 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4647 if (SWIG_IsTmpObj(res5
)) {
4648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4650 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4659 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4660 PyObject
*resultobj
= 0;
4661 wxPalette
*arg1
= (wxPalette
*) 0 ;
4665 PyObject
*swig_obj
[1] ;
4667 if (!args
) SWIG_fail
;
4669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4670 if (!SWIG_IsOK(res1
)) {
4671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4673 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4680 resultobj
= SWIG_From_int(static_cast< int >(result
));
4687 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4688 PyObject
*resultobj
= 0;
4689 wxPalette
*arg1
= (wxPalette
*) 0 ;
4693 PyObject
*swig_obj
[1] ;
4695 if (!args
) SWIG_fail
;
4697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4698 if (!SWIG_IsOK(res1
)) {
4699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4701 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 result
= (bool)(arg1
)->Ok();
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4717 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4719 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4720 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4721 return SWIG_Py_Void();
4724 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4725 return SWIG_Python_InitShadowInstance(args
);
4728 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4729 PyObject
*resultobj
= 0;
4730 wxColour
*arg1
= 0 ;
4731 int arg2
= (int) 1 ;
4732 int arg3
= (int) wxSOLID
;
4739 PyObject
* obj0
= 0 ;
4740 PyObject
* obj1
= 0 ;
4741 PyObject
* obj2
= 0 ;
4742 char * kwnames
[] = {
4743 (char *) "colour",(char *) "width",(char *) "style", NULL
4746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4749 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4753 if (!SWIG_IsOK(ecode2
)) {
4754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4756 arg2
= static_cast< int >(val2
);
4759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4760 if (!SWIG_IsOK(ecode3
)) {
4761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4763 arg3
= static_cast< int >(val3
);
4766 if (!wxPyCheckForApp()) SWIG_fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4779 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4780 PyObject
*resultobj
= 0;
4781 wxPen
*arg1
= (wxPen
*) 0 ;
4784 PyObject
*swig_obj
[1] ;
4786 if (!args
) SWIG_fail
;
4788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4789 if (!SWIG_IsOK(res1
)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4792 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 wxPyEndAllowThreads(__tstate
);
4798 if (PyErr_Occurred()) SWIG_fail
;
4800 resultobj
= SWIG_Py_Void();
4807 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4808 PyObject
*resultobj
= 0;
4809 wxPen
*arg1
= (wxPen
*) 0 ;
4813 PyObject
*swig_obj
[1] ;
4815 if (!args
) SWIG_fail
;
4817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4818 if (!SWIG_IsOK(res1
)) {
4819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4821 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 result
= (int)(arg1
)->GetCap();
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4828 resultobj
= SWIG_From_int(static_cast< int >(result
));
4835 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4836 PyObject
*resultobj
= 0;
4837 wxPen
*arg1
= (wxPen
*) 0 ;
4841 PyObject
*swig_obj
[1] ;
4843 if (!args
) SWIG_fail
;
4845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4846 if (!SWIG_IsOK(res1
)) {
4847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4849 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 result
= (arg1
)->GetColour();
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4856 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4863 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4864 PyObject
*resultobj
= 0;
4865 wxPen
*arg1
= (wxPen
*) 0 ;
4869 PyObject
*swig_obj
[1] ;
4871 if (!args
) SWIG_fail
;
4873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4874 if (!SWIG_IsOK(res1
)) {
4875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4877 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 result
= (int)(arg1
)->GetJoin();
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4884 resultobj
= SWIG_From_int(static_cast< int >(result
));
4891 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4892 PyObject
*resultobj
= 0;
4893 wxPen
*arg1
= (wxPen
*) 0 ;
4897 PyObject
*swig_obj
[1] ;
4899 if (!args
) SWIG_fail
;
4901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4902 if (!SWIG_IsOK(res1
)) {
4903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4905 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4908 result
= (int)(arg1
)->GetStyle();
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4912 resultobj
= SWIG_From_int(static_cast< int >(result
));
4919 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4920 PyObject
*resultobj
= 0;
4921 wxPen
*arg1
= (wxPen
*) 0 ;
4925 PyObject
*swig_obj
[1] ;
4927 if (!args
) SWIG_fail
;
4929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4930 if (!SWIG_IsOK(res1
)) {
4931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4933 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4936 result
= (int)(arg1
)->GetWidth();
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4940 resultobj
= SWIG_From_int(static_cast< int >(result
));
4947 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4948 PyObject
*resultobj
= 0;
4949 wxPen
*arg1
= (wxPen
*) 0 ;
4953 PyObject
*swig_obj
[1] ;
4955 if (!args
) SWIG_fail
;
4957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4958 if (!SWIG_IsOK(res1
)) {
4959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4961 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 result
= (bool)(arg1
)->Ok();
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4977 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
= 0;
4979 wxPen
*arg1
= (wxPen
*) 0 ;
4985 PyObject
* obj0
= 0 ;
4986 PyObject
* obj1
= 0 ;
4987 char * kwnames
[] = {
4988 (char *) "self",(char *) "cap_style", NULL
4991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4993 if (!SWIG_IsOK(res1
)) {
4994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4996 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4998 if (!SWIG_IsOK(ecode2
)) {
4999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5001 arg2
= static_cast< int >(val2
);
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 (arg1
)->SetCap(arg2
);
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= SWIG_Py_Void();
5015 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
= 0;
5017 wxPen
*arg1
= (wxPen
*) 0 ;
5018 wxColour
*arg2
= 0 ;
5022 PyObject
* obj0
= 0 ;
5023 PyObject
* obj1
= 0 ;
5024 char * kwnames
[] = {
5025 (char *) "self",(char *) "colour", NULL
5028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5030 if (!SWIG_IsOK(res1
)) {
5031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5033 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5036 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 (arg1
)->SetColour(*arg2
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 resultobj
= SWIG_Py_Void();
5051 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
= 0;
5053 wxPen
*arg1
= (wxPen
*) 0 ;
5059 PyObject
* obj0
= 0 ;
5060 PyObject
* obj1
= 0 ;
5061 char * kwnames
[] = {
5062 (char *) "self",(char *) "join_style", NULL
5065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5067 if (!SWIG_IsOK(res1
)) {
5068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5070 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5072 if (!SWIG_IsOK(ecode2
)) {
5073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5075 arg2
= static_cast< int >(val2
);
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 (arg1
)->SetJoin(arg2
);
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 resultobj
= SWIG_Py_Void();
5089 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
= 0;
5091 wxPen
*arg1
= (wxPen
*) 0 ;
5097 PyObject
* obj0
= 0 ;
5098 PyObject
* obj1
= 0 ;
5099 char * kwnames
[] = {
5100 (char *) "self",(char *) "style", NULL
5103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5105 if (!SWIG_IsOK(res1
)) {
5106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5108 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5110 if (!SWIG_IsOK(ecode2
)) {
5111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5113 arg2
= static_cast< int >(val2
);
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 (arg1
)->SetStyle(arg2
);
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= SWIG_Py_Void();
5127 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
= 0;
5129 wxPen
*arg1
= (wxPen
*) 0 ;
5135 PyObject
* obj0
= 0 ;
5136 PyObject
* obj1
= 0 ;
5137 char * kwnames
[] = {
5138 (char *) "self",(char *) "width", NULL
5141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5143 if (!SWIG_IsOK(res1
)) {
5144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5146 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5148 if (!SWIG_IsOK(ecode2
)) {
5149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5151 arg2
= static_cast< int >(val2
);
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 (arg1
)->SetWidth(arg2
);
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) SWIG_fail
;
5158 resultobj
= SWIG_Py_Void();
5165 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
*resultobj
= 0;
5167 wxPen
*arg1
= (wxPen
*) 0 ;
5169 wxDash
*arg3
= (wxDash
*) 0 ;
5172 PyObject
* obj0
= 0 ;
5173 PyObject
* obj1
= 0 ;
5174 char * kwnames
[] = {
5175 (char *) "self",(char *) "dashes", NULL
5178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5180 if (!SWIG_IsOK(res1
)) {
5181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5183 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5185 arg2
= PyList_Size(obj1
);
5186 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5187 if (arg3
== NULL
) SWIG_fail
;
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 (arg1
)->SetDashes(arg2
,arg3
);
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 resultobj
= SWIG_Py_Void();
5197 if (arg3
) delete [] arg3
;
5202 if (arg3
) delete [] arg3
;
5208 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5209 PyObject
*resultobj
= 0;
5210 wxPen
*arg1
= (wxPen
*) 0 ;
5211 PyObject
*result
= 0 ;
5214 PyObject
*swig_obj
[1] ;
5216 if (!args
) SWIG_fail
;
5218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5219 if (!SWIG_IsOK(res1
)) {
5220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5222 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5236 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
= 0;
5238 wxPen
*arg1
= (wxPen
*) 0 ;
5239 PyObject
*arg2
= (PyObject
*) 0 ;
5240 PyObject
*arg3
= (PyObject
*) 0 ;
5243 PyObject
* obj0
= 0 ;
5244 PyObject
* obj1
= 0 ;
5245 PyObject
* obj2
= 0 ;
5246 char * kwnames
[] = {
5247 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5252 if (!SWIG_IsOK(res1
)) {
5253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5255 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5260 wxPen__SetDashes(arg1
,arg2
,arg3
);
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 resultobj
= SWIG_Py_Void();
5271 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5272 PyObject
*resultobj
= 0;
5273 wxPen
*arg1
= (wxPen
*) 0 ;
5277 PyObject
*swig_obj
[1] ;
5279 if (!args
) SWIG_fail
;
5281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5282 if (!SWIG_IsOK(res1
)) {
5283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5285 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5288 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5289 wxPyEndAllowThreads(__tstate
);
5290 if (PyErr_Occurred()) SWIG_fail
;
5292 resultobj
= SWIG_From_int(static_cast< int >(result
));
5299 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5300 PyObject
*resultobj
= 0;
5301 wxPen
*arg1
= (wxPen
*) 0 ;
5302 wxBitmap
*result
= 0 ;
5305 PyObject
*swig_obj
[1] ;
5307 if (!args
) SWIG_fail
;
5309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5310 if (!SWIG_IsOK(res1
)) {
5311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5313 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 result
= (wxBitmap
*)(arg1
)->GetStipple();
5317 wxPyEndAllowThreads(__tstate
);
5318 if (PyErr_Occurred()) SWIG_fail
;
5320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5327 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
= 0;
5329 wxPen
*arg1
= (wxPen
*) 0 ;
5330 wxBitmap
*arg2
= 0 ;
5335 PyObject
* obj0
= 0 ;
5336 PyObject
* obj1
= 0 ;
5337 char * kwnames
[] = {
5338 (char *) "self",(char *) "stipple", NULL
5341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5343 if (!SWIG_IsOK(res1
)) {
5344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5346 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5347 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5348 if (!SWIG_IsOK(res2
)) {
5349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5352 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5354 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 (arg1
)->SetStipple(*arg2
);
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5361 resultobj
= SWIG_Py_Void();
5368 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
*resultobj
= 0;
5370 wxPen
*arg1
= (wxPen
*) 0 ;
5371 wxPen
*arg2
= (wxPen
*) 0 ;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5379 char * kwnames
[] = {
5380 (char *) "self",(char *) "other", NULL
5383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5385 if (!SWIG_IsOK(res1
)) {
5386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5388 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5389 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5390 if (!SWIG_IsOK(res2
)) {
5391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5393 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5409 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
= 0;
5411 wxPen
*arg1
= (wxPen
*) 0 ;
5412 wxPen
*arg2
= (wxPen
*) 0 ;
5418 PyObject
* obj0
= 0 ;
5419 PyObject
* obj1
= 0 ;
5420 char * kwnames
[] = {
5421 (char *) "self",(char *) "other", NULL
5424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5426 if (!SWIG_IsOK(res1
)) {
5427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5429 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5430 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5431 if (!SWIG_IsOK(res2
)) {
5432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5434 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5437 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5450 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5453 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5454 return SWIG_Py_Void();
5457 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5458 return SWIG_Python_InitShadowInstance(args
);
5461 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
*resultobj
= 0;
5463 wxColour
*arg1
= 0 ;
5464 int arg2
= (int) wxSOLID
;
5465 wxBrush
*result
= 0 ;
5469 PyObject
* obj0
= 0 ;
5470 PyObject
* obj1
= 0 ;
5471 char * kwnames
[] = {
5472 (char *) "colour",(char *) "style", NULL
5475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5478 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5482 if (!SWIG_IsOK(ecode2
)) {
5483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5485 arg2
= static_cast< int >(val2
);
5488 if (!wxPyCheckForApp()) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5501 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
*resultobj
= 0;
5503 wxBitmap
*arg1
= 0 ;
5504 wxBrush
*result
= 0 ;
5507 PyObject
* obj0
= 0 ;
5508 char * kwnames
[] = {
5509 (char *) "stippleBitmap", NULL
5512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5513 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5514 if (!SWIG_IsOK(res1
)) {
5515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5520 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5522 if (!wxPyCheckForApp()) SWIG_fail
;
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5524 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5525 wxPyEndAllowThreads(__tstate
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5535 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5536 PyObject
*resultobj
= 0;
5537 wxBrush
*arg1
= (wxBrush
*) 0 ;
5540 PyObject
*swig_obj
[1] ;
5542 if (!args
) SWIG_fail
;
5544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5545 if (!SWIG_IsOK(res1
)) {
5546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5548 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5556 resultobj
= SWIG_Py_Void();
5563 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
= 0;
5565 wxBrush
*arg1
= (wxBrush
*) 0 ;
5566 wxColour
*arg2
= 0 ;
5570 PyObject
* obj0
= 0 ;
5571 PyObject
* obj1
= 0 ;
5572 char * kwnames
[] = {
5573 (char *) "self",(char *) "col", NULL
5576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5578 if (!SWIG_IsOK(res1
)) {
5579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5581 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5584 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 (arg1
)->SetColour((wxColour
const &)*arg2
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5592 resultobj
= SWIG_Py_Void();
5599 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
= 0;
5601 wxBrush
*arg1
= (wxBrush
*) 0 ;
5607 PyObject
* obj0
= 0 ;
5608 PyObject
* obj1
= 0 ;
5609 char * kwnames
[] = {
5610 (char *) "self",(char *) "style", NULL
5613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5615 if (!SWIG_IsOK(res1
)) {
5616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5618 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5620 if (!SWIG_IsOK(ecode2
)) {
5621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5623 arg2
= static_cast< int >(val2
);
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 (arg1
)->SetStyle(arg2
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5630 resultobj
= SWIG_Py_Void();
5637 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
= 0;
5639 wxBrush
*arg1
= (wxBrush
*) 0 ;
5640 wxBitmap
*arg2
= 0 ;
5645 PyObject
* obj0
= 0 ;
5646 PyObject
* obj1
= 0 ;
5647 char * kwnames
[] = {
5648 (char *) "self",(char *) "stipple", NULL
5651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5653 if (!SWIG_IsOK(res1
)) {
5654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5656 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5657 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5658 if (!SWIG_IsOK(res2
)) {
5659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5664 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5671 resultobj
= SWIG_Py_Void();
5678 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5679 PyObject
*resultobj
= 0;
5680 wxBrush
*arg1
= (wxBrush
*) 0 ;
5684 PyObject
*swig_obj
[1] ;
5686 if (!args
) SWIG_fail
;
5688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5689 if (!SWIG_IsOK(res1
)) {
5690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5692 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 result
= ((wxBrush
const *)arg1
)->GetColour();
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5699 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5706 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5707 PyObject
*resultobj
= 0;
5708 wxBrush
*arg1
= (wxBrush
*) 0 ;
5712 PyObject
*swig_obj
[1] ;
5714 if (!args
) SWIG_fail
;
5716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5717 if (!SWIG_IsOK(res1
)) {
5718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5720 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5727 resultobj
= SWIG_From_int(static_cast< int >(result
));
5734 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5735 PyObject
*resultobj
= 0;
5736 wxBrush
*arg1
= (wxBrush
*) 0 ;
5737 wxBitmap
*result
= 0 ;
5740 PyObject
*swig_obj
[1] ;
5742 if (!args
) SWIG_fail
;
5744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5745 if (!SWIG_IsOK(res1
)) {
5746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5748 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5762 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5763 PyObject
*resultobj
= 0;
5764 wxBrush
*arg1
= (wxBrush
*) 0 ;
5768 PyObject
*swig_obj
[1] ;
5770 if (!args
) SWIG_fail
;
5772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5773 if (!SWIG_IsOK(res1
)) {
5774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5776 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5792 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5793 PyObject
*resultobj
= 0;
5794 wxBrush
*arg1
= (wxBrush
*) 0 ;
5798 PyObject
*swig_obj
[1] ;
5800 if (!args
) SWIG_fail
;
5802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5803 if (!SWIG_IsOK(res1
)) {
5804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5806 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 result
= (bool)(arg1
)->Ok();
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5822 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5825 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5826 return SWIG_Py_Void();
5829 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5830 return SWIG_Python_InitShadowInstance(args
);
5833 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
= 0;
5835 wxString
*arg1
= 0 ;
5836 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5837 wxBitmap
*result
= 0 ;
5838 bool temp1
= false ;
5841 PyObject
* obj0
= 0 ;
5842 PyObject
* obj1
= 0 ;
5843 char * kwnames
[] = {
5844 (char *) "name",(char *) "type", NULL
5847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5849 arg1
= wxString_in_helper(obj0
);
5850 if (arg1
== NULL
) SWIG_fail
;
5854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5855 if (!SWIG_IsOK(ecode2
)) {
5856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5858 arg2
= static_cast< wxBitmapType
>(val2
);
5861 if (!wxPyCheckForApp()) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5882 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5883 PyObject
*resultobj
= 0;
5884 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5887 PyObject
*swig_obj
[1] ;
5889 if (!args
) SWIG_fail
;
5891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5892 if (!SWIG_IsOK(res1
)) {
5893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5895 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= SWIG_Py_Void();
5908 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
= 0;
5912 int arg3
= (int) -1 ;
5913 wxBitmap
*result
= 0 ;
5920 PyObject
* obj0
= 0 ;
5921 PyObject
* obj1
= 0 ;
5922 PyObject
* obj2
= 0 ;
5923 char * kwnames
[] = {
5924 (char *) "width",(char *) "height",(char *) "depth", NULL
5927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5928 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5929 if (!SWIG_IsOK(ecode1
)) {
5930 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5932 arg1
= static_cast< int >(val1
);
5933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5934 if (!SWIG_IsOK(ecode2
)) {
5935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5937 arg2
= static_cast< int >(val2
);
5939 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5940 if (!SWIG_IsOK(ecode3
)) {
5941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5943 arg3
= static_cast< int >(val3
);
5946 if (!wxPyCheckForApp()) SWIG_fail
;
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) SWIG_fail
;
5952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5959 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
*resultobj
= 0;
5962 wxBitmap
*result
= 0 ;
5965 PyObject
* obj0
= 0 ;
5966 char * kwnames
[] = {
5967 (char *) "icon", NULL
5970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5971 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5972 if (!SWIG_IsOK(res1
)) {
5973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5978 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5980 if (!wxPyCheckForApp()) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5993 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
= 0;
5996 int arg2
= (int) -1 ;
5997 wxBitmap
*result
= 0 ;
6002 PyObject
* obj0
= 0 ;
6003 PyObject
* obj1
= 0 ;
6004 char * kwnames
[] = {
6005 (char *) "image",(char *) "depth", NULL
6008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6009 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6010 if (!SWIG_IsOK(res1
)) {
6011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6016 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6019 if (!SWIG_IsOK(ecode2
)) {
6020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6022 arg2
= static_cast< int >(val2
);
6025 if (!wxPyCheckForApp()) SWIG_fail
;
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6038 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
= 0;
6040 PyObject
*arg1
= (PyObject
*) 0 ;
6041 wxBitmap
*result
= 0 ;
6042 PyObject
* obj0
= 0 ;
6043 char * kwnames
[] = {
6044 (char *) "listOfStrings", NULL
6047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6050 if (!wxPyCheckForApp()) SWIG_fail
;
6051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6052 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6063 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
= 0;
6065 PyObject
*arg1
= (PyObject
*) 0 ;
6068 int arg4
= (int) 1 ;
6069 wxBitmap
*result
= 0 ;
6076 PyObject
* obj0
= 0 ;
6077 PyObject
* obj1
= 0 ;
6078 PyObject
* obj2
= 0 ;
6079 PyObject
* obj3
= 0 ;
6080 char * kwnames
[] = {
6081 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6087 if (!SWIG_IsOK(ecode2
)) {
6088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6090 arg2
= static_cast< int >(val2
);
6091 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6092 if (!SWIG_IsOK(ecode3
)) {
6093 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6095 arg3
= static_cast< int >(val3
);
6097 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6098 if (!SWIG_IsOK(ecode4
)) {
6099 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6101 arg4
= static_cast< int >(val4
);
6104 if (!wxPyCheckForApp()) SWIG_fail
;
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6117 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6118 PyObject
*resultobj
= 0;
6119 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
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_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6131 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6133 result
= (long)(arg1
)->GetHandle();
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 resultobj
= SWIG_From_long(static_cast< long >(result
));
6143 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
= 0;
6145 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6151 PyObject
* obj0
= 0 ;
6152 PyObject
* obj1
= 0 ;
6153 char * kwnames
[] = {
6154 (char *) "self",(char *) "handle", NULL
6157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6159 if (!SWIG_IsOK(res1
)) {
6160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6162 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6163 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6164 if (!SWIG_IsOK(ecode2
)) {
6165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6167 arg2
= static_cast< long >(val2
);
6169 wxBitmap_SetHandle(arg1
,arg2
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= SWIG_Py_Void();
6179 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6180 PyObject
*resultobj
= 0;
6181 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6185 PyObject
*swig_obj
[1] ;
6187 if (!args
) SWIG_fail
;
6189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6190 if (!SWIG_IsOK(res1
)) {
6191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
6193 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6195 result
= (bool)(arg1
)->Ok();
6196 if (PyErr_Occurred()) SWIG_fail
;
6199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6207 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6208 PyObject
*resultobj
= 0;
6209 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6213 PyObject
*swig_obj
[1] ;
6215 if (!args
) SWIG_fail
;
6217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6218 if (!SWIG_IsOK(res1
)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6221 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6223 result
= (int)(arg1
)->GetWidth();
6224 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= SWIG_From_int(static_cast< int >(result
));
6233 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6234 PyObject
*resultobj
= 0;
6235 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6239 PyObject
*swig_obj
[1] ;
6241 if (!args
) SWIG_fail
;
6243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6244 if (!SWIG_IsOK(res1
)) {
6245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6247 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6249 result
= (int)(arg1
)->GetHeight();
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= SWIG_From_int(static_cast< int >(result
));
6259 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6260 PyObject
*resultobj
= 0;
6261 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6265 PyObject
*swig_obj
[1] ;
6267 if (!args
) SWIG_fail
;
6269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6270 if (!SWIG_IsOK(res1
)) {
6271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6273 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6275 result
= (int)(arg1
)->GetDepth();
6276 if (PyErr_Occurred()) SWIG_fail
;
6278 resultobj
= SWIG_From_int(static_cast< int >(result
));
6285 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6286 PyObject
*resultobj
= 0;
6287 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6291 PyObject
*swig_obj
[1] ;
6293 if (!args
) SWIG_fail
;
6295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6296 if (!SWIG_IsOK(res1
)) {
6297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6299 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6301 result
= wxBitmap_GetSize(arg1
);
6302 if (PyErr_Occurred()) SWIG_fail
;
6304 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6311 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6312 PyObject
*resultobj
= 0;
6313 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6314 SwigValueWrapper
<wxImage
> result
;
6317 PyObject
*swig_obj
[1] ;
6319 if (!args
) SWIG_fail
;
6321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6322 if (!SWIG_IsOK(res1
)) {
6323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6325 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6327 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6328 if (PyErr_Occurred()) SWIG_fail
;
6330 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6337 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6338 PyObject
*resultobj
= 0;
6339 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6340 wxMask
*result
= 0 ;
6343 PyObject
*swig_obj
[1] ;
6345 if (!args
) SWIG_fail
;
6347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6348 if (!SWIG_IsOK(res1
)) {
6349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6351 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6353 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6363 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
= 0;
6365 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6366 wxMask
*arg2
= (wxMask
*) 0 ;
6370 PyObject
* obj0
= 0 ;
6371 PyObject
* obj1
= 0 ;
6372 char * kwnames
[] = {
6373 (char *) "self",(char *) "mask", NULL
6376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6378 if (!SWIG_IsOK(res1
)) {
6379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6381 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6382 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6383 if (!SWIG_IsOK(res2
)) {
6384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6387 (arg1
)->SetMask(arg2
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6390 resultobj
= SWIG_Py_Void();
6397 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
*resultobj
= 0;
6399 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6400 wxColour
*arg2
= 0 ;
6404 PyObject
* obj0
= 0 ;
6405 PyObject
* obj1
= 0 ;
6406 char * kwnames
[] = {
6407 (char *) "self",(char *) "colour", NULL
6410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6412 if (!SWIG_IsOK(res1
)) {
6413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6415 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6418 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6421 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6424 resultobj
= SWIG_Py_Void();
6431 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
*resultobj
= 0;
6433 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6435 SwigValueWrapper
<wxBitmap
> result
;
6439 PyObject
* obj0
= 0 ;
6440 PyObject
* obj1
= 0 ;
6441 char * kwnames
[] = {
6442 (char *) "self",(char *) "rect", NULL
6445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6447 if (!SWIG_IsOK(res1
)) {
6448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6450 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6453 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6456 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6457 if (PyErr_Occurred()) SWIG_fail
;
6459 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6466 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6467 PyObject
*resultobj
= 0;
6468 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6469 wxString
*arg2
= 0 ;
6471 wxPalette
*arg4
= (wxPalette
*) NULL
;
6475 bool temp2
= false ;
6480 PyObject
* obj0
= 0 ;
6481 PyObject
* obj1
= 0 ;
6482 PyObject
* obj2
= 0 ;
6483 PyObject
* obj3
= 0 ;
6484 char * kwnames
[] = {
6485 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6490 if (!SWIG_IsOK(res1
)) {
6491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6493 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6495 arg2
= wxString_in_helper(obj1
);
6496 if (arg2
== NULL
) SWIG_fail
;
6499 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6500 if (!SWIG_IsOK(ecode3
)) {
6501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6503 arg3
= static_cast< wxBitmapType
>(val3
);
6505 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6506 if (!SWIG_IsOK(res4
)) {
6507 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6509 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6512 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6532 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
*resultobj
= 0;
6534 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6535 wxString
*arg2
= 0 ;
6540 bool temp2
= false ;
6543 PyObject
* obj0
= 0 ;
6544 PyObject
* obj1
= 0 ;
6545 PyObject
* obj2
= 0 ;
6546 char * kwnames
[] = {
6547 (char *) "self",(char *) "name",(char *) "type", NULL
6550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6552 if (!SWIG_IsOK(res1
)) {
6553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6555 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6557 arg2
= wxString_in_helper(obj1
);
6558 if (arg2
== NULL
) SWIG_fail
;
6561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6562 if (!SWIG_IsOK(ecode3
)) {
6563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6565 arg3
= static_cast< wxBitmapType
>(val3
);
6567 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6587 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6588 PyObject
*resultobj
= 0;
6589 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6590 wxPalette
*result
= 0 ;
6593 PyObject
*swig_obj
[1] ;
6595 if (!args
) SWIG_fail
;
6597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6598 if (!SWIG_IsOK(res1
)) {
6599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6601 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6603 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6604 if (PyErr_Occurred()) SWIG_fail
;
6606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6613 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
*resultobj
= 0;
6615 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6616 wxPalette
*arg2
= 0 ;
6621 PyObject
* obj0
= 0 ;
6622 PyObject
* obj1
= 0 ;
6623 char * kwnames
[] = {
6624 (char *) "self",(char *) "palette", NULL
6627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6629 if (!SWIG_IsOK(res1
)) {
6630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6632 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6633 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6634 if (!SWIG_IsOK(res2
)) {
6635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6640 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6642 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6645 resultobj
= SWIG_Py_Void();
6652 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
*resultobj
= 0;
6654 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6661 PyObject
* obj0
= 0 ;
6662 PyObject
* obj1
= 0 ;
6663 char * kwnames
[] = {
6664 (char *) "self",(char *) "icon", NULL
6667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6669 if (!SWIG_IsOK(res1
)) {
6670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6672 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6673 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6674 if (!SWIG_IsOK(res2
)) {
6675 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6680 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6682 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6694 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6695 PyObject
*resultobj
= 0;
6696 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6702 PyObject
* obj0
= 0 ;
6703 PyObject
* obj1
= 0 ;
6704 char * kwnames
[] = {
6705 (char *) "self",(char *) "height", NULL
6708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6710 if (!SWIG_IsOK(res1
)) {
6711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6713 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6715 if (!SWIG_IsOK(ecode2
)) {
6716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6718 arg2
= static_cast< int >(val2
);
6720 (arg1
)->SetHeight(arg2
);
6721 if (PyErr_Occurred()) SWIG_fail
;
6723 resultobj
= SWIG_Py_Void();
6730 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
= 0;
6732 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6738 PyObject
* obj0
= 0 ;
6739 PyObject
* obj1
= 0 ;
6740 char * kwnames
[] = {
6741 (char *) "self",(char *) "width", NULL
6744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6746 if (!SWIG_IsOK(res1
)) {
6747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6749 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6751 if (!SWIG_IsOK(ecode2
)) {
6752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6754 arg2
= static_cast< int >(val2
);
6756 (arg1
)->SetWidth(arg2
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6759 resultobj
= SWIG_Py_Void();
6766 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6767 PyObject
*resultobj
= 0;
6768 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6774 PyObject
* obj0
= 0 ;
6775 PyObject
* obj1
= 0 ;
6776 char * kwnames
[] = {
6777 (char *) "self",(char *) "depth", NULL
6780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6782 if (!SWIG_IsOK(res1
)) {
6783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6785 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6787 if (!SWIG_IsOK(ecode2
)) {
6788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6790 arg2
= static_cast< int >(val2
);
6792 (arg1
)->SetDepth(arg2
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6795 resultobj
= SWIG_Py_Void();
6802 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
*resultobj
= 0;
6804 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6809 PyObject
* obj0
= 0 ;
6810 PyObject
* obj1
= 0 ;
6811 char * kwnames
[] = {
6812 (char *) "self",(char *) "size", NULL
6815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6817 if (!SWIG_IsOK(res1
)) {
6818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6820 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6823 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6826 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6827 if (PyErr_Occurred()) SWIG_fail
;
6829 resultobj
= SWIG_Py_Void();
6836 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6837 PyObject
*resultobj
= 0;
6838 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6839 wxCursor
*arg2
= 0 ;
6845 PyObject
* obj0
= 0 ;
6846 PyObject
* obj1
= 0 ;
6847 char * kwnames
[] = {
6848 (char *) "self",(char *) "cursor", NULL
6851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6853 if (!SWIG_IsOK(res1
)) {
6854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
6856 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6857 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
6858 if (!SWIG_IsOK(res2
)) {
6859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6864 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
6866 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6878 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
= 0;
6880 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6881 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6887 PyObject
* obj0
= 0 ;
6888 PyObject
* obj1
= 0 ;
6889 char * kwnames
[] = {
6890 (char *) "self",(char *) "other", NULL
6893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6895 if (!SWIG_IsOK(res1
)) {
6896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6898 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6899 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6900 if (!SWIG_IsOK(res2
)) {
6901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6903 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6905 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6917 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
= 0;
6919 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6920 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6926 PyObject
* obj0
= 0 ;
6927 PyObject
* obj1
= 0 ;
6928 char * kwnames
[] = {
6929 (char *) "self",(char *) "other", NULL
6932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6934 if (!SWIG_IsOK(res1
)) {
6935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6937 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6938 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6939 if (!SWIG_IsOK(res2
)) {
6940 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6942 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6944 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6956 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6958 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6959 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6960 return SWIG_Py_Void();
6963 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6964 return SWIG_Python_InitShadowInstance(args
);
6967 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6968 PyObject
*resultobj
= 0;
6975 wxBitmap
*result
= 0 ;
6982 PyObject
* obj0
= 0 ;
6983 PyObject
* obj1
= 0 ;
6984 PyObject
* obj2
= 0 ;
6985 PyObject
* obj3
= 0 ;
6986 char * kwnames
[] = {
6987 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6991 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6992 if (!SWIG_IsOK(ecode1
)) {
6993 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6995 arg1
= static_cast< int >(val1
);
6996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6997 if (!SWIG_IsOK(ecode2
)) {
6998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7000 arg2
= static_cast< int >(val2
);
7002 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7006 if (obj3
!= Py_None
) {
7007 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7012 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7022 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
= 0;
7028 wxBitmap
*result
= 0 ;
7034 PyObject
* obj0
= 0 ;
7035 PyObject
* obj1
= 0 ;
7036 PyObject
* obj2
= 0 ;
7037 char * kwnames
[] = {
7038 (char *) "width",(char *) "height",(char *) "data", NULL
7041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7042 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7043 if (!SWIG_IsOK(ecode1
)) {
7044 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7046 arg1
= static_cast< int >(val1
);
7047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7048 if (!SWIG_IsOK(ecode2
)) {
7049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7051 arg2
= static_cast< int >(val2
);
7053 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7057 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7067 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
= 0;
7073 wxBitmap
*result
= 0 ;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7081 PyObject
* obj2
= 0 ;
7082 char * kwnames
[] = {
7083 (char *) "width",(char *) "height",(char *) "data", NULL
7086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7087 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7088 if (!SWIG_IsOK(ecode1
)) {
7089 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7091 arg1
= static_cast< int >(val1
);
7092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7093 if (!SWIG_IsOK(ecode2
)) {
7094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7096 arg2
= static_cast< int >(val2
);
7098 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7102 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7112 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7113 PyObject
*resultobj
= 0;
7114 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7118 PyObject
*swig_obj
[1] ;
7120 if (!args
) SWIG_fail
;
7122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7123 if (!SWIG_IsOK(res1
)) {
7124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7126 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7128 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7129 if (PyErr_Occurred()) SWIG_fail
;
7131 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7138 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7139 PyObject
*resultobj
= 0;
7140 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7144 PyObject
*swig_obj
[1] ;
7146 if (!args
) SWIG_fail
;
7148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7149 if (!SWIG_IsOK(res1
)) {
7150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7152 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7154 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 resultobj
= SWIG_From_int(static_cast< int >(result
));
7164 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7165 PyObject
*resultobj
= 0;
7166 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7170 PyObject
*swig_obj
[1] ;
7172 if (!args
) SWIG_fail
;
7174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7175 if (!SWIG_IsOK(res1
)) {
7176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7178 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7180 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 resultobj
= SWIG_From_int(static_cast< int >(result
));
7190 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7191 PyObject
*resultobj
= 0;
7192 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7196 PyObject
*swig_obj
[1] ;
7198 if (!args
) SWIG_fail
;
7200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7201 if (!SWIG_IsOK(res1
)) {
7202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7204 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7206 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7207 if (PyErr_Occurred()) SWIG_fail
;
7209 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7216 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7217 PyObject
*resultobj
= 0;
7218 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7222 PyObject
*swig_obj
[1] ;
7224 if (!args
) SWIG_fail
;
7226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7227 if (!SWIG_IsOK(res1
)) {
7228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7230 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7232 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7233 if (PyErr_Occurred()) SWIG_fail
;
7235 resultobj
= SWIG_From_int(static_cast< int >(result
));
7242 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7244 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7245 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7246 return SWIG_Py_Void();
7249 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7250 PyObject
*resultobj
= 0;
7251 wxBitmap
*arg1
= 0 ;
7252 wxNativePixelData
*result
= 0 ;
7256 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7258 if (!SWIG_IsOK(res1
)) {
7259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7264 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7266 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7276 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7277 PyObject
*resultobj
= 0;
7278 wxBitmap
*arg1
= 0 ;
7280 wxNativePixelData
*result
= 0 ;
7285 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7287 if (!SWIG_IsOK(res1
)) {
7288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7293 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7296 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7299 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7309 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7310 PyObject
*resultobj
= 0;
7311 wxBitmap
*arg1
= 0 ;
7314 wxNativePixelData
*result
= 0 ;
7320 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7322 if (!SWIG_IsOK(res1
)) {
7323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7328 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7331 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7335 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7338 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7348 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7352 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7355 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7358 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7361 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7365 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7370 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7371 PyObject
*resultobj
= 0;
7372 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7375 PyObject
*swig_obj
[1] ;
7377 if (!args
) SWIG_fail
;
7379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7380 if (!SWIG_IsOK(res1
)) {
7381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7383 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 resultobj
= SWIG_Py_Void();
7396 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7397 PyObject
*resultobj
= 0;
7398 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7399 wxNativePixelData_Accessor result
;
7402 PyObject
*swig_obj
[1] ;
7404 if (!args
) SWIG_fail
;
7406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7407 if (!SWIG_IsOK(res1
)) {
7408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7410 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7412 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7422 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7423 PyObject
*resultobj
= 0;
7424 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7427 PyObject
*swig_obj
[1] ;
7429 if (!args
) SWIG_fail
;
7431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7432 if (!SWIG_IsOK(res1
)) {
7433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7435 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= SWIG_Py_Void();
7447 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7448 PyObject
*resultobj
= 0;
7449 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7453 PyObject
*swig_obj
[1] ;
7455 if (!args
) SWIG_fail
;
7457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7458 if (!SWIG_IsOK(res1
)) {
7459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7461 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7463 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7475 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7478 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7479 return SWIG_Py_Void();
7482 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7483 return SWIG_Python_InitShadowInstance(args
);
7486 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7487 PyObject
*resultobj
= 0;
7488 wxNativePixelData
*arg1
= 0 ;
7489 wxNativePixelData_Accessor
*result
= 0 ;
7493 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7495 if (!SWIG_IsOK(res1
)) {
7496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7501 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7503 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7513 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7514 PyObject
*resultobj
= 0;
7515 wxBitmap
*arg1
= 0 ;
7516 wxNativePixelData
*arg2
= 0 ;
7517 wxNativePixelData_Accessor
*result
= 0 ;
7523 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7525 if (!SWIG_IsOK(res1
)) {
7526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7531 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7532 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7533 if (!SWIG_IsOK(res2
)) {
7534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7539 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7541 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7551 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7552 PyObject
*resultobj
= 0;
7553 wxNativePixelData_Accessor
*result
= 0 ;
7555 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7557 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7558 if (PyErr_Occurred()) SWIG_fail
;
7560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7567 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7571 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7574 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7577 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7580 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7584 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7589 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7590 PyObject
*resultobj
= 0;
7591 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7594 PyObject
*swig_obj
[1] ;
7596 if (!args
) SWIG_fail
;
7598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7599 if (!SWIG_IsOK(res1
)) {
7600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7602 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7608 resultobj
= SWIG_Py_Void();
7615 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
*resultobj
= 0;
7617 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7618 wxNativePixelData
*arg2
= 0 ;
7623 PyObject
* obj0
= 0 ;
7624 PyObject
* obj1
= 0 ;
7625 char * kwnames
[] = {
7626 (char *) "self",(char *) "data", NULL
7629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7631 if (!SWIG_IsOK(res1
)) {
7632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7634 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7635 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7636 if (!SWIG_IsOK(res2
)) {
7637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7642 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7644 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= SWIG_Py_Void();
7654 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7655 PyObject
*resultobj
= 0;
7656 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7660 PyObject
*swig_obj
[1] ;
7662 if (!args
) SWIG_fail
;
7664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7665 if (!SWIG_IsOK(res1
)) {
7666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7668 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7670 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7671 if (PyErr_Occurred()) SWIG_fail
;
7674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7682 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7683 PyObject
*resultobj
= 0;
7684 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7687 PyObject
*swig_obj
[1] ;
7689 if (!args
) SWIG_fail
;
7691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7692 if (!SWIG_IsOK(res1
)) {
7693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7695 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7697 wxNativePixelData_Accessor_nextPixel(arg1
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7700 resultobj
= SWIG_Py_Void();
7707 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
= 0;
7709 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7710 wxNativePixelData
*arg2
= 0 ;
7721 PyObject
* obj0
= 0 ;
7722 PyObject
* obj1
= 0 ;
7723 PyObject
* obj2
= 0 ;
7724 PyObject
* obj3
= 0 ;
7725 char * kwnames
[] = {
7726 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7731 if (!SWIG_IsOK(res1
)) {
7732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7734 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7736 if (!SWIG_IsOK(res2
)) {
7737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7742 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7744 if (!SWIG_IsOK(ecode3
)) {
7745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7747 arg3
= static_cast< int >(val3
);
7748 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7749 if (!SWIG_IsOK(ecode4
)) {
7750 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7752 arg4
= static_cast< int >(val4
);
7754 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7757 resultobj
= SWIG_Py_Void();
7764 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
= 0;
7766 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7767 wxNativePixelData
*arg2
= 0 ;
7775 PyObject
* obj0
= 0 ;
7776 PyObject
* obj1
= 0 ;
7777 PyObject
* obj2
= 0 ;
7778 char * kwnames
[] = {
7779 (char *) "self",(char *) "data",(char *) "x", NULL
7782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7784 if (!SWIG_IsOK(res1
)) {
7785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7787 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7788 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7789 if (!SWIG_IsOK(res2
)) {
7790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7795 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7797 if (!SWIG_IsOK(ecode3
)) {
7798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7800 arg3
= static_cast< int >(val3
);
7802 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7803 if (PyErr_Occurred()) SWIG_fail
;
7805 resultobj
= SWIG_Py_Void();
7812 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
*resultobj
= 0;
7814 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7815 wxNativePixelData
*arg2
= 0 ;
7823 PyObject
* obj0
= 0 ;
7824 PyObject
* obj1
= 0 ;
7825 PyObject
* obj2
= 0 ;
7826 char * kwnames
[] = {
7827 (char *) "self",(char *) "data",(char *) "y", NULL
7830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7832 if (!SWIG_IsOK(res1
)) {
7833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7835 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7836 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7837 if (!SWIG_IsOK(res2
)) {
7838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7843 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7845 if (!SWIG_IsOK(ecode3
)) {
7846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7848 arg3
= static_cast< int >(val3
);
7850 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 resultobj
= SWIG_Py_Void();
7860 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
= 0;
7862 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7863 wxNativePixelData
*arg2
= 0 ;
7874 PyObject
* obj0
= 0 ;
7875 PyObject
* obj1
= 0 ;
7876 PyObject
* obj2
= 0 ;
7877 PyObject
* obj3
= 0 ;
7878 char * kwnames
[] = {
7879 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7884 if (!SWIG_IsOK(res1
)) {
7885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7887 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7888 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7889 if (!SWIG_IsOK(res2
)) {
7890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7895 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7896 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7897 if (!SWIG_IsOK(ecode3
)) {
7898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7900 arg3
= static_cast< int >(val3
);
7901 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7902 if (!SWIG_IsOK(ecode4
)) {
7903 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7905 arg4
= static_cast< int >(val4
);
7907 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7910 resultobj
= SWIG_Py_Void();
7917 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
= 0;
7919 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7925 unsigned char val2
;
7927 unsigned char val3
;
7929 unsigned char val4
;
7931 PyObject
* obj0
= 0 ;
7932 PyObject
* obj1
= 0 ;
7933 PyObject
* obj2
= 0 ;
7934 PyObject
* obj3
= 0 ;
7935 char * kwnames
[] = {
7936 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7941 if (!SWIG_IsOK(res1
)) {
7942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7944 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7945 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7946 if (!SWIG_IsOK(ecode2
)) {
7947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7949 arg2
= static_cast< byte
>(val2
);
7950 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7951 if (!SWIG_IsOK(ecode3
)) {
7952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7954 arg3
= static_cast< byte
>(val3
);
7955 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7956 if (!SWIG_IsOK(ecode4
)) {
7957 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7959 arg4
= static_cast< byte
>(val4
);
7961 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7964 resultobj
= SWIG_Py_Void();
7971 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7972 PyObject
*resultobj
= 0;
7973 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7974 PyObject
*result
= 0 ;
7977 PyObject
*swig_obj
[1] ;
7979 if (!args
) SWIG_fail
;
7981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7982 if (!SWIG_IsOK(res1
)) {
7983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7985 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7987 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7997 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8000 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8001 return SWIG_Py_Void();
8004 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8005 return SWIG_Python_InitShadowInstance(args
);
8008 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8009 PyObject
*resultobj
= 0;
8010 wxBitmap
*arg1
= 0 ;
8011 wxAlphaPixelData
*result
= 0 ;
8015 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8017 if (!SWIG_IsOK(res1
)) {
8018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8023 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8025 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8035 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8036 PyObject
*resultobj
= 0;
8037 wxBitmap
*arg1
= 0 ;
8039 wxAlphaPixelData
*result
= 0 ;
8044 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8046 if (!SWIG_IsOK(res1
)) {
8047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8052 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8055 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8058 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8068 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8069 PyObject
*resultobj
= 0;
8070 wxBitmap
*arg1
= 0 ;
8073 wxAlphaPixelData
*result
= 0 ;
8079 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8081 if (!SWIG_IsOK(res1
)) {
8082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8087 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8090 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8094 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8097 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8107 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8111 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8114 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8117 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8120 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8124 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8129 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8130 PyObject
*resultobj
= 0;
8131 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8134 PyObject
*swig_obj
[1] ;
8136 if (!args
) SWIG_fail
;
8138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8139 if (!SWIG_IsOK(res1
)) {
8140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8142 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 resultobj
= SWIG_Py_Void();
8155 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8156 PyObject
*resultobj
= 0;
8157 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8158 wxAlphaPixelData_Accessor result
;
8161 PyObject
*swig_obj
[1] ;
8163 if (!args
) SWIG_fail
;
8165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8166 if (!SWIG_IsOK(res1
)) {
8167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8169 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8171 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8172 if (PyErr_Occurred()) SWIG_fail
;
8174 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8181 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8182 PyObject
*resultobj
= 0;
8183 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8186 PyObject
*swig_obj
[1] ;
8188 if (!args
) SWIG_fail
;
8190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8191 if (!SWIG_IsOK(res1
)) {
8192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8194 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8197 if (PyErr_Occurred()) SWIG_fail
;
8199 resultobj
= SWIG_Py_Void();
8206 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8207 PyObject
*resultobj
= 0;
8208 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8212 PyObject
*swig_obj
[1] ;
8214 if (!args
) SWIG_fail
;
8216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8217 if (!SWIG_IsOK(res1
)) {
8218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8220 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8222 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8234 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8237 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8238 return SWIG_Py_Void();
8241 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8242 return SWIG_Python_InitShadowInstance(args
);
8245 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8246 PyObject
*resultobj
= 0;
8247 wxAlphaPixelData
*arg1
= 0 ;
8248 wxAlphaPixelData_Accessor
*result
= 0 ;
8252 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8254 if (!SWIG_IsOK(res1
)) {
8255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8260 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8262 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8272 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8273 PyObject
*resultobj
= 0;
8274 wxBitmap
*arg1
= 0 ;
8275 wxAlphaPixelData
*arg2
= 0 ;
8276 wxAlphaPixelData_Accessor
*result
= 0 ;
8282 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8284 if (!SWIG_IsOK(res1
)) {
8285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8290 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8291 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8292 if (!SWIG_IsOK(res2
)) {
8293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8298 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8300 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8310 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8311 PyObject
*resultobj
= 0;
8312 wxAlphaPixelData_Accessor
*result
= 0 ;
8314 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8316 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8317 if (PyErr_Occurred()) SWIG_fail
;
8319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8326 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8330 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8333 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8336 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8339 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8343 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8348 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8349 PyObject
*resultobj
= 0;
8350 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8353 PyObject
*swig_obj
[1] ;
8355 if (!args
) SWIG_fail
;
8357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8358 if (!SWIG_IsOK(res1
)) {
8359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8361 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8367 resultobj
= SWIG_Py_Void();
8374 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8375 PyObject
*resultobj
= 0;
8376 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8377 wxAlphaPixelData
*arg2
= 0 ;
8382 PyObject
* obj0
= 0 ;
8383 PyObject
* obj1
= 0 ;
8384 char * kwnames
[] = {
8385 (char *) "self",(char *) "data", NULL
8388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8390 if (!SWIG_IsOK(res1
)) {
8391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8393 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8394 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8395 if (!SWIG_IsOK(res2
)) {
8396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8401 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8403 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8406 resultobj
= SWIG_Py_Void();
8413 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8414 PyObject
*resultobj
= 0;
8415 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8419 PyObject
*swig_obj
[1] ;
8421 if (!args
) SWIG_fail
;
8423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8424 if (!SWIG_IsOK(res1
)) {
8425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8427 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8429 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8430 if (PyErr_Occurred()) SWIG_fail
;
8433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8441 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8442 PyObject
*resultobj
= 0;
8443 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8446 PyObject
*swig_obj
[1] ;
8448 if (!args
) SWIG_fail
;
8450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8451 if (!SWIG_IsOK(res1
)) {
8452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8454 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8456 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8459 resultobj
= SWIG_Py_Void();
8466 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8467 PyObject
*resultobj
= 0;
8468 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8469 wxAlphaPixelData
*arg2
= 0 ;
8480 PyObject
* obj0
= 0 ;
8481 PyObject
* obj1
= 0 ;
8482 PyObject
* obj2
= 0 ;
8483 PyObject
* obj3
= 0 ;
8484 char * kwnames
[] = {
8485 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8490 if (!SWIG_IsOK(res1
)) {
8491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8493 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8494 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8495 if (!SWIG_IsOK(res2
)) {
8496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8501 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8503 if (!SWIG_IsOK(ecode3
)) {
8504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8506 arg3
= static_cast< int >(val3
);
8507 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8508 if (!SWIG_IsOK(ecode4
)) {
8509 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8511 arg4
= static_cast< int >(val4
);
8513 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 resultobj
= SWIG_Py_Void();
8523 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
= 0;
8525 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8526 wxAlphaPixelData
*arg2
= 0 ;
8534 PyObject
* obj0
= 0 ;
8535 PyObject
* obj1
= 0 ;
8536 PyObject
* obj2
= 0 ;
8537 char * kwnames
[] = {
8538 (char *) "self",(char *) "data",(char *) "x", NULL
8541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8543 if (!SWIG_IsOK(res1
)) {
8544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8546 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8547 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8548 if (!SWIG_IsOK(res2
)) {
8549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8554 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8556 if (!SWIG_IsOK(ecode3
)) {
8557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8559 arg3
= static_cast< int >(val3
);
8561 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= SWIG_Py_Void();
8571 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
= 0;
8573 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8574 wxAlphaPixelData
*arg2
= 0 ;
8582 PyObject
* obj0
= 0 ;
8583 PyObject
* obj1
= 0 ;
8584 PyObject
* obj2
= 0 ;
8585 char * kwnames
[] = {
8586 (char *) "self",(char *) "data",(char *) "y", NULL
8589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8591 if (!SWIG_IsOK(res1
)) {
8592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8594 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8596 if (!SWIG_IsOK(res2
)) {
8597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8602 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8603 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8604 if (!SWIG_IsOK(ecode3
)) {
8605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8607 arg3
= static_cast< int >(val3
);
8609 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8612 resultobj
= SWIG_Py_Void();
8619 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
= 0;
8621 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8622 wxAlphaPixelData
*arg2
= 0 ;
8633 PyObject
* obj0
= 0 ;
8634 PyObject
* obj1
= 0 ;
8635 PyObject
* obj2
= 0 ;
8636 PyObject
* obj3
= 0 ;
8637 char * kwnames
[] = {
8638 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8643 if (!SWIG_IsOK(res1
)) {
8644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8646 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8647 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8648 if (!SWIG_IsOK(res2
)) {
8649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8654 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8656 if (!SWIG_IsOK(ecode3
)) {
8657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8659 arg3
= static_cast< int >(val3
);
8660 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8661 if (!SWIG_IsOK(ecode4
)) {
8662 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8664 arg4
= static_cast< int >(val4
);
8666 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= SWIG_Py_Void();
8676 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
*resultobj
= 0;
8678 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8685 unsigned char val2
;
8687 unsigned char val3
;
8689 unsigned char val4
;
8691 unsigned char val5
;
8693 PyObject
* obj0
= 0 ;
8694 PyObject
* obj1
= 0 ;
8695 PyObject
* obj2
= 0 ;
8696 PyObject
* obj3
= 0 ;
8697 PyObject
* obj4
= 0 ;
8698 char * kwnames
[] = {
8699 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8704 if (!SWIG_IsOK(res1
)) {
8705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8707 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8708 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8709 if (!SWIG_IsOK(ecode2
)) {
8710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8712 arg2
= static_cast< byte
>(val2
);
8713 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8714 if (!SWIG_IsOK(ecode3
)) {
8715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8717 arg3
= static_cast< byte
>(val3
);
8718 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8719 if (!SWIG_IsOK(ecode4
)) {
8720 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8722 arg4
= static_cast< byte
>(val4
);
8723 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8724 if (!SWIG_IsOK(ecode5
)) {
8725 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8727 arg5
= static_cast< byte
>(val5
);
8729 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8730 if (PyErr_Occurred()) SWIG_fail
;
8732 resultobj
= SWIG_Py_Void();
8739 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8740 PyObject
*resultobj
= 0;
8741 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8742 PyObject
*result
= 0 ;
8745 PyObject
*swig_obj
[1] ;
8747 if (!args
) SWIG_fail
;
8749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8750 if (!SWIG_IsOK(res1
)) {
8751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8753 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8755 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8765 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8767 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8768 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8769 return SWIG_Py_Void();
8772 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8773 return SWIG_Python_InitShadowInstance(args
);
8776 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8777 PyObject
*resultobj
= 0;
8778 wxBitmap
*arg1
= 0 ;
8779 wxColour
const &arg2_defvalue
= wxNullColour
;
8780 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8781 wxMask
*result
= 0 ;
8785 PyObject
* obj0
= 0 ;
8786 PyObject
* obj1
= 0 ;
8787 char * kwnames
[] = {
8788 (char *) "bitmap",(char *) "colour", NULL
8791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8792 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8793 if (!SWIG_IsOK(res1
)) {
8794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8799 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8803 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8807 if (!wxPyCheckForApp()) SWIG_fail
;
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8810 wxPyEndAllowThreads(__tstate
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8820 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8821 PyObject
*resultobj
= 0;
8822 wxMask
*arg1
= (wxMask
*) 0 ;
8825 PyObject
*swig_obj
[1] ;
8827 if (!args
) SWIG_fail
;
8829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8830 if (!SWIG_IsOK(res1
)) {
8831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8833 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8839 resultobj
= SWIG_Py_Void();
8846 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8848 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8849 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8850 return SWIG_Py_Void();
8853 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8854 return SWIG_Python_InitShadowInstance(args
);
8857 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
= 0;
8859 wxString
*arg1
= 0 ;
8861 int arg3
= (int) -1 ;
8862 int arg4
= (int) -1 ;
8863 wxIcon
*result
= 0 ;
8864 bool temp1
= false ;
8871 PyObject
* obj0
= 0 ;
8872 PyObject
* obj1
= 0 ;
8873 PyObject
* obj2
= 0 ;
8874 PyObject
* obj3
= 0 ;
8875 char * kwnames
[] = {
8876 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8881 arg1
= wxString_in_helper(obj0
);
8882 if (arg1
== NULL
) SWIG_fail
;
8885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8886 if (!SWIG_IsOK(ecode2
)) {
8887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8889 arg2
= static_cast< wxBitmapType
>(val2
);
8891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8892 if (!SWIG_IsOK(ecode3
)) {
8893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8895 arg3
= static_cast< int >(val3
);
8898 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8899 if (!SWIG_IsOK(ecode4
)) {
8900 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8902 arg4
= static_cast< int >(val4
);
8905 if (!wxPyCheckForApp()) SWIG_fail
;
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8926 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8927 PyObject
*resultobj
= 0;
8928 wxIcon
*arg1
= (wxIcon
*) 0 ;
8931 PyObject
*swig_obj
[1] ;
8933 if (!args
) SWIG_fail
;
8935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8936 if (!SWIG_IsOK(res1
)) {
8937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8939 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 wxPyEndAllowThreads(__tstate
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8947 resultobj
= SWIG_Py_Void();
8954 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8955 PyObject
*resultobj
= 0;
8956 wxIcon
*result
= 0 ;
8958 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8960 if (!wxPyCheckForApp()) SWIG_fail
;
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 result
= (wxIcon
*)new wxIcon();
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8973 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
= 0;
8975 wxIconLocation
*arg1
= 0 ;
8976 wxIcon
*result
= 0 ;
8979 PyObject
* obj0
= 0 ;
8980 char * kwnames
[] = {
8981 (char *) "loc", NULL
8984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8985 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8986 if (!SWIG_IsOK(res1
)) {
8987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8992 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8994 if (!wxPyCheckForApp()) SWIG_fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9007 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
*resultobj
= 0;
9009 wxBitmap
*arg1
= 0 ;
9010 wxIcon
*result
= 0 ;
9013 PyObject
* obj0
= 0 ;
9014 char * kwnames
[] = {
9015 (char *) "bmp", NULL
9018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9019 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9020 if (!SWIG_IsOK(res1
)) {
9021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9026 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9028 if (!wxPyCheckForApp()) SWIG_fail
;
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9041 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
= 0;
9043 PyObject
*arg1
= (PyObject
*) 0 ;
9044 wxIcon
*result
= 0 ;
9045 PyObject
* obj0
= 0 ;
9046 char * kwnames
[] = {
9047 (char *) "listOfStrings", NULL
9050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9053 if (!wxPyCheckForApp()) SWIG_fail
;
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 result
= (wxIcon
*)new_wxIcon(arg1
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9066 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
= 0;
9068 wxIcon
*arg1
= (wxIcon
*) 0 ;
9069 wxString
*arg2
= 0 ;
9074 bool temp2
= false ;
9077 PyObject
* obj0
= 0 ;
9078 PyObject
* obj1
= 0 ;
9079 PyObject
* obj2
= 0 ;
9080 char * kwnames
[] = {
9081 (char *) "self",(char *) "name",(char *) "type", NULL
9084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9086 if (!SWIG_IsOK(res1
)) {
9087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9089 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9091 arg2
= wxString_in_helper(obj1
);
9092 if (arg2
== NULL
) SWIG_fail
;
9095 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9096 if (!SWIG_IsOK(ecode3
)) {
9097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9099 arg3
= static_cast< wxBitmapType
>(val3
);
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9123 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9124 PyObject
*resultobj
= 0;
9125 wxIcon
*arg1
= (wxIcon
*) 0 ;
9129 PyObject
*swig_obj
[1] ;
9131 if (!args
) SWIG_fail
;
9133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9134 if (!SWIG_IsOK(res1
)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9137 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 result
= (long)(arg1
)->GetHandle();
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= SWIG_From_long(static_cast< long >(result
));
9151 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
= 0;
9153 wxIcon
*arg1
= (wxIcon
*) 0 ;
9159 PyObject
* obj0
= 0 ;
9160 PyObject
* obj1
= 0 ;
9161 char * kwnames
[] = {
9162 (char *) "self",(char *) "handle", NULL
9165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9167 if (!SWIG_IsOK(res1
)) {
9168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9170 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9171 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9172 if (!SWIG_IsOK(ecode2
)) {
9173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9175 arg2
= static_cast< long >(val2
);
9177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9178 wxIcon_SetHandle(arg1
,arg2
);
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9182 resultobj
= SWIG_Py_Void();
9189 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9190 PyObject
*resultobj
= 0;
9191 wxIcon
*arg1
= (wxIcon
*) 0 ;
9195 PyObject
*swig_obj
[1] ;
9197 if (!args
) SWIG_fail
;
9199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9200 if (!SWIG_IsOK(res1
)) {
9201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
9203 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 result
= (bool)(arg1
)->Ok();
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9219 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9220 PyObject
*resultobj
= 0;
9221 wxIcon
*arg1
= (wxIcon
*) 0 ;
9225 PyObject
*swig_obj
[1] ;
9227 if (!args
) SWIG_fail
;
9229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9230 if (!SWIG_IsOK(res1
)) {
9231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9233 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 result
= (int)(arg1
)->GetWidth();
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9240 resultobj
= SWIG_From_int(static_cast< int >(result
));
9247 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9248 PyObject
*resultobj
= 0;
9249 wxIcon
*arg1
= (wxIcon
*) 0 ;
9253 PyObject
*swig_obj
[1] ;
9255 if (!args
) SWIG_fail
;
9257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9258 if (!SWIG_IsOK(res1
)) {
9259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9261 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 result
= (int)(arg1
)->GetHeight();
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= SWIG_From_int(static_cast< int >(result
));
9275 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9276 PyObject
*resultobj
= 0;
9277 wxIcon
*arg1
= (wxIcon
*) 0 ;
9281 PyObject
*swig_obj
[1] ;
9283 if (!args
) SWIG_fail
;
9285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9286 if (!SWIG_IsOK(res1
)) {
9287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9289 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 result
= (int)(arg1
)->GetDepth();
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= SWIG_From_int(static_cast< int >(result
));
9303 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
= 0;
9305 wxIcon
*arg1
= (wxIcon
*) 0 ;
9311 PyObject
* obj0
= 0 ;
9312 PyObject
* obj1
= 0 ;
9313 char * kwnames
[] = {
9314 (char *) "self",(char *) "w", NULL
9317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9319 if (!SWIG_IsOK(res1
)) {
9320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9322 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9324 if (!SWIG_IsOK(ecode2
)) {
9325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9327 arg2
= static_cast< int >(val2
);
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 (arg1
)->SetWidth(arg2
);
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9334 resultobj
= SWIG_Py_Void();
9341 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
*resultobj
= 0;
9343 wxIcon
*arg1
= (wxIcon
*) 0 ;
9349 PyObject
* obj0
= 0 ;
9350 PyObject
* obj1
= 0 ;
9351 char * kwnames
[] = {
9352 (char *) "self",(char *) "h", NULL
9355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9357 if (!SWIG_IsOK(res1
)) {
9358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9360 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9362 if (!SWIG_IsOK(ecode2
)) {
9363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9365 arg2
= static_cast< int >(val2
);
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 (arg1
)->SetHeight(arg2
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_Py_Void();
9379 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
= 0;
9381 wxIcon
*arg1
= (wxIcon
*) 0 ;
9387 PyObject
* obj0
= 0 ;
9388 PyObject
* obj1
= 0 ;
9389 char * kwnames
[] = {
9390 (char *) "self",(char *) "d", NULL
9393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9395 if (!SWIG_IsOK(res1
)) {
9396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9398 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9400 if (!SWIG_IsOK(ecode2
)) {
9401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9403 arg2
= static_cast< int >(val2
);
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 (arg1
)->SetDepth(arg2
);
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= SWIG_Py_Void();
9417 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
= 0;
9419 wxIcon
*arg1
= (wxIcon
*) 0 ;
9424 PyObject
* obj0
= 0 ;
9425 PyObject
* obj1
= 0 ;
9426 char * kwnames
[] = {
9427 (char *) "self",(char *) "size", NULL
9430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9432 if (!SWIG_IsOK(res1
)) {
9433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9435 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9438 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 (arg1
)->SetSize((wxSize
const &)*arg2
);
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= SWIG_Py_Void();
9453 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
*resultobj
= 0;
9455 wxIcon
*arg1
= (wxIcon
*) 0 ;
9456 wxBitmap
*arg2
= 0 ;
9461 PyObject
* obj0
= 0 ;
9462 PyObject
* obj1
= 0 ;
9463 char * kwnames
[] = {
9464 (char *) "self",(char *) "bmp", NULL
9467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9469 if (!SWIG_IsOK(res1
)) {
9470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9472 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9473 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9474 if (!SWIG_IsOK(res2
)) {
9475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9480 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= SWIG_Py_Void();
9494 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9496 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9497 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9498 return SWIG_Py_Void();
9501 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9502 return SWIG_Python_InitShadowInstance(args
);
9505 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
*resultobj
= 0;
9507 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9508 int arg2
= (int) 0 ;
9509 wxIconLocation
*result
= 0 ;
9510 bool temp1
= false ;
9513 PyObject
* obj0
= 0 ;
9514 PyObject
* obj1
= 0 ;
9515 char * kwnames
[] = {
9516 (char *) "filename",(char *) "num", NULL
9519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9522 arg1
= wxString_in_helper(obj0
);
9523 if (arg1
== NULL
) SWIG_fail
;
9528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9529 if (!SWIG_IsOK(ecode2
)) {
9530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9532 arg2
= static_cast< int >(val2
);
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9555 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9556 PyObject
*resultobj
= 0;
9557 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9560 PyObject
*swig_obj
[1] ;
9562 if (!args
) SWIG_fail
;
9564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9565 if (!SWIG_IsOK(res1
)) {
9566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9568 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9576 resultobj
= SWIG_Py_Void();
9583 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9584 PyObject
*resultobj
= 0;
9585 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9589 PyObject
*swig_obj
[1] ;
9591 if (!args
) SWIG_fail
;
9593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9594 if (!SWIG_IsOK(res1
)) {
9595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9597 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9613 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
= 0;
9615 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9616 wxString
*arg2
= 0 ;
9619 bool temp2
= false ;
9620 PyObject
* obj0
= 0 ;
9621 PyObject
* obj1
= 0 ;
9622 char * kwnames
[] = {
9623 (char *) "self",(char *) "filename", NULL
9626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9628 if (!SWIG_IsOK(res1
)) {
9629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9631 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9633 arg2
= wxString_in_helper(obj1
);
9634 if (arg2
== NULL
) SWIG_fail
;
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 (arg1
)->SetFileName((wxString
const &)*arg2
);
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 resultobj
= SWIG_Py_Void();
9658 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9659 PyObject
*resultobj
= 0;
9660 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9661 wxString
*result
= 0 ;
9664 PyObject
*swig_obj
[1] ;
9666 if (!args
) SWIG_fail
;
9668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9669 if (!SWIG_IsOK(res1
)) {
9670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9672 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9677 result
= (wxString
*) &_result_ref
;
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9684 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9686 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9695 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
= 0;
9697 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9703 PyObject
* obj0
= 0 ;
9704 PyObject
* obj1
= 0 ;
9705 char * kwnames
[] = {
9706 (char *) "self",(char *) "num", NULL
9709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9711 if (!SWIG_IsOK(res1
)) {
9712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9714 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9716 if (!SWIG_IsOK(ecode2
)) {
9717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9719 arg2
= static_cast< int >(val2
);
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 wxIconLocation_SetIndex(arg1
,arg2
);
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9726 resultobj
= SWIG_Py_Void();
9733 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9734 PyObject
*resultobj
= 0;
9735 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9739 PyObject
*swig_obj
[1] ;
9741 if (!args
) SWIG_fail
;
9743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9744 if (!SWIG_IsOK(res1
)) {
9745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9747 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 result
= (int)wxIconLocation_GetIndex(arg1
);
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9754 resultobj
= SWIG_From_int(static_cast< int >(result
));
9761 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9764 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9765 return SWIG_Py_Void();
9768 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9769 return SWIG_Python_InitShadowInstance(args
);
9772 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9773 PyObject
*resultobj
= 0;
9774 wxIconBundle
*result
= 0 ;
9776 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 result
= (wxIconBundle
*)new wxIconBundle();
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9790 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
= 0;
9792 wxString
*arg1
= 0 ;
9794 wxIconBundle
*result
= 0 ;
9795 bool temp1
= false ;
9798 PyObject
* obj0
= 0 ;
9799 PyObject
* obj1
= 0 ;
9800 char * kwnames
[] = {
9801 (char *) "file",(char *) "type", NULL
9804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9806 arg1
= wxString_in_helper(obj0
);
9807 if (arg1
== NULL
) SWIG_fail
;
9810 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9811 if (!SWIG_IsOK(ecode2
)) {
9812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9814 arg2
= static_cast< long >(val2
);
9816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9817 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9836 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
*resultobj
= 0;
9839 wxIconBundle
*result
= 0 ;
9842 PyObject
* obj0
= 0 ;
9843 char * kwnames
[] = {
9844 (char *) "icon", NULL
9847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9848 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9849 if (!SWIG_IsOK(res1
)) {
9850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9855 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9869 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9870 PyObject
*resultobj
= 0;
9871 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9874 PyObject
*swig_obj
[1] ;
9876 if (!args
) SWIG_fail
;
9878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9879 if (!SWIG_IsOK(res1
)) {
9880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9882 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= SWIG_Py_Void();
9897 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
= 0;
9899 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9905 PyObject
* obj0
= 0 ;
9906 PyObject
* obj1
= 0 ;
9907 char * kwnames
[] = {
9908 (char *) "self",(char *) "icon", NULL
9911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9913 if (!SWIG_IsOK(res1
)) {
9914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9916 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9917 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9918 if (!SWIG_IsOK(res2
)) {
9919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9924 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9927 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9931 resultobj
= SWIG_Py_Void();
9938 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
*resultobj
= 0;
9940 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9941 wxString
*arg2
= 0 ;
9945 bool temp2
= false ;
9948 PyObject
* obj0
= 0 ;
9949 PyObject
* obj1
= 0 ;
9950 PyObject
* obj2
= 0 ;
9951 char * kwnames
[] = {
9952 (char *) "self",(char *) "file",(char *) "type", NULL
9955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9957 if (!SWIG_IsOK(res1
)) {
9958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9960 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9962 arg2
= wxString_in_helper(obj1
);
9963 if (arg2
== NULL
) SWIG_fail
;
9966 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9967 if (!SWIG_IsOK(ecode3
)) {
9968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9970 arg3
= static_cast< long >(val3
);
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9977 resultobj
= SWIG_Py_Void();
9992 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
= 0;
9994 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9996 wxIcon
*result
= 0 ;
10000 PyObject
* obj0
= 0 ;
10001 PyObject
* obj1
= 0 ;
10002 char * kwnames
[] = {
10003 (char *) "self",(char *) "size", NULL
10006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10008 if (!SWIG_IsOK(res1
)) {
10009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10011 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10014 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10020 result
= (wxIcon
*) &_result_ref
;
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10026 wxIcon
* resultptr
= new wxIcon(*result
);
10027 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10035 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10037 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10038 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10039 return SWIG_Py_Void();
10042 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10043 return SWIG_Python_InitShadowInstance(args
);
10046 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
*resultobj
= 0;
10048 wxString
*arg1
= 0 ;
10050 int arg3
= (int) 0 ;
10051 int arg4
= (int) 0 ;
10052 wxCursor
*result
= 0 ;
10053 bool temp1
= false ;
10060 PyObject
* obj0
= 0 ;
10061 PyObject
* obj1
= 0 ;
10062 PyObject
* obj2
= 0 ;
10063 PyObject
* obj3
= 0 ;
10064 char * kwnames
[] = {
10065 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10070 arg1
= wxString_in_helper(obj0
);
10071 if (arg1
== NULL
) SWIG_fail
;
10074 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10075 if (!SWIG_IsOK(ecode2
)) {
10076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10078 arg2
= static_cast< long >(val2
);
10080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10081 if (!SWIG_IsOK(ecode3
)) {
10082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10084 arg3
= static_cast< int >(val3
);
10087 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10088 if (!SWIG_IsOK(ecode4
)) {
10089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10091 arg4
= static_cast< int >(val4
);
10094 if (!wxPyCheckForApp()) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10097 wxPyEndAllowThreads(__tstate
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10115 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10116 PyObject
*resultobj
= 0;
10117 wxCursor
*arg1
= (wxCursor
*) 0 ;
10120 PyObject
*swig_obj
[1] ;
10122 if (!args
) SWIG_fail
;
10123 swig_obj
[0] = args
;
10124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10125 if (!SWIG_IsOK(res1
)) {
10126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10128 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= SWIG_Py_Void();
10143 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
= 0;
10146 wxCursor
*result
= 0 ;
10149 PyObject
* obj0
= 0 ;
10150 char * kwnames
[] = {
10151 (char *) "id", NULL
10154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10155 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10156 if (!SWIG_IsOK(ecode1
)) {
10157 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10159 arg1
= static_cast< int >(val1
);
10161 if (!wxPyCheckForApp()) SWIG_fail
;
10162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 result
= (wxCursor
*)new wxCursor(arg1
);
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10174 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
= 0;
10176 wxImage
*arg1
= 0 ;
10177 wxCursor
*result
= 0 ;
10180 PyObject
* obj0
= 0 ;
10181 char * kwnames
[] = {
10182 (char *) "image", NULL
10185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10186 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10187 if (!SWIG_IsOK(res1
)) {
10188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10193 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10195 if (!wxPyCheckForApp()) SWIG_fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10208 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10209 PyObject
*resultobj
= 0;
10210 wxCursor
*arg1
= (wxCursor
*) 0 ;
10214 PyObject
*swig_obj
[1] ;
10216 if (!args
) SWIG_fail
;
10217 swig_obj
[0] = args
;
10218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10219 if (!SWIG_IsOK(res1
)) {
10220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10222 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 result
= (long)(arg1
)->GetHandle();
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 resultobj
= SWIG_From_long(static_cast< long >(result
));
10236 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10237 PyObject
*resultobj
= 0;
10238 wxCursor
*arg1
= (wxCursor
*) 0 ;
10244 PyObject
* obj0
= 0 ;
10245 PyObject
* obj1
= 0 ;
10246 char * kwnames
[] = {
10247 (char *) "self",(char *) "handle", NULL
10250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10252 if (!SWIG_IsOK(res1
)) {
10253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10255 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10256 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10257 if (!SWIG_IsOK(ecode2
)) {
10258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10260 arg2
= static_cast< long >(val2
);
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 wxCursor_SetHandle(arg1
,arg2
);
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 resultobj
= SWIG_Py_Void();
10274 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10275 PyObject
*resultobj
= 0;
10276 wxCursor
*arg1
= (wxCursor
*) 0 ;
10280 PyObject
*swig_obj
[1] ;
10282 if (!args
) SWIG_fail
;
10283 swig_obj
[0] = args
;
10284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10285 if (!SWIG_IsOK(res1
)) {
10286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
10288 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 result
= (bool)(arg1
)->Ok();
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10304 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10305 PyObject
*resultobj
= 0;
10306 wxCursor
*arg1
= (wxCursor
*) 0 ;
10310 PyObject
*swig_obj
[1] ;
10312 if (!args
) SWIG_fail
;
10313 swig_obj
[0] = args
;
10314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10315 if (!SWIG_IsOK(res1
)) {
10316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10318 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 result
= (int)(arg1
)->GetWidth();
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= SWIG_From_int(static_cast< int >(result
));
10332 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10333 PyObject
*resultobj
= 0;
10334 wxCursor
*arg1
= (wxCursor
*) 0 ;
10338 PyObject
*swig_obj
[1] ;
10340 if (!args
) SWIG_fail
;
10341 swig_obj
[0] = args
;
10342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10343 if (!SWIG_IsOK(res1
)) {
10344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10346 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 result
= (int)(arg1
)->GetHeight();
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= SWIG_From_int(static_cast< int >(result
));
10360 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10361 PyObject
*resultobj
= 0;
10362 wxCursor
*arg1
= (wxCursor
*) 0 ;
10366 PyObject
*swig_obj
[1] ;
10368 if (!args
) SWIG_fail
;
10369 swig_obj
[0] = args
;
10370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10371 if (!SWIG_IsOK(res1
)) {
10372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10374 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 result
= (int)(arg1
)->GetDepth();
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= SWIG_From_int(static_cast< int >(result
));
10388 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10389 PyObject
*resultobj
= 0;
10390 wxCursor
*arg1
= (wxCursor
*) 0 ;
10396 PyObject
* obj0
= 0 ;
10397 PyObject
* obj1
= 0 ;
10398 char * kwnames
[] = {
10399 (char *) "self",(char *) "w", NULL
10402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10404 if (!SWIG_IsOK(res1
)) {
10405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10407 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10409 if (!SWIG_IsOK(ecode2
)) {
10410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10412 arg2
= static_cast< int >(val2
);
10414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10415 (arg1
)->SetWidth(arg2
);
10416 wxPyEndAllowThreads(__tstate
);
10417 if (PyErr_Occurred()) SWIG_fail
;
10419 resultobj
= SWIG_Py_Void();
10426 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10427 PyObject
*resultobj
= 0;
10428 wxCursor
*arg1
= (wxCursor
*) 0 ;
10434 PyObject
* obj0
= 0 ;
10435 PyObject
* obj1
= 0 ;
10436 char * kwnames
[] = {
10437 (char *) "self",(char *) "h", NULL
10440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10442 if (!SWIG_IsOK(res1
)) {
10443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10445 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10447 if (!SWIG_IsOK(ecode2
)) {
10448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10450 arg2
= static_cast< int >(val2
);
10452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10453 (arg1
)->SetHeight(arg2
);
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10457 resultobj
= SWIG_Py_Void();
10464 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
= 0;
10466 wxCursor
*arg1
= (wxCursor
*) 0 ;
10472 PyObject
* obj0
= 0 ;
10473 PyObject
* obj1
= 0 ;
10474 char * kwnames
[] = {
10475 (char *) "self",(char *) "d", NULL
10478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10480 if (!SWIG_IsOK(res1
)) {
10481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10483 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10485 if (!SWIG_IsOK(ecode2
)) {
10486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10488 arg2
= static_cast< int >(val2
);
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 (arg1
)->SetDepth(arg2
);
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= SWIG_Py_Void();
10502 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
= 0;
10504 wxCursor
*arg1
= (wxCursor
*) 0 ;
10509 PyObject
* obj0
= 0 ;
10510 PyObject
* obj1
= 0 ;
10511 char * kwnames
[] = {
10512 (char *) "self",(char *) "size", NULL
10515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10517 if (!SWIG_IsOK(res1
)) {
10518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10520 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10523 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 (arg1
)->SetSize((wxSize
const &)*arg2
);
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10531 resultobj
= SWIG_Py_Void();
10538 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10540 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10541 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10542 return SWIG_Py_Void();
10545 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10546 return SWIG_Python_InitShadowInstance(args
);
10549 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
= 0;
10551 int arg1
= (int) 0 ;
10552 int arg2
= (int) 0 ;
10553 int arg3
= (int) 0 ;
10554 int arg4
= (int) 0 ;
10555 wxRegion
*result
= 0 ;
10564 PyObject
* obj0
= 0 ;
10565 PyObject
* obj1
= 0 ;
10566 PyObject
* obj2
= 0 ;
10567 PyObject
* obj3
= 0 ;
10568 char * kwnames
[] = {
10569 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10574 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10575 if (!SWIG_IsOK(ecode1
)) {
10576 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10578 arg1
= static_cast< int >(val1
);
10581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10582 if (!SWIG_IsOK(ecode2
)) {
10583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10585 arg2
= static_cast< int >(val2
);
10588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10589 if (!SWIG_IsOK(ecode3
)) {
10590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10592 arg3
= static_cast< int >(val3
);
10595 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10596 if (!SWIG_IsOK(ecode4
)) {
10597 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10599 arg4
= static_cast< int >(val4
);
10602 if (!wxPyCheckForApp()) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10615 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
= 0;
10617 wxBitmap
*arg1
= 0 ;
10618 wxRegion
*result
= 0 ;
10621 PyObject
* obj0
= 0 ;
10622 char * kwnames
[] = {
10623 (char *) "bmp", NULL
10626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10627 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10628 if (!SWIG_IsOK(res1
)) {
10629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10634 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10636 if (!wxPyCheckForApp()) SWIG_fail
;
10637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10638 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10649 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10650 PyObject
*resultobj
= 0;
10651 wxBitmap
*arg1
= 0 ;
10652 wxColour
*arg2
= 0 ;
10653 int arg3
= (int) 0 ;
10654 wxRegion
*result
= 0 ;
10660 PyObject
* obj0
= 0 ;
10661 PyObject
* obj1
= 0 ;
10662 PyObject
* obj2
= 0 ;
10663 char * kwnames
[] = {
10664 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10668 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10669 if (!SWIG_IsOK(res1
)) {
10670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10673 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10675 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10678 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10682 if (!SWIG_IsOK(ecode3
)) {
10683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10685 arg3
= static_cast< int >(val3
);
10688 if (!wxPyCheckForApp()) SWIG_fail
;
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10701 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
= 0;
10704 wxPoint
*arg2
= (wxPoint
*) 0 ;
10705 int arg3
= (int) wxWINDING_RULE
;
10706 wxRegion
*result
= 0 ;
10709 PyObject
* obj0
= 0 ;
10710 PyObject
* obj1
= 0 ;
10711 char * kwnames
[] = {
10712 (char *) "points",(char *) "fillStyle", NULL
10715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10717 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10718 if (arg2
== NULL
) SWIG_fail
;
10721 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10722 if (!SWIG_IsOK(ecode3
)) {
10723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10725 arg3
= static_cast< int >(val3
);
10728 if (!wxPyCheckForApp()) SWIG_fail
;
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10736 if (arg2
) delete [] arg2
;
10741 if (arg2
) delete [] arg2
;
10747 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10748 PyObject
*resultobj
= 0;
10749 wxRegion
*arg1
= (wxRegion
*) 0 ;
10752 PyObject
*swig_obj
[1] ;
10754 if (!args
) SWIG_fail
;
10755 swig_obj
[0] = args
;
10756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10757 if (!SWIG_IsOK(res1
)) {
10758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10760 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 resultobj
= SWIG_Py_Void();
10775 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10776 PyObject
*resultobj
= 0;
10777 wxRegion
*arg1
= (wxRegion
*) 0 ;
10780 PyObject
*swig_obj
[1] ;
10782 if (!args
) SWIG_fail
;
10783 swig_obj
[0] = args
;
10784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10785 if (!SWIG_IsOK(res1
)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10788 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 resultobj
= SWIG_Py_Void();
10802 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10803 PyObject
*resultobj
= 0;
10804 wxRegion
*arg1
= (wxRegion
*) 0 ;
10814 PyObject
* obj0
= 0 ;
10815 PyObject
* obj1
= 0 ;
10816 PyObject
* obj2
= 0 ;
10817 char * kwnames
[] = {
10818 (char *) "self",(char *) "x",(char *) "y", NULL
10821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10823 if (!SWIG_IsOK(res1
)) {
10824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10826 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10828 if (!SWIG_IsOK(ecode2
)) {
10829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10831 arg2
= static_cast< int >(val2
);
10832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10833 if (!SWIG_IsOK(ecode3
)) {
10834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10836 arg3
= static_cast< int >(val3
);
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10852 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
= 0;
10854 wxRegion
*arg1
= (wxRegion
*) 0 ;
10857 wxRegionContain result
;
10864 PyObject
* obj0
= 0 ;
10865 PyObject
* obj1
= 0 ;
10866 PyObject
* obj2
= 0 ;
10867 char * kwnames
[] = {
10868 (char *) "self",(char *) "x",(char *) "y", NULL
10871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10873 if (!SWIG_IsOK(res1
)) {
10874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10876 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10878 if (!SWIG_IsOK(ecode2
)) {
10879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10881 arg2
= static_cast< int >(val2
);
10882 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10883 if (!SWIG_IsOK(ecode3
)) {
10884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10886 arg3
= static_cast< int >(val3
);
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10893 resultobj
= SWIG_From_int(static_cast< int >(result
));
10900 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
= 0;
10902 wxRegion
*arg1
= (wxRegion
*) 0 ;
10903 wxPoint
*arg2
= 0 ;
10904 wxRegionContain result
;
10908 PyObject
* obj0
= 0 ;
10909 PyObject
* obj1
= 0 ;
10910 char * kwnames
[] = {
10911 (char *) "self",(char *) "pt", NULL
10914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10916 if (!SWIG_IsOK(res1
)) {
10917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10919 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10922 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10926 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10930 resultobj
= SWIG_From_int(static_cast< int >(result
));
10937 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10938 PyObject
*resultobj
= 0;
10939 wxRegion
*arg1
= (wxRegion
*) 0 ;
10941 wxRegionContain result
;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 char * kwnames
[] = {
10948 (char *) "self",(char *) "rect", NULL
10951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10953 if (!SWIG_IsOK(res1
)) {
10954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10956 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10959 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 resultobj
= SWIG_From_int(static_cast< int >(result
));
10974 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
= 0;
10976 wxRegion
*arg1
= (wxRegion
*) 0 ;
10981 wxRegionContain result
;
10992 PyObject
* obj0
= 0 ;
10993 PyObject
* obj1
= 0 ;
10994 PyObject
* obj2
= 0 ;
10995 PyObject
* obj3
= 0 ;
10996 PyObject
* obj4
= 0 ;
10997 char * kwnames
[] = {
10998 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11003 if (!SWIG_IsOK(res1
)) {
11004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11006 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11008 if (!SWIG_IsOK(ecode2
)) {
11009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11011 arg2
= static_cast< int >(val2
);
11012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11013 if (!SWIG_IsOK(ecode3
)) {
11014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11016 arg3
= static_cast< int >(val3
);
11017 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11018 if (!SWIG_IsOK(ecode4
)) {
11019 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11021 arg4
= static_cast< int >(val4
);
11022 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11023 if (!SWIG_IsOK(ecode5
)) {
11024 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11026 arg5
= static_cast< int >(val5
);
11028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11033 resultobj
= SWIG_From_int(static_cast< int >(result
));
11040 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11041 PyObject
*resultobj
= 0;
11042 wxRegion
*arg1
= (wxRegion
*) 0 ;
11046 PyObject
*swig_obj
[1] ;
11048 if (!args
) SWIG_fail
;
11049 swig_obj
[0] = args
;
11050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11051 if (!SWIG_IsOK(res1
)) {
11052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11054 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 result
= (arg1
)->GetBox();
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11068 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
= 0;
11070 wxRegion
*arg1
= (wxRegion
*) 0 ;
11086 PyObject
* obj0
= 0 ;
11087 PyObject
* obj1
= 0 ;
11088 PyObject
* obj2
= 0 ;
11089 PyObject
* obj3
= 0 ;
11090 PyObject
* obj4
= 0 ;
11091 char * kwnames
[] = {
11092 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11097 if (!SWIG_IsOK(res1
)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11100 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11102 if (!SWIG_IsOK(ecode2
)) {
11103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11105 arg2
= static_cast< int >(val2
);
11106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11107 if (!SWIG_IsOK(ecode3
)) {
11108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11110 arg3
= static_cast< int >(val3
);
11111 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11112 if (!SWIG_IsOK(ecode4
)) {
11113 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11115 arg4
= static_cast< int >(val4
);
11116 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11117 if (!SWIG_IsOK(ecode5
)) {
11118 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11120 arg5
= static_cast< int >(val5
);
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11136 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11137 PyObject
*resultobj
= 0;
11138 wxRegion
*arg1
= (wxRegion
*) 0 ;
11144 PyObject
* obj0
= 0 ;
11145 PyObject
* obj1
= 0 ;
11146 char * kwnames
[] = {
11147 (char *) "self",(char *) "rect", NULL
11150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11152 if (!SWIG_IsOK(res1
)) {
11153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11155 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11158 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11175 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
= 0;
11177 wxRegion
*arg1
= (wxRegion
*) 0 ;
11178 wxRegion
*arg2
= 0 ;
11184 PyObject
* obj0
= 0 ;
11185 PyObject
* obj1
= 0 ;
11186 char * kwnames
[] = {
11187 (char *) "self",(char *) "region", NULL
11190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11192 if (!SWIG_IsOK(res1
)) {
11193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11195 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11196 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11197 if (!SWIG_IsOK(res2
)) {
11198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11203 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11219 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11220 PyObject
*resultobj
= 0;
11221 wxRegion
*arg1
= (wxRegion
*) 0 ;
11225 PyObject
*swig_obj
[1] ;
11227 if (!args
) SWIG_fail
;
11228 swig_obj
[0] = args
;
11229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11230 if (!SWIG_IsOK(res1
)) {
11231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11233 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 result
= (bool)(arg1
)->IsEmpty();
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11249 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
= 0;
11251 wxRegion
*arg1
= (wxRegion
*) 0 ;
11252 wxRegion
*arg2
= 0 ;
11258 PyObject
* obj0
= 0 ;
11259 PyObject
* obj1
= 0 ;
11260 char * kwnames
[] = {
11261 (char *) "self",(char *) "region", NULL
11264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11266 if (!SWIG_IsOK(res1
)) {
11267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11269 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11270 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11271 if (!SWIG_IsOK(res2
)) {
11272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11277 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11293 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
= 0;
11295 wxRegion
*arg1
= (wxRegion
*) 0 ;
11311 PyObject
* obj0
= 0 ;
11312 PyObject
* obj1
= 0 ;
11313 PyObject
* obj2
= 0 ;
11314 PyObject
* obj3
= 0 ;
11315 PyObject
* obj4
= 0 ;
11316 char * kwnames
[] = {
11317 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11322 if (!SWIG_IsOK(res1
)) {
11323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11325 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11327 if (!SWIG_IsOK(ecode2
)) {
11328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11330 arg2
= static_cast< int >(val2
);
11331 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11332 if (!SWIG_IsOK(ecode3
)) {
11333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11335 arg3
= static_cast< int >(val3
);
11336 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11337 if (!SWIG_IsOK(ecode4
)) {
11338 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11340 arg4
= static_cast< int >(val4
);
11341 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11342 if (!SWIG_IsOK(ecode5
)) {
11343 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11345 arg5
= static_cast< int >(val5
);
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11361 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11362 PyObject
*resultobj
= 0;
11363 wxRegion
*arg1
= (wxRegion
*) 0 ;
11369 PyObject
* obj0
= 0 ;
11370 PyObject
* obj1
= 0 ;
11371 char * kwnames
[] = {
11372 (char *) "self",(char *) "rect", NULL
11375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11377 if (!SWIG_IsOK(res1
)) {
11378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11380 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11383 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11400 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11401 PyObject
*resultobj
= 0;
11402 wxRegion
*arg1
= (wxRegion
*) 0 ;
11403 wxRegion
*arg2
= 0 ;
11409 PyObject
* obj0
= 0 ;
11410 PyObject
* obj1
= 0 ;
11411 char * kwnames
[] = {
11412 (char *) "self",(char *) "region", NULL
11415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11417 if (!SWIG_IsOK(res1
)) {
11418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11420 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11421 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11422 if (!SWIG_IsOK(res2
)) {
11423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11428 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11444 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11445 PyObject
*resultobj
= 0;
11446 wxRegion
*arg1
= (wxRegion
*) 0 ;
11462 PyObject
* obj0
= 0 ;
11463 PyObject
* obj1
= 0 ;
11464 PyObject
* obj2
= 0 ;
11465 PyObject
* obj3
= 0 ;
11466 PyObject
* obj4
= 0 ;
11467 char * kwnames
[] = {
11468 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11473 if (!SWIG_IsOK(res1
)) {
11474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11476 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11478 if (!SWIG_IsOK(ecode2
)) {
11479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11481 arg2
= static_cast< int >(val2
);
11482 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11483 if (!SWIG_IsOK(ecode3
)) {
11484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11486 arg3
= static_cast< int >(val3
);
11487 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11488 if (!SWIG_IsOK(ecode4
)) {
11489 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11491 arg4
= static_cast< int >(val4
);
11492 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11493 if (!SWIG_IsOK(ecode5
)) {
11494 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11496 arg5
= static_cast< int >(val5
);
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11500 wxPyEndAllowThreads(__tstate
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11512 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11513 PyObject
*resultobj
= 0;
11514 wxRegion
*arg1
= (wxRegion
*) 0 ;
11520 PyObject
* obj0
= 0 ;
11521 PyObject
* obj1
= 0 ;
11522 char * kwnames
[] = {
11523 (char *) "self",(char *) "rect", NULL
11526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11528 if (!SWIG_IsOK(res1
)) {
11529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11531 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11534 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11551 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
= 0;
11553 wxRegion
*arg1
= (wxRegion
*) 0 ;
11554 wxRegion
*arg2
= 0 ;
11560 PyObject
* obj0
= 0 ;
11561 PyObject
* obj1
= 0 ;
11562 char * kwnames
[] = {
11563 (char *) "self",(char *) "region", NULL
11566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11568 if (!SWIG_IsOK(res1
)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11571 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11572 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11573 if (!SWIG_IsOK(res2
)) {
11574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11579 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11582 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11595 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11596 PyObject
*resultobj
= 0;
11597 wxRegion
*arg1
= (wxRegion
*) 0 ;
11613 PyObject
* obj0
= 0 ;
11614 PyObject
* obj1
= 0 ;
11615 PyObject
* obj2
= 0 ;
11616 PyObject
* obj3
= 0 ;
11617 PyObject
* obj4
= 0 ;
11618 char * kwnames
[] = {
11619 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11624 if (!SWIG_IsOK(res1
)) {
11625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11627 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11629 if (!SWIG_IsOK(ecode2
)) {
11630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11632 arg2
= static_cast< int >(val2
);
11633 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11634 if (!SWIG_IsOK(ecode3
)) {
11635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11637 arg3
= static_cast< int >(val3
);
11638 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11639 if (!SWIG_IsOK(ecode4
)) {
11640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11642 arg4
= static_cast< int >(val4
);
11643 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11644 if (!SWIG_IsOK(ecode5
)) {
11645 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11647 arg5
= static_cast< int >(val5
);
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11663 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11664 PyObject
*resultobj
= 0;
11665 wxRegion
*arg1
= (wxRegion
*) 0 ;
11671 PyObject
* obj0
= 0 ;
11672 PyObject
* obj1
= 0 ;
11673 char * kwnames
[] = {
11674 (char *) "self",(char *) "rect", NULL
11677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11679 if (!SWIG_IsOK(res1
)) {
11680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11682 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11685 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11702 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11703 PyObject
*resultobj
= 0;
11704 wxRegion
*arg1
= (wxRegion
*) 0 ;
11705 wxRegion
*arg2
= 0 ;
11711 PyObject
* obj0
= 0 ;
11712 PyObject
* obj1
= 0 ;
11713 char * kwnames
[] = {
11714 (char *) "self",(char *) "region", NULL
11717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11719 if (!SWIG_IsOK(res1
)) {
11720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11722 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11723 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11724 if (!SWIG_IsOK(res2
)) {
11725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11730 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11746 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11747 PyObject
*resultobj
= 0;
11748 wxRegion
*arg1
= (wxRegion
*) 0 ;
11749 SwigValueWrapper
<wxBitmap
> result
;
11752 PyObject
*swig_obj
[1] ;
11754 if (!args
) SWIG_fail
;
11755 swig_obj
[0] = args
;
11756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11757 if (!SWIG_IsOK(res1
)) {
11758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11760 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11763 result
= (arg1
)->ConvertToBitmap();
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11767 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11774 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11775 PyObject
*resultobj
= 0;
11776 wxRegion
*arg1
= (wxRegion
*) 0 ;
11777 wxBitmap
*arg2
= 0 ;
11783 PyObject
* obj0
= 0 ;
11784 PyObject
* obj1
= 0 ;
11785 char * kwnames
[] = {
11786 (char *) "self",(char *) "bmp", NULL
11789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11791 if (!SWIG_IsOK(res1
)) {
11792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11794 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11795 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11796 if (!SWIG_IsOK(res2
)) {
11797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11802 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11818 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11819 PyObject
*resultobj
= 0;
11820 wxRegion
*arg1
= (wxRegion
*) 0 ;
11821 wxBitmap
*arg2
= 0 ;
11822 wxColour
*arg3
= 0 ;
11823 int arg4
= (int) 0 ;
11832 PyObject
* obj0
= 0 ;
11833 PyObject
* obj1
= 0 ;
11834 PyObject
* obj2
= 0 ;
11835 PyObject
* obj3
= 0 ;
11836 char * kwnames
[] = {
11837 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11842 if (!SWIG_IsOK(res1
)) {
11843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11845 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11846 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11847 if (!SWIG_IsOK(res2
)) {
11848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11853 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11856 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11859 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11860 if (!SWIG_IsOK(ecode4
)) {
11861 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11863 arg4
= static_cast< int >(val4
);
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11868 wxPyEndAllowThreads(__tstate
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11880 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11882 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11883 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11884 return SWIG_Py_Void();
11887 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11888 return SWIG_Python_InitShadowInstance(args
);
11891 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
= 0;
11893 wxRegion
*arg1
= 0 ;
11894 wxRegionIterator
*result
= 0 ;
11897 PyObject
* obj0
= 0 ;
11898 char * kwnames
[] = {
11899 (char *) "region", NULL
11902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11903 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11904 if (!SWIG_IsOK(res1
)) {
11905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11910 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11912 if (!wxPyCheckForApp()) SWIG_fail
;
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11915 wxPyEndAllowThreads(__tstate
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11925 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11926 PyObject
*resultobj
= 0;
11927 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11930 PyObject
*swig_obj
[1] ;
11932 if (!args
) SWIG_fail
;
11933 swig_obj
[0] = args
;
11934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11935 if (!SWIG_IsOK(res1
)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11938 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= SWIG_Py_Void();
11953 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11954 PyObject
*resultobj
= 0;
11955 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11959 PyObject
*swig_obj
[1] ;
11961 if (!args
) SWIG_fail
;
11962 swig_obj
[0] = args
;
11963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11964 if (!SWIG_IsOK(res1
)) {
11965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11967 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 result
= (int)(arg1
)->GetX();
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= SWIG_From_int(static_cast< int >(result
));
11981 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11982 PyObject
*resultobj
= 0;
11983 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11987 PyObject
*swig_obj
[1] ;
11989 if (!args
) SWIG_fail
;
11990 swig_obj
[0] = args
;
11991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11992 if (!SWIG_IsOK(res1
)) {
11993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11995 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 result
= (int)(arg1
)->GetY();
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12002 resultobj
= SWIG_From_int(static_cast< int >(result
));
12009 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12010 PyObject
*resultobj
= 0;
12011 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12015 PyObject
*swig_obj
[1] ;
12017 if (!args
) SWIG_fail
;
12018 swig_obj
[0] = args
;
12019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12020 if (!SWIG_IsOK(res1
)) {
12021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12023 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (int)(arg1
)->GetW();
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= SWIG_From_int(static_cast< int >(result
));
12037 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12038 PyObject
*resultobj
= 0;
12039 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12043 PyObject
*swig_obj
[1] ;
12045 if (!args
) SWIG_fail
;
12046 swig_obj
[0] = args
;
12047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12048 if (!SWIG_IsOK(res1
)) {
12049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12051 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12054 result
= (int)(arg1
)->GetWidth();
12055 wxPyEndAllowThreads(__tstate
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12058 resultobj
= SWIG_From_int(static_cast< int >(result
));
12065 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12066 PyObject
*resultobj
= 0;
12067 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12071 PyObject
*swig_obj
[1] ;
12073 if (!args
) SWIG_fail
;
12074 swig_obj
[0] = args
;
12075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12076 if (!SWIG_IsOK(res1
)) {
12077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12079 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 result
= (int)(arg1
)->GetH();
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= SWIG_From_int(static_cast< int >(result
));
12093 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12094 PyObject
*resultobj
= 0;
12095 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12099 PyObject
*swig_obj
[1] ;
12101 if (!args
) SWIG_fail
;
12102 swig_obj
[0] = args
;
12103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12104 if (!SWIG_IsOK(res1
)) {
12105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12107 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 result
= (int)(arg1
)->GetHeight();
12111 wxPyEndAllowThreads(__tstate
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12114 resultobj
= SWIG_From_int(static_cast< int >(result
));
12121 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12122 PyObject
*resultobj
= 0;
12123 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12127 PyObject
*swig_obj
[1] ;
12129 if (!args
) SWIG_fail
;
12130 swig_obj
[0] = args
;
12131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12132 if (!SWIG_IsOK(res1
)) {
12133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12135 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 result
= (arg1
)->GetRect();
12139 wxPyEndAllowThreads(__tstate
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12149 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12150 PyObject
*resultobj
= 0;
12151 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12155 PyObject
*swig_obj
[1] ;
12157 if (!args
) SWIG_fail
;
12158 swig_obj
[0] = args
;
12159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12160 if (!SWIG_IsOK(res1
)) {
12161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12163 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 result
= (bool)(arg1
)->HaveRects();
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12179 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12180 PyObject
*resultobj
= 0;
12181 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12184 PyObject
*swig_obj
[1] ;
12186 if (!args
) SWIG_fail
;
12187 swig_obj
[0] = args
;
12188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12189 if (!SWIG_IsOK(res1
)) {
12190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12192 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 resultobj
= SWIG_Py_Void();
12206 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12207 PyObject
*resultobj
= 0;
12208 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12211 PyObject
*swig_obj
[1] ;
12213 if (!args
) SWIG_fail
;
12214 swig_obj
[0] = args
;
12215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12216 if (!SWIG_IsOK(res1
)) {
12217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12219 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 wxRegionIterator_Next(arg1
);
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12226 resultobj
= SWIG_Py_Void();
12233 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12234 PyObject
*resultobj
= 0;
12235 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12239 PyObject
*swig_obj
[1] ;
12241 if (!args
) SWIG_fail
;
12242 swig_obj
[0] = args
;
12243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12244 if (!SWIG_IsOK(res1
)) {
12245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12247 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12263 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12266 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12267 return SWIG_Py_Void();
12270 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12271 return SWIG_Python_InitShadowInstance(args
);
12274 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12275 PyObject
*resultobj
= 0;
12276 wxNativeFontInfo
*result
= 0 ;
12278 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12292 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12293 PyObject
*resultobj
= 0;
12294 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12297 PyObject
*swig_obj
[1] ;
12299 if (!args
) SWIG_fail
;
12300 swig_obj
[0] = args
;
12301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12302 if (!SWIG_IsOK(res1
)) {
12303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12305 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 wxPyEndAllowThreads(__tstate
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12313 resultobj
= SWIG_Py_Void();
12320 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12321 PyObject
*resultobj
= 0;
12322 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12325 PyObject
*swig_obj
[1] ;
12327 if (!args
) SWIG_fail
;
12328 swig_obj
[0] = args
;
12329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12330 if (!SWIG_IsOK(res1
)) {
12331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12333 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12340 resultobj
= SWIG_Py_Void();
12347 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
= 0;
12349 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12355 PyObject
* obj0
= 0 ;
12356 PyObject
* obj1
= 0 ;
12357 char * kwnames
[] = {
12358 (char *) "self",(char *) "font", NULL
12361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12363 if (!SWIG_IsOK(res1
)) {
12364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12366 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12367 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12368 if (!SWIG_IsOK(res2
)) {
12369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12374 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12378 wxPyEndAllowThreads(__tstate
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= SWIG_Py_Void();
12388 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12389 PyObject
*resultobj
= 0;
12390 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12394 PyObject
*swig_obj
[1] ;
12396 if (!args
) SWIG_fail
;
12397 swig_obj
[0] = args
;
12398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12399 if (!SWIG_IsOK(res1
)) {
12400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12402 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12409 resultobj
= SWIG_From_int(static_cast< int >(result
));
12416 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12417 PyObject
*resultobj
= 0;
12418 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12422 PyObject
*swig_obj
[1] ;
12424 if (!args
) SWIG_fail
;
12425 swig_obj
[0] = args
;
12426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12427 if (!SWIG_IsOK(res1
)) {
12428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12430 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12444 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12445 PyObject
*resultobj
= 0;
12446 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12447 wxFontStyle result
;
12450 PyObject
*swig_obj
[1] ;
12452 if (!args
) SWIG_fail
;
12453 swig_obj
[0] = args
;
12454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12455 if (!SWIG_IsOK(res1
)) {
12456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12458 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12461 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 resultobj
= SWIG_From_int(static_cast< int >(result
));
12472 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12473 PyObject
*resultobj
= 0;
12474 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12475 wxFontWeight result
;
12478 PyObject
*swig_obj
[1] ;
12480 if (!args
) SWIG_fail
;
12481 swig_obj
[0] = args
;
12482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12483 if (!SWIG_IsOK(res1
)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12486 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= SWIG_From_int(static_cast< int >(result
));
12500 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12501 PyObject
*resultobj
= 0;
12502 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12506 PyObject
*swig_obj
[1] ;
12508 if (!args
) SWIG_fail
;
12509 swig_obj
[0] = args
;
12510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12511 if (!SWIG_IsOK(res1
)) {
12512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12514 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12530 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12531 PyObject
*resultobj
= 0;
12532 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12536 PyObject
*swig_obj
[1] ;
12538 if (!args
) SWIG_fail
;
12539 swig_obj
[0] = args
;
12540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12541 if (!SWIG_IsOK(res1
)) {
12542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12544 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12564 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12565 PyObject
*resultobj
= 0;
12566 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12567 wxFontFamily result
;
12570 PyObject
*swig_obj
[1] ;
12572 if (!args
) SWIG_fail
;
12573 swig_obj
[0] = args
;
12574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12575 if (!SWIG_IsOK(res1
)) {
12576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12578 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 resultobj
= SWIG_From_int(static_cast< int >(result
));
12592 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12593 PyObject
*resultobj
= 0;
12594 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12595 wxFontEncoding result
;
12598 PyObject
*swig_obj
[1] ;
12600 if (!args
) SWIG_fail
;
12601 swig_obj
[0] = args
;
12602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12603 if (!SWIG_IsOK(res1
)) {
12604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12606 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 resultobj
= SWIG_From_int(static_cast< int >(result
));
12620 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
= 0;
12622 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12628 PyObject
* obj0
= 0 ;
12629 PyObject
* obj1
= 0 ;
12630 char * kwnames
[] = {
12631 (char *) "self",(char *) "pointsize", NULL
12634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12636 if (!SWIG_IsOK(res1
)) {
12637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12639 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12641 if (!SWIG_IsOK(ecode2
)) {
12642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12644 arg2
= static_cast< int >(val2
);
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 (arg1
)->SetPointSize(arg2
);
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= SWIG_Py_Void();
12658 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
= 0;
12660 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12665 PyObject
* obj0
= 0 ;
12666 PyObject
* obj1
= 0 ;
12667 char * kwnames
[] = {
12668 (char *) "self",(char *) "pixelSize", NULL
12671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12673 if (!SWIG_IsOK(res1
)) {
12674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12676 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12679 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12684 wxPyEndAllowThreads(__tstate
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12687 resultobj
= SWIG_Py_Void();
12694 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12695 PyObject
*resultobj
= 0;
12696 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12702 PyObject
* obj0
= 0 ;
12703 PyObject
* obj1
= 0 ;
12704 char * kwnames
[] = {
12705 (char *) "self",(char *) "style", NULL
12708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12710 if (!SWIG_IsOK(res1
)) {
12711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12713 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12715 if (!SWIG_IsOK(ecode2
)) {
12716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12718 arg2
= static_cast< wxFontStyle
>(val2
);
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12721 (arg1
)->SetStyle(arg2
);
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12725 resultobj
= SWIG_Py_Void();
12732 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12733 PyObject
*resultobj
= 0;
12734 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12735 wxFontWeight arg2
;
12740 PyObject
* obj0
= 0 ;
12741 PyObject
* obj1
= 0 ;
12742 char * kwnames
[] = {
12743 (char *) "self",(char *) "weight", NULL
12746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12748 if (!SWIG_IsOK(res1
)) {
12749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12751 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12753 if (!SWIG_IsOK(ecode2
)) {
12754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12756 arg2
= static_cast< wxFontWeight
>(val2
);
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12759 (arg1
)->SetWeight(arg2
);
12760 wxPyEndAllowThreads(__tstate
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12763 resultobj
= SWIG_Py_Void();
12770 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12771 PyObject
*resultobj
= 0;
12772 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12778 PyObject
* obj0
= 0 ;
12779 PyObject
* obj1
= 0 ;
12780 char * kwnames
[] = {
12781 (char *) "self",(char *) "underlined", NULL
12784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12786 if (!SWIG_IsOK(res1
)) {
12787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12789 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12790 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12791 if (!SWIG_IsOK(ecode2
)) {
12792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12794 arg2
= static_cast< bool >(val2
);
12796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12797 (arg1
)->SetUnderlined(arg2
);
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12801 resultobj
= SWIG_Py_Void();
12808 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
= 0;
12810 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12815 PyObject
* obj0
= 0 ;
12816 PyObject
* obj1
= 0 ;
12817 char * kwnames
[] = {
12818 (char *) "self",(char *) "facename", NULL
12821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12823 if (!SWIG_IsOK(res1
)) {
12824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12826 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12828 wxString
* sptr
= wxString_in_helper(obj1
);
12829 if (sptr
== NULL
) SWIG_fail
;
12834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12835 result
= (bool)(arg1
)->SetFaceName(arg2
);
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12848 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12849 PyObject
*resultobj
= 0;
12850 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12851 wxFontFamily arg2
;
12856 PyObject
* obj0
= 0 ;
12857 PyObject
* obj1
= 0 ;
12858 char * kwnames
[] = {
12859 (char *) "self",(char *) "family", NULL
12862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12864 if (!SWIG_IsOK(res1
)) {
12865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12867 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12869 if (!SWIG_IsOK(ecode2
)) {
12870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12872 arg2
= static_cast< wxFontFamily
>(val2
);
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 (arg1
)->SetFamily(arg2
);
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12879 resultobj
= SWIG_Py_Void();
12886 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
= 0;
12888 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12889 wxFontEncoding arg2
;
12894 PyObject
* obj0
= 0 ;
12895 PyObject
* obj1
= 0 ;
12896 char * kwnames
[] = {
12897 (char *) "self",(char *) "encoding", NULL
12900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12902 if (!SWIG_IsOK(res1
)) {
12903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12905 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12907 if (!SWIG_IsOK(ecode2
)) {
12908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12910 arg2
= static_cast< wxFontEncoding
>(val2
);
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 (arg1
)->SetEncoding(arg2
);
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12917 resultobj
= SWIG_Py_Void();
12924 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
= 0;
12926 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12927 wxString
*arg2
= 0 ;
12931 bool temp2
= false ;
12932 PyObject
* obj0
= 0 ;
12933 PyObject
* obj1
= 0 ;
12934 char * kwnames
[] = {
12935 (char *) "self",(char *) "s", NULL
12938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12940 if (!SWIG_IsOK(res1
)) {
12941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12943 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12945 arg2
= wxString_in_helper(obj1
);
12946 if (arg2
== NULL
) SWIG_fail
;
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12972 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12973 PyObject
*resultobj
= 0;
12974 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12978 PyObject
*swig_obj
[1] ;
12980 if (!args
) SWIG_fail
;
12981 swig_obj
[0] = args
;
12982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12983 if (!SWIG_IsOK(res1
)) {
12984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12986 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13006 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13007 PyObject
*resultobj
= 0;
13008 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13012 PyObject
*swig_obj
[1] ;
13014 if (!args
) SWIG_fail
;
13015 swig_obj
[0] = args
;
13016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13017 if (!SWIG_IsOK(res1
)) {
13018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13020 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13023 result
= wxNativeFontInfo___str__(arg1
);
13024 wxPyEndAllowThreads(__tstate
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13040 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
= 0;
13042 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13043 wxString
*arg2
= 0 ;
13047 bool temp2
= false ;
13048 PyObject
* obj0
= 0 ;
13049 PyObject
* obj1
= 0 ;
13050 char * kwnames
[] = {
13051 (char *) "self",(char *) "s", NULL
13054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13056 if (!SWIG_IsOK(res1
)) {
13057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13059 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13061 arg2
= wxString_in_helper(obj1
);
13062 if (arg2
== NULL
) SWIG_fail
;
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13088 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13089 PyObject
*resultobj
= 0;
13090 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13094 PyObject
*swig_obj
[1] ;
13096 if (!args
) SWIG_fail
;
13097 swig_obj
[0] = args
;
13098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13099 if (!SWIG_IsOK(res1
)) {
13100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13102 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13105 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13122 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13125 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13126 return SWIG_Py_Void();
13129 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13130 return SWIG_Python_InitShadowInstance(args
);
13133 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13134 PyObject
*resultobj
= 0;
13135 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13136 wxString
*arg2
= (wxString
*) 0 ;
13139 bool temp2
= false ;
13140 PyObject
*swig_obj
[2] ;
13142 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13144 if (!SWIG_IsOK(res1
)) {
13145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13147 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13149 arg2
= wxString_in_helper(swig_obj
[1]);
13150 if (arg2
== NULL
) SWIG_fail
;
13153 if (arg1
) (arg1
)->facename
= *arg2
;
13155 resultobj
= SWIG_Py_Void();
13170 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13171 PyObject
*resultobj
= 0;
13172 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13173 wxString
*result
= 0 ;
13176 PyObject
*swig_obj
[1] ;
13178 if (!args
) SWIG_fail
;
13179 swig_obj
[0] = args
;
13180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13181 if (!SWIG_IsOK(res1
)) {
13182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13184 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13185 result
= (wxString
*)& ((arg1
)->facename
);
13188 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13190 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13199 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13200 PyObject
*resultobj
= 0;
13201 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13202 wxFontEncoding arg2
;
13207 PyObject
*swig_obj
[2] ;
13209 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13211 if (!SWIG_IsOK(res1
)) {
13212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13214 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13215 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13216 if (!SWIG_IsOK(ecode2
)) {
13217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13219 arg2
= static_cast< wxFontEncoding
>(val2
);
13220 if (arg1
) (arg1
)->encoding
= arg2
;
13222 resultobj
= SWIG_Py_Void();
13229 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13230 PyObject
*resultobj
= 0;
13231 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13232 wxFontEncoding result
;
13235 PyObject
*swig_obj
[1] ;
13237 if (!args
) SWIG_fail
;
13238 swig_obj
[0] = args
;
13239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13240 if (!SWIG_IsOK(res1
)) {
13241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13243 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13244 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13245 resultobj
= SWIG_From_int(static_cast< int >(result
));
13252 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13253 PyObject
*resultobj
= 0;
13254 wxNativeEncodingInfo
*result
= 0 ;
13256 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13259 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13270 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13271 PyObject
*resultobj
= 0;
13272 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13275 PyObject
*swig_obj
[1] ;
13277 if (!args
) SWIG_fail
;
13278 swig_obj
[0] = args
;
13279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13280 if (!SWIG_IsOK(res1
)) {
13281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13283 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 wxPyEndAllowThreads(__tstate
);
13289 if (PyErr_Occurred()) SWIG_fail
;
13291 resultobj
= SWIG_Py_Void();
13298 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13299 PyObject
*resultobj
= 0;
13300 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13301 wxString
*arg2
= 0 ;
13305 bool temp2
= false ;
13306 PyObject
* obj0
= 0 ;
13307 PyObject
* obj1
= 0 ;
13308 char * kwnames
[] = {
13309 (char *) "self",(char *) "s", NULL
13312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13314 if (!SWIG_IsOK(res1
)) {
13315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13317 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13319 arg2
= wxString_in_helper(obj1
);
13320 if (arg2
== NULL
) SWIG_fail
;
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13346 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13347 PyObject
*resultobj
= 0;
13348 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13352 PyObject
*swig_obj
[1] ;
13354 if (!args
) SWIG_fail
;
13355 swig_obj
[0] = args
;
13356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13357 if (!SWIG_IsOK(res1
)) {
13358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13360 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13380 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13382 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13383 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13384 return SWIG_Py_Void();
13387 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13388 return SWIG_Python_InitShadowInstance(args
);
13391 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
*resultobj
= 0;
13393 wxFontEncoding arg1
;
13394 wxNativeEncodingInfo
*result
= 0 ;
13397 PyObject
* obj0
= 0 ;
13398 char * kwnames
[] = {
13399 (char *) "encoding", NULL
13402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13403 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13404 if (!SWIG_IsOK(ecode1
)) {
13405 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13407 arg1
= static_cast< wxFontEncoding
>(val1
);
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13421 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
*resultobj
= 0;
13423 wxNativeEncodingInfo
*arg1
= 0 ;
13427 PyObject
* obj0
= 0 ;
13428 char * kwnames
[] = {
13429 (char *) "info", NULL
13432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13433 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13434 if (!SWIG_IsOK(res1
)) {
13435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13438 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13440 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13443 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13456 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13457 PyObject
*resultobj
= 0;
13458 wxFontMapper
*result
= 0 ;
13460 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 result
= (wxFontMapper
*)new wxFontMapper();
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13474 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13475 PyObject
*resultobj
= 0;
13476 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13479 PyObject
*swig_obj
[1] ;
13481 if (!args
) SWIG_fail
;
13482 swig_obj
[0] = args
;
13483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13484 if (!SWIG_IsOK(res1
)) {
13485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13487 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13495 resultobj
= SWIG_Py_Void();
13502 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13503 PyObject
*resultobj
= 0;
13504 wxFontMapper
*result
= 0 ;
13506 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 result
= (wxFontMapper
*)wxFontMapper::Get();
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13520 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
= 0;
13522 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13523 wxFontMapper
*result
= 0 ;
13526 PyObject
* obj0
= 0 ;
13527 char * kwnames
[] = {
13528 (char *) "mapper", NULL
13531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13533 if (!SWIG_IsOK(res1
)) {
13534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13536 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13550 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
= 0;
13552 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13553 wxString
*arg2
= 0 ;
13554 bool arg3
= (bool) true ;
13555 wxFontEncoding result
;
13558 bool temp2
= false ;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 PyObject
* obj2
= 0 ;
13564 char * kwnames
[] = {
13565 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13570 if (!SWIG_IsOK(res1
)) {
13571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13573 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13575 arg2
= wxString_in_helper(obj1
);
13576 if (arg2
== NULL
) SWIG_fail
;
13580 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13581 if (!SWIG_IsOK(ecode3
)) {
13582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13584 arg3
= static_cast< bool >(val3
);
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13592 resultobj
= SWIG_From_int(static_cast< int >(result
));
13607 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13608 PyObject
*resultobj
= 0;
13611 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13625 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
= 0;
13628 wxFontEncoding result
;
13631 PyObject
* obj0
= 0 ;
13632 char * kwnames
[] = {
13636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13637 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13638 if (!SWIG_IsOK(ecode1
)) {
13639 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13641 arg1
= static_cast< size_t >(val1
);
13643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13644 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13648 resultobj
= SWIG_From_int(static_cast< int >(result
));
13655 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
= 0;
13657 wxFontEncoding arg1
;
13661 PyObject
* obj0
= 0 ;
13662 char * kwnames
[] = {
13663 (char *) "encoding", NULL
13666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13667 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13668 if (!SWIG_IsOK(ecode1
)) {
13669 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13671 arg1
= static_cast< wxFontEncoding
>(val1
);
13673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13674 result
= wxFontMapper::GetEncodingName(arg1
);
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13691 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13692 PyObject
*resultobj
= 0;
13693 wxFontEncoding arg1
;
13697 PyObject
* obj0
= 0 ;
13698 char * kwnames
[] = {
13699 (char *) "encoding", NULL
13702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13703 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13704 if (!SWIG_IsOK(ecode1
)) {
13705 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13707 arg1
= static_cast< wxFontEncoding
>(val1
);
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 result
= wxFontMapper::GetEncodingDescription(arg1
);
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13727 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
= 0;
13729 wxString
*arg1
= 0 ;
13730 wxFontEncoding result
;
13731 bool temp1
= false ;
13732 PyObject
* obj0
= 0 ;
13733 char * kwnames
[] = {
13734 (char *) "name", NULL
13737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13739 arg1
= wxString_in_helper(obj0
);
13740 if (arg1
== NULL
) SWIG_fail
;
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= SWIG_From_int(static_cast< int >(result
));
13764 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13765 PyObject
*resultobj
= 0;
13766 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13767 wxString
*arg2
= 0 ;
13770 bool temp2
= false ;
13771 PyObject
* obj0
= 0 ;
13772 PyObject
* obj1
= 0 ;
13773 char * kwnames
[] = {
13774 (char *) "self",(char *) "prefix", NULL
13777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13779 if (!SWIG_IsOK(res1
)) {
13780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13782 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13784 arg2
= wxString_in_helper(obj1
);
13785 if (arg2
== NULL
) SWIG_fail
;
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13794 resultobj
= SWIG_Py_Void();
13809 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13810 PyObject
*resultobj
= 0;
13813 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13816 result
= wxFontMapper::GetDefaultConfigPath();
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13833 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
= 0;
13835 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13836 wxFontEncoding arg2
;
13837 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13838 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13839 bool arg4
= (bool) true ;
13840 PyObject
*result
= 0 ;
13845 bool temp3
= false ;
13848 PyObject
* obj0
= 0 ;
13849 PyObject
* obj1
= 0 ;
13850 PyObject
* obj2
= 0 ;
13851 PyObject
* obj3
= 0 ;
13852 char * kwnames
[] = {
13853 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13858 if (!SWIG_IsOK(res1
)) {
13859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13861 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13863 if (!SWIG_IsOK(ecode2
)) {
13864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13866 arg2
= static_cast< wxFontEncoding
>(val2
);
13869 arg3
= wxString_in_helper(obj2
);
13870 if (arg3
== NULL
) SWIG_fail
;
13875 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13876 if (!SWIG_IsOK(ecode4
)) {
13877 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13879 arg4
= static_cast< bool >(val4
);
13882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13883 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) SWIG_fail
;
13887 resultobj
= result
;
13902 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
= 0;
13904 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13905 wxFontEncoding arg2
;
13906 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13907 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13913 bool temp3
= false ;
13914 PyObject
* obj0
= 0 ;
13915 PyObject
* obj1
= 0 ;
13916 PyObject
* obj2
= 0 ;
13917 char * kwnames
[] = {
13918 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13923 if (!SWIG_IsOK(res1
)) {
13924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13926 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13928 if (!SWIG_IsOK(ecode2
)) {
13929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13931 arg2
= static_cast< wxFontEncoding
>(val2
);
13934 arg3
= wxString_in_helper(obj2
);
13935 if (arg3
== NULL
) SWIG_fail
;
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13941 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13962 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13963 PyObject
*resultobj
= 0;
13964 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13965 wxWindow
*arg2
= (wxWindow
*) 0 ;
13970 PyObject
* obj0
= 0 ;
13971 PyObject
* obj1
= 0 ;
13972 char * kwnames
[] = {
13973 (char *) "self",(char *) "parent", NULL
13976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13978 if (!SWIG_IsOK(res1
)) {
13979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13981 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13982 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13983 if (!SWIG_IsOK(res2
)) {
13984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13986 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 (arg1
)->SetDialogParent(arg2
);
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13993 resultobj
= SWIG_Py_Void();
14000 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
= 0;
14002 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14003 wxString
*arg2
= 0 ;
14006 bool temp2
= false ;
14007 PyObject
* obj0
= 0 ;
14008 PyObject
* obj1
= 0 ;
14009 char * kwnames
[] = {
14010 (char *) "self",(char *) "title", NULL
14013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14015 if (!SWIG_IsOK(res1
)) {
14016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14018 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14020 arg2
= wxString_in_helper(obj1
);
14021 if (arg2
== NULL
) SWIG_fail
;
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= SWIG_Py_Void();
14045 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14047 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14048 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14049 return SWIG_Py_Void();
14052 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14053 return SWIG_Python_InitShadowInstance(args
);
14056 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
= 0;
14062 bool arg5
= (bool) false ;
14063 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14064 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14065 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14066 wxFont
*result
= 0 ;
14077 bool temp6
= false ;
14080 PyObject
* obj0
= 0 ;
14081 PyObject
* obj1
= 0 ;
14082 PyObject
* obj2
= 0 ;
14083 PyObject
* obj3
= 0 ;
14084 PyObject
* obj4
= 0 ;
14085 PyObject
* obj5
= 0 ;
14086 PyObject
* obj6
= 0 ;
14087 char * kwnames
[] = {
14088 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14092 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14093 if (!SWIG_IsOK(ecode1
)) {
14094 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14096 arg1
= static_cast< int >(val1
);
14097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14098 if (!SWIG_IsOK(ecode2
)) {
14099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14101 arg2
= static_cast< int >(val2
);
14102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14103 if (!SWIG_IsOK(ecode3
)) {
14104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14106 arg3
= static_cast< int >(val3
);
14107 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14108 if (!SWIG_IsOK(ecode4
)) {
14109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14111 arg4
= static_cast< int >(val4
);
14113 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14114 if (!SWIG_IsOK(ecode5
)) {
14115 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14117 arg5
= static_cast< bool >(val5
);
14121 arg6
= wxString_in_helper(obj5
);
14122 if (arg6
== NULL
) SWIG_fail
;
14127 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14128 if (!SWIG_IsOK(ecode7
)) {
14129 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14131 arg7
= static_cast< wxFontEncoding
>(val7
);
14134 if (!wxPyCheckForApp()) SWIG_fail
;
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14137 wxPyEndAllowThreads(__tstate
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14155 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14156 PyObject
*resultobj
= 0;
14157 wxFont
*arg1
= (wxFont
*) 0 ;
14160 PyObject
*swig_obj
[1] ;
14162 if (!args
) SWIG_fail
;
14163 swig_obj
[0] = args
;
14164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14165 if (!SWIG_IsOK(res1
)) {
14166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14168 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14176 resultobj
= SWIG_Py_Void();
14183 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
= 0;
14185 wxNativeFontInfo
*arg1
= 0 ;
14186 wxFont
*result
= 0 ;
14189 PyObject
* obj0
= 0 ;
14190 char * kwnames
[] = {
14191 (char *) "info", NULL
14194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14195 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14196 if (!SWIG_IsOK(res1
)) {
14197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14202 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14204 if (!wxPyCheckForApp()) SWIG_fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14217 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14218 PyObject
*resultobj
= 0;
14219 wxString
*arg1
= 0 ;
14220 wxFont
*result
= 0 ;
14221 bool temp1
= false ;
14222 PyObject
* obj0
= 0 ;
14223 char * kwnames
[] = {
14224 (char *) "info", NULL
14227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14229 arg1
= wxString_in_helper(obj0
);
14230 if (arg1
== NULL
) SWIG_fail
;
14234 if (!wxPyCheckForApp()) SWIG_fail
;
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14255 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14256 PyObject
*resultobj
= 0;
14258 wxFontFamily arg2
;
14259 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14260 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14261 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14262 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14263 wxFont
*result
= 0 ;
14270 bool temp4
= false ;
14273 PyObject
* obj0
= 0 ;
14274 PyObject
* obj1
= 0 ;
14275 PyObject
* obj2
= 0 ;
14276 PyObject
* obj3
= 0 ;
14277 PyObject
* obj4
= 0 ;
14278 char * kwnames
[] = {
14279 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14283 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14284 if (!SWIG_IsOK(ecode1
)) {
14285 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14287 arg1
= static_cast< int >(val1
);
14288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14289 if (!SWIG_IsOK(ecode2
)) {
14290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14292 arg2
= static_cast< wxFontFamily
>(val2
);
14294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14295 if (!SWIG_IsOK(ecode3
)) {
14296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14298 arg3
= static_cast< int >(val3
);
14302 arg4
= wxString_in_helper(obj3
);
14303 if (arg4
== NULL
) SWIG_fail
;
14308 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14309 if (!SWIG_IsOK(ecode5
)) {
14310 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14312 arg5
= static_cast< wxFontEncoding
>(val5
);
14315 if (!wxPyCheckForApp()) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14336 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14337 PyObject
*resultobj
= 0;
14342 bool arg5
= (bool) false ;
14343 wxString
const &arg6_defvalue
= wxEmptyString
;
14344 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14345 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14346 wxFont
*result
= 0 ;
14356 bool temp6
= false ;
14359 PyObject
* obj0
= 0 ;
14360 PyObject
* obj1
= 0 ;
14361 PyObject
* obj2
= 0 ;
14362 PyObject
* obj3
= 0 ;
14363 PyObject
* obj4
= 0 ;
14364 PyObject
* obj5
= 0 ;
14365 PyObject
* obj6
= 0 ;
14366 char * kwnames
[] = {
14367 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14373 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14376 if (!SWIG_IsOK(ecode2
)) {
14377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14379 arg2
= static_cast< int >(val2
);
14380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14381 if (!SWIG_IsOK(ecode3
)) {
14382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14384 arg3
= static_cast< int >(val3
);
14385 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14386 if (!SWIG_IsOK(ecode4
)) {
14387 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14389 arg4
= static_cast< int >(val4
);
14391 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14392 if (!SWIG_IsOK(ecode5
)) {
14393 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14395 arg5
= static_cast< bool >(val5
);
14399 arg6
= wxString_in_helper(obj5
);
14400 if (arg6
== NULL
) SWIG_fail
;
14405 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14406 if (!SWIG_IsOK(ecode7
)) {
14407 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14409 arg7
= static_cast< wxFontEncoding
>(val7
);
14412 if (!wxPyCheckForApp()) SWIG_fail
;
14413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14414 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14415 wxPyEndAllowThreads(__tstate
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14433 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14434 PyObject
*resultobj
= 0;
14436 wxFontFamily arg2
;
14437 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14438 wxString
const &arg4_defvalue
= wxEmptyString
;
14439 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14440 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14441 wxFont
*result
= 0 ;
14447 bool temp4
= false ;
14450 PyObject
* obj0
= 0 ;
14451 PyObject
* obj1
= 0 ;
14452 PyObject
* obj2
= 0 ;
14453 PyObject
* obj3
= 0 ;
14454 PyObject
* obj4
= 0 ;
14455 char * kwnames
[] = {
14456 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14462 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14465 if (!SWIG_IsOK(ecode2
)) {
14466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14468 arg2
= static_cast< wxFontFamily
>(val2
);
14470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14471 if (!SWIG_IsOK(ecode3
)) {
14472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14474 arg3
= static_cast< int >(val3
);
14478 arg4
= wxString_in_helper(obj3
);
14479 if (arg4
== NULL
) SWIG_fail
;
14484 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14485 if (!SWIG_IsOK(ecode5
)) {
14486 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14488 arg5
= static_cast< wxFontEncoding
>(val5
);
14491 if (!wxPyCheckForApp()) SWIG_fail
;
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14512 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14513 PyObject
*resultobj
= 0;
14514 wxFont
*arg1
= (wxFont
*) 0 ;
14518 PyObject
*swig_obj
[1] ;
14520 if (!args
) SWIG_fail
;
14521 swig_obj
[0] = args
;
14522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14523 if (!SWIG_IsOK(res1
)) {
14524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
14526 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 result
= (bool)((wxFont
const *)arg1
)->Ok();
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14542 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14543 PyObject
*resultobj
= 0;
14544 wxFont
*arg1
= (wxFont
*) 0 ;
14545 wxFont
*arg2
= (wxFont
*) 0 ;
14551 PyObject
* obj0
= 0 ;
14552 PyObject
* obj1
= 0 ;
14553 char * kwnames
[] = {
14554 (char *) "self",(char *) "other", NULL
14557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14559 if (!SWIG_IsOK(res1
)) {
14560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14562 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14563 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14564 if (!SWIG_IsOK(res2
)) {
14565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14567 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14583 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14584 PyObject
*resultobj
= 0;
14585 wxFont
*arg1
= (wxFont
*) 0 ;
14586 wxFont
*arg2
= (wxFont
*) 0 ;
14592 PyObject
* obj0
= 0 ;
14593 PyObject
* obj1
= 0 ;
14594 char * kwnames
[] = {
14595 (char *) "self",(char *) "other", NULL
14598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14600 if (!SWIG_IsOK(res1
)) {
14601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14603 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14604 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14605 if (!SWIG_IsOK(res2
)) {
14606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14608 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14611 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14612 wxPyEndAllowThreads(__tstate
);
14613 if (PyErr_Occurred()) SWIG_fail
;
14616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14624 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14625 PyObject
*resultobj
= 0;
14626 wxFont
*arg1
= (wxFont
*) 0 ;
14630 PyObject
*swig_obj
[1] ;
14632 if (!args
) SWIG_fail
;
14633 swig_obj
[0] = args
;
14634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14635 if (!SWIG_IsOK(res1
)) {
14636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14638 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14645 resultobj
= SWIG_From_int(static_cast< int >(result
));
14652 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14653 PyObject
*resultobj
= 0;
14654 wxFont
*arg1
= (wxFont
*) 0 ;
14658 PyObject
*swig_obj
[1] ;
14660 if (!args
) SWIG_fail
;
14661 swig_obj
[0] = args
;
14662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14663 if (!SWIG_IsOK(res1
)) {
14664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14666 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14669 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14673 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14680 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14681 PyObject
*resultobj
= 0;
14682 wxFont
*arg1
= (wxFont
*) 0 ;
14686 PyObject
*swig_obj
[1] ;
14688 if (!args
) SWIG_fail
;
14689 swig_obj
[0] = args
;
14690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14691 if (!SWIG_IsOK(res1
)) {
14692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14694 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14697 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14698 wxPyEndAllowThreads(__tstate
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14710 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14711 PyObject
*resultobj
= 0;
14712 wxFont
*arg1
= (wxFont
*) 0 ;
14716 PyObject
*swig_obj
[1] ;
14718 if (!args
) SWIG_fail
;
14719 swig_obj
[0] = args
;
14720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14721 if (!SWIG_IsOK(res1
)) {
14722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14724 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14727 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14731 resultobj
= SWIG_From_int(static_cast< int >(result
));
14738 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14739 PyObject
*resultobj
= 0;
14740 wxFont
*arg1
= (wxFont
*) 0 ;
14744 PyObject
*swig_obj
[1] ;
14746 if (!args
) SWIG_fail
;
14747 swig_obj
[0] = args
;
14748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14749 if (!SWIG_IsOK(res1
)) {
14750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14752 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14755 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14756 wxPyEndAllowThreads(__tstate
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14759 resultobj
= SWIG_From_int(static_cast< int >(result
));
14766 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14767 PyObject
*resultobj
= 0;
14768 wxFont
*arg1
= (wxFont
*) 0 ;
14772 PyObject
*swig_obj
[1] ;
14774 if (!args
) SWIG_fail
;
14775 swig_obj
[0] = args
;
14776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14777 if (!SWIG_IsOK(res1
)) {
14778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14780 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14783 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14784 wxPyEndAllowThreads(__tstate
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14787 resultobj
= SWIG_From_int(static_cast< int >(result
));
14794 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14795 PyObject
*resultobj
= 0;
14796 wxFont
*arg1
= (wxFont
*) 0 ;
14800 PyObject
*swig_obj
[1] ;
14802 if (!args
) SWIG_fail
;
14803 swig_obj
[0] = args
;
14804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14805 if (!SWIG_IsOK(res1
)) {
14806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14808 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14824 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14825 PyObject
*resultobj
= 0;
14826 wxFont
*arg1
= (wxFont
*) 0 ;
14830 PyObject
*swig_obj
[1] ;
14832 if (!args
) SWIG_fail
;
14833 swig_obj
[0] = args
;
14834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14835 if (!SWIG_IsOK(res1
)) {
14836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14838 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14841 result
= ((wxFont
const *)arg1
)->GetFaceName();
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14858 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14859 PyObject
*resultobj
= 0;
14860 wxFont
*arg1
= (wxFont
*) 0 ;
14861 wxFontEncoding result
;
14864 PyObject
*swig_obj
[1] ;
14866 if (!args
) SWIG_fail
;
14867 swig_obj
[0] = args
;
14868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14869 if (!SWIG_IsOK(res1
)) {
14870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14872 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= SWIG_From_int(static_cast< int >(result
));
14886 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14887 PyObject
*resultobj
= 0;
14888 wxFont
*arg1
= (wxFont
*) 0 ;
14889 wxNativeFontInfo
*result
= 0 ;
14892 PyObject
*swig_obj
[1] ;
14894 if (!args
) SWIG_fail
;
14895 swig_obj
[0] = args
;
14896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14897 if (!SWIG_IsOK(res1
)) {
14898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14900 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14914 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14915 PyObject
*resultobj
= 0;
14916 wxFont
*arg1
= (wxFont
*) 0 ;
14920 PyObject
*swig_obj
[1] ;
14922 if (!args
) SWIG_fail
;
14923 swig_obj
[0] = args
;
14924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14925 if (!SWIG_IsOK(res1
)) {
14926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14928 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14944 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14945 PyObject
*resultobj
= 0;
14946 wxFont
*arg1
= (wxFont
*) 0 ;
14950 PyObject
*swig_obj
[1] ;
14952 if (!args
) SWIG_fail
;
14953 swig_obj
[0] = args
;
14954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14955 if (!SWIG_IsOK(res1
)) {
14956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14958 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14978 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14979 PyObject
*resultobj
= 0;
14980 wxFont
*arg1
= (wxFont
*) 0 ;
14984 PyObject
*swig_obj
[1] ;
14986 if (!args
) SWIG_fail
;
14987 swig_obj
[0] = args
;
14988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14989 if (!SWIG_IsOK(res1
)) {
14990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14992 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
15001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15012 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15013 PyObject
*resultobj
= 0;
15014 wxFont
*arg1
= (wxFont
*) 0 ;
15020 PyObject
* obj0
= 0 ;
15021 PyObject
* obj1
= 0 ;
15022 char * kwnames
[] = {
15023 (char *) "self",(char *) "pointSize", NULL
15026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15028 if (!SWIG_IsOK(res1
)) {
15029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15031 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15033 if (!SWIG_IsOK(ecode2
)) {
15034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15036 arg2
= static_cast< int >(val2
);
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 (arg1
)->SetPointSize(arg2
);
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15043 resultobj
= SWIG_Py_Void();
15050 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
= 0;
15052 wxFont
*arg1
= (wxFont
*) 0 ;
15057 PyObject
* obj0
= 0 ;
15058 PyObject
* obj1
= 0 ;
15059 char * kwnames
[] = {
15060 (char *) "self",(char *) "pixelSize", NULL
15063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15065 if (!SWIG_IsOK(res1
)) {
15066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15068 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15071 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= SWIG_Py_Void();
15086 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
= 0;
15088 wxFont
*arg1
= (wxFont
*) 0 ;
15094 PyObject
* obj0
= 0 ;
15095 PyObject
* obj1
= 0 ;
15096 char * kwnames
[] = {
15097 (char *) "self",(char *) "family", NULL
15100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15102 if (!SWIG_IsOK(res1
)) {
15103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15105 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15107 if (!SWIG_IsOK(ecode2
)) {
15108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15110 arg2
= static_cast< int >(val2
);
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 (arg1
)->SetFamily(arg2
);
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 resultobj
= SWIG_Py_Void();
15124 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
= 0;
15126 wxFont
*arg1
= (wxFont
*) 0 ;
15132 PyObject
* obj0
= 0 ;
15133 PyObject
* obj1
= 0 ;
15134 char * kwnames
[] = {
15135 (char *) "self",(char *) "style", NULL
15138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15140 if (!SWIG_IsOK(res1
)) {
15141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15143 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15145 if (!SWIG_IsOK(ecode2
)) {
15146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15148 arg2
= static_cast< int >(val2
);
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 (arg1
)->SetStyle(arg2
);
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 resultobj
= SWIG_Py_Void();
15162 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
= 0;
15164 wxFont
*arg1
= (wxFont
*) 0 ;
15170 PyObject
* obj0
= 0 ;
15171 PyObject
* obj1
= 0 ;
15172 char * kwnames
[] = {
15173 (char *) "self",(char *) "weight", NULL
15176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15178 if (!SWIG_IsOK(res1
)) {
15179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15181 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15183 if (!SWIG_IsOK(ecode2
)) {
15184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15186 arg2
= static_cast< int >(val2
);
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 (arg1
)->SetWeight(arg2
);
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= SWIG_Py_Void();
15200 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15201 PyObject
*resultobj
= 0;
15202 wxFont
*arg1
= (wxFont
*) 0 ;
15203 wxString
*arg2
= 0 ;
15207 bool temp2
= false ;
15208 PyObject
* obj0
= 0 ;
15209 PyObject
* obj1
= 0 ;
15210 char * kwnames
[] = {
15211 (char *) "self",(char *) "faceName", NULL
15214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15216 if (!SWIG_IsOK(res1
)) {
15217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15219 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15221 arg2
= wxString_in_helper(obj1
);
15222 if (arg2
== NULL
) SWIG_fail
;
15226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15227 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15248 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15249 PyObject
*resultobj
= 0;
15250 wxFont
*arg1
= (wxFont
*) 0 ;
15256 PyObject
* obj0
= 0 ;
15257 PyObject
* obj1
= 0 ;
15258 char * kwnames
[] = {
15259 (char *) "self",(char *) "underlined", NULL
15262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15264 if (!SWIG_IsOK(res1
)) {
15265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15267 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15268 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15269 if (!SWIG_IsOK(ecode2
)) {
15270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15272 arg2
= static_cast< bool >(val2
);
15274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15275 (arg1
)->SetUnderlined(arg2
);
15276 wxPyEndAllowThreads(__tstate
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15279 resultobj
= SWIG_Py_Void();
15286 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
= 0;
15288 wxFont
*arg1
= (wxFont
*) 0 ;
15289 wxFontEncoding arg2
;
15294 PyObject
* obj0
= 0 ;
15295 PyObject
* obj1
= 0 ;
15296 char * kwnames
[] = {
15297 (char *) "self",(char *) "encoding", NULL
15300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15302 if (!SWIG_IsOK(res1
)) {
15303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15305 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15307 if (!SWIG_IsOK(ecode2
)) {
15308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15310 arg2
= static_cast< wxFontEncoding
>(val2
);
15312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15313 (arg1
)->SetEncoding(arg2
);
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15317 resultobj
= SWIG_Py_Void();
15324 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
= 0;
15326 wxFont
*arg1
= (wxFont
*) 0 ;
15327 wxNativeFontInfo
*arg2
= 0 ;
15332 PyObject
* obj0
= 0 ;
15333 PyObject
* obj1
= 0 ;
15334 char * kwnames
[] = {
15335 (char *) "self",(char *) "info", NULL
15338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15340 if (!SWIG_IsOK(res1
)) {
15341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15343 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15344 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15345 if (!SWIG_IsOK(res2
)) {
15346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15351 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15354 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15358 resultobj
= SWIG_Py_Void();
15365 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15366 PyObject
*resultobj
= 0;
15367 wxFont
*arg1
= (wxFont
*) 0 ;
15368 wxString
*arg2
= 0 ;
15372 bool temp2
= false ;
15373 PyObject
* obj0
= 0 ;
15374 PyObject
* obj1
= 0 ;
15375 char * kwnames
[] = {
15376 (char *) "self",(char *) "info", NULL
15379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15381 if (!SWIG_IsOK(res1
)) {
15382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15384 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15386 arg2
= wxString_in_helper(obj1
);
15387 if (arg2
== NULL
) SWIG_fail
;
15391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15413 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
= 0;
15415 wxFont
*arg1
= (wxFont
*) 0 ;
15416 wxString
*arg2
= 0 ;
15420 bool temp2
= false ;
15421 PyObject
* obj0
= 0 ;
15422 PyObject
* obj1
= 0 ;
15423 char * kwnames
[] = {
15424 (char *) "self",(char *) "info", NULL
15427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15429 if (!SWIG_IsOK(res1
)) {
15430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15432 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15434 arg2
= wxString_in_helper(obj1
);
15435 if (arg2
== NULL
) SWIG_fail
;
15439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15440 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15441 wxPyEndAllowThreads(__tstate
);
15442 if (PyErr_Occurred()) SWIG_fail
;
15445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15461 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15462 PyObject
*resultobj
= 0;
15463 wxFont
*arg1
= (wxFont
*) 0 ;
15467 PyObject
*swig_obj
[1] ;
15469 if (!args
) SWIG_fail
;
15470 swig_obj
[0] = args
;
15471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15472 if (!SWIG_IsOK(res1
)) {
15473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15475 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15478 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15495 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15496 PyObject
*resultobj
= 0;
15497 wxFont
*arg1
= (wxFont
*) 0 ;
15501 PyObject
*swig_obj
[1] ;
15503 if (!args
) SWIG_fail
;
15504 swig_obj
[0] = args
;
15505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15506 if (!SWIG_IsOK(res1
)) {
15507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15509 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 result
= ((wxFont
const *)arg1
)->GetStyleString();
15513 wxPyEndAllowThreads(__tstate
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15529 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15530 PyObject
*resultobj
= 0;
15531 wxFont
*arg1
= (wxFont
*) 0 ;
15535 PyObject
*swig_obj
[1] ;
15537 if (!args
) SWIG_fail
;
15538 swig_obj
[0] = args
;
15539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15540 if (!SWIG_IsOK(res1
)) {
15541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15543 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15546 result
= ((wxFont
const *)arg1
)->GetWeightString();
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15563 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
= 0;
15565 wxFont
*arg1
= (wxFont
*) 0 ;
15566 bool arg2
= (bool) true ;
15571 PyObject
* obj0
= 0 ;
15572 PyObject
* obj1
= 0 ;
15573 char * kwnames
[] = {
15574 (char *) "self",(char *) "no", NULL
15577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15579 if (!SWIG_IsOK(res1
)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15582 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15584 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15585 if (!SWIG_IsOK(ecode2
)) {
15586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15588 arg2
= static_cast< bool >(val2
);
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 (arg1
)->SetNoAntiAliasing(arg2
);
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15596 resultobj
= SWIG_Py_Void();
15603 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15604 PyObject
*resultobj
= 0;
15605 wxFont
*arg1
= (wxFont
*) 0 ;
15609 PyObject
*swig_obj
[1] ;
15611 if (!args
) SWIG_fail
;
15612 swig_obj
[0] = args
;
15613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15614 if (!SWIG_IsOK(res1
)) {
15615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15617 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15633 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15634 PyObject
*resultobj
= 0;
15635 wxFontEncoding result
;
15637 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15639 if (!wxPyCheckForApp()) SWIG_fail
;
15640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15641 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15645 resultobj
= SWIG_From_int(static_cast< int >(result
));
15652 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
= 0;
15654 wxFontEncoding arg1
;
15657 PyObject
* obj0
= 0 ;
15658 char * kwnames
[] = {
15659 (char *) "encoding", NULL
15662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15663 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15664 if (!SWIG_IsOK(ecode1
)) {
15665 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15667 arg1
= static_cast< wxFontEncoding
>(val1
);
15669 if (!wxPyCheckForApp()) SWIG_fail
;
15670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15671 wxFont::SetDefaultEncoding(arg1
);
15672 wxPyEndAllowThreads(__tstate
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15675 resultobj
= SWIG_Py_Void();
15682 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15684 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15685 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15686 return SWIG_Py_Void();
15689 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15690 return SWIG_Python_InitShadowInstance(args
);
15693 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15694 PyObject
*resultobj
= 0;
15695 wxPyFontEnumerator
*result
= 0 ;
15697 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15699 if (!wxPyCheckForApp()) SWIG_fail
;
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15712 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15713 PyObject
*resultobj
= 0;
15714 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15717 PyObject
*swig_obj
[1] ;
15719 if (!args
) SWIG_fail
;
15720 swig_obj
[0] = args
;
15721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15722 if (!SWIG_IsOK(res1
)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15725 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= SWIG_Py_Void();
15740 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15741 PyObject
*resultobj
= 0;
15742 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15743 PyObject
*arg2
= (PyObject
*) 0 ;
15744 PyObject
*arg3
= (PyObject
*) 0 ;
15750 PyObject
* obj0
= 0 ;
15751 PyObject
* obj1
= 0 ;
15752 PyObject
* obj2
= 0 ;
15753 PyObject
* obj3
= 0 ;
15754 char * kwnames
[] = {
15755 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15760 if (!SWIG_IsOK(res1
)) {
15761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15763 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15766 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15767 if (!SWIG_IsOK(ecode4
)) {
15768 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15770 arg4
= static_cast< bool >(val4
);
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= SWIG_Py_Void();
15784 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
= 0;
15786 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15787 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15788 bool arg3
= (bool) false ;
15796 PyObject
* obj0
= 0 ;
15797 PyObject
* obj1
= 0 ;
15798 PyObject
* obj2
= 0 ;
15799 char * kwnames
[] = {
15800 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15805 if (!SWIG_IsOK(res1
)) {
15806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15808 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15811 if (!SWIG_IsOK(ecode2
)) {
15812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15814 arg2
= static_cast< wxFontEncoding
>(val2
);
15817 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15818 if (!SWIG_IsOK(ecode3
)) {
15819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15821 arg3
= static_cast< bool >(val3
);
15824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15825 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15838 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
= 0;
15840 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15841 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15842 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15846 bool temp2
= false ;
15847 PyObject
* obj0
= 0 ;
15848 PyObject
* obj1
= 0 ;
15849 char * kwnames
[] = {
15850 (char *) "self",(char *) "facename", NULL
15853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15855 if (!SWIG_IsOK(res1
)) {
15856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15858 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15861 arg2
= wxString_in_helper(obj1
);
15862 if (arg2
== NULL
) SWIG_fail
;
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15889 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15890 PyObject
*resultobj
= 0;
15891 PyObject
*result
= 0 ;
15893 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= result
;
15907 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15908 PyObject
*resultobj
= 0;
15909 PyObject
*result
= 0 ;
15911 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15915 wxPyEndAllowThreads(__tstate
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15918 resultobj
= result
;
15925 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15926 PyObject
*resultobj
= 0;
15927 wxString
*arg1
= 0 ;
15929 bool temp1
= false ;
15930 PyObject
* obj0
= 0 ;
15931 char * kwnames
[] = {
15932 (char *) "str", NULL
15935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15937 arg1
= wxString_in_helper(obj0
);
15938 if (arg1
== NULL
) SWIG_fail
;
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15964 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15967 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15968 return SWIG_Py_Void();
15971 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15972 return SWIG_Python_InitShadowInstance(args
);
15975 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15976 PyObject
*resultobj
= 0;
15977 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15983 PyObject
*swig_obj
[2] ;
15985 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15987 if (!SWIG_IsOK(res1
)) {
15988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15990 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15991 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15992 if (!SWIG_IsOK(ecode2
)) {
15993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15995 arg2
= static_cast< int >(val2
);
15996 if (arg1
) (arg1
)->Language
= arg2
;
15998 resultobj
= SWIG_Py_Void();
16005 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16006 PyObject
*resultobj
= 0;
16007 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16011 PyObject
*swig_obj
[1] ;
16013 if (!args
) SWIG_fail
;
16014 swig_obj
[0] = args
;
16015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16016 if (!SWIG_IsOK(res1
)) {
16017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16019 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16020 result
= (int) ((arg1
)->Language
);
16021 resultobj
= SWIG_From_int(static_cast< int >(result
));
16028 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16029 PyObject
*resultobj
= 0;
16030 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16031 wxString
*arg2
= (wxString
*) 0 ;
16034 bool temp2
= false ;
16035 PyObject
*swig_obj
[2] ;
16037 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16039 if (!SWIG_IsOK(res1
)) {
16040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16042 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16044 arg2
= wxString_in_helper(swig_obj
[1]);
16045 if (arg2
== NULL
) SWIG_fail
;
16048 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16050 resultobj
= SWIG_Py_Void();
16065 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16066 PyObject
*resultobj
= 0;
16067 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16068 wxString
*result
= 0 ;
16071 PyObject
*swig_obj
[1] ;
16073 if (!args
) SWIG_fail
;
16074 swig_obj
[0] = args
;
16075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16076 if (!SWIG_IsOK(res1
)) {
16077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16079 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16080 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16083 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16085 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16094 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16095 PyObject
*resultobj
= 0;
16096 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16097 wxString
*arg2
= (wxString
*) 0 ;
16100 bool temp2
= false ;
16101 PyObject
*swig_obj
[2] ;
16103 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16105 if (!SWIG_IsOK(res1
)) {
16106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16108 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16110 arg2
= wxString_in_helper(swig_obj
[1]);
16111 if (arg2
== NULL
) SWIG_fail
;
16114 if (arg1
) (arg1
)->Description
= *arg2
;
16116 resultobj
= SWIG_Py_Void();
16131 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16132 PyObject
*resultobj
= 0;
16133 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16134 wxString
*result
= 0 ;
16137 PyObject
*swig_obj
[1] ;
16139 if (!args
) SWIG_fail
;
16140 swig_obj
[0] = args
;
16141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16142 if (!SWIG_IsOK(res1
)) {
16143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16145 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16146 result
= (wxString
*)& ((arg1
)->Description
);
16149 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16151 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16160 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16162 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16163 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16164 return SWIG_Py_Void();
16167 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16168 PyObject
*resultobj
= 0;
16169 int arg1
= (int) -1 ;
16170 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16171 wxLocale
*result
= 0 ;
16176 PyObject
* obj0
= 0 ;
16177 PyObject
* obj1
= 0 ;
16178 char * kwnames
[] = {
16179 (char *) "language",(char *) "flags", NULL
16182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16184 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16185 if (!SWIG_IsOK(ecode1
)) {
16186 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16188 arg1
= static_cast< int >(val1
);
16191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16192 if (!SWIG_IsOK(ecode2
)) {
16193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16195 arg2
= static_cast< int >(val2
);
16198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16199 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16200 wxPyEndAllowThreads(__tstate
);
16201 if (PyErr_Occurred()) SWIG_fail
;
16203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16210 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16211 PyObject
*resultobj
= 0;
16212 wxLocale
*arg1
= (wxLocale
*) 0 ;
16215 PyObject
*swig_obj
[1] ;
16217 if (!args
) SWIG_fail
;
16218 swig_obj
[0] = args
;
16219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16220 if (!SWIG_IsOK(res1
)) {
16221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16223 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16231 resultobj
= SWIG_Py_Void();
16238 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16239 PyObject
*resultobj
= 0;
16240 wxLocale
*arg1
= (wxLocale
*) 0 ;
16241 wxString
*arg2
= 0 ;
16242 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16243 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16244 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16245 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16246 bool arg5
= (bool) true ;
16247 bool arg6
= (bool) false ;
16251 bool temp2
= false ;
16252 bool temp3
= false ;
16253 bool temp4
= false ;
16258 PyObject
* obj0
= 0 ;
16259 PyObject
* obj1
= 0 ;
16260 PyObject
* obj2
= 0 ;
16261 PyObject
* obj3
= 0 ;
16262 PyObject
* obj4
= 0 ;
16263 PyObject
* obj5
= 0 ;
16264 char * kwnames
[] = {
16265 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16270 if (!SWIG_IsOK(res1
)) {
16271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16273 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16275 arg2
= wxString_in_helper(obj1
);
16276 if (arg2
== NULL
) SWIG_fail
;
16281 arg3
= wxString_in_helper(obj2
);
16282 if (arg3
== NULL
) SWIG_fail
;
16288 arg4
= wxString_in_helper(obj3
);
16289 if (arg4
== NULL
) SWIG_fail
;
16294 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16295 if (!SWIG_IsOK(ecode5
)) {
16296 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16298 arg5
= static_cast< bool >(val5
);
16301 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16302 if (!SWIG_IsOK(ecode6
)) {
16303 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16305 arg6
= static_cast< bool >(val6
);
16308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16309 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16310 wxPyEndAllowThreads(__tstate
);
16311 if (PyErr_Occurred()) SWIG_fail
;
16314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16346 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16347 PyObject
*resultobj
= 0;
16348 wxLocale
*arg1
= (wxLocale
*) 0 ;
16349 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16350 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16358 PyObject
* obj0
= 0 ;
16359 PyObject
* obj1
= 0 ;
16360 PyObject
* obj2
= 0 ;
16361 char * kwnames
[] = {
16362 (char *) "self",(char *) "language",(char *) "flags", NULL
16365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16367 if (!SWIG_IsOK(res1
)) {
16368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16370 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16373 if (!SWIG_IsOK(ecode2
)) {
16374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16376 arg2
= static_cast< int >(val2
);
16379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16380 if (!SWIG_IsOK(ecode3
)) {
16381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16383 arg3
= static_cast< int >(val3
);
16386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16387 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16388 wxPyEndAllowThreads(__tstate
);
16389 if (PyErr_Occurred()) SWIG_fail
;
16392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16400 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16401 PyObject
*resultobj
= 0;
16404 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16407 result
= (int)wxLocale::GetSystemLanguage();
16408 wxPyEndAllowThreads(__tstate
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16411 resultobj
= SWIG_From_int(static_cast< int >(result
));
16418 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16419 PyObject
*resultobj
= 0;
16420 wxFontEncoding result
;
16422 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16425 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16429 resultobj
= SWIG_From_int(static_cast< int >(result
));
16436 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16437 PyObject
*resultobj
= 0;
16440 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 result
= wxLocale::GetSystemEncodingName();
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16460 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16461 PyObject
*resultobj
= 0;
16462 wxLocale
*arg1
= (wxLocale
*) 0 ;
16466 PyObject
*swig_obj
[1] ;
16468 if (!args
) SWIG_fail
;
16469 swig_obj
[0] = args
;
16470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16471 if (!SWIG_IsOK(res1
)) {
16472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16474 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16490 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16491 PyObject
*resultobj
= 0;
16492 wxLocale
*arg1
= (wxLocale
*) 0 ;
16496 PyObject
*swig_obj
[1] ;
16498 if (!args
) SWIG_fail
;
16499 swig_obj
[0] = args
;
16500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16501 if (!SWIG_IsOK(res1
)) {
16502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16504 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16507 result
= ((wxLocale
const *)arg1
)->GetLocale();
16508 wxPyEndAllowThreads(__tstate
);
16509 if (PyErr_Occurred()) SWIG_fail
;
16513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16524 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16525 PyObject
*resultobj
= 0;
16526 wxLocale
*arg1
= (wxLocale
*) 0 ;
16530 PyObject
*swig_obj
[1] ;
16532 if (!args
) SWIG_fail
;
16533 swig_obj
[0] = args
;
16534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16535 if (!SWIG_IsOK(res1
)) {
16536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16538 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16542 wxPyEndAllowThreads(__tstate
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16545 resultobj
= SWIG_From_int(static_cast< int >(result
));
16552 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16553 PyObject
*resultobj
= 0;
16554 wxLocale
*arg1
= (wxLocale
*) 0 ;
16558 PyObject
*swig_obj
[1] ;
16560 if (!args
) SWIG_fail
;
16561 swig_obj
[0] = args
;
16562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16563 if (!SWIG_IsOK(res1
)) {
16564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16566 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 result
= ((wxLocale
const *)arg1
)->GetSysName();
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16586 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16587 PyObject
*resultobj
= 0;
16588 wxLocale
*arg1
= (wxLocale
*) 0 ;
16592 PyObject
*swig_obj
[1] ;
16594 if (!args
) SWIG_fail
;
16595 swig_obj
[0] = args
;
16596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16597 if (!SWIG_IsOK(res1
)) {
16598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16600 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16609 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16611 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16620 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16621 PyObject
*resultobj
= 0;
16622 wxString
*arg1
= 0 ;
16623 bool temp1
= false ;
16624 PyObject
* obj0
= 0 ;
16625 char * kwnames
[] = {
16626 (char *) "prefix", NULL
16629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16631 arg1
= wxString_in_helper(obj0
);
16632 if (arg1
== NULL
) SWIG_fail
;
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16637 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= SWIG_Py_Void();
16656 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
= 0;
16658 wxLocale
*arg1
= (wxLocale
*) 0 ;
16659 wxString
*arg2
= 0 ;
16663 bool temp2
= false ;
16664 PyObject
* obj0
= 0 ;
16665 PyObject
* obj1
= 0 ;
16666 char * kwnames
[] = {
16667 (char *) "self",(char *) "szDomain", NULL
16670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16672 if (!SWIG_IsOK(res1
)) {
16673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16675 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16677 arg2
= wxString_in_helper(obj1
);
16678 if (arg2
== NULL
) SWIG_fail
;
16682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16683 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16704 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
= 0;
16710 PyObject
* obj0
= 0 ;
16711 char * kwnames
[] = {
16712 (char *) "lang", NULL
16715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16716 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16717 if (!SWIG_IsOK(ecode1
)) {
16718 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16720 arg1
= static_cast< int >(val1
);
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 result
= (bool)wxLocale::IsAvailable(arg1
);
16724 wxPyEndAllowThreads(__tstate
);
16725 if (PyErr_Occurred()) SWIG_fail
;
16728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16736 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16737 PyObject
*resultobj
= 0;
16738 wxLocale
*arg1
= (wxLocale
*) 0 ;
16739 wxString
*arg2
= 0 ;
16743 bool temp2
= false ;
16744 PyObject
* obj0
= 0 ;
16745 PyObject
* obj1
= 0 ;
16746 char * kwnames
[] = {
16747 (char *) "self",(char *) "szDomain", NULL
16750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16752 if (!SWIG_IsOK(res1
)) {
16753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16755 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16757 arg2
= wxString_in_helper(obj1
);
16758 if (arg2
== NULL
) SWIG_fail
;
16762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16763 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16784 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
= 0;
16787 wxLanguageInfo
*result
= 0 ;
16790 PyObject
* obj0
= 0 ;
16791 char * kwnames
[] = {
16792 (char *) "lang", NULL
16795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16796 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16797 if (!SWIG_IsOK(ecode1
)) {
16798 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16800 arg1
= static_cast< int >(val1
);
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16803 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16804 wxPyEndAllowThreads(__tstate
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16814 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
= 0;
16820 PyObject
* obj0
= 0 ;
16821 char * kwnames
[] = {
16822 (char *) "lang", NULL
16825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16826 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16827 if (!SWIG_IsOK(ecode1
)) {
16828 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16830 arg1
= static_cast< int >(val1
);
16832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16833 result
= wxLocale::GetLanguageName(arg1
);
16834 wxPyEndAllowThreads(__tstate
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16850 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
= 0;
16852 wxString
*arg1
= 0 ;
16853 wxLanguageInfo
*result
= 0 ;
16854 bool temp1
= false ;
16855 PyObject
* obj0
= 0 ;
16856 char * kwnames
[] = {
16857 (char *) "locale", NULL
16860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16862 arg1
= wxString_in_helper(obj0
);
16863 if (arg1
== NULL
) SWIG_fail
;
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16869 wxPyEndAllowThreads(__tstate
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16887 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
= 0;
16889 wxLanguageInfo
*arg1
= 0 ;
16892 PyObject
* obj0
= 0 ;
16893 char * kwnames
[] = {
16894 (char *) "info", NULL
16897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16898 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16899 if (!SWIG_IsOK(res1
)) {
16900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16905 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16908 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16909 wxPyEndAllowThreads(__tstate
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16912 resultobj
= SWIG_Py_Void();
16919 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16920 PyObject
*resultobj
= 0;
16921 wxLocale
*arg1
= (wxLocale
*) 0 ;
16922 wxString
*arg2
= 0 ;
16923 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16924 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16928 bool temp2
= false ;
16929 bool temp3
= false ;
16930 PyObject
* obj0
= 0 ;
16931 PyObject
* obj1
= 0 ;
16932 PyObject
* obj2
= 0 ;
16933 char * kwnames
[] = {
16934 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16939 if (!SWIG_IsOK(res1
)) {
16940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16942 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16944 arg2
= wxString_in_helper(obj1
);
16945 if (arg2
== NULL
) SWIG_fail
;
16950 arg3
= wxString_in_helper(obj2
);
16951 if (arg3
== NULL
) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16990 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16991 PyObject
*resultobj
= 0;
16992 wxLocale
*arg1
= (wxLocale
*) 0 ;
16993 wxString
*result
= 0 ;
16996 PyObject
*swig_obj
[1] ;
16998 if (!args
) SWIG_fail
;
16999 swig_obj
[0] = args
;
17000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17001 if (!SWIG_IsOK(res1
)) {
17002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17004 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17008 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17009 result
= (wxString
*) &_result_ref
;
17011 wxPyEndAllowThreads(__tstate
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17016 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17018 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17027 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17030 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17031 return SWIG_Py_Void();
17034 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17035 return SWIG_Python_InitShadowInstance(args
);
17038 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17039 PyObject
*resultobj
= 0;
17040 int arg1
= (int) -1 ;
17041 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17042 wxPyLocale
*result
= 0 ;
17047 PyObject
* obj0
= 0 ;
17048 PyObject
* obj1
= 0 ;
17049 char * kwnames
[] = {
17050 (char *) "language",(char *) "flags", NULL
17053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17055 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17056 if (!SWIG_IsOK(ecode1
)) {
17057 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17059 arg1
= static_cast< int >(val1
);
17062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17063 if (!SWIG_IsOK(ecode2
)) {
17064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17066 arg2
= static_cast< int >(val2
);
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17070 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17071 wxPyEndAllowThreads(__tstate
);
17072 if (PyErr_Occurred()) SWIG_fail
;
17074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17081 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17082 PyObject
*resultobj
= 0;
17083 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17086 PyObject
*swig_obj
[1] ;
17088 if (!args
) SWIG_fail
;
17089 swig_obj
[0] = args
;
17090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17091 if (!SWIG_IsOK(res1
)) {
17092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17094 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17102 resultobj
= SWIG_Py_Void();
17109 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
= 0;
17111 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17112 PyObject
*arg2
= (PyObject
*) 0 ;
17113 PyObject
*arg3
= (PyObject
*) 0 ;
17116 PyObject
* obj0
= 0 ;
17117 PyObject
* obj1
= 0 ;
17118 PyObject
* obj2
= 0 ;
17119 char * kwnames
[] = {
17120 (char *) "self",(char *) "self",(char *) "_class", NULL
17123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17125 if (!SWIG_IsOK(res1
)) {
17126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17128 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= SWIG_Py_Void();
17144 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
= 0;
17146 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17147 wxChar
*arg2
= (wxChar
*) 0 ;
17148 wxChar
*arg3
= (wxChar
*) NULL
;
17149 wxChar
*result
= 0 ;
17156 PyObject
* obj0
= 0 ;
17157 PyObject
* obj1
= 0 ;
17158 PyObject
* obj2
= 0 ;
17159 char * kwnames
[] = {
17160 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17165 if (!SWIG_IsOK(res1
)) {
17166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17168 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17169 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17170 if (!SWIG_IsOK(res2
)) {
17171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17173 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17175 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17176 if (!SWIG_IsOK(res3
)) {
17177 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17179 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17183 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17184 wxPyEndAllowThreads(__tstate
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17194 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
= 0;
17196 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17197 wxChar
*arg2
= (wxChar
*) 0 ;
17198 wxChar
*arg3
= (wxChar
*) 0 ;
17200 wxChar
*arg5
= (wxChar
*) NULL
;
17201 wxChar
*result
= 0 ;
17212 PyObject
* obj0
= 0 ;
17213 PyObject
* obj1
= 0 ;
17214 PyObject
* obj2
= 0 ;
17215 PyObject
* obj3
= 0 ;
17216 PyObject
* obj4
= 0 ;
17217 char * kwnames
[] = {
17218 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17223 if (!SWIG_IsOK(res1
)) {
17224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17226 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17227 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17228 if (!SWIG_IsOK(res2
)) {
17229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17231 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17232 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17233 if (!SWIG_IsOK(res3
)) {
17234 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17236 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17237 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17238 if (!SWIG_IsOK(ecode4
)) {
17239 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17241 arg4
= static_cast< size_t >(val4
);
17243 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17244 if (!SWIG_IsOK(res5
)) {
17245 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17247 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17252 wxPyEndAllowThreads(__tstate
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17262 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17265 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17266 return SWIG_Py_Void();
17269 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17270 return SWIG_Python_InitShadowInstance(args
);
17273 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17274 PyObject
*resultobj
= 0;
17275 wxLocale
*result
= 0 ;
17277 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (wxLocale
*)wxGetLocale();
17281 wxPyEndAllowThreads(__tstate
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17291 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17292 PyObject
*resultobj
= 0;
17293 wxString
*arg1
= 0 ;
17295 bool temp1
= false ;
17297 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17299 arg1
= wxString_in_helper(swig_obj
[0]);
17300 if (arg1
== NULL
) SWIG_fail
;
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 result
= wxGetTranslation((wxString
const &)*arg1
);
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17330 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17331 PyObject
*resultobj
= 0;
17332 wxString
*arg1
= 0 ;
17333 wxString
*arg2
= 0 ;
17335 bool temp1
= false ;
17336 bool temp2
= false ;
17338 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17340 arg1
= wxString_in_helper(swig_obj
[0]);
17341 if (arg1
== NULL
) SWIG_fail
;
17345 arg2
= wxString_in_helper(swig_obj
[1]);
17346 if (arg2
== NULL
) SWIG_fail
;
17350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17352 wxPyEndAllowThreads(__tstate
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17384 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17385 PyObject
*resultobj
= 0;
17386 wxString
*arg1
= 0 ;
17387 wxString
*arg2
= 0 ;
17390 bool temp1
= false ;
17391 bool temp2
= false ;
17395 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17397 arg1
= wxString_in_helper(swig_obj
[0]);
17398 if (arg1
== NULL
) SWIG_fail
;
17402 arg2
= wxString_in_helper(swig_obj
[1]);
17403 if (arg2
== NULL
) SWIG_fail
;
17406 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17407 if (!SWIG_IsOK(ecode3
)) {
17408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17410 arg3
= static_cast< size_t >(val3
);
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17446 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17447 PyObject
*resultobj
= 0;
17448 wxString
*arg1
= 0 ;
17449 wxString
*arg2
= 0 ;
17451 wxString
*arg4
= 0 ;
17453 bool temp1
= false ;
17454 bool temp2
= false ;
17457 bool temp4
= false ;
17459 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17461 arg1
= wxString_in_helper(swig_obj
[0]);
17462 if (arg1
== NULL
) SWIG_fail
;
17466 arg2
= wxString_in_helper(swig_obj
[1]);
17467 if (arg2
== NULL
) SWIG_fail
;
17470 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17471 if (!SWIG_IsOK(ecode3
)) {
17472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17474 arg3
= static_cast< size_t >(val3
);
17476 arg4
= wxString_in_helper(swig_obj
[3]);
17477 if (arg4
== NULL
) SWIG_fail
;
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17523 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17527 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17530 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17533 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17536 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17539 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17543 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17548 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17549 PyObject
*resultobj
= 0;
17550 wxEncodingConverter
*result
= 0 ;
17552 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17556 wxPyEndAllowThreads(__tstate
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17566 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17567 PyObject
*resultobj
= 0;
17568 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17571 PyObject
*swig_obj
[1] ;
17573 if (!args
) SWIG_fail
;
17574 swig_obj
[0] = args
;
17575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17576 if (!SWIG_IsOK(res1
)) {
17577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17579 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17587 resultobj
= SWIG_Py_Void();
17594 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
= 0;
17596 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17597 wxFontEncoding arg2
;
17598 wxFontEncoding arg3
;
17599 int arg4
= (int) wxCONVERT_STRICT
;
17609 PyObject
* obj0
= 0 ;
17610 PyObject
* obj1
= 0 ;
17611 PyObject
* obj2
= 0 ;
17612 PyObject
* obj3
= 0 ;
17613 char * kwnames
[] = {
17614 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17619 if (!SWIG_IsOK(res1
)) {
17620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17622 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17624 if (!SWIG_IsOK(ecode2
)) {
17625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17627 arg2
= static_cast< wxFontEncoding
>(val2
);
17628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17629 if (!SWIG_IsOK(ecode3
)) {
17630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17632 arg3
= static_cast< wxFontEncoding
>(val3
);
17634 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17635 if (!SWIG_IsOK(ecode4
)) {
17636 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17638 arg4
= static_cast< int >(val4
);
17641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17642 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17643 wxPyEndAllowThreads(__tstate
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17655 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
= 0;
17657 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17658 wxString
*arg2
= 0 ;
17662 bool temp2
= false ;
17663 PyObject
* obj0
= 0 ;
17664 PyObject
* obj1
= 0 ;
17665 char * kwnames
[] = {
17666 (char *) "self",(char *) "input", NULL
17669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17671 if (!SWIG_IsOK(res1
)) {
17672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17674 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17676 arg2
= wxString_in_helper(obj1
);
17677 if (arg2
== NULL
) SWIG_fail
;
17681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17682 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17683 wxPyEndAllowThreads(__tstate
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17688 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17690 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17707 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
= 0;
17709 wxFontEncoding arg1
;
17710 int arg2
= (int) wxPLATFORM_CURRENT
;
17711 wxFontEncodingArray result
;
17716 PyObject
* obj0
= 0 ;
17717 PyObject
* obj1
= 0 ;
17718 char * kwnames
[] = {
17719 (char *) "enc",(char *) "platform", NULL
17722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17723 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17724 if (!SWIG_IsOK(ecode1
)) {
17725 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17727 arg1
= static_cast< wxFontEncoding
>(val1
);
17729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17730 if (!SWIG_IsOK(ecode2
)) {
17731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17733 arg2
= static_cast< int >(val2
);
17736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17737 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17742 resultobj
= PyList_New(0);
17743 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17744 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17745 PyList_Append(resultobj
, number
);
17755 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
= 0;
17757 wxFontEncoding arg1
;
17758 wxFontEncodingArray result
;
17761 PyObject
* obj0
= 0 ;
17762 char * kwnames
[] = {
17763 (char *) "enc", NULL
17766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17767 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17768 if (!SWIG_IsOK(ecode1
)) {
17769 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17771 arg1
= static_cast< wxFontEncoding
>(val1
);
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17779 resultobj
= PyList_New(0);
17780 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17781 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17782 PyList_Append(resultobj
, number
);
17792 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
= 0;
17794 wxFontEncoding arg1
;
17795 wxFontEncoding arg2
;
17801 PyObject
* obj0
= 0 ;
17802 PyObject
* obj1
= 0 ;
17803 char * kwnames
[] = {
17804 (char *) "encIn",(char *) "encOut", NULL
17807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17808 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17809 if (!SWIG_IsOK(ecode1
)) {
17810 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17812 arg1
= static_cast< wxFontEncoding
>(val1
);
17813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17814 if (!SWIG_IsOK(ecode2
)) {
17815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17817 arg2
= static_cast< wxFontEncoding
>(val2
);
17819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17821 wxPyEndAllowThreads(__tstate
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17833 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17836 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17837 return SWIG_Py_Void();
17840 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17841 return SWIG_Python_InitShadowInstance(args
);
17844 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17845 PyObject
*resultobj
= 0;
17846 wxDC
*arg1
= (wxDC
*) 0 ;
17849 PyObject
*swig_obj
[1] ;
17851 if (!args
) SWIG_fail
;
17852 swig_obj
[0] = args
;
17853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17854 if (!SWIG_IsOK(res1
)) {
17855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 wxPyEndAllowThreads(__tstate
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17865 resultobj
= SWIG_Py_Void();
17872 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
= 0;
17874 wxDC
*arg1
= (wxDC
*) 0 ;
17877 wxColour
*arg4
= 0 ;
17878 int arg5
= (int) wxFLOOD_SURFACE
;
17889 PyObject
* obj0
= 0 ;
17890 PyObject
* obj1
= 0 ;
17891 PyObject
* obj2
= 0 ;
17892 PyObject
* obj3
= 0 ;
17893 PyObject
* obj4
= 0 ;
17894 char * kwnames
[] = {
17895 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17900 if (!SWIG_IsOK(res1
)) {
17901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17903 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17905 if (!SWIG_IsOK(ecode2
)) {
17906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17908 arg2
= static_cast< int >(val2
);
17909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17910 if (!SWIG_IsOK(ecode3
)) {
17911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17913 arg3
= static_cast< int >(val3
);
17916 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17919 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17920 if (!SWIG_IsOK(ecode5
)) {
17921 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17923 arg5
= static_cast< int >(val5
);
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17927 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17940 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
= 0;
17942 wxDC
*arg1
= (wxDC
*) 0 ;
17943 wxPoint
*arg2
= 0 ;
17944 wxColour
*arg3
= 0 ;
17945 int arg4
= (int) wxFLOOD_SURFACE
;
17953 PyObject
* obj0
= 0 ;
17954 PyObject
* obj1
= 0 ;
17955 PyObject
* obj2
= 0 ;
17956 PyObject
* obj3
= 0 ;
17957 char * kwnames
[] = {
17958 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17963 if (!SWIG_IsOK(res1
)) {
17964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17966 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17969 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17973 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17976 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17977 if (!SWIG_IsOK(ecode4
)) {
17978 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17980 arg4
= static_cast< int >(val4
);
17983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17984 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17997 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
= 0;
17999 wxDC
*arg1
= (wxDC
*) 0 ;
18001 wxColour
*arg3
= 0 ;
18002 wxColour
*arg4
= 0 ;
18003 wxPoint
*arg5
= 0 ;
18010 PyObject
* obj0
= 0 ;
18011 PyObject
* obj1
= 0 ;
18012 PyObject
* obj2
= 0 ;
18013 PyObject
* obj3
= 0 ;
18014 PyObject
* obj4
= 0 ;
18015 char * kwnames
[] = {
18016 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18021 if (!SWIG_IsOK(res1
)) {
18022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18024 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18027 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18031 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18035 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18039 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 resultobj
= SWIG_Py_Void();
18054 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
= 0;
18056 wxDC
*arg1
= (wxDC
*) 0 ;
18058 wxColour
*arg3
= 0 ;
18059 wxColour
*arg4
= 0 ;
18060 wxDirection arg5
= (wxDirection
) wxEAST
;
18068 PyObject
* obj0
= 0 ;
18069 PyObject
* obj1
= 0 ;
18070 PyObject
* obj2
= 0 ;
18071 PyObject
* obj3
= 0 ;
18072 PyObject
* obj4
= 0 ;
18073 char * kwnames
[] = {
18074 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18079 if (!SWIG_IsOK(res1
)) {
18080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18082 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18085 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18089 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18093 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18096 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18097 if (!SWIG_IsOK(ecode5
)) {
18098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18100 arg5
= static_cast< wxDirection
>(val5
);
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18105 wxPyEndAllowThreads(__tstate
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18108 resultobj
= SWIG_Py_Void();
18115 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18116 PyObject
*resultobj
= 0;
18117 wxDC
*arg1
= (wxDC
*) 0 ;
18127 PyObject
* obj0
= 0 ;
18128 PyObject
* obj1
= 0 ;
18129 PyObject
* obj2
= 0 ;
18130 char * kwnames
[] = {
18131 (char *) "self",(char *) "x",(char *) "y", NULL
18134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18136 if (!SWIG_IsOK(res1
)) {
18137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18139 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18141 if (!SWIG_IsOK(ecode2
)) {
18142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18144 arg2
= static_cast< int >(val2
);
18145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18146 if (!SWIG_IsOK(ecode3
)) {
18147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18149 arg3
= static_cast< int >(val3
);
18151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18152 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18153 wxPyEndAllowThreads(__tstate
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18156 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18163 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18164 PyObject
*resultobj
= 0;
18165 wxDC
*arg1
= (wxDC
*) 0 ;
18166 wxPoint
*arg2
= 0 ;
18171 PyObject
* obj0
= 0 ;
18172 PyObject
* obj1
= 0 ;
18173 char * kwnames
[] = {
18174 (char *) "self",(char *) "pt", NULL
18177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18179 if (!SWIG_IsOK(res1
)) {
18180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18182 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18185 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18200 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
= 0;
18202 wxDC
*arg1
= (wxDC
*) 0 ;
18217 PyObject
* obj0
= 0 ;
18218 PyObject
* obj1
= 0 ;
18219 PyObject
* obj2
= 0 ;
18220 PyObject
* obj3
= 0 ;
18221 PyObject
* obj4
= 0 ;
18222 char * kwnames
[] = {
18223 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18228 if (!SWIG_IsOK(res1
)) {
18229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18231 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18233 if (!SWIG_IsOK(ecode2
)) {
18234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18236 arg2
= static_cast< int >(val2
);
18237 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18238 if (!SWIG_IsOK(ecode3
)) {
18239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18241 arg3
= static_cast< int >(val3
);
18242 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18243 if (!SWIG_IsOK(ecode4
)) {
18244 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18246 arg4
= static_cast< int >(val4
);
18247 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18248 if (!SWIG_IsOK(ecode5
)) {
18249 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18251 arg5
= static_cast< int >(val5
);
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 resultobj
= SWIG_Py_Void();
18265 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
= 0;
18267 wxDC
*arg1
= (wxDC
*) 0 ;
18268 wxPoint
*arg2
= 0 ;
18269 wxPoint
*arg3
= 0 ;
18274 PyObject
* obj0
= 0 ;
18275 PyObject
* obj1
= 0 ;
18276 PyObject
* obj2
= 0 ;
18277 char * kwnames
[] = {
18278 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18283 if (!SWIG_IsOK(res1
)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18289 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18293 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 resultobj
= SWIG_Py_Void();
18308 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
= 0;
18310 wxDC
*arg1
= (wxDC
*) 0 ;
18319 PyObject
* obj0
= 0 ;
18320 PyObject
* obj1
= 0 ;
18321 PyObject
* obj2
= 0 ;
18322 char * kwnames
[] = {
18323 (char *) "self",(char *) "x",(char *) "y", NULL
18326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18328 if (!SWIG_IsOK(res1
)) {
18329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18331 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18333 if (!SWIG_IsOK(ecode2
)) {
18334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18336 arg2
= static_cast< int >(val2
);
18337 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18338 if (!SWIG_IsOK(ecode3
)) {
18339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18341 arg3
= static_cast< int >(val3
);
18343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18344 (arg1
)->CrossHair(arg2
,arg3
);
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18348 resultobj
= SWIG_Py_Void();
18355 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18356 PyObject
*resultobj
= 0;
18357 wxDC
*arg1
= (wxDC
*) 0 ;
18358 wxPoint
*arg2
= 0 ;
18362 PyObject
* obj0
= 0 ;
18363 PyObject
* obj1
= 0 ;
18364 char * kwnames
[] = {
18365 (char *) "self",(char *) "pt", NULL
18368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18370 if (!SWIG_IsOK(res1
)) {
18371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18373 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18376 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18384 resultobj
= SWIG_Py_Void();
18391 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
= 0;
18393 wxDC
*arg1
= (wxDC
*) 0 ;
18414 PyObject
* obj0
= 0 ;
18415 PyObject
* obj1
= 0 ;
18416 PyObject
* obj2
= 0 ;
18417 PyObject
* obj3
= 0 ;
18418 PyObject
* obj4
= 0 ;
18419 PyObject
* obj5
= 0 ;
18420 PyObject
* obj6
= 0 ;
18421 char * kwnames
[] = {
18422 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18427 if (!SWIG_IsOK(res1
)) {
18428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18430 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18432 if (!SWIG_IsOK(ecode2
)) {
18433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18435 arg2
= static_cast< int >(val2
);
18436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18437 if (!SWIG_IsOK(ecode3
)) {
18438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18440 arg3
= static_cast< int >(val3
);
18441 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18442 if (!SWIG_IsOK(ecode4
)) {
18443 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18445 arg4
= static_cast< int >(val4
);
18446 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18447 if (!SWIG_IsOK(ecode5
)) {
18448 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18450 arg5
= static_cast< int >(val5
);
18451 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18452 if (!SWIG_IsOK(ecode6
)) {
18453 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18455 arg6
= static_cast< int >(val6
);
18456 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18457 if (!SWIG_IsOK(ecode7
)) {
18458 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18460 arg7
= static_cast< int >(val7
);
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18467 resultobj
= SWIG_Py_Void();
18474 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18475 PyObject
*resultobj
= 0;
18476 wxDC
*arg1
= (wxDC
*) 0 ;
18477 wxPoint
*arg2
= 0 ;
18478 wxPoint
*arg3
= 0 ;
18479 wxPoint
*arg4
= 0 ;
18485 PyObject
* obj0
= 0 ;
18486 PyObject
* obj1
= 0 ;
18487 PyObject
* obj2
= 0 ;
18488 PyObject
* obj3
= 0 ;
18489 char * kwnames
[] = {
18490 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18495 if (!SWIG_IsOK(res1
)) {
18496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18501 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18505 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18509 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 resultobj
= SWIG_Py_Void();
18524 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
= 0;
18526 wxDC
*arg1
= (wxDC
*) 0 ;
18541 PyObject
* obj0
= 0 ;
18542 PyObject
* obj1
= 0 ;
18543 PyObject
* obj2
= 0 ;
18544 PyObject
* obj3
= 0 ;
18545 PyObject
* obj4
= 0 ;
18546 char * kwnames
[] = {
18547 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18552 if (!SWIG_IsOK(res1
)) {
18553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18555 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18557 if (!SWIG_IsOK(ecode2
)) {
18558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18560 arg2
= static_cast< int >(val2
);
18561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18562 if (!SWIG_IsOK(ecode3
)) {
18563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18565 arg3
= static_cast< int >(val3
);
18566 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18567 if (!SWIG_IsOK(ecode4
)) {
18568 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18570 arg4
= static_cast< int >(val4
);
18571 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18572 if (!SWIG_IsOK(ecode5
)) {
18573 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18575 arg5
= static_cast< int >(val5
);
18577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18578 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18579 wxPyEndAllowThreads(__tstate
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18582 resultobj
= SWIG_Py_Void();
18589 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
= 0;
18591 wxDC
*arg1
= (wxDC
*) 0 ;
18596 PyObject
* obj0
= 0 ;
18597 PyObject
* obj1
= 0 ;
18598 char * kwnames
[] = {
18599 (char *) "self",(char *) "rect", NULL
18602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18604 if (!SWIG_IsOK(res1
)) {
18605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18607 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18610 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18618 resultobj
= SWIG_Py_Void();
18625 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
= 0;
18627 wxDC
*arg1
= (wxDC
*) 0 ;
18648 PyObject
* obj0
= 0 ;
18649 PyObject
* obj1
= 0 ;
18650 PyObject
* obj2
= 0 ;
18651 PyObject
* obj3
= 0 ;
18652 PyObject
* obj4
= 0 ;
18653 PyObject
* obj5
= 0 ;
18654 PyObject
* obj6
= 0 ;
18655 char * kwnames
[] = {
18656 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18661 if (!SWIG_IsOK(res1
)) {
18662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18664 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18666 if (!SWIG_IsOK(ecode2
)) {
18667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18669 arg2
= static_cast< int >(val2
);
18670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18671 if (!SWIG_IsOK(ecode3
)) {
18672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18674 arg3
= static_cast< int >(val3
);
18675 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18676 if (!SWIG_IsOK(ecode4
)) {
18677 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18679 arg4
= static_cast< int >(val4
);
18680 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18681 if (!SWIG_IsOK(ecode5
)) {
18682 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18684 arg5
= static_cast< int >(val5
);
18685 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18686 if (!SWIG_IsOK(ecode6
)) {
18687 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18689 arg6
= static_cast< double >(val6
);
18690 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18691 if (!SWIG_IsOK(ecode7
)) {
18692 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18694 arg7
= static_cast< double >(val7
);
18696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 resultobj
= SWIG_Py_Void();
18708 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18709 PyObject
*resultobj
= 0;
18710 wxDC
*arg1
= (wxDC
*) 0 ;
18711 wxPoint
*arg2
= 0 ;
18723 PyObject
* obj0
= 0 ;
18724 PyObject
* obj1
= 0 ;
18725 PyObject
* obj2
= 0 ;
18726 PyObject
* obj3
= 0 ;
18727 PyObject
* obj4
= 0 ;
18728 char * kwnames
[] = {
18729 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18734 if (!SWIG_IsOK(res1
)) {
18735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18737 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18740 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18744 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18746 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18747 if (!SWIG_IsOK(ecode4
)) {
18748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18750 arg4
= static_cast< double >(val4
);
18751 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18752 if (!SWIG_IsOK(ecode5
)) {
18753 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18755 arg5
= static_cast< double >(val5
);
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18759 wxPyEndAllowThreads(__tstate
);
18760 if (PyErr_Occurred()) SWIG_fail
;
18762 resultobj
= SWIG_Py_Void();
18769 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18770 PyObject
*resultobj
= 0;
18771 wxDC
*arg1
= (wxDC
*) 0 ;
18780 PyObject
* obj0
= 0 ;
18781 PyObject
* obj1
= 0 ;
18782 PyObject
* obj2
= 0 ;
18783 char * kwnames
[] = {
18784 (char *) "self",(char *) "x",(char *) "y", NULL
18787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) 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_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18792 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18794 if (!SWIG_IsOK(ecode2
)) {
18795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18797 arg2
= static_cast< int >(val2
);
18798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18799 if (!SWIG_IsOK(ecode3
)) {
18800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18802 arg3
= static_cast< int >(val3
);
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 (arg1
)->DrawPoint(arg2
,arg3
);
18806 wxPyEndAllowThreads(__tstate
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18809 resultobj
= SWIG_Py_Void();
18816 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18817 PyObject
*resultobj
= 0;
18818 wxDC
*arg1
= (wxDC
*) 0 ;
18819 wxPoint
*arg2
= 0 ;
18823 PyObject
* obj0
= 0 ;
18824 PyObject
* obj1
= 0 ;
18825 char * kwnames
[] = {
18826 (char *) "self",(char *) "pt", NULL
18829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18831 if (!SWIG_IsOK(res1
)) {
18832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18837 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18842 wxPyEndAllowThreads(__tstate
);
18843 if (PyErr_Occurred()) SWIG_fail
;
18845 resultobj
= SWIG_Py_Void();
18852 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
= 0;
18854 wxDC
*arg1
= (wxDC
*) 0 ;
18869 PyObject
* obj0
= 0 ;
18870 PyObject
* obj1
= 0 ;
18871 PyObject
* obj2
= 0 ;
18872 PyObject
* obj3
= 0 ;
18873 PyObject
* obj4
= 0 ;
18874 char * kwnames
[] = {
18875 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18880 if (!SWIG_IsOK(res1
)) {
18881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18883 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18885 if (!SWIG_IsOK(ecode2
)) {
18886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18888 arg2
= static_cast< int >(val2
);
18889 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18890 if (!SWIG_IsOK(ecode3
)) {
18891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18893 arg3
= static_cast< int >(val3
);
18894 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18895 if (!SWIG_IsOK(ecode4
)) {
18896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18898 arg4
= static_cast< int >(val4
);
18899 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18900 if (!SWIG_IsOK(ecode5
)) {
18901 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18903 arg5
= static_cast< int >(val5
);
18905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18906 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18907 wxPyEndAllowThreads(__tstate
);
18908 if (PyErr_Occurred()) SWIG_fail
;
18910 resultobj
= SWIG_Py_Void();
18917 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18918 PyObject
*resultobj
= 0;
18919 wxDC
*arg1
= (wxDC
*) 0 ;
18924 PyObject
* obj0
= 0 ;
18925 PyObject
* obj1
= 0 ;
18926 char * kwnames
[] = {
18927 (char *) "self",(char *) "rect", NULL
18930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18932 if (!SWIG_IsOK(res1
)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18935 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18938 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18946 resultobj
= SWIG_Py_Void();
18953 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
= 0;
18955 wxDC
*arg1
= (wxDC
*) 0 ;
18956 wxPoint
*arg2
= 0 ;
18962 PyObject
* obj0
= 0 ;
18963 PyObject
* obj1
= 0 ;
18964 PyObject
* obj2
= 0 ;
18965 char * kwnames
[] = {
18966 (char *) "self",(char *) "pt",(char *) "sz", NULL
18969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18971 if (!SWIG_IsOK(res1
)) {
18972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18977 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18981 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18985 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18986 wxPyEndAllowThreads(__tstate
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18989 resultobj
= SWIG_Py_Void();
18996 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
= 0;
18998 wxDC
*arg1
= (wxDC
*) 0 ;
19016 PyObject
* obj0
= 0 ;
19017 PyObject
* obj1
= 0 ;
19018 PyObject
* obj2
= 0 ;
19019 PyObject
* obj3
= 0 ;
19020 PyObject
* obj4
= 0 ;
19021 PyObject
* obj5
= 0 ;
19022 char * kwnames
[] = {
19023 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19028 if (!SWIG_IsOK(res1
)) {
19029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19031 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19033 if (!SWIG_IsOK(ecode2
)) {
19034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19036 arg2
= static_cast< int >(val2
);
19037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19038 if (!SWIG_IsOK(ecode3
)) {
19039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19041 arg3
= static_cast< int >(val3
);
19042 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19043 if (!SWIG_IsOK(ecode4
)) {
19044 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19046 arg4
= static_cast< int >(val4
);
19047 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19048 if (!SWIG_IsOK(ecode5
)) {
19049 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19051 arg5
= static_cast< int >(val5
);
19052 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19053 if (!SWIG_IsOK(ecode6
)) {
19054 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19056 arg6
= static_cast< double >(val6
);
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 resultobj
= SWIG_Py_Void();
19070 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
= 0;
19072 wxDC
*arg1
= (wxDC
*) 0 ;
19080 PyObject
* obj0
= 0 ;
19081 PyObject
* obj1
= 0 ;
19082 PyObject
* obj2
= 0 ;
19083 char * kwnames
[] = {
19084 (char *) "self",(char *) "r",(char *) "radius", NULL
19087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19089 if (!SWIG_IsOK(res1
)) {
19090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19092 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19095 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19097 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19098 if (!SWIG_IsOK(ecode3
)) {
19099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19101 arg3
= static_cast< double >(val3
);
19103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19104 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19105 wxPyEndAllowThreads(__tstate
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19108 resultobj
= SWIG_Py_Void();
19115 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19116 PyObject
*resultobj
= 0;
19117 wxDC
*arg1
= (wxDC
*) 0 ;
19118 wxPoint
*arg2
= 0 ;
19127 PyObject
* obj0
= 0 ;
19128 PyObject
* obj1
= 0 ;
19129 PyObject
* obj2
= 0 ;
19130 PyObject
* obj3
= 0 ;
19131 char * kwnames
[] = {
19132 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19137 if (!SWIG_IsOK(res1
)) {
19138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19140 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19143 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19147 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19149 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19150 if (!SWIG_IsOK(ecode4
)) {
19151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19153 arg4
= static_cast< double >(val4
);
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19157 wxPyEndAllowThreads(__tstate
);
19158 if (PyErr_Occurred()) SWIG_fail
;
19160 resultobj
= SWIG_Py_Void();
19167 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19168 PyObject
*resultobj
= 0;
19169 wxDC
*arg1
= (wxDC
*) 0 ;
19181 PyObject
* obj0
= 0 ;
19182 PyObject
* obj1
= 0 ;
19183 PyObject
* obj2
= 0 ;
19184 PyObject
* obj3
= 0 ;
19185 char * kwnames
[] = {
19186 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19194 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19196 if (!SWIG_IsOK(ecode2
)) {
19197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19199 arg2
= static_cast< int >(val2
);
19200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19201 if (!SWIG_IsOK(ecode3
)) {
19202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19204 arg3
= static_cast< int >(val3
);
19205 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19206 if (!SWIG_IsOK(ecode4
)) {
19207 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19209 arg4
= static_cast< int >(val4
);
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 resultobj
= SWIG_Py_Void();
19223 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
= 0;
19225 wxDC
*arg1
= (wxDC
*) 0 ;
19226 wxPoint
*arg2
= 0 ;
19233 PyObject
* obj0
= 0 ;
19234 PyObject
* obj1
= 0 ;
19235 PyObject
* obj2
= 0 ;
19236 char * kwnames
[] = {
19237 (char *) "self",(char *) "pt",(char *) "radius", NULL
19240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19242 if (!SWIG_IsOK(res1
)) {
19243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19245 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19248 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19251 if (!SWIG_IsOK(ecode3
)) {
19252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19254 arg3
= static_cast< int >(val3
);
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19257 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19261 resultobj
= SWIG_Py_Void();
19268 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19269 PyObject
*resultobj
= 0;
19270 wxDC
*arg1
= (wxDC
*) 0 ;
19285 PyObject
* obj0
= 0 ;
19286 PyObject
* obj1
= 0 ;
19287 PyObject
* obj2
= 0 ;
19288 PyObject
* obj3
= 0 ;
19289 PyObject
* obj4
= 0 ;
19290 char * kwnames
[] = {
19291 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19296 if (!SWIG_IsOK(res1
)) {
19297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19299 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19301 if (!SWIG_IsOK(ecode2
)) {
19302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19304 arg2
= static_cast< int >(val2
);
19305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19306 if (!SWIG_IsOK(ecode3
)) {
19307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19309 arg3
= static_cast< int >(val3
);
19310 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19311 if (!SWIG_IsOK(ecode4
)) {
19312 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19314 arg4
= static_cast< int >(val4
);
19315 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19316 if (!SWIG_IsOK(ecode5
)) {
19317 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19319 arg5
= static_cast< int >(val5
);
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 resultobj
= SWIG_Py_Void();
19333 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
= 0;
19335 wxDC
*arg1
= (wxDC
*) 0 ;
19340 PyObject
* obj0
= 0 ;
19341 PyObject
* obj1
= 0 ;
19342 char * kwnames
[] = {
19343 (char *) "self",(char *) "rect", NULL
19346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19348 if (!SWIG_IsOK(res1
)) {
19349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19351 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19354 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= SWIG_Py_Void();
19369 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19370 PyObject
*resultobj
= 0;
19371 wxDC
*arg1
= (wxDC
*) 0 ;
19372 wxPoint
*arg2
= 0 ;
19378 PyObject
* obj0
= 0 ;
19379 PyObject
* obj1
= 0 ;
19380 PyObject
* obj2
= 0 ;
19381 char * kwnames
[] = {
19382 (char *) "self",(char *) "pt",(char *) "sz", NULL
19385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19387 if (!SWIG_IsOK(res1
)) {
19388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19390 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19393 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19397 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19402 wxPyEndAllowThreads(__tstate
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19405 resultobj
= SWIG_Py_Void();
19412 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19413 PyObject
*resultobj
= 0;
19414 wxDC
*arg1
= (wxDC
*) 0 ;
19426 PyObject
* obj0
= 0 ;
19427 PyObject
* obj1
= 0 ;
19428 PyObject
* obj2
= 0 ;
19429 PyObject
* obj3
= 0 ;
19430 char * kwnames
[] = {
19431 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19436 if (!SWIG_IsOK(res1
)) {
19437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19439 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19440 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19441 if (!SWIG_IsOK(res2
)) {
19442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19447 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19448 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19449 if (!SWIG_IsOK(ecode3
)) {
19450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19452 arg3
= static_cast< int >(val3
);
19453 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19454 if (!SWIG_IsOK(ecode4
)) {
19455 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19457 arg4
= static_cast< int >(val4
);
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19461 wxPyEndAllowThreads(__tstate
);
19462 if (PyErr_Occurred()) SWIG_fail
;
19464 resultobj
= SWIG_Py_Void();
19471 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
= 0;
19473 wxDC
*arg1
= (wxDC
*) 0 ;
19475 wxPoint
*arg3
= 0 ;
19481 PyObject
* obj0
= 0 ;
19482 PyObject
* obj1
= 0 ;
19483 PyObject
* obj2
= 0 ;
19484 char * kwnames
[] = {
19485 (char *) "self",(char *) "icon",(char *) "pt", NULL
19488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19490 if (!SWIG_IsOK(res1
)) {
19491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19493 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19494 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19495 if (!SWIG_IsOK(res2
)) {
19496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19501 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19504 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19509 wxPyEndAllowThreads(__tstate
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= SWIG_Py_Void();
19519 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
= 0;
19521 wxDC
*arg1
= (wxDC
*) 0 ;
19522 wxBitmap
*arg2
= 0 ;
19525 bool arg5
= (bool) false ;
19536 PyObject
* obj0
= 0 ;
19537 PyObject
* obj1
= 0 ;
19538 PyObject
* obj2
= 0 ;
19539 PyObject
* obj3
= 0 ;
19540 PyObject
* obj4
= 0 ;
19541 char * kwnames
[] = {
19542 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19547 if (!SWIG_IsOK(res1
)) {
19548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19550 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19551 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19552 if (!SWIG_IsOK(res2
)) {
19553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19558 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19559 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19560 if (!SWIG_IsOK(ecode3
)) {
19561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19563 arg3
= static_cast< int >(val3
);
19564 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19565 if (!SWIG_IsOK(ecode4
)) {
19566 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19568 arg4
= static_cast< int >(val4
);
19570 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19571 if (!SWIG_IsOK(ecode5
)) {
19572 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19574 arg5
= static_cast< bool >(val5
);
19577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19578 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19579 wxPyEndAllowThreads(__tstate
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19582 resultobj
= SWIG_Py_Void();
19589 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
= 0;
19591 wxDC
*arg1
= (wxDC
*) 0 ;
19592 wxBitmap
*arg2
= 0 ;
19593 wxPoint
*arg3
= 0 ;
19594 bool arg4
= (bool) false ;
19602 PyObject
* obj0
= 0 ;
19603 PyObject
* obj1
= 0 ;
19604 PyObject
* obj2
= 0 ;
19605 PyObject
* obj3
= 0 ;
19606 char * kwnames
[] = {
19607 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19612 if (!SWIG_IsOK(res1
)) {
19613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19615 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19616 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19617 if (!SWIG_IsOK(res2
)) {
19618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19623 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19626 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19629 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19630 if (!SWIG_IsOK(ecode4
)) {
19631 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19633 arg4
= static_cast< bool >(val4
);
19636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19637 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 resultobj
= SWIG_Py_Void();
19648 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
= 0;
19650 wxDC
*arg1
= (wxDC
*) 0 ;
19651 wxString
*arg2
= 0 ;
19656 bool temp2
= false ;
19661 PyObject
* obj0
= 0 ;
19662 PyObject
* obj1
= 0 ;
19663 PyObject
* obj2
= 0 ;
19664 PyObject
* obj3
= 0 ;
19665 char * kwnames
[] = {
19666 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19671 if (!SWIG_IsOK(res1
)) {
19672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19674 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19676 arg2
= wxString_in_helper(obj1
);
19677 if (arg2
== NULL
) SWIG_fail
;
19680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19681 if (!SWIG_IsOK(ecode3
)) {
19682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19684 arg3
= static_cast< int >(val3
);
19685 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19686 if (!SWIG_IsOK(ecode4
)) {
19687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19689 arg4
= static_cast< int >(val4
);
19691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19692 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19693 wxPyEndAllowThreads(__tstate
);
19694 if (PyErr_Occurred()) SWIG_fail
;
19696 resultobj
= SWIG_Py_Void();
19711 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
= 0;
19713 wxDC
*arg1
= (wxDC
*) 0 ;
19714 wxString
*arg2
= 0 ;
19715 wxPoint
*arg3
= 0 ;
19718 bool temp2
= false ;
19720 PyObject
* obj0
= 0 ;
19721 PyObject
* obj1
= 0 ;
19722 PyObject
* obj2
= 0 ;
19723 char * kwnames
[] = {
19724 (char *) "self",(char *) "text",(char *) "pt", NULL
19727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19729 if (!SWIG_IsOK(res1
)) {
19730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19732 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19734 arg2
= wxString_in_helper(obj1
);
19735 if (arg2
== NULL
) SWIG_fail
;
19740 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19748 resultobj
= SWIG_Py_Void();
19763 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
= 0;
19765 wxDC
*arg1
= (wxDC
*) 0 ;
19766 wxString
*arg2
= 0 ;
19772 bool temp2
= false ;
19779 PyObject
* obj0
= 0 ;
19780 PyObject
* obj1
= 0 ;
19781 PyObject
* obj2
= 0 ;
19782 PyObject
* obj3
= 0 ;
19783 PyObject
* obj4
= 0 ;
19784 char * kwnames
[] = {
19785 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19790 if (!SWIG_IsOK(res1
)) {
19791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19793 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19795 arg2
= wxString_in_helper(obj1
);
19796 if (arg2
== NULL
) SWIG_fail
;
19799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19800 if (!SWIG_IsOK(ecode3
)) {
19801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19803 arg3
= static_cast< int >(val3
);
19804 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19805 if (!SWIG_IsOK(ecode4
)) {
19806 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19808 arg4
= static_cast< int >(val4
);
19809 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19810 if (!SWIG_IsOK(ecode5
)) {
19811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19813 arg5
= static_cast< double >(val5
);
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19820 resultobj
= SWIG_Py_Void();
19835 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
= 0;
19837 wxDC
*arg1
= (wxDC
*) 0 ;
19838 wxString
*arg2
= 0 ;
19839 wxPoint
*arg3
= 0 ;
19843 bool temp2
= false ;
19847 PyObject
* obj0
= 0 ;
19848 PyObject
* obj1
= 0 ;
19849 PyObject
* obj2
= 0 ;
19850 PyObject
* obj3
= 0 ;
19851 char * kwnames
[] = {
19852 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19857 if (!SWIG_IsOK(res1
)) {
19858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19860 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19862 arg2
= wxString_in_helper(obj1
);
19863 if (arg2
== NULL
) SWIG_fail
;
19868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19870 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19871 if (!SWIG_IsOK(ecode4
)) {
19872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19874 arg4
= static_cast< double >(val4
);
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19878 wxPyEndAllowThreads(__tstate
);
19879 if (PyErr_Occurred()) SWIG_fail
;
19881 resultobj
= SWIG_Py_Void();
19896 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19897 PyObject
*resultobj
= 0;
19898 wxDC
*arg1
= (wxDC
*) 0 ;
19903 wxDC
*arg6
= (wxDC
*) 0 ;
19906 int arg9
= (int) wxCOPY
;
19907 bool arg10
= (bool) false ;
19908 int arg11
= (int) -1 ;
19909 int arg12
= (int) -1 ;
19935 PyObject
* obj0
= 0 ;
19936 PyObject
* obj1
= 0 ;
19937 PyObject
* obj2
= 0 ;
19938 PyObject
* obj3
= 0 ;
19939 PyObject
* obj4
= 0 ;
19940 PyObject
* obj5
= 0 ;
19941 PyObject
* obj6
= 0 ;
19942 PyObject
* obj7
= 0 ;
19943 PyObject
* obj8
= 0 ;
19944 PyObject
* obj9
= 0 ;
19945 PyObject
* obj10
= 0 ;
19946 PyObject
* obj11
= 0 ;
19947 char * kwnames
[] = {
19948 (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
19951 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
;
19952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19953 if (!SWIG_IsOK(res1
)) {
19954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19956 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19958 if (!SWIG_IsOK(ecode2
)) {
19959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19961 arg2
= static_cast< int >(val2
);
19962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19963 if (!SWIG_IsOK(ecode3
)) {
19964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19966 arg3
= static_cast< int >(val3
);
19967 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19968 if (!SWIG_IsOK(ecode4
)) {
19969 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19971 arg4
= static_cast< int >(val4
);
19972 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19973 if (!SWIG_IsOK(ecode5
)) {
19974 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19976 arg5
= static_cast< int >(val5
);
19977 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19978 if (!SWIG_IsOK(res6
)) {
19979 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19981 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19982 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19983 if (!SWIG_IsOK(ecode7
)) {
19984 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19986 arg7
= static_cast< int >(val7
);
19987 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19988 if (!SWIG_IsOK(ecode8
)) {
19989 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19991 arg8
= static_cast< int >(val8
);
19993 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19994 if (!SWIG_IsOK(ecode9
)) {
19995 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19997 arg9
= static_cast< int >(val9
);
20000 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20001 if (!SWIG_IsOK(ecode10
)) {
20002 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20004 arg10
= static_cast< bool >(val10
);
20007 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20008 if (!SWIG_IsOK(ecode11
)) {
20009 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20011 arg11
= static_cast< int >(val11
);
20014 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20015 if (!SWIG_IsOK(ecode12
)) {
20016 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20018 arg12
= static_cast< int >(val12
);
20021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20022 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20023 wxPyEndAllowThreads(__tstate
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20035 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
= 0;
20037 wxDC
*arg1
= (wxDC
*) 0 ;
20038 wxPoint
*arg2
= 0 ;
20040 wxDC
*arg4
= (wxDC
*) 0 ;
20041 wxPoint
*arg5
= 0 ;
20042 int arg6
= (int) wxCOPY
;
20043 bool arg7
= (bool) false ;
20044 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20045 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20059 PyObject
* obj0
= 0 ;
20060 PyObject
* obj1
= 0 ;
20061 PyObject
* obj2
= 0 ;
20062 PyObject
* obj3
= 0 ;
20063 PyObject
* obj4
= 0 ;
20064 PyObject
* obj5
= 0 ;
20065 PyObject
* obj6
= 0 ;
20066 PyObject
* obj7
= 0 ;
20067 char * kwnames
[] = {
20068 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20073 if (!SWIG_IsOK(res1
)) {
20074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20076 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20079 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20083 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20085 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20086 if (!SWIG_IsOK(res4
)) {
20087 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20089 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20092 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20095 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20096 if (!SWIG_IsOK(ecode6
)) {
20097 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20099 arg6
= static_cast< int >(val6
);
20102 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20103 if (!SWIG_IsOK(ecode7
)) {
20104 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20106 arg7
= static_cast< bool >(val7
);
20111 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20116 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20117 wxPyEndAllowThreads(__tstate
);
20118 if (PyErr_Occurred()) SWIG_fail
;
20121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20129 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20130 PyObject
*resultobj
= 0;
20131 wxDC
*arg1
= (wxDC
*) 0 ;
20146 PyObject
* obj0
= 0 ;
20147 PyObject
* obj1
= 0 ;
20148 PyObject
* obj2
= 0 ;
20149 PyObject
* obj3
= 0 ;
20150 PyObject
* obj4
= 0 ;
20151 char * kwnames
[] = {
20152 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20157 if (!SWIG_IsOK(res1
)) {
20158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20160 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20162 if (!SWIG_IsOK(ecode2
)) {
20163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20165 arg2
= static_cast< int >(val2
);
20166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20167 if (!SWIG_IsOK(ecode3
)) {
20168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20170 arg3
= static_cast< int >(val3
);
20171 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20172 if (!SWIG_IsOK(ecode4
)) {
20173 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20175 arg4
= static_cast< int >(val4
);
20176 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20177 if (!SWIG_IsOK(ecode5
)) {
20178 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20180 arg5
= static_cast< int >(val5
);
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20183 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20187 resultobj
= SWIG_Py_Void();
20194 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20195 PyObject
*resultobj
= 0;
20196 wxDC
*arg1
= (wxDC
*) 0 ;
20197 wxPoint
*arg2
= 0 ;
20203 PyObject
* obj0
= 0 ;
20204 PyObject
* obj1
= 0 ;
20205 PyObject
* obj2
= 0 ;
20206 char * kwnames
[] = {
20207 (char *) "self",(char *) "pt",(char *) "sz", NULL
20210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20212 if (!SWIG_IsOK(res1
)) {
20213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20215 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20218 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20222 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20226 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20227 wxPyEndAllowThreads(__tstate
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20230 resultobj
= SWIG_Py_Void();
20237 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20238 PyObject
*resultobj
= 0;
20239 wxDC
*arg1
= (wxDC
*) 0 ;
20240 wxRegion
*arg2
= 0 ;
20245 PyObject
* obj0
= 0 ;
20246 PyObject
* obj1
= 0 ;
20247 char * kwnames
[] = {
20248 (char *) "self",(char *) "region", NULL
20251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20253 if (!SWIG_IsOK(res1
)) {
20254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20256 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20257 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20258 if (!SWIG_IsOK(res2
)) {
20259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20264 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20267 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20271 resultobj
= SWIG_Py_Void();
20278 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20279 PyObject
*resultobj
= 0;
20280 wxDC
*arg1
= (wxDC
*) 0 ;
20285 PyObject
* obj0
= 0 ;
20286 PyObject
* obj1
= 0 ;
20287 char * kwnames
[] = {
20288 (char *) "self",(char *) "rect", NULL
20291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20293 if (!SWIG_IsOK(res1
)) {
20294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20299 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20307 resultobj
= SWIG_Py_Void();
20314 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
= 0;
20316 wxDC
*arg1
= (wxDC
*) 0 ;
20318 wxPoint
*arg3
= (wxPoint
*) 0 ;
20319 int arg4
= (int) 0 ;
20320 int arg5
= (int) 0 ;
20327 PyObject
* obj0
= 0 ;
20328 PyObject
* obj1
= 0 ;
20329 PyObject
* obj2
= 0 ;
20330 PyObject
* obj3
= 0 ;
20331 char * kwnames
[] = {
20332 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20337 if (!SWIG_IsOK(res1
)) {
20338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20340 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20342 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20343 if (arg3
== NULL
) SWIG_fail
;
20346 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20347 if (!SWIG_IsOK(ecode4
)) {
20348 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20350 arg4
= static_cast< int >(val4
);
20353 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20354 if (!SWIG_IsOK(ecode5
)) {
20355 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20357 arg5
= static_cast< int >(val5
);
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20365 resultobj
= SWIG_Py_Void();
20367 if (arg3
) delete [] arg3
;
20372 if (arg3
) delete [] arg3
;
20378 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
= 0;
20380 wxDC
*arg1
= (wxDC
*) 0 ;
20382 wxPoint
*arg3
= (wxPoint
*) 0 ;
20383 int arg4
= (int) 0 ;
20384 int arg5
= (int) 0 ;
20385 int arg6
= (int) wxODDEVEN_RULE
;
20394 PyObject
* obj0
= 0 ;
20395 PyObject
* obj1
= 0 ;
20396 PyObject
* obj2
= 0 ;
20397 PyObject
* obj3
= 0 ;
20398 PyObject
* obj4
= 0 ;
20399 char * kwnames
[] = {
20400 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20405 if (!SWIG_IsOK(res1
)) {
20406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20408 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20410 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20411 if (arg3
== NULL
) SWIG_fail
;
20414 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20415 if (!SWIG_IsOK(ecode4
)) {
20416 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20418 arg4
= static_cast< int >(val4
);
20421 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20422 if (!SWIG_IsOK(ecode5
)) {
20423 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20425 arg5
= static_cast< int >(val5
);
20428 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20429 if (!SWIG_IsOK(ecode6
)) {
20430 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20432 arg6
= static_cast< int >(val6
);
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20436 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20440 resultobj
= SWIG_Py_Void();
20442 if (arg3
) delete [] arg3
;
20447 if (arg3
) delete [] arg3
;
20453 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20454 PyObject
*resultobj
= 0;
20455 wxDC
*arg1
= (wxDC
*) 0 ;
20456 wxString
*arg2
= 0 ;
20458 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20459 int arg5
= (int) -1 ;
20462 bool temp2
= false ;
20468 PyObject
* obj0
= 0 ;
20469 PyObject
* obj1
= 0 ;
20470 PyObject
* obj2
= 0 ;
20471 PyObject
* obj3
= 0 ;
20472 PyObject
* obj4
= 0 ;
20473 char * kwnames
[] = {
20474 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20479 if (!SWIG_IsOK(res1
)) {
20480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20482 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20484 arg2
= wxString_in_helper(obj1
);
20485 if (arg2
== NULL
) SWIG_fail
;
20490 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20493 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20494 if (!SWIG_IsOK(ecode4
)) {
20495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20497 arg4
= static_cast< int >(val4
);
20500 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20501 if (!SWIG_IsOK(ecode5
)) {
20502 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20504 arg5
= static_cast< int >(val5
);
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20512 resultobj
= SWIG_Py_Void();
20527 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20528 PyObject
*resultobj
= 0;
20529 wxDC
*arg1
= (wxDC
*) 0 ;
20530 wxString
*arg2
= 0 ;
20531 wxBitmap
*arg3
= 0 ;
20533 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20534 int arg6
= (int) -1 ;
20538 bool temp2
= false ;
20546 PyObject
* obj0
= 0 ;
20547 PyObject
* obj1
= 0 ;
20548 PyObject
* obj2
= 0 ;
20549 PyObject
* obj3
= 0 ;
20550 PyObject
* obj4
= 0 ;
20551 PyObject
* obj5
= 0 ;
20552 char * kwnames
[] = {
20553 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20558 if (!SWIG_IsOK(res1
)) {
20559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20561 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20563 arg2
= wxString_in_helper(obj1
);
20564 if (arg2
== NULL
) SWIG_fail
;
20567 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20568 if (!SWIG_IsOK(res3
)) {
20569 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20574 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20577 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20580 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20581 if (!SWIG_IsOK(ecode5
)) {
20582 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20584 arg5
= static_cast< int >(val5
);
20587 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20588 if (!SWIG_IsOK(ecode6
)) {
20589 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20591 arg6
= static_cast< int >(val6
);
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20614 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
= 0;
20616 wxDC
*arg1
= (wxDC
*) 0 ;
20618 wxPoint
*arg3
= (wxPoint
*) 0 ;
20621 PyObject
* obj0
= 0 ;
20622 PyObject
* obj1
= 0 ;
20623 char * kwnames
[] = {
20624 (char *) "self",(char *) "points", NULL
20627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20629 if (!SWIG_IsOK(res1
)) {
20630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20632 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20634 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20635 if (arg3
== NULL
) SWIG_fail
;
20638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20639 (arg1
)->DrawSpline(arg2
,arg3
);
20640 wxPyEndAllowThreads(__tstate
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20643 resultobj
= SWIG_Py_Void();
20645 if (arg3
) delete [] arg3
;
20650 if (arg3
) delete [] arg3
;
20656 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20657 PyObject
*resultobj
= 0;
20658 wxDC
*arg1
= (wxDC
*) 0 ;
20661 PyObject
*swig_obj
[1] ;
20663 if (!args
) SWIG_fail
;
20664 swig_obj
[0] = args
;
20665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20666 if (!SWIG_IsOK(res1
)) {
20667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20669 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20676 resultobj
= SWIG_Py_Void();
20683 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
= 0;
20685 wxDC
*arg1
= (wxDC
*) 0 ;
20686 wxString
*arg2
= 0 ;
20690 bool temp2
= false ;
20691 PyObject
* obj0
= 0 ;
20692 PyObject
* obj1
= 0 ;
20693 char * kwnames
[] = {
20694 (char *) "self",(char *) "message", NULL
20697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20699 if (!SWIG_IsOK(res1
)) {
20700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20702 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20704 arg2
= wxString_in_helper(obj1
);
20705 if (arg2
== NULL
) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20731 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20732 PyObject
*resultobj
= 0;
20733 wxDC
*arg1
= (wxDC
*) 0 ;
20736 PyObject
*swig_obj
[1] ;
20738 if (!args
) SWIG_fail
;
20739 swig_obj
[0] = args
;
20740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20741 if (!SWIG_IsOK(res1
)) {
20742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20744 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20748 wxPyEndAllowThreads(__tstate
);
20749 if (PyErr_Occurred()) SWIG_fail
;
20751 resultobj
= SWIG_Py_Void();
20758 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20759 PyObject
*resultobj
= 0;
20760 wxDC
*arg1
= (wxDC
*) 0 ;
20763 PyObject
*swig_obj
[1] ;
20765 if (!args
) SWIG_fail
;
20766 swig_obj
[0] = args
;
20767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20768 if (!SWIG_IsOK(res1
)) {
20769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20771 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 (arg1
)->StartPage();
20775 wxPyEndAllowThreads(__tstate
);
20776 if (PyErr_Occurred()) SWIG_fail
;
20778 resultobj
= SWIG_Py_Void();
20785 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20786 PyObject
*resultobj
= 0;
20787 wxDC
*arg1
= (wxDC
*) 0 ;
20790 PyObject
*swig_obj
[1] ;
20792 if (!args
) SWIG_fail
;
20793 swig_obj
[0] = args
;
20794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20795 if (!SWIG_IsOK(res1
)) {
20796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20798 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20805 resultobj
= SWIG_Py_Void();
20812 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20813 PyObject
*resultobj
= 0;
20814 wxDC
*arg1
= (wxDC
*) 0 ;
20820 PyObject
* obj0
= 0 ;
20821 PyObject
* obj1
= 0 ;
20822 char * kwnames
[] = {
20823 (char *) "self",(char *) "font", NULL
20826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20828 if (!SWIG_IsOK(res1
)) {
20829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20831 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20832 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20833 if (!SWIG_IsOK(res2
)) {
20834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20839 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 (arg1
)->SetFont((wxFont
const &)*arg2
);
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20846 resultobj
= SWIG_Py_Void();
20853 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
= 0;
20855 wxDC
*arg1
= (wxDC
*) 0 ;
20861 PyObject
* obj0
= 0 ;
20862 PyObject
* obj1
= 0 ;
20863 char * kwnames
[] = {
20864 (char *) "self",(char *) "pen", NULL
20867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20869 if (!SWIG_IsOK(res1
)) {
20870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20873 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20874 if (!SWIG_IsOK(res2
)) {
20875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20880 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 (arg1
)->SetPen((wxPen
const &)*arg2
);
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 resultobj
= SWIG_Py_Void();
20894 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
= 0;
20896 wxDC
*arg1
= (wxDC
*) 0 ;
20897 wxBrush
*arg2
= 0 ;
20902 PyObject
* obj0
= 0 ;
20903 PyObject
* obj1
= 0 ;
20904 char * kwnames
[] = {
20905 (char *) "self",(char *) "brush", NULL
20908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20910 if (!SWIG_IsOK(res1
)) {
20911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20913 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20914 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20915 if (!SWIG_IsOK(res2
)) {
20916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20921 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20928 resultobj
= SWIG_Py_Void();
20935 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20936 PyObject
*resultobj
= 0;
20937 wxDC
*arg1
= (wxDC
*) 0 ;
20938 wxBrush
*arg2
= 0 ;
20943 PyObject
* obj0
= 0 ;
20944 PyObject
* obj1
= 0 ;
20945 char * kwnames
[] = {
20946 (char *) "self",(char *) "brush", NULL
20949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20951 if (!SWIG_IsOK(res1
)) {
20952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20954 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20955 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20956 if (!SWIG_IsOK(res2
)) {
20957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20962 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20969 resultobj
= SWIG_Py_Void();
20976 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20977 PyObject
*resultobj
= 0;
20978 wxDC
*arg1
= (wxDC
*) 0 ;
20984 PyObject
* obj0
= 0 ;
20985 PyObject
* obj1
= 0 ;
20986 char * kwnames
[] = {
20987 (char *) "self",(char *) "mode", NULL
20990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20992 if (!SWIG_IsOK(res1
)) {
20993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20995 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20997 if (!SWIG_IsOK(ecode2
)) {
20998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21000 arg2
= static_cast< int >(val2
);
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 (arg1
)->SetBackgroundMode(arg2
);
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 resultobj
= SWIG_Py_Void();
21014 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
= 0;
21016 wxDC
*arg1
= (wxDC
*) 0 ;
21017 wxPalette
*arg2
= 0 ;
21022 PyObject
* obj0
= 0 ;
21023 PyObject
* obj1
= 0 ;
21024 char * kwnames
[] = {
21025 (char *) "self",(char *) "palette", NULL
21028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21030 if (!SWIG_IsOK(res1
)) {
21031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21033 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21034 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21035 if (!SWIG_IsOK(res2
)) {
21036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21041 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21044 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= SWIG_Py_Void();
21055 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21056 PyObject
*resultobj
= 0;
21057 wxDC
*arg1
= (wxDC
*) 0 ;
21060 PyObject
*swig_obj
[1] ;
21062 if (!args
) SWIG_fail
;
21063 swig_obj
[0] = args
;
21064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21065 if (!SWIG_IsOK(res1
)) {
21066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21068 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21071 (arg1
)->DestroyClippingRegion();
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 resultobj
= SWIG_Py_Void();
21082 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21083 PyObject
*resultobj
= 0;
21084 wxDC
*arg1
= (wxDC
*) 0 ;
21085 int *arg2
= (int *) 0 ;
21086 int *arg3
= (int *) 0 ;
21087 int *arg4
= (int *) 0 ;
21088 int *arg5
= (int *) 0 ;
21092 int res2
= SWIG_TMPOBJ
;
21094 int res3
= SWIG_TMPOBJ
;
21096 int res4
= SWIG_TMPOBJ
;
21098 int res5
= SWIG_TMPOBJ
;
21099 PyObject
*swig_obj
[1] ;
21105 if (!args
) SWIG_fail
;
21106 swig_obj
[0] = args
;
21107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21108 if (!SWIG_IsOK(res1
)) {
21109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21111 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21115 wxPyEndAllowThreads(__tstate
);
21116 if (PyErr_Occurred()) SWIG_fail
;
21118 resultobj
= SWIG_Py_Void();
21119 if (SWIG_IsTmpObj(res2
)) {
21120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21122 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21125 if (SWIG_IsTmpObj(res3
)) {
21126 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21128 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21131 if (SWIG_IsTmpObj(res4
)) {
21132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21134 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21137 if (SWIG_IsTmpObj(res5
)) {
21138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21140 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21149 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21150 PyObject
*resultobj
= 0;
21151 wxDC
*arg1
= (wxDC
*) 0 ;
21155 PyObject
*swig_obj
[1] ;
21157 if (!args
) SWIG_fail
;
21158 swig_obj
[0] = args
;
21159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21160 if (!SWIG_IsOK(res1
)) {
21161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21163 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21166 result
= wxDC_GetClippingRect(arg1
);
21167 wxPyEndAllowThreads(__tstate
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21170 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21177 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21178 PyObject
*resultobj
= 0;
21179 wxDC
*arg1
= (wxDC
*) 0 ;
21183 PyObject
*swig_obj
[1] ;
21185 if (!args
) SWIG_fail
;
21186 swig_obj
[0] = args
;
21187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21188 if (!SWIG_IsOK(res1
)) {
21189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21191 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21194 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21195 wxPyEndAllowThreads(__tstate
);
21196 if (PyErr_Occurred()) SWIG_fail
;
21198 resultobj
= SWIG_From_int(static_cast< int >(result
));
21205 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21206 PyObject
*resultobj
= 0;
21207 wxDC
*arg1
= (wxDC
*) 0 ;
21211 PyObject
*swig_obj
[1] ;
21213 if (!args
) SWIG_fail
;
21214 swig_obj
[0] = args
;
21215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21216 if (!SWIG_IsOK(res1
)) {
21217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21219 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21222 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21226 resultobj
= SWIG_From_int(static_cast< int >(result
));
21233 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21234 PyObject
*resultobj
= 0;
21235 wxDC
*arg1
= (wxDC
*) 0 ;
21236 wxString
*arg2
= 0 ;
21237 int *arg3
= (int *) 0 ;
21238 int *arg4
= (int *) 0 ;
21241 bool temp2
= false ;
21243 int res3
= SWIG_TMPOBJ
;
21245 int res4
= SWIG_TMPOBJ
;
21246 PyObject
* obj0
= 0 ;
21247 PyObject
* obj1
= 0 ;
21248 char * kwnames
[] = {
21249 (char *) "self",(char *) "string", NULL
21254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21256 if (!SWIG_IsOK(res1
)) {
21257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21259 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21261 arg2
= wxString_in_helper(obj1
);
21262 if (arg2
== NULL
) SWIG_fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= SWIG_Py_Void();
21272 if (SWIG_IsTmpObj(res3
)) {
21273 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21275 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21276 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21278 if (SWIG_IsTmpObj(res4
)) {
21279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21281 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21298 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21299 PyObject
*resultobj
= 0;
21300 wxDC
*arg1
= (wxDC
*) 0 ;
21301 wxString
*arg2
= 0 ;
21302 int *arg3
= (int *) 0 ;
21303 int *arg4
= (int *) 0 ;
21304 int *arg5
= (int *) 0 ;
21305 int *arg6
= (int *) 0 ;
21306 wxFont
*arg7
= (wxFont
*) NULL
;
21309 bool temp2
= false ;
21311 int res3
= SWIG_TMPOBJ
;
21313 int res4
= SWIG_TMPOBJ
;
21315 int res5
= SWIG_TMPOBJ
;
21317 int res6
= SWIG_TMPOBJ
;
21320 PyObject
* obj0
= 0 ;
21321 PyObject
* obj1
= 0 ;
21322 PyObject
* obj2
= 0 ;
21323 char * kwnames
[] = {
21324 (char *) "self",(char *) "string",(char *) "font", NULL
21331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21333 if (!SWIG_IsOK(res1
)) {
21334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21338 arg2
= wxString_in_helper(obj1
);
21339 if (arg2
== NULL
) SWIG_fail
;
21343 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21344 if (!SWIG_IsOK(res7
)) {
21345 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21347 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21355 resultobj
= SWIG_Py_Void();
21356 if (SWIG_IsTmpObj(res3
)) {
21357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21359 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21360 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21362 if (SWIG_IsTmpObj(res4
)) {
21363 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21365 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21366 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21368 if (SWIG_IsTmpObj(res5
)) {
21369 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21371 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21374 if (SWIG_IsTmpObj(res6
)) {
21375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21377 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21378 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21394 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
= 0;
21396 wxDC
*arg1
= (wxDC
*) 0 ;
21397 wxString
*arg2
= 0 ;
21398 int *arg3
= (int *) 0 ;
21399 int *arg4
= (int *) 0 ;
21400 int *arg5
= (int *) 0 ;
21401 wxFont
*arg6
= (wxFont
*) NULL
;
21404 bool temp2
= false ;
21406 int res3
= SWIG_TMPOBJ
;
21408 int res4
= SWIG_TMPOBJ
;
21410 int res5
= SWIG_TMPOBJ
;
21413 PyObject
* obj0
= 0 ;
21414 PyObject
* obj1
= 0 ;
21415 PyObject
* obj2
= 0 ;
21416 char * kwnames
[] = {
21417 (char *) "self",(char *) "text",(char *) "font", NULL
21423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21425 if (!SWIG_IsOK(res1
)) {
21426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21428 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21430 arg2
= wxString_in_helper(obj1
);
21431 if (arg2
== NULL
) SWIG_fail
;
21435 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21436 if (!SWIG_IsOK(res6
)) {
21437 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21439 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21444 wxPyEndAllowThreads(__tstate
);
21445 if (PyErr_Occurred()) SWIG_fail
;
21447 resultobj
= SWIG_Py_Void();
21448 if (SWIG_IsTmpObj(res3
)) {
21449 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21451 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21452 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21454 if (SWIG_IsTmpObj(res4
)) {
21455 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21457 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21458 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21460 if (SWIG_IsTmpObj(res5
)) {
21461 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21463 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21464 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21480 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21481 PyObject
*resultobj
= 0;
21482 wxDC
*arg1
= (wxDC
*) 0 ;
21483 wxString
*arg2
= 0 ;
21487 bool temp2
= false ;
21488 PyObject
* obj0
= 0 ;
21489 PyObject
* obj1
= 0 ;
21490 char * kwnames
[] = {
21491 (char *) "self",(char *) "text", NULL
21494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21496 if (!SWIG_IsOK(res1
)) {
21497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21501 arg2
= wxString_in_helper(obj1
);
21502 if (arg2
== NULL
) SWIG_fail
;
21506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21507 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21508 wxPyEndAllowThreads(__tstate
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21512 resultobj
= PyList_New(0);
21514 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
21515 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
21516 PyList_Append(resultobj
, val
);
21534 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21535 PyObject
*resultobj
= 0;
21536 wxDC
*arg1
= (wxDC
*) 0 ;
21540 PyObject
*swig_obj
[1] ;
21542 if (!args
) SWIG_fail
;
21543 swig_obj
[0] = args
;
21544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21545 if (!SWIG_IsOK(res1
)) {
21546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21548 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 result
= (arg1
)->GetSize();
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21555 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21562 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21563 PyObject
*resultobj
= 0;
21564 wxDC
*arg1
= (wxDC
*) 0 ;
21565 int *arg2
= (int *) 0 ;
21566 int *arg3
= (int *) 0 ;
21570 int res2
= SWIG_TMPOBJ
;
21572 int res3
= SWIG_TMPOBJ
;
21573 PyObject
*swig_obj
[1] ;
21577 if (!args
) SWIG_fail
;
21578 swig_obj
[0] = args
;
21579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21580 if (!SWIG_IsOK(res1
)) {
21581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21583 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21586 (arg1
)->GetSize(arg2
,arg3
);
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21590 resultobj
= SWIG_Py_Void();
21591 if (SWIG_IsTmpObj(res2
)) {
21592 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21594 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21595 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21597 if (SWIG_IsTmpObj(res3
)) {
21598 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21600 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21601 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21609 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21610 PyObject
*resultobj
= 0;
21611 wxDC
*arg1
= (wxDC
*) 0 ;
21615 PyObject
*swig_obj
[1] ;
21617 if (!args
) SWIG_fail
;
21618 swig_obj
[0] = args
;
21619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21620 if (!SWIG_IsOK(res1
)) {
21621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21623 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21627 wxPyEndAllowThreads(__tstate
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21630 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21637 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21638 PyObject
*resultobj
= 0;
21639 wxDC
*arg1
= (wxDC
*) 0 ;
21640 int *arg2
= (int *) 0 ;
21641 int *arg3
= (int *) 0 ;
21645 int res2
= SWIG_TMPOBJ
;
21647 int res3
= SWIG_TMPOBJ
;
21648 PyObject
*swig_obj
[1] ;
21652 if (!args
) SWIG_fail
;
21653 swig_obj
[0] = args
;
21654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21655 if (!SWIG_IsOK(res1
)) {
21656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21658 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21662 wxPyEndAllowThreads(__tstate
);
21663 if (PyErr_Occurred()) SWIG_fail
;
21665 resultobj
= SWIG_Py_Void();
21666 if (SWIG_IsTmpObj(res2
)) {
21667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21669 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21672 if (SWIG_IsTmpObj(res3
)) {
21673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21675 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21676 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21684 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21685 PyObject
*resultobj
= 0;
21686 wxDC
*arg1
= (wxDC
*) 0 ;
21693 PyObject
* obj0
= 0 ;
21694 PyObject
* obj1
= 0 ;
21695 char * kwnames
[] = {
21696 (char *) "self",(char *) "x", NULL
21699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21701 if (!SWIG_IsOK(res1
)) {
21702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21704 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21706 if (!SWIG_IsOK(ecode2
)) {
21707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21709 arg2
= static_cast< int >(val2
);
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21712 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21713 wxPyEndAllowThreads(__tstate
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21716 resultobj
= SWIG_From_int(static_cast< int >(result
));
21723 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21724 PyObject
*resultobj
= 0;
21725 wxDC
*arg1
= (wxDC
*) 0 ;
21732 PyObject
* obj0
= 0 ;
21733 PyObject
* obj1
= 0 ;
21734 char * kwnames
[] = {
21735 (char *) "self",(char *) "y", NULL
21738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21740 if (!SWIG_IsOK(res1
)) {
21741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21743 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21745 if (!SWIG_IsOK(ecode2
)) {
21746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21748 arg2
= static_cast< int >(val2
);
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21752 wxPyEndAllowThreads(__tstate
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21755 resultobj
= SWIG_From_int(static_cast< int >(result
));
21762 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21763 PyObject
*resultobj
= 0;
21764 wxDC
*arg1
= (wxDC
*) 0 ;
21771 PyObject
* obj0
= 0 ;
21772 PyObject
* obj1
= 0 ;
21773 char * kwnames
[] = {
21774 (char *) "self",(char *) "x", NULL
21777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21779 if (!SWIG_IsOK(res1
)) {
21780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21782 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21784 if (!SWIG_IsOK(ecode2
)) {
21785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21787 arg2
= static_cast< int >(val2
);
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 resultobj
= SWIG_From_int(static_cast< int >(result
));
21801 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21802 PyObject
*resultobj
= 0;
21803 wxDC
*arg1
= (wxDC
*) 0 ;
21810 PyObject
* obj0
= 0 ;
21811 PyObject
* obj1
= 0 ;
21812 char * kwnames
[] = {
21813 (char *) "self",(char *) "y", NULL
21816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21818 if (!SWIG_IsOK(res1
)) {
21819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21821 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21823 if (!SWIG_IsOK(ecode2
)) {
21824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21826 arg2
= static_cast< int >(val2
);
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21833 resultobj
= SWIG_From_int(static_cast< int >(result
));
21840 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21841 PyObject
*resultobj
= 0;
21842 wxDC
*arg1
= (wxDC
*) 0 ;
21849 PyObject
* obj0
= 0 ;
21850 PyObject
* obj1
= 0 ;
21851 char * kwnames
[] = {
21852 (char *) "self",(char *) "x", NULL
21855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21857 if (!SWIG_IsOK(res1
)) {
21858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21860 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21862 if (!SWIG_IsOK(ecode2
)) {
21863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21865 arg2
= static_cast< int >(val2
);
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21869 wxPyEndAllowThreads(__tstate
);
21870 if (PyErr_Occurred()) SWIG_fail
;
21872 resultobj
= SWIG_From_int(static_cast< int >(result
));
21879 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21880 PyObject
*resultobj
= 0;
21881 wxDC
*arg1
= (wxDC
*) 0 ;
21888 PyObject
* obj0
= 0 ;
21889 PyObject
* obj1
= 0 ;
21890 char * kwnames
[] = {
21891 (char *) "self",(char *) "y", NULL
21894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21896 if (!SWIG_IsOK(res1
)) {
21897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21899 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21901 if (!SWIG_IsOK(ecode2
)) {
21902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21904 arg2
= static_cast< int >(val2
);
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21908 wxPyEndAllowThreads(__tstate
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21911 resultobj
= SWIG_From_int(static_cast< int >(result
));
21918 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21919 PyObject
*resultobj
= 0;
21920 wxDC
*arg1
= (wxDC
*) 0 ;
21927 PyObject
* obj0
= 0 ;
21928 PyObject
* obj1
= 0 ;
21929 char * kwnames
[] = {
21930 (char *) "self",(char *) "x", NULL
21933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21935 if (!SWIG_IsOK(res1
)) {
21936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21938 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21940 if (!SWIG_IsOK(ecode2
)) {
21941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21943 arg2
= static_cast< int >(val2
);
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21947 wxPyEndAllowThreads(__tstate
);
21948 if (PyErr_Occurred()) SWIG_fail
;
21950 resultobj
= SWIG_From_int(static_cast< int >(result
));
21957 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21958 PyObject
*resultobj
= 0;
21959 wxDC
*arg1
= (wxDC
*) 0 ;
21966 PyObject
* obj0
= 0 ;
21967 PyObject
* obj1
= 0 ;
21968 char * kwnames
[] = {
21969 (char *) "self",(char *) "y", NULL
21972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21974 if (!SWIG_IsOK(res1
)) {
21975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21977 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21979 if (!SWIG_IsOK(ecode2
)) {
21980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21982 arg2
= static_cast< int >(val2
);
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21985 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21986 wxPyEndAllowThreads(__tstate
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21989 resultobj
= SWIG_From_int(static_cast< int >(result
));
21996 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21997 PyObject
*resultobj
= 0;
21998 wxDC
*arg1
= (wxDC
*) 0 ;
22002 PyObject
*swig_obj
[1] ;
22004 if (!args
) SWIG_fail
;
22005 swig_obj
[0] = args
;
22006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22007 if (!SWIG_IsOK(res1
)) {
22008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22013 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22026 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22027 PyObject
*resultobj
= 0;
22028 wxDC
*arg1
= (wxDC
*) 0 ;
22032 PyObject
*swig_obj
[1] ;
22034 if (!args
) SWIG_fail
;
22035 swig_obj
[0] = args
;
22036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22037 if (!SWIG_IsOK(res1
)) {
22038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22040 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22056 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22057 PyObject
*resultobj
= 0;
22058 wxDC
*arg1
= (wxDC
*) 0 ;
22062 PyObject
*swig_obj
[1] ;
22064 if (!args
) SWIG_fail
;
22065 swig_obj
[0] = args
;
22066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22067 if (!SWIG_IsOK(res1
)) {
22068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22070 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22073 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22077 resultobj
= SWIG_From_int(static_cast< int >(result
));
22084 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22085 PyObject
*resultobj
= 0;
22086 wxDC
*arg1
= (wxDC
*) 0 ;
22090 PyObject
*swig_obj
[1] ;
22092 if (!args
) SWIG_fail
;
22093 swig_obj
[0] = args
;
22094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22095 if (!SWIG_IsOK(res1
)) {
22096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22098 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22101 result
= ((wxDC
const *)arg1
)->GetPPI();
22102 wxPyEndAllowThreads(__tstate
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22105 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22112 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22113 PyObject
*resultobj
= 0;
22114 wxDC
*arg1
= (wxDC
*) 0 ;
22118 PyObject
*swig_obj
[1] ;
22120 if (!args
) SWIG_fail
;
22121 swig_obj
[0] = args
;
22122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22123 if (!SWIG_IsOK(res1
)) {
22124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
22126 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 result
= (bool)((wxDC
const *)arg1
)->Ok();
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22142 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22143 PyObject
*resultobj
= 0;
22144 wxDC
*arg1
= (wxDC
*) 0 ;
22148 PyObject
*swig_obj
[1] ;
22150 if (!args
) SWIG_fail
;
22151 swig_obj
[0] = args
;
22152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22153 if (!SWIG_IsOK(res1
)) {
22154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22156 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 resultobj
= SWIG_From_int(static_cast< int >(result
));
22170 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22171 PyObject
*resultobj
= 0;
22172 wxDC
*arg1
= (wxDC
*) 0 ;
22173 wxBrush
*result
= 0 ;
22176 PyObject
*swig_obj
[1] ;
22178 if (!args
) SWIG_fail
;
22179 swig_obj
[0] = args
;
22180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22181 if (!SWIG_IsOK(res1
)) {
22182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22184 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22188 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22189 result
= (wxBrush
*) &_result_ref
;
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22195 wxBrush
* resultptr
= new wxBrush(*result
);
22196 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22204 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22205 PyObject
*resultobj
= 0;
22206 wxDC
*arg1
= (wxDC
*) 0 ;
22207 wxBrush
*result
= 0 ;
22210 PyObject
*swig_obj
[1] ;
22212 if (!args
) SWIG_fail
;
22213 swig_obj
[0] = args
;
22214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22215 if (!SWIG_IsOK(res1
)) {
22216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22222 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22223 result
= (wxBrush
*) &_result_ref
;
22225 wxPyEndAllowThreads(__tstate
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22229 wxBrush
* resultptr
= new wxBrush(*result
);
22230 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22238 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22239 PyObject
*resultobj
= 0;
22240 wxDC
*arg1
= (wxDC
*) 0 ;
22241 wxFont
*result
= 0 ;
22244 PyObject
*swig_obj
[1] ;
22246 if (!args
) SWIG_fail
;
22247 swig_obj
[0] = args
;
22248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22249 if (!SWIG_IsOK(res1
)) {
22250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22252 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22257 result
= (wxFont
*) &_result_ref
;
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22263 wxFont
* resultptr
= new wxFont(*result
);
22264 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22272 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22273 PyObject
*resultobj
= 0;
22274 wxDC
*arg1
= (wxDC
*) 0 ;
22275 wxPen
*result
= 0 ;
22278 PyObject
*swig_obj
[1] ;
22280 if (!args
) SWIG_fail
;
22281 swig_obj
[0] = args
;
22282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22283 if (!SWIG_IsOK(res1
)) {
22284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22291 result
= (wxPen
*) &_result_ref
;
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22297 wxPen
* resultptr
= new wxPen(*result
);
22298 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22306 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22307 PyObject
*resultobj
= 0;
22308 wxDC
*arg1
= (wxDC
*) 0 ;
22309 wxColour
*result
= 0 ;
22312 PyObject
*swig_obj
[1] ;
22314 if (!args
) SWIG_fail
;
22315 swig_obj
[0] = args
;
22316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22317 if (!SWIG_IsOK(res1
)) {
22318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22320 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22325 result
= (wxColour
*) &_result_ref
;
22327 wxPyEndAllowThreads(__tstate
);
22328 if (PyErr_Occurred()) SWIG_fail
;
22330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22337 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22338 PyObject
*resultobj
= 0;
22339 wxDC
*arg1
= (wxDC
*) 0 ;
22340 wxColour
*result
= 0 ;
22343 PyObject
*swig_obj
[1] ;
22345 if (!args
) SWIG_fail
;
22346 swig_obj
[0] = args
;
22347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22348 if (!SWIG_IsOK(res1
)) {
22349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22351 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22355 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22356 result
= (wxColour
*) &_result_ref
;
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22368 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
= 0;
22370 wxDC
*arg1
= (wxDC
*) 0 ;
22371 wxColour
*arg2
= 0 ;
22375 PyObject
* obj0
= 0 ;
22376 PyObject
* obj1
= 0 ;
22377 char * kwnames
[] = {
22378 (char *) "self",(char *) "colour", NULL
22381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22383 if (!SWIG_IsOK(res1
)) {
22384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22386 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22389 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 resultobj
= SWIG_Py_Void();
22404 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
= 0;
22406 wxDC
*arg1
= (wxDC
*) 0 ;
22407 wxColour
*arg2
= 0 ;
22411 PyObject
* obj0
= 0 ;
22412 PyObject
* obj1
= 0 ;
22413 char * kwnames
[] = {
22414 (char *) "self",(char *) "colour", NULL
22417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22419 if (!SWIG_IsOK(res1
)) {
22420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22422 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22425 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22433 resultobj
= SWIG_Py_Void();
22440 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22441 PyObject
*resultobj
= 0;
22442 wxDC
*arg1
= (wxDC
*) 0 ;
22446 PyObject
*swig_obj
[1] ;
22448 if (!args
) SWIG_fail
;
22449 swig_obj
[0] = args
;
22450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22451 if (!SWIG_IsOK(res1
)) {
22452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22454 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22458 wxPyEndAllowThreads(__tstate
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22461 resultobj
= SWIG_From_int(static_cast< int >(result
));
22468 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22469 PyObject
*resultobj
= 0;
22470 wxDC
*arg1
= (wxDC
*) 0 ;
22476 PyObject
* obj0
= 0 ;
22477 PyObject
* obj1
= 0 ;
22478 char * kwnames
[] = {
22479 (char *) "self",(char *) "mode", NULL
22482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22484 if (!SWIG_IsOK(res1
)) {
22485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22489 if (!SWIG_IsOK(ecode2
)) {
22490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22492 arg2
= static_cast< int >(val2
);
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 (arg1
)->SetMapMode(arg2
);
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 resultobj
= SWIG_Py_Void();
22506 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22507 PyObject
*resultobj
= 0;
22508 wxDC
*arg1
= (wxDC
*) 0 ;
22509 double *arg2
= (double *) 0 ;
22510 double *arg3
= (double *) 0 ;
22514 int res2
= SWIG_TMPOBJ
;
22516 int res3
= SWIG_TMPOBJ
;
22517 PyObject
*swig_obj
[1] ;
22521 if (!args
) SWIG_fail
;
22522 swig_obj
[0] = args
;
22523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22524 if (!SWIG_IsOK(res1
)) {
22525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22527 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22534 resultobj
= SWIG_Py_Void();
22535 if (SWIG_IsTmpObj(res2
)) {
22536 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22538 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22539 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22541 if (SWIG_IsTmpObj(res3
)) {
22542 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22544 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22545 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22553 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
= 0;
22555 wxDC
*arg1
= (wxDC
*) 0 ;
22564 PyObject
* obj0
= 0 ;
22565 PyObject
* obj1
= 0 ;
22566 PyObject
* obj2
= 0 ;
22567 char * kwnames
[] = {
22568 (char *) "self",(char *) "x",(char *) "y", NULL
22571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22573 if (!SWIG_IsOK(res1
)) {
22574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22577 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22578 if (!SWIG_IsOK(ecode2
)) {
22579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22581 arg2
= static_cast< double >(val2
);
22582 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22583 if (!SWIG_IsOK(ecode3
)) {
22584 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22586 arg3
= static_cast< double >(val3
);
22588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22589 (arg1
)->SetUserScale(arg2
,arg3
);
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 resultobj
= SWIG_Py_Void();
22600 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22601 PyObject
*resultobj
= 0;
22602 wxDC
*arg1
= (wxDC
*) 0 ;
22603 double *arg2
= (double *) 0 ;
22604 double *arg3
= (double *) 0 ;
22608 int res2
= SWIG_TMPOBJ
;
22610 int res3
= SWIG_TMPOBJ
;
22611 PyObject
*swig_obj
[1] ;
22615 if (!args
) SWIG_fail
;
22616 swig_obj
[0] = args
;
22617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22618 if (!SWIG_IsOK(res1
)) {
22619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22621 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 (arg1
)->GetLogicalScale(arg2
,arg3
);
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 resultobj
= SWIG_Py_Void();
22629 if (SWIG_IsTmpObj(res2
)) {
22630 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22632 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22633 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22635 if (SWIG_IsTmpObj(res3
)) {
22636 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22638 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22639 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22647 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22648 PyObject
*resultobj
= 0;
22649 wxDC
*arg1
= (wxDC
*) 0 ;
22658 PyObject
* obj0
= 0 ;
22659 PyObject
* obj1
= 0 ;
22660 PyObject
* obj2
= 0 ;
22661 char * kwnames
[] = {
22662 (char *) "self",(char *) "x",(char *) "y", NULL
22665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22667 if (!SWIG_IsOK(res1
)) {
22668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22670 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22671 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22672 if (!SWIG_IsOK(ecode2
)) {
22673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22675 arg2
= static_cast< double >(val2
);
22676 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22677 if (!SWIG_IsOK(ecode3
)) {
22678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22680 arg3
= static_cast< double >(val3
);
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 (arg1
)->SetLogicalScale(arg2
,arg3
);
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22687 resultobj
= SWIG_Py_Void();
22694 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22695 PyObject
*resultobj
= 0;
22696 wxDC
*arg1
= (wxDC
*) 0 ;
22700 PyObject
*swig_obj
[1] ;
22702 if (!args
) SWIG_fail
;
22703 swig_obj
[0] = args
;
22704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22705 if (!SWIG_IsOK(res1
)) {
22706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22708 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22711 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22715 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22722 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22723 PyObject
*resultobj
= 0;
22724 wxDC
*arg1
= (wxDC
*) 0 ;
22725 int *arg2
= (int *) 0 ;
22726 int *arg3
= (int *) 0 ;
22730 int res2
= SWIG_TMPOBJ
;
22732 int res3
= SWIG_TMPOBJ
;
22733 PyObject
*swig_obj
[1] ;
22737 if (!args
) SWIG_fail
;
22738 swig_obj
[0] = args
;
22739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22740 if (!SWIG_IsOK(res1
)) {
22741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22743 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22747 wxPyEndAllowThreads(__tstate
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 resultobj
= SWIG_Py_Void();
22751 if (SWIG_IsTmpObj(res2
)) {
22752 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22754 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22755 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22757 if (SWIG_IsTmpObj(res3
)) {
22758 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22760 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22761 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22769 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22770 PyObject
*resultobj
= 0;
22771 wxDC
*arg1
= (wxDC
*) 0 ;
22780 PyObject
* obj0
= 0 ;
22781 PyObject
* obj1
= 0 ;
22782 PyObject
* obj2
= 0 ;
22783 char * kwnames
[] = {
22784 (char *) "self",(char *) "x",(char *) "y", NULL
22787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22789 if (!SWIG_IsOK(res1
)) {
22790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22792 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22794 if (!SWIG_IsOK(ecode2
)) {
22795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22797 arg2
= static_cast< int >(val2
);
22798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22799 if (!SWIG_IsOK(ecode3
)) {
22800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22802 arg3
= static_cast< int >(val3
);
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22806 wxPyEndAllowThreads(__tstate
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22809 resultobj
= SWIG_Py_Void();
22816 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22817 PyObject
*resultobj
= 0;
22818 wxDC
*arg1
= (wxDC
*) 0 ;
22819 wxPoint
*arg2
= 0 ;
22823 PyObject
* obj0
= 0 ;
22824 PyObject
* obj1
= 0 ;
22825 char * kwnames
[] = {
22826 (char *) "self",(char *) "point", NULL
22829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22831 if (!SWIG_IsOK(res1
)) {
22832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22837 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22841 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22842 wxPyEndAllowThreads(__tstate
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22845 resultobj
= SWIG_Py_Void();
22852 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22853 PyObject
*resultobj
= 0;
22854 wxDC
*arg1
= (wxDC
*) 0 ;
22858 PyObject
*swig_obj
[1] ;
22860 if (!args
) SWIG_fail
;
22861 swig_obj
[0] = args
;
22862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22863 if (!SWIG_IsOK(res1
)) {
22864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22866 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22873 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22880 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22881 PyObject
*resultobj
= 0;
22882 wxDC
*arg1
= (wxDC
*) 0 ;
22883 int *arg2
= (int *) 0 ;
22884 int *arg3
= (int *) 0 ;
22888 int res2
= SWIG_TMPOBJ
;
22890 int res3
= SWIG_TMPOBJ
;
22891 PyObject
*swig_obj
[1] ;
22895 if (!args
) SWIG_fail
;
22896 swig_obj
[0] = args
;
22897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22898 if (!SWIG_IsOK(res1
)) {
22899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22901 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22905 wxPyEndAllowThreads(__tstate
);
22906 if (PyErr_Occurred()) SWIG_fail
;
22908 resultobj
= SWIG_Py_Void();
22909 if (SWIG_IsTmpObj(res2
)) {
22910 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22912 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22913 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22915 if (SWIG_IsTmpObj(res3
)) {
22916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22918 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22927 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22928 PyObject
*resultobj
= 0;
22929 wxDC
*arg1
= (wxDC
*) 0 ;
22938 PyObject
* obj0
= 0 ;
22939 PyObject
* obj1
= 0 ;
22940 PyObject
* obj2
= 0 ;
22941 char * kwnames
[] = {
22942 (char *) "self",(char *) "x",(char *) "y", NULL
22945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22947 if (!SWIG_IsOK(res1
)) {
22948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22950 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22952 if (!SWIG_IsOK(ecode2
)) {
22953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22955 arg2
= static_cast< int >(val2
);
22956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22957 if (!SWIG_IsOK(ecode3
)) {
22958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22960 arg3
= static_cast< int >(val3
);
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22964 wxPyEndAllowThreads(__tstate
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22967 resultobj
= SWIG_Py_Void();
22974 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22975 PyObject
*resultobj
= 0;
22976 wxDC
*arg1
= (wxDC
*) 0 ;
22977 wxPoint
*arg2
= 0 ;
22981 PyObject
* obj0
= 0 ;
22982 PyObject
* obj1
= 0 ;
22983 char * kwnames
[] = {
22984 (char *) "self",(char *) "point", NULL
22987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22989 if (!SWIG_IsOK(res1
)) {
22990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22992 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22995 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22999 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 resultobj
= SWIG_Py_Void();
23010 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
= 0;
23012 wxDC
*arg1
= (wxDC
*) 0 ;
23021 PyObject
* obj0
= 0 ;
23022 PyObject
* obj1
= 0 ;
23023 PyObject
* obj2
= 0 ;
23024 char * kwnames
[] = {
23025 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23030 if (!SWIG_IsOK(res1
)) {
23031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23033 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23034 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23035 if (!SWIG_IsOK(ecode2
)) {
23036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23038 arg2
= static_cast< bool >(val2
);
23039 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23040 if (!SWIG_IsOK(ecode3
)) {
23041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23043 arg3
= static_cast< bool >(val3
);
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23047 wxPyEndAllowThreads(__tstate
);
23048 if (PyErr_Occurred()) SWIG_fail
;
23050 resultobj
= SWIG_Py_Void();
23057 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23058 PyObject
*resultobj
= 0;
23059 wxDC
*arg1
= (wxDC
*) 0 ;
23063 PyObject
*swig_obj
[1] ;
23065 if (!args
) SWIG_fail
;
23066 swig_obj
[0] = args
;
23067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23068 if (!SWIG_IsOK(res1
)) {
23069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23078 resultobj
= SWIG_From_int(static_cast< int >(result
));
23085 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23086 PyObject
*resultobj
= 0;
23087 wxDC
*arg1
= (wxDC
*) 0 ;
23093 PyObject
* obj0
= 0 ;
23094 PyObject
* obj1
= 0 ;
23095 char * kwnames
[] = {
23096 (char *) "self",(char *) "function", NULL
23099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23101 if (!SWIG_IsOK(res1
)) {
23102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23104 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23106 if (!SWIG_IsOK(ecode2
)) {
23107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23109 arg2
= static_cast< int >(val2
);
23111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23112 (arg1
)->SetLogicalFunction(arg2
);
23113 wxPyEndAllowThreads(__tstate
);
23114 if (PyErr_Occurred()) SWIG_fail
;
23116 resultobj
= SWIG_Py_Void();
23123 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23124 PyObject
*resultobj
= 0;
23125 wxDC
*arg1
= (wxDC
*) 0 ;
23128 PyObject
*swig_obj
[1] ;
23130 if (!args
) SWIG_fail
;
23131 swig_obj
[0] = args
;
23132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23133 if (!SWIG_IsOK(res1
)) {
23134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23136 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23139 (arg1
)->ComputeScaleAndOrigin();
23140 wxPyEndAllowThreads(__tstate
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23143 resultobj
= SWIG_Py_Void();
23150 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23151 PyObject
*resultobj
= 0;
23152 wxDC
*arg1
= (wxDC
*) 0 ;
23161 PyObject
* obj0
= 0 ;
23162 PyObject
* obj1
= 0 ;
23163 PyObject
* obj2
= 0 ;
23164 char * kwnames
[] = {
23165 (char *) "self",(char *) "x",(char *) "y", NULL
23168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23170 if (!SWIG_IsOK(res1
)) {
23171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23173 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23175 if (!SWIG_IsOK(ecode2
)) {
23176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23178 arg2
= static_cast< int >(val2
);
23179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23180 if (!SWIG_IsOK(ecode3
)) {
23181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23183 arg3
= static_cast< int >(val3
);
23185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23186 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23190 resultobj
= SWIG_Py_Void();
23197 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23198 PyObject
*resultobj
= 0;
23199 wxDC
*arg1
= (wxDC
*) 0 ;
23200 wxPoint
*arg2
= 0 ;
23204 PyObject
* obj0
= 0 ;
23205 PyObject
* obj1
= 0 ;
23206 char * kwnames
[] = {
23207 (char *) "self",(char *) "point", NULL
23210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23212 if (!SWIG_IsOK(res1
)) {
23213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23215 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23218 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23222 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23226 resultobj
= SWIG_Py_Void();
23233 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23234 PyObject
*resultobj
= 0;
23235 wxDC
*arg1
= (wxDC
*) 0 ;
23238 PyObject
*swig_obj
[1] ;
23240 if (!args
) SWIG_fail
;
23241 swig_obj
[0] = args
;
23242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23243 if (!SWIG_IsOK(res1
)) {
23244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23246 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23249 (arg1
)->ResetBoundingBox();
23250 wxPyEndAllowThreads(__tstate
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23253 resultobj
= SWIG_Py_Void();
23260 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23261 PyObject
*resultobj
= 0;
23262 wxDC
*arg1
= (wxDC
*) 0 ;
23266 PyObject
*swig_obj
[1] ;
23268 if (!args
) SWIG_fail
;
23269 swig_obj
[0] = args
;
23270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23271 if (!SWIG_IsOK(res1
)) {
23272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23274 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23277 result
= (int)((wxDC
const *)arg1
)->MinX();
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= SWIG_From_int(static_cast< int >(result
));
23288 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23289 PyObject
*resultobj
= 0;
23290 wxDC
*arg1
= (wxDC
*) 0 ;
23294 PyObject
*swig_obj
[1] ;
23296 if (!args
) SWIG_fail
;
23297 swig_obj
[0] = args
;
23298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23299 if (!SWIG_IsOK(res1
)) {
23300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23302 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23305 result
= (int)((wxDC
const *)arg1
)->MaxX();
23306 wxPyEndAllowThreads(__tstate
);
23307 if (PyErr_Occurred()) SWIG_fail
;
23309 resultobj
= SWIG_From_int(static_cast< int >(result
));
23316 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23317 PyObject
*resultobj
= 0;
23318 wxDC
*arg1
= (wxDC
*) 0 ;
23322 PyObject
*swig_obj
[1] ;
23324 if (!args
) SWIG_fail
;
23325 swig_obj
[0] = args
;
23326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23327 if (!SWIG_IsOK(res1
)) {
23328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23333 result
= (int)((wxDC
const *)arg1
)->MinY();
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23337 resultobj
= SWIG_From_int(static_cast< int >(result
));
23344 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23345 PyObject
*resultobj
= 0;
23346 wxDC
*arg1
= (wxDC
*) 0 ;
23350 PyObject
*swig_obj
[1] ;
23352 if (!args
) SWIG_fail
;
23353 swig_obj
[0] = args
;
23354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23355 if (!SWIG_IsOK(res1
)) {
23356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23358 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23361 result
= (int)((wxDC
const *)arg1
)->MaxY();
23362 wxPyEndAllowThreads(__tstate
);
23363 if (PyErr_Occurred()) SWIG_fail
;
23365 resultobj
= SWIG_From_int(static_cast< int >(result
));
23372 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23373 PyObject
*resultobj
= 0;
23374 wxDC
*arg1
= (wxDC
*) 0 ;
23375 int *arg2
= (int *) 0 ;
23376 int *arg3
= (int *) 0 ;
23377 int *arg4
= (int *) 0 ;
23378 int *arg5
= (int *) 0 ;
23382 int res2
= SWIG_TMPOBJ
;
23384 int res3
= SWIG_TMPOBJ
;
23386 int res4
= SWIG_TMPOBJ
;
23388 int res5
= SWIG_TMPOBJ
;
23389 PyObject
*swig_obj
[1] ;
23395 if (!args
) SWIG_fail
;
23396 swig_obj
[0] = args
;
23397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23398 if (!SWIG_IsOK(res1
)) {
23399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23401 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23408 resultobj
= SWIG_Py_Void();
23409 if (SWIG_IsTmpObj(res2
)) {
23410 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23412 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23413 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23415 if (SWIG_IsTmpObj(res3
)) {
23416 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23418 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23419 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23421 if (SWIG_IsTmpObj(res4
)) {
23422 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23424 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23425 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23427 if (SWIG_IsTmpObj(res5
)) {
23428 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23430 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23431 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23439 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23440 PyObject
*resultobj
= 0;
23441 wxDC
*arg1
= (wxDC
*) 0 ;
23445 PyObject
*swig_obj
[1] ;
23447 if (!args
) SWIG_fail
;
23448 swig_obj
[0] = args
;
23449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23450 if (!SWIG_IsOK(res1
)) {
23451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23453 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 result
= (long)(arg1
)->GetHDC();
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= SWIG_From_long(static_cast< long >(result
));
23467 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23468 PyObject
*resultobj
= 0;
23469 wxDC
*arg1
= (wxDC
*) 0 ;
23470 PyObject
*arg2
= (PyObject
*) 0 ;
23471 PyObject
*arg3
= (PyObject
*) 0 ;
23472 PyObject
*arg4
= (PyObject
*) 0 ;
23473 PyObject
*result
= 0 ;
23476 PyObject
* obj0
= 0 ;
23477 PyObject
* obj1
= 0 ;
23478 PyObject
* obj2
= 0 ;
23479 PyObject
* obj3
= 0 ;
23480 char * kwnames
[] = {
23481 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23486 if (!SWIG_IsOK(res1
)) {
23487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23489 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23499 resultobj
= result
;
23506 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23507 PyObject
*resultobj
= 0;
23508 wxDC
*arg1
= (wxDC
*) 0 ;
23509 PyObject
*arg2
= (PyObject
*) 0 ;
23510 PyObject
*arg3
= (PyObject
*) 0 ;
23511 PyObject
*arg4
= (PyObject
*) 0 ;
23512 PyObject
*result
= 0 ;
23515 PyObject
* obj0
= 0 ;
23516 PyObject
* obj1
= 0 ;
23517 PyObject
* obj2
= 0 ;
23518 PyObject
* obj3
= 0 ;
23519 char * kwnames
[] = {
23520 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23525 if (!SWIG_IsOK(res1
)) {
23526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23528 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23534 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23538 resultobj
= result
;
23545 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23546 PyObject
*resultobj
= 0;
23547 wxDC
*arg1
= (wxDC
*) 0 ;
23548 PyObject
*arg2
= (PyObject
*) 0 ;
23549 PyObject
*arg3
= (PyObject
*) 0 ;
23550 PyObject
*arg4
= (PyObject
*) 0 ;
23551 PyObject
*result
= 0 ;
23554 PyObject
* obj0
= 0 ;
23555 PyObject
* obj1
= 0 ;
23556 PyObject
* obj2
= 0 ;
23557 PyObject
* obj3
= 0 ;
23558 char * kwnames
[] = {
23559 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23564 if (!SWIG_IsOK(res1
)) {
23565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23567 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23577 resultobj
= result
;
23584 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23585 PyObject
*resultobj
= 0;
23586 wxDC
*arg1
= (wxDC
*) 0 ;
23587 PyObject
*arg2
= (PyObject
*) 0 ;
23588 PyObject
*arg3
= (PyObject
*) 0 ;
23589 PyObject
*arg4
= (PyObject
*) 0 ;
23590 PyObject
*result
= 0 ;
23593 PyObject
* obj0
= 0 ;
23594 PyObject
* obj1
= 0 ;
23595 PyObject
* obj2
= 0 ;
23596 PyObject
* obj3
= 0 ;
23597 char * kwnames
[] = {
23598 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23603 if (!SWIG_IsOK(res1
)) {
23604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23606 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23612 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23613 wxPyEndAllowThreads(__tstate
);
23614 if (PyErr_Occurred()) SWIG_fail
;
23616 resultobj
= result
;
23623 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23624 PyObject
*resultobj
= 0;
23625 wxDC
*arg1
= (wxDC
*) 0 ;
23626 PyObject
*arg2
= (PyObject
*) 0 ;
23627 PyObject
*arg3
= (PyObject
*) 0 ;
23628 PyObject
*arg4
= (PyObject
*) 0 ;
23629 PyObject
*result
= 0 ;
23632 PyObject
* obj0
= 0 ;
23633 PyObject
* obj1
= 0 ;
23634 PyObject
* obj2
= 0 ;
23635 PyObject
* obj3
= 0 ;
23636 char * kwnames
[] = {
23637 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23642 if (!SWIG_IsOK(res1
)) {
23643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23645 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23651 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 resultobj
= result
;
23662 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
= 0;
23664 wxDC
*arg1
= (wxDC
*) 0 ;
23665 PyObject
*arg2
= (PyObject
*) 0 ;
23666 PyObject
*arg3
= (PyObject
*) 0 ;
23667 PyObject
*arg4
= (PyObject
*) 0 ;
23668 PyObject
*arg5
= (PyObject
*) 0 ;
23669 PyObject
*result
= 0 ;
23672 PyObject
* obj0
= 0 ;
23673 PyObject
* obj1
= 0 ;
23674 PyObject
* obj2
= 0 ;
23675 PyObject
* obj3
= 0 ;
23676 PyObject
* obj4
= 0 ;
23677 char * kwnames
[] = {
23678 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23683 if (!SWIG_IsOK(res1
)) {
23684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23686 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= result
;
23704 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23707 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23708 return SWIG_Py_Void();
23711 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23712 PyObject
*resultobj
= 0;
23713 wxMemoryDC
*result
= 0 ;
23715 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
23717 if (!wxPyCheckForApp()) SWIG_fail
;
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 result
= (wxMemoryDC
*)new wxMemoryDC();
23720 wxPyEndAllowThreads(__tstate
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23730 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
= 0;
23732 wxDC
*arg1
= (wxDC
*) 0 ;
23733 wxMemoryDC
*result
= 0 ;
23736 PyObject
* obj0
= 0 ;
23737 char * kwnames
[] = {
23738 (char *) "oldDC", NULL
23741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23743 if (!SWIG_IsOK(res1
)) {
23744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23746 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23748 if (!wxPyCheckForApp()) SWIG_fail
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23761 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23762 PyObject
*resultobj
= 0;
23763 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23764 wxBitmap
*arg2
= 0 ;
23769 PyObject
* obj0
= 0 ;
23770 PyObject
* obj1
= 0 ;
23771 char * kwnames
[] = {
23772 (char *) "self",(char *) "bitmap", NULL
23775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23777 if (!SWIG_IsOK(res1
)) {
23778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23780 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23781 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23782 if (!SWIG_IsOK(res2
)) {
23783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23788 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23792 wxPyEndAllowThreads(__tstate
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23795 resultobj
= SWIG_Py_Void();
23802 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23804 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23805 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23806 return SWIG_Py_Void();
23809 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23810 return SWIG_Python_InitShadowInstance(args
);
23813 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23814 PyObject
*resultobj
= 0;
23815 wxDC
*arg1
= (wxDC
*) 0 ;
23816 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23817 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23818 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23819 wxBufferedDC
*result
= 0 ;
23827 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23829 if (!SWIG_IsOK(res1
)) {
23830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23834 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23835 if (!SWIG_IsOK(res2
)) {
23836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23841 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23844 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23845 if (!SWIG_IsOK(ecode3
)) {
23846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23848 arg3
= static_cast< int >(val3
);
23851 if (!wxPyCheckForApp()) SWIG_fail
;
23852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23853 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23864 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23865 PyObject
*resultobj
= 0;
23866 wxDC
*arg1
= (wxDC
*) 0 ;
23868 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23869 wxBufferedDC
*result
= 0 ;
23876 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23878 if (!SWIG_IsOK(res1
)) {
23879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23884 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23887 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23888 if (!SWIG_IsOK(ecode3
)) {
23889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23891 arg3
= static_cast< int >(val3
);
23894 if (!wxPyCheckForApp()) SWIG_fail
;
23895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23896 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23897 wxPyEndAllowThreads(__tstate
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23907 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23911 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23913 if ((argc
>= 1) && (argc
<= 3)) {
23917 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23918 _v
= SWIG_CheckState(res
);
23920 if (!_v
) goto check_1
;
23922 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23926 if ((argc
>= 2) && (argc
<= 3)) {
23927 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23931 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23936 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23937 PyObject
*resultobj
= 0;
23938 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23941 PyObject
*swig_obj
[1] ;
23943 if (!args
) SWIG_fail
;
23944 swig_obj
[0] = args
;
23945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23946 if (!SWIG_IsOK(res1
)) {
23947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23949 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23957 resultobj
= SWIG_Py_Void();
23964 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23965 PyObject
*resultobj
= 0;
23966 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23969 PyObject
*swig_obj
[1] ;
23971 if (!args
) SWIG_fail
;
23972 swig_obj
[0] = args
;
23973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23974 if (!SWIG_IsOK(res1
)) {
23975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23977 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23984 resultobj
= SWIG_Py_Void();
23991 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23994 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23995 return SWIG_Py_Void();
23998 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23999 return SWIG_Python_InitShadowInstance(args
);
24002 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24003 PyObject
*resultobj
= 0;
24004 wxWindow
*arg1
= (wxWindow
*) 0 ;
24005 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24006 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24007 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24008 wxBufferedPaintDC
*result
= 0 ;
24015 PyObject
* obj0
= 0 ;
24016 PyObject
* obj1
= 0 ;
24017 PyObject
* obj2
= 0 ;
24018 char * kwnames
[] = {
24019 (char *) "window",(char *) "buffer",(char *) "style", NULL
24022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24024 if (!SWIG_IsOK(res1
)) {
24025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24027 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24029 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24030 if (!SWIG_IsOK(res2
)) {
24031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24036 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24039 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24040 if (!SWIG_IsOK(ecode3
)) {
24041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24043 arg3
= static_cast< int >(val3
);
24046 if (!wxPyCheckForApp()) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24059 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24062 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24063 return SWIG_Py_Void();
24066 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24067 return SWIG_Python_InitShadowInstance(args
);
24070 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24071 PyObject
*resultobj
= 0;
24072 wxScreenDC
*result
= 0 ;
24074 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24076 if (!wxPyCheckForApp()) SWIG_fail
;
24077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24078 result
= (wxScreenDC
*)new wxScreenDC();
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24089 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
= 0;
24091 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24092 wxWindow
*arg2
= (wxWindow
*) 0 ;
24098 PyObject
* obj0
= 0 ;
24099 PyObject
* obj1
= 0 ;
24100 char * kwnames
[] = {
24101 (char *) "self",(char *) "window", NULL
24104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24106 if (!SWIG_IsOK(res1
)) {
24107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24109 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24110 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24111 if (!SWIG_IsOK(res2
)) {
24112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24114 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24130 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
= 0;
24132 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24133 wxRect
*arg2
= (wxRect
*) NULL
;
24139 PyObject
* obj0
= 0 ;
24140 PyObject
* obj1
= 0 ;
24141 char * kwnames
[] = {
24142 (char *) "self",(char *) "rect", NULL
24145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24147 if (!SWIG_IsOK(res1
)) {
24148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24150 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24152 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24153 if (!SWIG_IsOK(res2
)) {
24154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24156 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24161 wxPyEndAllowThreads(__tstate
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24173 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24174 PyObject
*resultobj
= 0;
24175 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24179 PyObject
*swig_obj
[1] ;
24181 if (!args
) SWIG_fail
;
24182 swig_obj
[0] = args
;
24183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24184 if (!SWIG_IsOK(res1
)) {
24185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24187 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24190 result
= (bool)(arg1
)->EndDrawingOnTop();
24191 wxPyEndAllowThreads(__tstate
);
24192 if (PyErr_Occurred()) SWIG_fail
;
24195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24203 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24205 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24206 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24207 return SWIG_Py_Void();
24210 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24211 return SWIG_Python_InitShadowInstance(args
);
24214 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24215 PyObject
*resultobj
= 0;
24216 wxWindow
*arg1
= (wxWindow
*) 0 ;
24217 wxWindowDC
*result
= 0 ;
24220 PyObject
* obj0
= 0 ;
24221 char * kwnames
[] = {
24222 (char *) "win", NULL
24225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24227 if (!SWIG_IsOK(res1
)) {
24228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24230 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24232 if (!wxPyCheckForApp()) SWIG_fail
;
24233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24234 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24235 wxPyEndAllowThreads(__tstate
);
24236 if (PyErr_Occurred()) SWIG_fail
;
24238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24245 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24248 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24249 return SWIG_Py_Void();
24252 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24253 return SWIG_Python_InitShadowInstance(args
);
24256 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
= 0;
24258 wxWindow
*arg1
= (wxWindow
*) 0 ;
24259 wxClientDC
*result
= 0 ;
24262 PyObject
* obj0
= 0 ;
24263 char * kwnames
[] = {
24264 (char *) "win", NULL
24267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24269 if (!SWIG_IsOK(res1
)) {
24270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24272 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24274 if (!wxPyCheckForApp()) SWIG_fail
;
24275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24276 result
= (wxClientDC
*)new wxClientDC(arg1
);
24277 wxPyEndAllowThreads(__tstate
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24287 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24289 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24290 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24291 return SWIG_Py_Void();
24294 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24295 return SWIG_Python_InitShadowInstance(args
);
24298 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24299 PyObject
*resultobj
= 0;
24300 wxWindow
*arg1
= (wxWindow
*) 0 ;
24301 wxPaintDC
*result
= 0 ;
24304 PyObject
* obj0
= 0 ;
24305 char * kwnames
[] = {
24306 (char *) "win", NULL
24309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24311 if (!SWIG_IsOK(res1
)) {
24312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24314 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24316 if (!wxPyCheckForApp()) SWIG_fail
;
24317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24318 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24319 wxPyEndAllowThreads(__tstate
);
24320 if (PyErr_Occurred()) SWIG_fail
;
24322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24329 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24332 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24333 return SWIG_Py_Void();
24336 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24337 return SWIG_Python_InitShadowInstance(args
);
24340 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24341 PyObject
*resultobj
= 0;
24344 wxMirrorDC
*result
= 0 ;
24349 PyObject
* obj0
= 0 ;
24350 PyObject
* obj1
= 0 ;
24351 char * kwnames
[] = {
24352 (char *) "dc",(char *) "mirror", NULL
24355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24356 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24357 if (!SWIG_IsOK(res1
)) {
24358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24363 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24364 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24365 if (!SWIG_IsOK(ecode2
)) {
24366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24368 arg2
= static_cast< bool >(val2
);
24370 if (!wxPyCheckForApp()) SWIG_fail
;
24371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24372 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24373 wxPyEndAllowThreads(__tstate
);
24374 if (PyErr_Occurred()) SWIG_fail
;
24376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24383 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24386 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24387 return SWIG_Py_Void();
24390 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24391 return SWIG_Python_InitShadowInstance(args
);
24394 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24395 PyObject
*resultobj
= 0;
24396 wxPrintData
*arg1
= 0 ;
24397 wxPostScriptDC
*result
= 0 ;
24400 PyObject
* obj0
= 0 ;
24401 char * kwnames
[] = {
24402 (char *) "printData", NULL
24405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24406 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24407 if (!SWIG_IsOK(res1
)) {
24408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24413 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24415 if (!wxPyCheckForApp()) SWIG_fail
;
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24428 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24429 PyObject
*resultobj
= 0;
24430 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24431 wxPrintData
*result
= 0 ;
24434 PyObject
*swig_obj
[1] ;
24436 if (!args
) SWIG_fail
;
24437 swig_obj
[0] = args
;
24438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24439 if (!SWIG_IsOK(res1
)) {
24440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24442 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24446 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24447 result
= (wxPrintData
*) &_result_ref
;
24449 wxPyEndAllowThreads(__tstate
);
24450 if (PyErr_Occurred()) SWIG_fail
;
24452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24459 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24460 PyObject
*resultobj
= 0;
24461 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24462 wxPrintData
*arg2
= 0 ;
24467 PyObject
* obj0
= 0 ;
24468 PyObject
* obj1
= 0 ;
24469 char * kwnames
[] = {
24470 (char *) "self",(char *) "data", NULL
24473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24475 if (!SWIG_IsOK(res1
)) {
24476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24478 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24479 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24480 if (!SWIG_IsOK(res2
)) {
24481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24486 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24493 resultobj
= SWIG_Py_Void();
24500 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24501 PyObject
*resultobj
= 0;
24505 PyObject
* obj0
= 0 ;
24506 char * kwnames
[] = {
24507 (char *) "ppi", NULL
24510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24511 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24512 if (!SWIG_IsOK(ecode1
)) {
24513 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24515 arg1
= static_cast< int >(val1
);
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 wxPostScriptDC::SetResolution(arg1
);
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24522 resultobj
= SWIG_Py_Void();
24529 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24530 PyObject
*resultobj
= 0;
24533 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 result
= (int)wxPostScriptDC::GetResolution();
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24540 resultobj
= SWIG_From_int(static_cast< int >(result
));
24547 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24550 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24551 return SWIG_Py_Void();
24554 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24555 return SWIG_Python_InitShadowInstance(args
);
24558 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24559 PyObject
*resultobj
= 0;
24560 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24561 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24562 wxMetaFile
*result
= 0 ;
24563 bool temp1
= false ;
24564 PyObject
* obj0
= 0 ;
24565 char * kwnames
[] = {
24566 (char *) "filename", NULL
24569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24572 arg1
= wxString_in_helper(obj0
);
24573 if (arg1
== NULL
) SWIG_fail
;
24578 if (!wxPyCheckForApp()) SWIG_fail
;
24579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24580 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24581 wxPyEndAllowThreads(__tstate
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24599 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24600 PyObject
*resultobj
= 0;
24601 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24604 PyObject
*swig_obj
[1] ;
24606 if (!args
) SWIG_fail
;
24607 swig_obj
[0] = args
;
24608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24609 if (!SWIG_IsOK(res1
)) {
24610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24612 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 wxPyEndAllowThreads(__tstate
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24620 resultobj
= SWIG_Py_Void();
24627 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24628 PyObject
*resultobj
= 0;
24629 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24633 PyObject
*swig_obj
[1] ;
24635 if (!args
) SWIG_fail
;
24636 swig_obj
[0] = args
;
24637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24638 if (!SWIG_IsOK(res1
)) {
24639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24641 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 result
= (bool)(arg1
)->Ok();
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24657 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
= 0;
24659 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24660 int arg2
= (int) 0 ;
24661 int arg3
= (int) 0 ;
24669 PyObject
* obj0
= 0 ;
24670 PyObject
* obj1
= 0 ;
24671 PyObject
* obj2
= 0 ;
24672 char * kwnames
[] = {
24673 (char *) "self",(char *) "width",(char *) "height", NULL
24676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24678 if (!SWIG_IsOK(res1
)) {
24679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24681 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24684 if (!SWIG_IsOK(ecode2
)) {
24685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24687 arg2
= static_cast< int >(val2
);
24690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24691 if (!SWIG_IsOK(ecode3
)) {
24692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24694 arg3
= static_cast< int >(val3
);
24697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24698 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24699 wxPyEndAllowThreads(__tstate
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24711 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24712 PyObject
*resultobj
= 0;
24713 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24717 PyObject
*swig_obj
[1] ;
24719 if (!args
) SWIG_fail
;
24720 swig_obj
[0] = args
;
24721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24722 if (!SWIG_IsOK(res1
)) {
24723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24725 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 result
= (arg1
)->GetSize();
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24732 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24739 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24740 PyObject
*resultobj
= 0;
24741 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24745 PyObject
*swig_obj
[1] ;
24747 if (!args
) SWIG_fail
;
24748 swig_obj
[0] = args
;
24749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24750 if (!SWIG_IsOK(res1
)) {
24751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24753 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24756 result
= (int)(arg1
)->GetWidth();
24757 wxPyEndAllowThreads(__tstate
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24760 resultobj
= SWIG_From_int(static_cast< int >(result
));
24767 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24768 PyObject
*resultobj
= 0;
24769 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24773 PyObject
*swig_obj
[1] ;
24775 if (!args
) SWIG_fail
;
24776 swig_obj
[0] = args
;
24777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24778 if (!SWIG_IsOK(res1
)) {
24779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24781 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24784 result
= (int)(arg1
)->GetHeight();
24785 wxPyEndAllowThreads(__tstate
);
24786 if (PyErr_Occurred()) SWIG_fail
;
24788 resultobj
= SWIG_From_int(static_cast< int >(result
));
24795 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24796 PyObject
*resultobj
= 0;
24797 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24798 wxString
*result
= 0 ;
24801 PyObject
*swig_obj
[1] ;
24803 if (!args
) SWIG_fail
;
24804 swig_obj
[0] = args
;
24805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24806 if (!SWIG_IsOK(res1
)) {
24807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
24809 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
24814 result
= (wxString
*) &_result_ref
;
24816 wxPyEndAllowThreads(__tstate
);
24817 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24823 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24832 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24835 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24836 return SWIG_Py_Void();
24839 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24840 return SWIG_Python_InitShadowInstance(args
);
24843 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
= 0;
24845 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24846 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24847 int arg2
= (int) 0 ;
24848 int arg3
= (int) 0 ;
24849 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24850 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24851 wxMetaFileDC
*result
= 0 ;
24852 bool temp1
= false ;
24857 bool temp4
= false ;
24858 PyObject
* obj0
= 0 ;
24859 PyObject
* obj1
= 0 ;
24860 PyObject
* obj2
= 0 ;
24861 PyObject
* obj3
= 0 ;
24862 char * kwnames
[] = {
24863 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24869 arg1
= wxString_in_helper(obj0
);
24870 if (arg1
== NULL
) SWIG_fail
;
24875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24876 if (!SWIG_IsOK(ecode2
)) {
24877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24879 arg2
= static_cast< int >(val2
);
24882 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24883 if (!SWIG_IsOK(ecode3
)) {
24884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24886 arg3
= static_cast< int >(val3
);
24890 arg4
= wxString_in_helper(obj3
);
24891 if (arg4
== NULL
) SWIG_fail
;
24896 if (!wxPyCheckForApp()) SWIG_fail
;
24897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24898 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24925 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24926 PyObject
*resultobj
= 0;
24927 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
24928 wxMetaFile
*result
= 0 ;
24931 PyObject
*swig_obj
[1] ;
24933 if (!args
) SWIG_fail
;
24934 swig_obj
[0] = args
;
24935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
24936 if (!SWIG_IsOK(res1
)) {
24937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
24939 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 result
= (wxMetaFile
*)(arg1
)->Close();
24943 wxPyEndAllowThreads(__tstate
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24953 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24956 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24957 return SWIG_Py_Void();
24960 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24961 return SWIG_Python_InitShadowInstance(args
);
24964 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
= 0;
24966 wxPrintData
*arg1
= 0 ;
24967 wxPrinterDC
*result
= 0 ;
24970 PyObject
* obj0
= 0 ;
24971 char * kwnames
[] = {
24972 (char *) "printData", NULL
24975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24976 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24977 if (!SWIG_IsOK(res1
)) {
24978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24983 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24985 if (!wxPyCheckForApp()) SWIG_fail
;
24986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24987 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24988 wxPyEndAllowThreads(__tstate
);
24989 if (PyErr_Occurred()) SWIG_fail
;
24991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24998 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25000 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25001 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25002 return SWIG_Py_Void();
25005 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25006 return SWIG_Python_InitShadowInstance(args
);
25009 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25010 PyObject
*resultobj
= 0;
25011 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25014 PyObject
*swig_obj
[1] ;
25016 if (!args
) SWIG_fail
;
25017 swig_obj
[0] = args
;
25018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
25019 if (!SWIG_IsOK(res1
)) {
25020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25022 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25027 wxPyEndAllowThreads(__tstate
);
25028 if (PyErr_Occurred()) SWIG_fail
;
25030 resultobj
= SWIG_Py_Void();
25037 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25038 PyObject
*resultobj
= 0;
25039 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25048 PyObject
* obj0
= 0 ;
25049 PyObject
* obj1
= 0 ;
25050 PyObject
* obj2
= 0 ;
25051 char * kwnames
[] = {
25052 (char *) "self",(char *) "x",(char *) "y", NULL
25055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25057 if (!SWIG_IsOK(res1
)) {
25058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25060 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25061 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25062 if (!SWIG_IsOK(ecode2
)) {
25063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25065 arg2
= static_cast< wxDouble
>(val2
);
25066 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25067 if (!SWIG_IsOK(ecode3
)) {
25068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25070 arg3
= static_cast< wxDouble
>(val3
);
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 (arg1
)->MoveToPoint(arg2
,arg3
);
25074 wxPyEndAllowThreads(__tstate
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25077 resultobj
= SWIG_Py_Void();
25084 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25085 PyObject
*resultobj
= 0;
25086 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25095 PyObject
* obj0
= 0 ;
25096 PyObject
* obj1
= 0 ;
25097 PyObject
* obj2
= 0 ;
25098 char * kwnames
[] = {
25099 (char *) "self",(char *) "x",(char *) "y", NULL
25102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25104 if (!SWIG_IsOK(res1
)) {
25105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25107 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25108 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25109 if (!SWIG_IsOK(ecode2
)) {
25110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25112 arg2
= static_cast< wxDouble
>(val2
);
25113 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25114 if (!SWIG_IsOK(ecode3
)) {
25115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25117 arg3
= static_cast< wxDouble
>(val3
);
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 (arg1
)->AddLineToPoint(arg2
,arg3
);
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25124 resultobj
= SWIG_Py_Void();
25131 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25132 PyObject
*resultobj
= 0;
25133 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25154 PyObject
* obj0
= 0 ;
25155 PyObject
* obj1
= 0 ;
25156 PyObject
* obj2
= 0 ;
25157 PyObject
* obj3
= 0 ;
25158 PyObject
* obj4
= 0 ;
25159 PyObject
* obj5
= 0 ;
25160 PyObject
* obj6
= 0 ;
25161 char * kwnames
[] = {
25162 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
25165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25167 if (!SWIG_IsOK(res1
)) {
25168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25170 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25171 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25172 if (!SWIG_IsOK(ecode2
)) {
25173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25175 arg2
= static_cast< wxDouble
>(val2
);
25176 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25177 if (!SWIG_IsOK(ecode3
)) {
25178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25180 arg3
= static_cast< wxDouble
>(val3
);
25181 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25182 if (!SWIG_IsOK(ecode4
)) {
25183 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25185 arg4
= static_cast< wxDouble
>(val4
);
25186 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25187 if (!SWIG_IsOK(ecode5
)) {
25188 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25190 arg5
= static_cast< wxDouble
>(val5
);
25191 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25192 if (!SWIG_IsOK(ecode6
)) {
25193 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25195 arg6
= static_cast< wxDouble
>(val6
);
25196 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25197 if (!SWIG_IsOK(ecode7
)) {
25198 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
25200 arg7
= static_cast< wxDouble
>(val7
);
25202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25203 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25204 wxPyEndAllowThreads(__tstate
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25207 resultobj
= SWIG_Py_Void();
25214 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25215 PyObject
*resultobj
= 0;
25216 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25219 PyObject
*swig_obj
[1] ;
25221 if (!args
) SWIG_fail
;
25222 swig_obj
[0] = args
;
25223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25224 if (!SWIG_IsOK(res1
)) {
25225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25227 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 (arg1
)->CloseSubpath();
25231 wxPyEndAllowThreads(__tstate
);
25232 if (PyErr_Occurred()) SWIG_fail
;
25234 resultobj
= SWIG_Py_Void();
25241 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25242 PyObject
*resultobj
= 0;
25243 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25247 PyObject
*swig_obj
[1] ;
25249 if (!args
) SWIG_fail
;
25250 swig_obj
[0] = args
;
25251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25252 if (!SWIG_IsOK(res1
)) {
25253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25255 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 result
= (arg1
)->GetCurrentPoint();
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25262 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
25269 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25270 PyObject
*resultobj
= 0;
25271 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25292 PyObject
* obj0
= 0 ;
25293 PyObject
* obj1
= 0 ;
25294 PyObject
* obj2
= 0 ;
25295 PyObject
* obj3
= 0 ;
25296 PyObject
* obj4
= 0 ;
25297 PyObject
* obj5
= 0 ;
25298 PyObject
* obj6
= 0 ;
25299 char * kwnames
[] = {
25300 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
25303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25305 if (!SWIG_IsOK(res1
)) {
25306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25308 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25309 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25310 if (!SWIG_IsOK(ecode2
)) {
25311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
25313 arg2
= static_cast< wxDouble
>(val2
);
25314 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25315 if (!SWIG_IsOK(ecode3
)) {
25316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
25318 arg3
= static_cast< wxDouble
>(val3
);
25319 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25320 if (!SWIG_IsOK(ecode4
)) {
25321 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
25323 arg4
= static_cast< wxDouble
>(val4
);
25324 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25325 if (!SWIG_IsOK(ecode5
)) {
25326 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
25328 arg5
= static_cast< wxDouble
>(val5
);
25329 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25330 if (!SWIG_IsOK(ecode6
)) {
25331 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
25333 arg6
= static_cast< wxDouble
>(val6
);
25334 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
25335 if (!SWIG_IsOK(ecode7
)) {
25336 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
25338 arg7
= static_cast< bool >(val7
);
25340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25342 wxPyEndAllowThreads(__tstate
);
25343 if (PyErr_Occurred()) SWIG_fail
;
25345 resultobj
= SWIG_Py_Void();
25352 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25353 PyObject
*resultobj
= 0;
25354 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25369 PyObject
* obj0
= 0 ;
25370 PyObject
* obj1
= 0 ;
25371 PyObject
* obj2
= 0 ;
25372 PyObject
* obj3
= 0 ;
25373 PyObject
* obj4
= 0 ;
25374 char * kwnames
[] = {
25375 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
25378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25380 if (!SWIG_IsOK(res1
)) {
25381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25383 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25384 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25385 if (!SWIG_IsOK(ecode2
)) {
25386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25388 arg2
= static_cast< wxDouble
>(val2
);
25389 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25390 if (!SWIG_IsOK(ecode3
)) {
25391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25393 arg3
= static_cast< wxDouble
>(val3
);
25394 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25395 if (!SWIG_IsOK(ecode4
)) {
25396 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25398 arg4
= static_cast< wxDouble
>(val4
);
25399 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25400 if (!SWIG_IsOK(ecode5
)) {
25401 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25403 arg5
= static_cast< wxDouble
>(val5
);
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
25407 wxPyEndAllowThreads(__tstate
);
25408 if (PyErr_Occurred()) SWIG_fail
;
25410 resultobj
= SWIG_Py_Void();
25417 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
= 0;
25419 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25434 PyObject
* obj0
= 0 ;
25435 PyObject
* obj1
= 0 ;
25436 PyObject
* obj2
= 0 ;
25437 PyObject
* obj3
= 0 ;
25438 PyObject
* obj4
= 0 ;
25439 char * kwnames
[] = {
25440 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25445 if (!SWIG_IsOK(res1
)) {
25446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25448 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25449 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25450 if (!SWIG_IsOK(ecode2
)) {
25451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
25453 arg2
= static_cast< wxDouble
>(val2
);
25454 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25455 if (!SWIG_IsOK(ecode3
)) {
25456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
25458 arg3
= static_cast< wxDouble
>(val3
);
25459 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25460 if (!SWIG_IsOK(ecode4
)) {
25461 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
25463 arg4
= static_cast< wxDouble
>(val4
);
25464 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25465 if (!SWIG_IsOK(ecode5
)) {
25466 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
25468 arg5
= static_cast< wxDouble
>(val5
);
25470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25471 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
25472 wxPyEndAllowThreads(__tstate
);
25473 if (PyErr_Occurred()) SWIG_fail
;
25475 resultobj
= SWIG_Py_Void();
25482 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25483 PyObject
*resultobj
= 0;
25484 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25496 PyObject
* obj0
= 0 ;
25497 PyObject
* obj1
= 0 ;
25498 PyObject
* obj2
= 0 ;
25499 PyObject
* obj3
= 0 ;
25500 char * kwnames
[] = {
25501 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
25504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25506 if (!SWIG_IsOK(res1
)) {
25507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25509 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25510 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25511 if (!SWIG_IsOK(ecode2
)) {
25512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
25514 arg2
= static_cast< wxDouble
>(val2
);
25515 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25516 if (!SWIG_IsOK(ecode3
)) {
25517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
25519 arg3
= static_cast< wxDouble
>(val3
);
25520 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25521 if (!SWIG_IsOK(ecode4
)) {
25522 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
25524 arg4
= static_cast< wxDouble
>(val4
);
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
25528 wxPyEndAllowThreads(__tstate
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25531 resultobj
= SWIG_Py_Void();
25538 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25539 PyObject
*resultobj
= 0;
25540 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
25558 PyObject
* obj0
= 0 ;
25559 PyObject
* obj1
= 0 ;
25560 PyObject
* obj2
= 0 ;
25561 PyObject
* obj3
= 0 ;
25562 PyObject
* obj4
= 0 ;
25563 PyObject
* obj5
= 0 ;
25564 char * kwnames
[] = {
25565 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
25568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25570 if (!SWIG_IsOK(res1
)) {
25571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25573 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25574 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25575 if (!SWIG_IsOK(ecode2
)) {
25576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25578 arg2
= static_cast< wxDouble
>(val2
);
25579 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25580 if (!SWIG_IsOK(ecode3
)) {
25581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25583 arg3
= static_cast< wxDouble
>(val3
);
25584 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25585 if (!SWIG_IsOK(ecode4
)) {
25586 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25588 arg4
= static_cast< wxDouble
>(val4
);
25589 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25590 if (!SWIG_IsOK(ecode5
)) {
25591 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25593 arg5
= static_cast< wxDouble
>(val5
);
25594 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25595 if (!SWIG_IsOK(ecode6
)) {
25596 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25598 arg6
= static_cast< wxDouble
>(val6
);
25600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25601 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25605 resultobj
= SWIG_Py_Void();
25612 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25614 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25615 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
25616 return SWIG_Py_Void();
25619 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25620 PyObject
*resultobj
= 0;
25621 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25624 PyObject
*swig_obj
[1] ;
25626 if (!args
) SWIG_fail
;
25627 swig_obj
[0] = args
;
25628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
25629 if (!SWIG_IsOK(res1
)) {
25630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25632 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25637 wxPyEndAllowThreads(__tstate
);
25638 if (PyErr_Occurred()) SWIG_fail
;
25640 resultobj
= SWIG_Py_Void();
25647 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25648 PyObject
*resultobj
= 0;
25649 wxWindowDC
*arg1
= 0 ;
25650 wxGraphicsContext
*result
= 0 ;
25653 PyObject
* obj0
= 0 ;
25654 char * kwnames
[] = {
25655 (char *) "dc", NULL
25658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_Create",kwnames
,&obj0
)) SWIG_fail
;
25659 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
25660 if (!SWIG_IsOK(res1
)) {
25661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25666 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
25668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25669 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
25670 wxPyEndAllowThreads(__tstate
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25680 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25681 PyObject
*resultobj
= 0;
25682 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25683 wxGraphicsPath
*result
= 0 ;
25686 PyObject
*swig_obj
[1] ;
25688 if (!args
) SWIG_fail
;
25689 swig_obj
[0] = args
;
25690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25691 if (!SWIG_IsOK(res1
)) {
25692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25694 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25708 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25709 PyObject
*resultobj
= 0;
25710 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25713 PyObject
*swig_obj
[1] ;
25715 if (!args
) SWIG_fail
;
25716 swig_obj
[0] = args
;
25717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25718 if (!SWIG_IsOK(res1
)) {
25719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25721 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25724 (arg1
)->PushState();
25725 wxPyEndAllowThreads(__tstate
);
25726 if (PyErr_Occurred()) SWIG_fail
;
25728 resultobj
= SWIG_Py_Void();
25735 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25736 PyObject
*resultobj
= 0;
25737 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25740 PyObject
*swig_obj
[1] ;
25742 if (!args
) SWIG_fail
;
25743 swig_obj
[0] = args
;
25744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25745 if (!SWIG_IsOK(res1
)) {
25746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25748 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25751 (arg1
)->PopState();
25752 wxPyEndAllowThreads(__tstate
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25755 resultobj
= SWIG_Py_Void();
25762 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25763 PyObject
*resultobj
= 0;
25764 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25765 wxRegion
*arg2
= 0 ;
25770 PyObject
* obj0
= 0 ;
25771 PyObject
* obj1
= 0 ;
25772 char * kwnames
[] = {
25773 (char *) "self",(char *) "region", NULL
25776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25778 if (!SWIG_IsOK(res1
)) {
25779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25781 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
25783 if (!SWIG_IsOK(res2
)) {
25784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
25787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
25789 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
25791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 (arg1
)->Clip((wxRegion
const &)*arg2
);
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25796 resultobj
= SWIG_Py_Void();
25803 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25804 PyObject
*resultobj
= 0;
25805 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25814 PyObject
* obj0
= 0 ;
25815 PyObject
* obj1
= 0 ;
25816 PyObject
* obj2
= 0 ;
25817 char * kwnames
[] = {
25818 (char *) "self",(char *) "dx",(char *) "dy", NULL
25821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25823 if (!SWIG_IsOK(res1
)) {
25824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25826 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25827 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25828 if (!SWIG_IsOK(ecode2
)) {
25829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25831 arg2
= static_cast< wxDouble
>(val2
);
25832 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25833 if (!SWIG_IsOK(ecode3
)) {
25834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25836 arg3
= static_cast< wxDouble
>(val3
);
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25839 (arg1
)->Translate(arg2
,arg3
);
25840 wxPyEndAllowThreads(__tstate
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25843 resultobj
= SWIG_Py_Void();
25850 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
= 0;
25852 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25861 PyObject
* obj0
= 0 ;
25862 PyObject
* obj1
= 0 ;
25863 PyObject
* obj2
= 0 ;
25864 char * kwnames
[] = {
25865 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25870 if (!SWIG_IsOK(res1
)) {
25871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25873 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25874 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25875 if (!SWIG_IsOK(ecode2
)) {
25876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25878 arg2
= static_cast< wxDouble
>(val2
);
25879 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25880 if (!SWIG_IsOK(ecode3
)) {
25881 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25883 arg3
= static_cast< wxDouble
>(val3
);
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 (arg1
)->Scale(arg2
,arg3
);
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25890 resultobj
= SWIG_Py_Void();
25897 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25898 PyObject
*resultobj
= 0;
25899 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25905 PyObject
* obj0
= 0 ;
25906 PyObject
* obj1
= 0 ;
25907 char * kwnames
[] = {
25908 (char *) "self",(char *) "angle", NULL
25911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25913 if (!SWIG_IsOK(res1
)) {
25914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25916 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25917 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25918 if (!SWIG_IsOK(ecode2
)) {
25919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25921 arg2
= static_cast< wxDouble
>(val2
);
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 (arg1
)->Rotate(arg2
);
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25928 resultobj
= SWIG_Py_Void();
25935 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25936 PyObject
*resultobj
= 0;
25937 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25943 PyObject
* obj0
= 0 ;
25944 PyObject
* obj1
= 0 ;
25945 char * kwnames
[] = {
25946 (char *) "self",(char *) "pen", NULL
25949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25951 if (!SWIG_IsOK(res1
)) {
25952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25954 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25955 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
25956 if (!SWIG_IsOK(res2
)) {
25957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25962 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25965 (arg1
)->SetPen((wxPen
const &)*arg2
);
25966 wxPyEndAllowThreads(__tstate
);
25967 if (PyErr_Occurred()) SWIG_fail
;
25969 resultobj
= SWIG_Py_Void();
25976 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25977 PyObject
*resultobj
= 0;
25978 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25979 wxBrush
*arg2
= 0 ;
25984 PyObject
* obj0
= 0 ;
25985 PyObject
* obj1
= 0 ;
25986 char * kwnames
[] = {
25987 (char *) "self",(char *) "brush", NULL
25990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25992 if (!SWIG_IsOK(res1
)) {
25993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25995 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
25997 if (!SWIG_IsOK(res2
)) {
25998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
26001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
26003 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
26005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26006 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
26007 wxPyEndAllowThreads(__tstate
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26010 resultobj
= SWIG_Py_Void();
26017 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26018 PyObject
*resultobj
= 0;
26019 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26024 wxColour
*arg6
= 0 ;
26025 wxColour
*arg7
= 0 ;
26038 PyObject
* obj0
= 0 ;
26039 PyObject
* obj1
= 0 ;
26040 PyObject
* obj2
= 0 ;
26041 PyObject
* obj3
= 0 ;
26042 PyObject
* obj4
= 0 ;
26043 PyObject
* obj5
= 0 ;
26044 PyObject
* obj6
= 0 ;
26045 char * kwnames
[] = {
26046 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
26049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26051 if (!SWIG_IsOK(res1
)) {
26052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26054 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26055 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26056 if (!SWIG_IsOK(ecode2
)) {
26057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
26059 arg2
= static_cast< wxDouble
>(val2
);
26060 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26061 if (!SWIG_IsOK(ecode3
)) {
26062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
26064 arg3
= static_cast< wxDouble
>(val3
);
26065 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26066 if (!SWIG_IsOK(ecode4
)) {
26067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
26069 arg4
= static_cast< wxDouble
>(val4
);
26070 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26071 if (!SWIG_IsOK(ecode5
)) {
26072 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
26074 arg5
= static_cast< wxDouble
>(val5
);
26077 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
26081 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
26084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26085 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26089 resultobj
= SWIG_Py_Void();
26096 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
= 0;
26098 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26104 wxColour
*arg7
= 0 ;
26105 wxColour
*arg8
= 0 ;
26120 PyObject
* obj0
= 0 ;
26121 PyObject
* obj1
= 0 ;
26122 PyObject
* obj2
= 0 ;
26123 PyObject
* obj3
= 0 ;
26124 PyObject
* obj4
= 0 ;
26125 PyObject
* obj5
= 0 ;
26126 PyObject
* obj6
= 0 ;
26127 PyObject
* obj7
= 0 ;
26128 char * kwnames
[] = {
26129 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
26132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
26133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26134 if (!SWIG_IsOK(res1
)) {
26135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26137 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26138 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26139 if (!SWIG_IsOK(ecode2
)) {
26140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
26142 arg2
= static_cast< wxDouble
>(val2
);
26143 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26144 if (!SWIG_IsOK(ecode3
)) {
26145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
26147 arg3
= static_cast< wxDouble
>(val3
);
26148 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26149 if (!SWIG_IsOK(ecode4
)) {
26150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
26152 arg4
= static_cast< wxDouble
>(val4
);
26153 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26154 if (!SWIG_IsOK(ecode5
)) {
26155 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
26157 arg5
= static_cast< wxDouble
>(val5
);
26158 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26159 if (!SWIG_IsOK(ecode6
)) {
26160 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
26162 arg6
= static_cast< wxDouble
>(val6
);
26165 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
26169 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26177 resultobj
= SWIG_Py_Void();
26184 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
= 0;
26186 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26192 PyObject
* obj0
= 0 ;
26193 PyObject
* obj1
= 0 ;
26194 char * kwnames
[] = {
26195 (char *) "self",(char *) "font", NULL
26198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26200 if (!SWIG_IsOK(res1
)) {
26201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26203 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26205 if (!SWIG_IsOK(res2
)) {
26206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26211 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26214 (arg1
)->SetFont((wxFont
const &)*arg2
);
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26218 resultobj
= SWIG_Py_Void();
26225 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26226 PyObject
*resultobj
= 0;
26227 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26228 wxColour
*arg2
= 0 ;
26232 PyObject
* obj0
= 0 ;
26233 PyObject
* obj1
= 0 ;
26234 char * kwnames
[] = {
26235 (char *) "self",(char *) "col", NULL
26238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26240 if (!SWIG_IsOK(res1
)) {
26241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26243 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26246 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
26251 wxPyEndAllowThreads(__tstate
);
26252 if (PyErr_Occurred()) SWIG_fail
;
26254 resultobj
= SWIG_Py_Void();
26261 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26262 PyObject
*resultobj
= 0;
26263 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26264 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26269 PyObject
* obj0
= 0 ;
26270 PyObject
* obj1
= 0 ;
26271 char * kwnames
[] = {
26272 (char *) "self",(char *) "path", NULL
26275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26277 if (!SWIG_IsOK(res1
)) {
26278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26280 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26282 if (!SWIG_IsOK(res2
)) {
26283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26285 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26288 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26292 resultobj
= SWIG_Py_Void();
26299 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26300 PyObject
*resultobj
= 0;
26301 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26302 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26303 int arg3
= (int) wxWINDING_RULE
;
26310 PyObject
* obj0
= 0 ;
26311 PyObject
* obj1
= 0 ;
26312 PyObject
* obj2
= 0 ;
26313 char * kwnames
[] = {
26314 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
26317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26319 if (!SWIG_IsOK(res1
)) {
26320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26322 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26323 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26324 if (!SWIG_IsOK(res2
)) {
26325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26327 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26330 if (!SWIG_IsOK(ecode3
)) {
26331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
26333 arg3
= static_cast< int >(val3
);
26336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26337 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
26338 wxPyEndAllowThreads(__tstate
);
26339 if (PyErr_Occurred()) SWIG_fail
;
26341 resultobj
= SWIG_Py_Void();
26348 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26349 PyObject
*resultobj
= 0;
26350 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26351 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26352 int arg3
= (int) wxWINDING_RULE
;
26359 PyObject
* obj0
= 0 ;
26360 PyObject
* obj1
= 0 ;
26361 PyObject
* obj2
= 0 ;
26362 char * kwnames
[] = {
26363 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
26366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26368 if (!SWIG_IsOK(res1
)) {
26369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26371 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26372 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26373 if (!SWIG_IsOK(res2
)) {
26374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26376 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26379 if (!SWIG_IsOK(ecode3
)) {
26380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
26382 arg3
= static_cast< int >(val3
);
26385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26386 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
26387 wxPyEndAllowThreads(__tstate
);
26388 if (PyErr_Occurred()) SWIG_fail
;
26390 resultobj
= SWIG_Py_Void();
26397 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26398 PyObject
*resultobj
= 0;
26399 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26400 wxString
*arg2
= 0 ;
26405 bool temp2
= false ;
26411 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26413 if (!SWIG_IsOK(res1
)) {
26414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26416 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26418 arg2
= wxString_in_helper(swig_obj
[1]);
26419 if (arg2
== NULL
) SWIG_fail
;
26422 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26423 if (!SWIG_IsOK(ecode3
)) {
26424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
26426 arg3
= static_cast< wxDouble
>(val3
);
26427 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26428 if (!SWIG_IsOK(ecode4
)) {
26429 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
26431 arg4
= static_cast< wxDouble
>(val4
);
26433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26434 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
26435 wxPyEndAllowThreads(__tstate
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26438 resultobj
= SWIG_Py_Void();
26453 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26454 PyObject
*resultobj
= 0;
26455 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26456 wxString
*arg2
= 0 ;
26462 bool temp2
= false ;
26470 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
26471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26472 if (!SWIG_IsOK(res1
)) {
26473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26475 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26477 arg2
= wxString_in_helper(swig_obj
[1]);
26478 if (arg2
== NULL
) SWIG_fail
;
26481 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26482 if (!SWIG_IsOK(ecode3
)) {
26483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
26485 arg3
= static_cast< wxDouble
>(val3
);
26486 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26487 if (!SWIG_IsOK(ecode4
)) {
26488 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
26490 arg4
= static_cast< wxDouble
>(val4
);
26491 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26492 if (!SWIG_IsOK(ecode5
)) {
26493 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxDouble""'");
26495 arg5
= static_cast< wxDouble
>(val5
);
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= SWIG_Py_Void();
26517 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*self
, PyObject
*args
) {
26521 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_DrawText",0,5,argv
))) SWIG_fail
;
26524 return _wrap_GraphicsContext_DrawText__SWIG_0(self
, argc
, argv
);
26527 return _wrap_GraphicsContext_DrawText__SWIG_1(self
, argc
, argv
);
26531 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_DrawText'");
26536 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26537 PyObject
*resultobj
= 0;
26538 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26539 wxString
*arg2
= 0 ;
26540 wxDouble
*arg3
= (wxDouble
*) 0 ;
26541 wxDouble
*arg4
= (wxDouble
*) 0 ;
26542 wxDouble
*arg5
= (wxDouble
*) 0 ;
26543 wxDouble
*arg6
= (wxDouble
*) 0 ;
26546 bool temp2
= false ;
26548 int res3
= SWIG_TMPOBJ
;
26550 int res4
= SWIG_TMPOBJ
;
26552 int res5
= SWIG_TMPOBJ
;
26554 int res6
= SWIG_TMPOBJ
;
26555 PyObject
* obj0
= 0 ;
26556 PyObject
* obj1
= 0 ;
26557 char * kwnames
[] = {
26558 (char *) "self",(char *) "text", NULL
26565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26567 if (!SWIG_IsOK(res1
)) {
26568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
26570 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26572 arg2
= wxString_in_helper(obj1
);
26573 if (arg2
== NULL
) SWIG_fail
;
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26579 wxPyEndAllowThreads(__tstate
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26582 resultobj
= SWIG_Py_Void();
26583 if (SWIG_IsTmpObj(res3
)) {
26584 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26586 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26589 if (SWIG_IsTmpObj(res4
)) {
26590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26592 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26595 if (SWIG_IsTmpObj(res5
)) {
26596 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26598 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26599 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26601 if (SWIG_IsTmpObj(res6
)) {
26602 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26604 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26605 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26621 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26622 PyObject
*resultobj
= 0;
26623 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26624 wxString
*arg2
= 0 ;
26625 wxArrayDouble
*arg3
= 0 ;
26628 bool temp2
= false ;
26631 PyObject
* obj0
= 0 ;
26632 PyObject
* obj1
= 0 ;
26633 PyObject
* obj2
= 0 ;
26634 char * kwnames
[] = {
26635 (char *) "self",(char *) "text",(char *) "widths", NULL
26638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26640 if (!SWIG_IsOK(res1
)) {
26641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
26643 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26645 arg2
= wxString_in_helper(obj1
);
26646 if (arg2
== NULL
) SWIG_fail
;
26649 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxArrayDouble
, 0 );
26650 if (!SWIG_IsOK(res3
)) {
26651 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "3"" of type '" "wxArrayDouble &""'");
26654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "3"" of type '" "wxArrayDouble &""'");
26656 arg3
= reinterpret_cast< wxArrayDouble
* >(argp3
);
26658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26659 ((wxGraphicsContext
const *)arg1
)->GetPartialTextExtents((wxString
const &)*arg2
,*arg3
);
26660 wxPyEndAllowThreads(__tstate
);
26661 if (PyErr_Occurred()) SWIG_fail
;
26663 resultobj
= SWIG_Py_Void();
26678 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26679 PyObject
*resultobj
= 0;
26680 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26681 wxBitmap
*arg2
= 0 ;
26698 PyObject
* obj0
= 0 ;
26699 PyObject
* obj1
= 0 ;
26700 PyObject
* obj2
= 0 ;
26701 PyObject
* obj3
= 0 ;
26702 PyObject
* obj4
= 0 ;
26703 PyObject
* obj5
= 0 ;
26704 char * kwnames
[] = {
26705 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26710 if (!SWIG_IsOK(res1
)) {
26711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26713 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26715 if (!SWIG_IsOK(res2
)) {
26716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26721 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26722 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26723 if (!SWIG_IsOK(ecode3
)) {
26724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
26726 arg3
= static_cast< wxDouble
>(val3
);
26727 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26728 if (!SWIG_IsOK(ecode4
)) {
26729 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
26731 arg4
= static_cast< wxDouble
>(val4
);
26732 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26733 if (!SWIG_IsOK(ecode5
)) {
26734 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
26736 arg5
= static_cast< wxDouble
>(val5
);
26737 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26738 if (!SWIG_IsOK(ecode6
)) {
26739 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
26741 arg6
= static_cast< wxDouble
>(val6
);
26743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26744 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26745 wxPyEndAllowThreads(__tstate
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26748 resultobj
= SWIG_Py_Void();
26755 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
= 0;
26757 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26775 PyObject
* obj0
= 0 ;
26776 PyObject
* obj1
= 0 ;
26777 PyObject
* obj2
= 0 ;
26778 PyObject
* obj3
= 0 ;
26779 PyObject
* obj4
= 0 ;
26780 PyObject
* obj5
= 0 ;
26781 char * kwnames
[] = {
26782 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26787 if (!SWIG_IsOK(res1
)) {
26788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26790 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26791 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26792 if (!SWIG_IsOK(res2
)) {
26793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26798 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26799 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26800 if (!SWIG_IsOK(ecode3
)) {
26801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
26803 arg3
= static_cast< wxDouble
>(val3
);
26804 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26805 if (!SWIG_IsOK(ecode4
)) {
26806 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
26808 arg4
= static_cast< wxDouble
>(val4
);
26809 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26810 if (!SWIG_IsOK(ecode5
)) {
26811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
26813 arg5
= static_cast< wxDouble
>(val5
);
26814 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26815 if (!SWIG_IsOK(ecode6
)) {
26816 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
26818 arg6
= static_cast< wxDouble
>(val6
);
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26822 wxPyEndAllowThreads(__tstate
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26825 resultobj
= SWIG_Py_Void();
26832 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26833 PyObject
*resultobj
= 0;
26834 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26849 PyObject
* obj0
= 0 ;
26850 PyObject
* obj1
= 0 ;
26851 PyObject
* obj2
= 0 ;
26852 PyObject
* obj3
= 0 ;
26853 PyObject
* obj4
= 0 ;
26854 char * kwnames
[] = {
26855 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26860 if (!SWIG_IsOK(res1
)) {
26861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26863 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26864 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26865 if (!SWIG_IsOK(ecode2
)) {
26866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
26868 arg2
= static_cast< wxDouble
>(val2
);
26869 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26870 if (!SWIG_IsOK(ecode3
)) {
26871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
26873 arg3
= static_cast< wxDouble
>(val3
);
26874 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26875 if (!SWIG_IsOK(ecode4
)) {
26876 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
26878 arg4
= static_cast< wxDouble
>(val4
);
26879 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26880 if (!SWIG_IsOK(ecode5
)) {
26881 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
26883 arg5
= static_cast< wxDouble
>(val5
);
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
26887 wxPyEndAllowThreads(__tstate
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26890 resultobj
= SWIG_Py_Void();
26897 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26898 PyObject
*resultobj
= 0;
26899 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26901 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26909 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26911 if (!SWIG_IsOK(res1
)) {
26912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26914 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26915 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
26916 if (!SWIG_IsOK(ecode2
)) {
26917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "2"" of type '" "size_t""'");
26919 arg2
= static_cast< size_t >(val2
);
26920 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
26921 if (!SWIG_IsOK(res3
)) {
26922 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "3"" of type '" "wxPoint2D const *""'");
26924 arg3
= reinterpret_cast< wxPoint2D
* >(argp3
);
26926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
26928 wxPyEndAllowThreads(__tstate
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26931 resultobj
= SWIG_Py_Void();
26938 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26939 PyObject
*resultobj
= 0;
26940 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26942 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26943 wxPoint2D
*arg4
= (wxPoint2D
*) 0 ;
26953 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26955 if (!SWIG_IsOK(res1
)) {
26956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26958 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26959 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
26960 if (!SWIG_IsOK(ecode2
)) {
26961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "2"" of type '" "size_t""'");
26963 arg2
= static_cast< size_t >(val2
);
26964 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
26965 if (!SWIG_IsOK(res3
)) {
26966 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "3"" of type '" "wxPoint2D const *""'");
26968 arg3
= reinterpret_cast< wxPoint2D
* >(argp3
);
26969 res4
= SWIG_ConvertPtr(swig_obj
[3], &argp4
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
26970 if (!SWIG_IsOK(res4
)) {
26971 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "4"" of type '" "wxPoint2D const *""'");
26973 arg4
= reinterpret_cast< wxPoint2D
* >(argp4
);
26975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26976 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
,(wxPoint2D
const *)arg4
);
26977 wxPyEndAllowThreads(__tstate
);
26978 if (PyErr_Occurred()) SWIG_fail
;
26980 resultobj
= SWIG_Py_Void();
26987 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*self
, PyObject
*args
) {
26991 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_StrokeLines",0,4,argv
))) SWIG_fail
;
26994 return _wrap_GraphicsContext_StrokeLines__SWIG_0(self
, argc
, argv
);
26997 return _wrap_GraphicsContext_StrokeLines__SWIG_1(self
, argc
, argv
);
27001 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_StrokeLines'");
27006 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27007 PyObject
*resultobj
= 0;
27008 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27010 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
27011 int arg4
= (int) wxWINDING_RULE
;
27020 PyObject
* obj0
= 0 ;
27021 PyObject
* obj1
= 0 ;
27022 PyObject
* obj2
= 0 ;
27023 PyObject
* obj3
= 0 ;
27024 char * kwnames
[] = {
27025 (char *) "self",(char *) "n",(char *) "points",(char *) "fillStyle", NULL
27028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27030 if (!SWIG_IsOK(res1
)) {
27031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27033 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27034 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
27035 if (!SWIG_IsOK(ecode2
)) {
27036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "2"" of type '" "size_t""'");
27038 arg2
= static_cast< size_t >(val2
);
27039 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
27040 if (!SWIG_IsOK(res3
)) {
27041 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "3"" of type '" "wxPoint2D const *""'");
27043 arg3
= reinterpret_cast< wxPoint2D
* >(argp3
);
27045 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27046 if (!SWIG_IsOK(ecode4
)) {
27047 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
27049 arg4
= static_cast< int >(val4
);
27052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27053 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
27054 wxPyEndAllowThreads(__tstate
);
27055 if (PyErr_Occurred()) SWIG_fail
;
27057 resultobj
= SWIG_Py_Void();
27064 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27065 PyObject
*resultobj
= 0;
27066 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27081 PyObject
* obj0
= 0 ;
27082 PyObject
* obj1
= 0 ;
27083 PyObject
* obj2
= 0 ;
27084 PyObject
* obj3
= 0 ;
27085 PyObject
* obj4
= 0 ;
27086 char * kwnames
[] = {
27087 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27092 if (!SWIG_IsOK(res1
)) {
27093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27095 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27096 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27097 if (!SWIG_IsOK(ecode2
)) {
27098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27100 arg2
= static_cast< wxDouble
>(val2
);
27101 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27102 if (!SWIG_IsOK(ecode3
)) {
27103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27105 arg3
= static_cast< wxDouble
>(val3
);
27106 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27107 if (!SWIG_IsOK(ecode4
)) {
27108 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27110 arg4
= static_cast< wxDouble
>(val4
);
27111 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27112 if (!SWIG_IsOK(ecode5
)) {
27113 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27115 arg5
= static_cast< wxDouble
>(val5
);
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
27119 wxPyEndAllowThreads(__tstate
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27122 resultobj
= SWIG_Py_Void();
27129 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27130 PyObject
*resultobj
= 0;
27131 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27146 PyObject
* obj0
= 0 ;
27147 PyObject
* obj1
= 0 ;
27148 PyObject
* obj2
= 0 ;
27149 PyObject
* obj3
= 0 ;
27150 PyObject
* obj4
= 0 ;
27151 char * kwnames
[] = {
27152 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27157 if (!SWIG_IsOK(res1
)) {
27158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27160 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27161 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27162 if (!SWIG_IsOK(ecode2
)) {
27163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27165 arg2
= static_cast< wxDouble
>(val2
);
27166 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27167 if (!SWIG_IsOK(ecode3
)) {
27168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27170 arg3
= static_cast< wxDouble
>(val3
);
27171 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27172 if (!SWIG_IsOK(ecode4
)) {
27173 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27175 arg4
= static_cast< wxDouble
>(val4
);
27176 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27177 if (!SWIG_IsOK(ecode5
)) {
27178 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27180 arg5
= static_cast< wxDouble
>(val5
);
27182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27183 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
27184 wxPyEndAllowThreads(__tstate
);
27185 if (PyErr_Occurred()) SWIG_fail
;
27187 resultobj
= SWIG_Py_Void();
27194 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27195 PyObject
*resultobj
= 0;
27196 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27214 PyObject
* obj0
= 0 ;
27215 PyObject
* obj1
= 0 ;
27216 PyObject
* obj2
= 0 ;
27217 PyObject
* obj3
= 0 ;
27218 PyObject
* obj4
= 0 ;
27219 PyObject
* obj5
= 0 ;
27220 char * kwnames
[] = {
27221 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27226 if (!SWIG_IsOK(res1
)) {
27227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27229 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27230 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27231 if (!SWIG_IsOK(ecode2
)) {
27232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27234 arg2
= static_cast< wxDouble
>(val2
);
27235 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27236 if (!SWIG_IsOK(ecode3
)) {
27237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27239 arg3
= static_cast< wxDouble
>(val3
);
27240 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27241 if (!SWIG_IsOK(ecode4
)) {
27242 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27244 arg4
= static_cast< wxDouble
>(val4
);
27245 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27246 if (!SWIG_IsOK(ecode5
)) {
27247 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27249 arg5
= static_cast< wxDouble
>(val5
);
27250 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27251 if (!SWIG_IsOK(ecode6
)) {
27252 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27254 arg6
= static_cast< wxDouble
>(val6
);
27256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27257 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27258 wxPyEndAllowThreads(__tstate
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27261 resultobj
= SWIG_Py_Void();
27268 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27270 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27271 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
27272 return SWIG_Py_Void();
27275 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27276 PyObject
*resultobj
= 0;
27277 wxWindowDC
*arg1
= 0 ;
27278 wxGCDC
*result
= 0 ;
27281 PyObject
* obj0
= 0 ;
27282 char * kwnames
[] = {
27283 (char *) "dc", NULL
27286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
27287 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27288 if (!SWIG_IsOK(res1
)) {
27289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27294 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27296 if (!wxPyCheckForApp()) SWIG_fail
;
27297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
27299 wxPyEndAllowThreads(__tstate
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
27309 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27310 PyObject
*resultobj
= 0;
27311 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27314 PyObject
*swig_obj
[1] ;
27316 if (!args
) SWIG_fail
;
27317 swig_obj
[0] = args
;
27318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
27319 if (!SWIG_IsOK(res1
)) {
27320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
27322 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27327 wxPyEndAllowThreads(__tstate
);
27328 if (PyErr_Occurred()) SWIG_fail
;
27330 resultobj
= SWIG_Py_Void();
27337 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27338 PyObject
*resultobj
= 0;
27339 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
27340 wxGraphicsContext
*result
= 0 ;
27343 PyObject
*swig_obj
[1] ;
27345 if (!args
) SWIG_fail
;
27346 swig_obj
[0] = args
;
27347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
27348 if (!SWIG_IsOK(res1
)) {
27349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
27351 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
27353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27354 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicContext();
27355 wxPyEndAllowThreads(__tstate
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27365 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27368 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
27369 return SWIG_Py_Void();
27372 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27373 return SWIG_Python_InitShadowInstance(args
);
27376 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27377 PyObject
*resultobj
= 0;
27380 int arg3
= (int) true ;
27381 int arg4
= (int) 1 ;
27382 wxImageList
*result
= 0 ;
27391 PyObject
* obj0
= 0 ;
27392 PyObject
* obj1
= 0 ;
27393 PyObject
* obj2
= 0 ;
27394 PyObject
* obj3
= 0 ;
27395 char * kwnames
[] = {
27396 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
27399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27400 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27401 if (!SWIG_IsOK(ecode1
)) {
27402 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
27404 arg1
= static_cast< int >(val1
);
27405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27406 if (!SWIG_IsOK(ecode2
)) {
27407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
27409 arg2
= static_cast< int >(val2
);
27411 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27412 if (!SWIG_IsOK(ecode3
)) {
27413 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
27415 arg3
= static_cast< int >(val3
);
27418 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27419 if (!SWIG_IsOK(ecode4
)) {
27420 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
27422 arg4
= static_cast< int >(val4
);
27425 if (!wxPyCheckForApp()) SWIG_fail
;
27426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27427 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
27428 wxPyEndAllowThreads(__tstate
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27432 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
27440 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27441 PyObject
*resultobj
= 0;
27442 wxImageList
*arg1
= (wxImageList
*) 0 ;
27445 PyObject
*swig_obj
[1] ;
27447 if (!args
) SWIG_fail
;
27448 swig_obj
[0] = args
;
27449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
27450 if (!SWIG_IsOK(res1
)) {
27451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
27453 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27458 wxPyEndAllowThreads(__tstate
);
27459 if (PyErr_Occurred()) SWIG_fail
;
27461 resultobj
= SWIG_Py_Void();
27468 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27469 PyObject
*resultobj
= 0;
27470 wxImageList
*arg1
= (wxImageList
*) 0 ;
27471 wxBitmap
*arg2
= 0 ;
27472 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
27473 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
27481 PyObject
* obj0
= 0 ;
27482 PyObject
* obj1
= 0 ;
27483 PyObject
* obj2
= 0 ;
27484 char * kwnames
[] = {
27485 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
27488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27490 if (!SWIG_IsOK(res1
)) {
27491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
27493 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27494 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27495 if (!SWIG_IsOK(res2
)) {
27496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27501 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27503 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27504 if (!SWIG_IsOK(res3
)) {
27505 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27510 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27514 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
27515 wxPyEndAllowThreads(__tstate
);
27516 if (PyErr_Occurred()) SWIG_fail
;
27518 resultobj
= SWIG_From_int(static_cast< int >(result
));
27525 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27526 PyObject
*resultobj
= 0;
27527 wxImageList
*arg1
= (wxImageList
*) 0 ;
27528 wxBitmap
*arg2
= 0 ;
27529 wxColour
*arg3
= 0 ;
27536 PyObject
* obj0
= 0 ;
27537 PyObject
* obj1
= 0 ;
27538 PyObject
* obj2
= 0 ;
27539 char * kwnames
[] = {
27540 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
27543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27545 if (!SWIG_IsOK(res1
)) {
27546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
27548 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27550 if (!SWIG_IsOK(res2
)) {
27551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27556 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27559 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27563 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
27564 wxPyEndAllowThreads(__tstate
);
27565 if (PyErr_Occurred()) SWIG_fail
;
27567 resultobj
= SWIG_From_int(static_cast< int >(result
));
27574 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27575 PyObject
*resultobj
= 0;
27576 wxImageList
*arg1
= (wxImageList
*) 0 ;
27583 PyObject
* obj0
= 0 ;
27584 PyObject
* obj1
= 0 ;
27585 char * kwnames
[] = {
27586 (char *) "self",(char *) "icon", NULL
27589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27591 if (!SWIG_IsOK(res1
)) {
27592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
27594 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27596 if (!SWIG_IsOK(res2
)) {
27597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27602 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27605 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
27606 wxPyEndAllowThreads(__tstate
);
27607 if (PyErr_Occurred()) SWIG_fail
;
27609 resultobj
= SWIG_From_int(static_cast< int >(result
));
27616 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27617 PyObject
*resultobj
= 0;
27618 wxImageList
*arg1
= (wxImageList
*) 0 ;
27620 SwigValueWrapper
<wxBitmap
> result
;
27625 PyObject
* obj0
= 0 ;
27626 PyObject
* obj1
= 0 ;
27627 char * kwnames
[] = {
27628 (char *) "self",(char *) "index", NULL
27631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27633 if (!SWIG_IsOK(res1
)) {
27634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
27636 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27638 if (!SWIG_IsOK(ecode2
)) {
27639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
27641 arg2
= static_cast< int >(val2
);
27643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27644 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
27645 wxPyEndAllowThreads(__tstate
);
27646 if (PyErr_Occurred()) SWIG_fail
;
27648 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
27655 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27656 PyObject
*resultobj
= 0;
27657 wxImageList
*arg1
= (wxImageList
*) 0 ;
27664 PyObject
* obj0
= 0 ;
27665 PyObject
* obj1
= 0 ;
27666 char * kwnames
[] = {
27667 (char *) "self",(char *) "index", NULL
27670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27672 if (!SWIG_IsOK(res1
)) {
27673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
27675 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27677 if (!SWIG_IsOK(ecode2
)) {
27678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
27680 arg2
= static_cast< int >(val2
);
27682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27683 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
27684 wxPyEndAllowThreads(__tstate
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27687 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
27694 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27695 PyObject
*resultobj
= 0;
27696 wxImageList
*arg1
= (wxImageList
*) 0 ;
27698 wxBitmap
*arg3
= 0 ;
27699 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
27700 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
27710 PyObject
* obj0
= 0 ;
27711 PyObject
* obj1
= 0 ;
27712 PyObject
* obj2
= 0 ;
27713 PyObject
* obj3
= 0 ;
27714 char * kwnames
[] = {
27715 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
27718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27720 if (!SWIG_IsOK(res1
)) {
27721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
27723 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27725 if (!SWIG_IsOK(ecode2
)) {
27726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
27728 arg2
= static_cast< int >(val2
);
27729 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27730 if (!SWIG_IsOK(res3
)) {
27731 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27736 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27738 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27739 if (!SWIG_IsOK(res4
)) {
27740 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27745 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
27748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27749 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
27750 wxPyEndAllowThreads(__tstate
);
27751 if (PyErr_Occurred()) SWIG_fail
;
27754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27762 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27763 PyObject
*resultobj
= 0;
27764 wxImageList
*arg1
= (wxImageList
*) 0 ;
27769 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
27770 bool arg7
= (bool) (bool)false ;
27786 PyObject
* obj0
= 0 ;
27787 PyObject
* obj1
= 0 ;
27788 PyObject
* obj2
= 0 ;
27789 PyObject
* obj3
= 0 ;
27790 PyObject
* obj4
= 0 ;
27791 PyObject
* obj5
= 0 ;
27792 PyObject
* obj6
= 0 ;
27793 char * kwnames
[] = {
27794 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
27797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27799 if (!SWIG_IsOK(res1
)) {
27800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
27802 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27804 if (!SWIG_IsOK(ecode2
)) {
27805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
27807 arg2
= static_cast< int >(val2
);
27808 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27809 if (!SWIG_IsOK(res3
)) {
27810 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27815 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27816 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27817 if (!SWIG_IsOK(ecode4
)) {
27818 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
27820 arg4
= static_cast< int >(val4
);
27821 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27822 if (!SWIG_IsOK(ecode5
)) {
27823 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
27825 arg5
= static_cast< int >(val5
);
27827 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27828 if (!SWIG_IsOK(ecode6
)) {
27829 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
27831 arg6
= static_cast< int >(val6
);
27834 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
27835 if (!SWIG_IsOK(ecode7
)) {
27836 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
27838 arg7
= static_cast< bool >(val7
);
27841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27842 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
27843 wxPyEndAllowThreads(__tstate
);
27844 if (PyErr_Occurred()) SWIG_fail
;
27847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27855 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27856 PyObject
*resultobj
= 0;
27857 wxImageList
*arg1
= (wxImageList
*) 0 ;
27861 PyObject
*swig_obj
[1] ;
27863 if (!args
) SWIG_fail
;
27864 swig_obj
[0] = args
;
27865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27866 if (!SWIG_IsOK(res1
)) {
27867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
27869 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27872 result
= (int)(arg1
)->GetImageCount();
27873 wxPyEndAllowThreads(__tstate
);
27874 if (PyErr_Occurred()) SWIG_fail
;
27876 resultobj
= SWIG_From_int(static_cast< int >(result
));
27883 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27884 PyObject
*resultobj
= 0;
27885 wxImageList
*arg1
= (wxImageList
*) 0 ;
27892 PyObject
* obj0
= 0 ;
27893 PyObject
* obj1
= 0 ;
27894 char * kwnames
[] = {
27895 (char *) "self",(char *) "index", NULL
27898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27900 if (!SWIG_IsOK(res1
)) {
27901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
27903 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27905 if (!SWIG_IsOK(ecode2
)) {
27906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
27908 arg2
= static_cast< int >(val2
);
27910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27911 result
= (bool)(arg1
)->Remove(arg2
);
27912 wxPyEndAllowThreads(__tstate
);
27913 if (PyErr_Occurred()) SWIG_fail
;
27916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27924 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27925 PyObject
*resultobj
= 0;
27926 wxImageList
*arg1
= (wxImageList
*) 0 ;
27930 PyObject
*swig_obj
[1] ;
27932 if (!args
) SWIG_fail
;
27933 swig_obj
[0] = args
;
27934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27935 if (!SWIG_IsOK(res1
)) {
27936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
27938 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27941 result
= (bool)(arg1
)->RemoveAll();
27942 wxPyEndAllowThreads(__tstate
);
27943 if (PyErr_Occurred()) SWIG_fail
;
27946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27954 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27955 PyObject
*resultobj
= 0;
27956 wxImageList
*arg1
= (wxImageList
*) 0 ;
27965 int res3
= SWIG_TMPOBJ
;
27967 int res4
= SWIG_TMPOBJ
;
27968 PyObject
* obj0
= 0 ;
27969 PyObject
* obj1
= 0 ;
27970 char * kwnames
[] = {
27971 (char *) "self",(char *) "index", NULL
27976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27978 if (!SWIG_IsOK(res1
)) {
27979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
27981 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27983 if (!SWIG_IsOK(ecode2
)) {
27984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
27986 arg2
= static_cast< int >(val2
);
27988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27989 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
27990 wxPyEndAllowThreads(__tstate
);
27991 if (PyErr_Occurred()) SWIG_fail
;
27993 resultobj
= SWIG_Py_Void();
27994 if (SWIG_IsTmpObj(res3
)) {
27995 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27997 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28000 if (SWIG_IsTmpObj(res4
)) {
28001 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28003 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28004 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28012 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28014 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28015 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
28016 return SWIG_Py_Void();
28019 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28020 return SWIG_Python_InitShadowInstance(args
);
28023 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28024 PyObject
*resultobj
= 0;
28025 wxStockGDI
*result
= 0 ;
28027 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
28029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28030 result
= (wxStockGDI
*)new wxStockGDI();
28031 wxPyEndAllowThreads(__tstate
);
28032 if (PyErr_Occurred()) SWIG_fail
;
28034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
28041 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28042 PyObject
*resultobj
= 0;
28043 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
28046 PyObject
*swig_obj
[1] ;
28048 if (!args
) SWIG_fail
;
28049 swig_obj
[0] = args
;
28050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
28051 if (!SWIG_IsOK(res1
)) {
28052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
28054 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
28056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28059 wxPyEndAllowThreads(__tstate
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28062 resultobj
= SWIG_Py_Void();
28069 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28070 PyObject
*resultobj
= 0;
28072 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
28074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28075 wxStockGDI::DeleteAll();
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28079 resultobj
= SWIG_Py_Void();
28086 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28087 PyObject
*resultobj
= 0;
28088 wxStockGDI
*result
= 0 ;
28090 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
28092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28094 wxStockGDI
&_result_ref
= wxStockGDI::instance();
28095 result
= (wxStockGDI
*) &_result_ref
;
28097 wxPyEndAllowThreads(__tstate
);
28098 if (PyErr_Occurred()) SWIG_fail
;
28100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
28107 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28108 PyObject
*resultobj
= 0;
28109 wxStockGDI::Item arg1
;
28110 wxBrush
*result
= 0 ;
28113 PyObject
* obj0
= 0 ;
28114 char * kwnames
[] = {
28115 (char *) "item", NULL
28118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
28119 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28120 if (!SWIG_IsOK(ecode1
)) {
28121 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28123 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28126 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
28127 wxPyEndAllowThreads(__tstate
);
28128 if (PyErr_Occurred()) SWIG_fail
;
28130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28137 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28138 PyObject
*resultobj
= 0;
28139 wxStockGDI::Item arg1
;
28140 wxColour
*result
= 0 ;
28143 PyObject
* obj0
= 0 ;
28144 char * kwnames
[] = {
28145 (char *) "item", NULL
28148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
28149 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28150 if (!SWIG_IsOK(ecode1
)) {
28151 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28153 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28156 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
28157 wxPyEndAllowThreads(__tstate
);
28158 if (PyErr_Occurred()) SWIG_fail
;
28160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
28167 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28168 PyObject
*resultobj
= 0;
28169 wxStockGDI::Item arg1
;
28170 wxCursor
*result
= 0 ;
28173 PyObject
* obj0
= 0 ;
28174 char * kwnames
[] = {
28175 (char *) "item", NULL
28178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
28179 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28180 if (!SWIG_IsOK(ecode1
)) {
28181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28183 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28186 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
28187 wxPyEndAllowThreads(__tstate
);
28188 if (PyErr_Occurred()) SWIG_fail
;
28190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
28197 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28198 PyObject
*resultobj
= 0;
28199 wxStockGDI::Item arg1
;
28200 wxPen
*result
= 0 ;
28203 PyObject
* obj0
= 0 ;
28204 char * kwnames
[] = {
28205 (char *) "item", NULL
28208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
28209 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28210 if (!SWIG_IsOK(ecode1
)) {
28211 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28213 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
28217 wxPyEndAllowThreads(__tstate
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28227 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28228 PyObject
*resultobj
= 0;
28229 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
28230 wxStockGDI::Item arg2
;
28231 wxFont
*result
= 0 ;
28236 PyObject
* obj0
= 0 ;
28237 PyObject
* obj1
= 0 ;
28238 char * kwnames
[] = {
28239 (char *) "self",(char *) "item", NULL
28242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
28244 if (!SWIG_IsOK(res1
)) {
28245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
28247 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
28248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28249 if (!SWIG_IsOK(ecode2
)) {
28250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
28252 arg2
= static_cast< wxStockGDI::Item
>(val2
);
28254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28255 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
28256 wxPyEndAllowThreads(__tstate
);
28257 if (PyErr_Occurred()) SWIG_fail
;
28259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28266 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28268 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28269 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
28270 return SWIG_Py_Void();
28273 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28274 return SWIG_Python_InitShadowInstance(args
);
28277 SWIGINTERN
int NullBitmap_set(PyObject
*) {
28278 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
28283 SWIGINTERN PyObject
*NullBitmap_get(void) {
28284 PyObject
*pyobj
= 0;
28286 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
28291 SWIGINTERN
int NullIcon_set(PyObject
*) {
28292 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
28297 SWIGINTERN PyObject
*NullIcon_get(void) {
28298 PyObject
*pyobj
= 0;
28300 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
28305 SWIGINTERN
int NullCursor_set(PyObject
*) {
28306 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
28311 SWIGINTERN PyObject
*NullCursor_get(void) {
28312 PyObject
*pyobj
= 0;
28314 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
28319 SWIGINTERN
int NullPen_set(PyObject
*) {
28320 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
28325 SWIGINTERN PyObject
*NullPen_get(void) {
28326 PyObject
*pyobj
= 0;
28328 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
28333 SWIGINTERN
int NullBrush_set(PyObject
*) {
28334 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
28339 SWIGINTERN PyObject
*NullBrush_get(void) {
28340 PyObject
*pyobj
= 0;
28342 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
28347 SWIGINTERN
int NullPalette_set(PyObject
*) {
28348 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
28353 SWIGINTERN PyObject
*NullPalette_get(void) {
28354 PyObject
*pyobj
= 0;
28356 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
28361 SWIGINTERN
int NullFont_set(PyObject
*) {
28362 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
28367 SWIGINTERN PyObject
*NullFont_get(void) {
28368 PyObject
*pyobj
= 0;
28370 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
28375 SWIGINTERN
int NullColour_set(PyObject
*) {
28376 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
28381 SWIGINTERN PyObject
*NullColour_get(void) {
28382 PyObject
*pyobj
= 0;
28384 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
28389 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28390 PyObject
*resultobj
= 0;
28391 wxGDIObjListBase
*result
= 0 ;
28393 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28396 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
28407 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28408 PyObject
*resultobj
= 0;
28409 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
28412 PyObject
*swig_obj
[1] ;
28414 if (!args
) SWIG_fail
;
28415 swig_obj
[0] = args
;
28416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
28417 if (!SWIG_IsOK(res1
)) {
28418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
28420 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
28422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28425 wxPyEndAllowThreads(__tstate
);
28426 if (PyErr_Occurred()) SWIG_fail
;
28428 resultobj
= SWIG_Py_Void();
28435 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28437 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28438 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
28439 return SWIG_Py_Void();
28442 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28443 return SWIG_Python_InitShadowInstance(args
);
28446 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28447 PyObject
*resultobj
= 0;
28448 wxPenList
*arg1
= (wxPenList
*) 0 ;
28449 wxColour
*arg2
= 0 ;
28452 wxPen
*result
= 0 ;
28460 PyObject
* obj0
= 0 ;
28461 PyObject
* obj1
= 0 ;
28462 PyObject
* obj2
= 0 ;
28463 PyObject
* obj3
= 0 ;
28464 char * kwnames
[] = {
28465 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
28468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28470 if (!SWIG_IsOK(res1
)) {
28471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28473 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28476 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28478 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28479 if (!SWIG_IsOK(ecode3
)) {
28480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
28482 arg3
= static_cast< int >(val3
);
28483 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28484 if (!SWIG_IsOK(ecode4
)) {
28485 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
28487 arg4
= static_cast< int >(val4
);
28489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28490 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
28491 wxPyEndAllowThreads(__tstate
);
28492 if (PyErr_Occurred()) SWIG_fail
;
28494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28501 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28502 PyObject
*resultobj
= 0;
28503 wxPenList
*arg1
= (wxPenList
*) 0 ;
28504 wxPen
*arg2
= (wxPen
*) 0 ;
28509 PyObject
* obj0
= 0 ;
28510 PyObject
* obj1
= 0 ;
28511 char * kwnames
[] = {
28512 (char *) "self",(char *) "pen", NULL
28515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28517 if (!SWIG_IsOK(res1
)) {
28518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
28520 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28521 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28522 if (!SWIG_IsOK(res2
)) {
28523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
28525 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28528 (arg1
)->AddPen(arg2
);
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28532 resultobj
= SWIG_Py_Void();
28539 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28540 PyObject
*resultobj
= 0;
28541 wxPenList
*arg1
= (wxPenList
*) 0 ;
28542 wxPen
*arg2
= (wxPen
*) 0 ;
28547 PyObject
* obj0
= 0 ;
28548 PyObject
* obj1
= 0 ;
28549 char * kwnames
[] = {
28550 (char *) "self",(char *) "pen", NULL
28553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28555 if (!SWIG_IsOK(res1
)) {
28556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28558 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28559 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28560 if (!SWIG_IsOK(res2
)) {
28561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
28563 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28566 (arg1
)->RemovePen(arg2
);
28567 wxPyEndAllowThreads(__tstate
);
28568 if (PyErr_Occurred()) SWIG_fail
;
28570 resultobj
= SWIG_Py_Void();
28577 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28580 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
28581 return SWIG_Py_Void();
28584 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28585 PyObject
*resultobj
= 0;
28586 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28587 wxColour
*arg2
= 0 ;
28588 int arg3
= (int) wxSOLID
;
28589 wxBrush
*result
= 0 ;
28595 PyObject
* obj0
= 0 ;
28596 PyObject
* obj1
= 0 ;
28597 PyObject
* obj2
= 0 ;
28598 char * kwnames
[] = {
28599 (char *) "self",(char *) "colour",(char *) "style", NULL
28602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28604 if (!SWIG_IsOK(res1
)) {
28605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28607 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28610 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28613 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28614 if (!SWIG_IsOK(ecode3
)) {
28615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
28617 arg3
= static_cast< int >(val3
);
28620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28621 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
28622 wxPyEndAllowThreads(__tstate
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28632 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28633 PyObject
*resultobj
= 0;
28634 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28635 wxBrush
*arg2
= (wxBrush
*) 0 ;
28640 PyObject
* obj0
= 0 ;
28641 PyObject
* obj1
= 0 ;
28642 char * kwnames
[] = {
28643 (char *) "self",(char *) "brush", NULL
28646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28648 if (!SWIG_IsOK(res1
)) {
28649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28651 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28652 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28653 if (!SWIG_IsOK(res2
)) {
28654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28656 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 (arg1
)->AddBrush(arg2
);
28660 wxPyEndAllowThreads(__tstate
);
28661 if (PyErr_Occurred()) SWIG_fail
;
28663 resultobj
= SWIG_Py_Void();
28670 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28671 PyObject
*resultobj
= 0;
28672 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28673 wxBrush
*arg2
= (wxBrush
*) 0 ;
28678 PyObject
* obj0
= 0 ;
28679 PyObject
* obj1
= 0 ;
28680 char * kwnames
[] = {
28681 (char *) "self",(char *) "brush", NULL
28684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28686 if (!SWIG_IsOK(res1
)) {
28687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28689 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28690 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28691 if (!SWIG_IsOK(res2
)) {
28692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28694 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28697 (arg1
)->RemoveBrush(arg2
);
28698 wxPyEndAllowThreads(__tstate
);
28699 if (PyErr_Occurred()) SWIG_fail
;
28701 resultobj
= SWIG_Py_Void();
28708 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28711 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
28712 return SWIG_Py_Void();
28715 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28716 PyObject
*resultobj
= 0;
28717 wxFontList
*arg1
= (wxFontList
*) 0 ;
28722 bool arg6
= (bool) false ;
28723 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28724 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28725 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
28726 wxFont
*result
= 0 ;
28739 bool temp7
= false ;
28742 PyObject
* obj0
= 0 ;
28743 PyObject
* obj1
= 0 ;
28744 PyObject
* obj2
= 0 ;
28745 PyObject
* obj3
= 0 ;
28746 PyObject
* obj4
= 0 ;
28747 PyObject
* obj5
= 0 ;
28748 PyObject
* obj6
= 0 ;
28749 PyObject
* obj7
= 0 ;
28750 char * kwnames
[] = {
28751 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
28754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28756 if (!SWIG_IsOK(res1
)) {
28757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28759 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28761 if (!SWIG_IsOK(ecode2
)) {
28762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
28764 arg2
= static_cast< int >(val2
);
28765 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28766 if (!SWIG_IsOK(ecode3
)) {
28767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
28769 arg3
= static_cast< int >(val3
);
28770 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28771 if (!SWIG_IsOK(ecode4
)) {
28772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
28774 arg4
= static_cast< int >(val4
);
28775 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28776 if (!SWIG_IsOK(ecode5
)) {
28777 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
28779 arg5
= static_cast< int >(val5
);
28781 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
28782 if (!SWIG_IsOK(ecode6
)) {
28783 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
28785 arg6
= static_cast< bool >(val6
);
28789 arg7
= wxString_in_helper(obj6
);
28790 if (arg7
== NULL
) SWIG_fail
;
28795 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
28796 if (!SWIG_IsOK(ecode8
)) {
28797 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
28799 arg8
= static_cast< wxFontEncoding
>(val8
);
28802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28803 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
28804 wxPyEndAllowThreads(__tstate
);
28805 if (PyErr_Occurred()) SWIG_fail
;
28807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28822 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28823 PyObject
*resultobj
= 0;
28824 wxFontList
*arg1
= (wxFontList
*) 0 ;
28825 wxFont
*arg2
= (wxFont
*) 0 ;
28830 PyObject
* obj0
= 0 ;
28831 PyObject
* obj1
= 0 ;
28832 char * kwnames
[] = {
28833 (char *) "self",(char *) "font", NULL
28836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28838 if (!SWIG_IsOK(res1
)) {
28839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28841 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28842 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28843 if (!SWIG_IsOK(res2
)) {
28844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
28846 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28849 (arg1
)->AddFont(arg2
);
28850 wxPyEndAllowThreads(__tstate
);
28851 if (PyErr_Occurred()) SWIG_fail
;
28853 resultobj
= SWIG_Py_Void();
28860 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28861 PyObject
*resultobj
= 0;
28862 wxFontList
*arg1
= (wxFontList
*) 0 ;
28863 wxFont
*arg2
= (wxFont
*) 0 ;
28868 PyObject
* obj0
= 0 ;
28869 PyObject
* obj1
= 0 ;
28870 char * kwnames
[] = {
28871 (char *) "self",(char *) "font", NULL
28874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28876 if (!SWIG_IsOK(res1
)) {
28877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28879 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28880 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28881 if (!SWIG_IsOK(res2
)) {
28882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
28884 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28887 (arg1
)->RemoveFont(arg2
);
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28891 resultobj
= SWIG_Py_Void();
28898 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28900 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28901 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
28902 return SWIG_Py_Void();
28905 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28906 PyObject
*resultobj
= 0;
28907 wxColourDatabase
*result
= 0 ;
28909 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
28911 if (!wxPyCheckForApp()) SWIG_fail
;
28912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28913 result
= (wxColourDatabase
*)new wxColourDatabase();
28914 wxPyEndAllowThreads(__tstate
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
28924 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28925 PyObject
*resultobj
= 0;
28926 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28929 PyObject
*swig_obj
[1] ;
28931 if (!args
) SWIG_fail
;
28932 swig_obj
[0] = args
;
28933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
28934 if (!SWIG_IsOK(res1
)) {
28935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28937 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28942 wxPyEndAllowThreads(__tstate
);
28943 if (PyErr_Occurred()) SWIG_fail
;
28945 resultobj
= SWIG_Py_Void();
28952 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28953 PyObject
*resultobj
= 0;
28954 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28955 wxString
*arg2
= 0 ;
28959 bool temp2
= false ;
28960 PyObject
* obj0
= 0 ;
28961 PyObject
* obj1
= 0 ;
28962 char * kwnames
[] = {
28963 (char *) "self",(char *) "name", NULL
28966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28968 if (!SWIG_IsOK(res1
)) {
28969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28971 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28973 arg2
= wxString_in_helper(obj1
);
28974 if (arg2
== NULL
) SWIG_fail
;
28978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28979 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
28980 wxPyEndAllowThreads(__tstate
);
28981 if (PyErr_Occurred()) SWIG_fail
;
28983 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28998 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28999 PyObject
*resultobj
= 0;
29000 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29001 wxColour
*arg2
= 0 ;
29006 PyObject
* obj0
= 0 ;
29007 PyObject
* obj1
= 0 ;
29008 char * kwnames
[] = {
29009 (char *) "self",(char *) "colour", NULL
29012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29014 if (!SWIG_IsOK(res1
)) {
29015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
29017 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29020 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
29025 wxPyEndAllowThreads(__tstate
);
29026 if (PyErr_Occurred()) SWIG_fail
;
29030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29041 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29042 PyObject
*resultobj
= 0;
29043 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29044 wxString
*arg2
= 0 ;
29045 wxColour
*arg3
= 0 ;
29048 bool temp2
= false ;
29050 PyObject
* obj0
= 0 ;
29051 PyObject
* obj1
= 0 ;
29052 PyObject
* obj2
= 0 ;
29053 char * kwnames
[] = {
29054 (char *) "self",(char *) "name",(char *) "colour", NULL
29057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29059 if (!SWIG_IsOK(res1
)) {
29060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29062 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29064 arg2
= wxString_in_helper(obj1
);
29065 if (arg2
== NULL
) SWIG_fail
;
29070 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29074 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
29075 wxPyEndAllowThreads(__tstate
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29078 resultobj
= SWIG_Py_Void();
29093 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29094 PyObject
*resultobj
= 0;
29095 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
29096 wxString
*arg2
= 0 ;
29102 bool temp2
= false ;
29109 PyObject
* obj0
= 0 ;
29110 PyObject
* obj1
= 0 ;
29111 PyObject
* obj2
= 0 ;
29112 PyObject
* obj3
= 0 ;
29113 PyObject
* obj4
= 0 ;
29114 char * kwnames
[] = {
29115 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
29118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29120 if (!SWIG_IsOK(res1
)) {
29121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
29123 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
29125 arg2
= wxString_in_helper(obj1
);
29126 if (arg2
== NULL
) SWIG_fail
;
29129 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29130 if (!SWIG_IsOK(ecode3
)) {
29131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
29133 arg3
= static_cast< int >(val3
);
29134 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29135 if (!SWIG_IsOK(ecode4
)) {
29136 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
29138 arg4
= static_cast< int >(val4
);
29139 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29140 if (!SWIG_IsOK(ecode5
)) {
29141 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
29143 arg5
= static_cast< int >(val5
);
29145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29146 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29147 wxPyEndAllowThreads(__tstate
);
29148 if (PyErr_Occurred()) SWIG_fail
;
29150 resultobj
= SWIG_Py_Void();
29165 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29167 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29168 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
29169 return SWIG_Py_Void();
29172 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29173 return SWIG_Python_InitShadowInstance(args
);
29176 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29177 PyObject
*resultobj
= 0;
29178 wxFontList
*result
= 0 ;
29180 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
29182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29183 result
= (wxFontList
*)_wxPyInitTheFontList();
29184 wxPyEndAllowThreads(__tstate
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
29194 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29195 PyObject
*resultobj
= 0;
29196 wxPenList
*result
= 0 ;
29198 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
29200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29201 result
= (wxPenList
*)_wxPyInitThePenList();
29202 wxPyEndAllowThreads(__tstate
);
29203 if (PyErr_Occurred()) SWIG_fail
;
29205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
29212 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29213 PyObject
*resultobj
= 0;
29214 wxBrushList
*result
= 0 ;
29216 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
29218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29219 result
= (wxBrushList
*)_wxPyInitTheBrushList();
29220 wxPyEndAllowThreads(__tstate
);
29221 if (PyErr_Occurred()) SWIG_fail
;
29223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
29230 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29231 PyObject
*resultobj
= 0;
29232 wxColourDatabase
*result
= 0 ;
29234 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
29236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29237 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
29238 wxPyEndAllowThreads(__tstate
);
29239 if (PyErr_Occurred()) SWIG_fail
;
29241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29248 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29249 PyObject
*resultobj
= 0;
29250 wxEffects
*result
= 0 ;
29252 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
29254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29255 result
= (wxEffects
*)new wxEffects();
29256 wxPyEndAllowThreads(__tstate
);
29257 if (PyErr_Occurred()) SWIG_fail
;
29259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
29266 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29267 PyObject
*resultobj
= 0;
29268 wxEffects
*arg1
= (wxEffects
*) 0 ;
29272 PyObject
*swig_obj
[1] ;
29274 if (!args
) SWIG_fail
;
29275 swig_obj
[0] = args
;
29276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29277 if (!SWIG_IsOK(res1
)) {
29278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29280 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29283 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
29284 wxPyEndAllowThreads(__tstate
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29287 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29294 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29295 PyObject
*resultobj
= 0;
29296 wxEffects
*arg1
= (wxEffects
*) 0 ;
29300 PyObject
*swig_obj
[1] ;
29302 if (!args
) SWIG_fail
;
29303 swig_obj
[0] = args
;
29304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29305 if (!SWIG_IsOK(res1
)) {
29306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29308 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29311 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
29312 wxPyEndAllowThreads(__tstate
);
29313 if (PyErr_Occurred()) SWIG_fail
;
29315 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29322 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29323 PyObject
*resultobj
= 0;
29324 wxEffects
*arg1
= (wxEffects
*) 0 ;
29328 PyObject
*swig_obj
[1] ;
29330 if (!args
) SWIG_fail
;
29331 swig_obj
[0] = args
;
29332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29333 if (!SWIG_IsOK(res1
)) {
29334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29336 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29339 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
29340 wxPyEndAllowThreads(__tstate
);
29341 if (PyErr_Occurred()) SWIG_fail
;
29343 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29350 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29351 PyObject
*resultobj
= 0;
29352 wxEffects
*arg1
= (wxEffects
*) 0 ;
29356 PyObject
*swig_obj
[1] ;
29358 if (!args
) SWIG_fail
;
29359 swig_obj
[0] = args
;
29360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29361 if (!SWIG_IsOK(res1
)) {
29362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29364 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29367 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
29368 wxPyEndAllowThreads(__tstate
);
29369 if (PyErr_Occurred()) SWIG_fail
;
29371 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29378 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29379 PyObject
*resultobj
= 0;
29380 wxEffects
*arg1
= (wxEffects
*) 0 ;
29384 PyObject
*swig_obj
[1] ;
29386 if (!args
) SWIG_fail
;
29387 swig_obj
[0] = args
;
29388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29389 if (!SWIG_IsOK(res1
)) {
29390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29392 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29395 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
29396 wxPyEndAllowThreads(__tstate
);
29397 if (PyErr_Occurred()) SWIG_fail
;
29399 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29406 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29407 PyObject
*resultobj
= 0;
29408 wxEffects
*arg1
= (wxEffects
*) 0 ;
29409 wxColour
*arg2
= 0 ;
29413 PyObject
* obj0
= 0 ;
29414 PyObject
* obj1
= 0 ;
29415 char * kwnames
[] = {
29416 (char *) "self",(char *) "c", NULL
29419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29421 if (!SWIG_IsOK(res1
)) {
29422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29424 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29427 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29431 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
29432 wxPyEndAllowThreads(__tstate
);
29433 if (PyErr_Occurred()) SWIG_fail
;
29435 resultobj
= SWIG_Py_Void();
29442 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29443 PyObject
*resultobj
= 0;
29444 wxEffects
*arg1
= (wxEffects
*) 0 ;
29445 wxColour
*arg2
= 0 ;
29449 PyObject
* obj0
= 0 ;
29450 PyObject
* obj1
= 0 ;
29451 char * kwnames
[] = {
29452 (char *) "self",(char *) "c", NULL
29455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29457 if (!SWIG_IsOK(res1
)) {
29458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29460 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29463 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29467 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
29468 wxPyEndAllowThreads(__tstate
);
29469 if (PyErr_Occurred()) SWIG_fail
;
29471 resultobj
= SWIG_Py_Void();
29478 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29479 PyObject
*resultobj
= 0;
29480 wxEffects
*arg1
= (wxEffects
*) 0 ;
29481 wxColour
*arg2
= 0 ;
29485 PyObject
* obj0
= 0 ;
29486 PyObject
* obj1
= 0 ;
29487 char * kwnames
[] = {
29488 (char *) "self",(char *) "c", NULL
29491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29493 if (!SWIG_IsOK(res1
)) {
29494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29496 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29499 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29503 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
29504 wxPyEndAllowThreads(__tstate
);
29505 if (PyErr_Occurred()) SWIG_fail
;
29507 resultobj
= SWIG_Py_Void();
29514 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29515 PyObject
*resultobj
= 0;
29516 wxEffects
*arg1
= (wxEffects
*) 0 ;
29517 wxColour
*arg2
= 0 ;
29521 PyObject
* obj0
= 0 ;
29522 PyObject
* obj1
= 0 ;
29523 char * kwnames
[] = {
29524 (char *) "self",(char *) "c", NULL
29527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29529 if (!SWIG_IsOK(res1
)) {
29530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29532 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29535 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29539 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
29540 wxPyEndAllowThreads(__tstate
);
29541 if (PyErr_Occurred()) SWIG_fail
;
29543 resultobj
= SWIG_Py_Void();
29550 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29551 PyObject
*resultobj
= 0;
29552 wxEffects
*arg1
= (wxEffects
*) 0 ;
29553 wxColour
*arg2
= 0 ;
29557 PyObject
* obj0
= 0 ;
29558 PyObject
* obj1
= 0 ;
29559 char * kwnames
[] = {
29560 (char *) "self",(char *) "c", NULL
29563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29565 if (!SWIG_IsOK(res1
)) {
29566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29568 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29571 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29575 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
29576 wxPyEndAllowThreads(__tstate
);
29577 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= SWIG_Py_Void();
29586 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
= 0;
29588 wxEffects
*arg1
= (wxEffects
*) 0 ;
29589 wxColour
*arg2
= 0 ;
29590 wxColour
*arg3
= 0 ;
29591 wxColour
*arg4
= 0 ;
29592 wxColour
*arg5
= 0 ;
29593 wxColour
*arg6
= 0 ;
29601 PyObject
* obj0
= 0 ;
29602 PyObject
* obj1
= 0 ;
29603 PyObject
* obj2
= 0 ;
29604 PyObject
* obj3
= 0 ;
29605 PyObject
* obj4
= 0 ;
29606 PyObject
* obj5
= 0 ;
29607 char * kwnames
[] = {
29608 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
29611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29613 if (!SWIG_IsOK(res1
)) {
29614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
29616 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29619 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29623 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29627 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
29631 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
29635 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
29638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29639 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
29640 wxPyEndAllowThreads(__tstate
);
29641 if (PyErr_Occurred()) SWIG_fail
;
29643 resultobj
= SWIG_Py_Void();
29650 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29651 PyObject
*resultobj
= 0;
29652 wxEffects
*arg1
= (wxEffects
*) 0 ;
29655 int arg4
= (int) 1 ;
29663 PyObject
* obj0
= 0 ;
29664 PyObject
* obj1
= 0 ;
29665 PyObject
* obj2
= 0 ;
29666 PyObject
* obj3
= 0 ;
29667 char * kwnames
[] = {
29668 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
29671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29673 if (!SWIG_IsOK(res1
)) {
29674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
29676 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29677 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
29678 if (!SWIG_IsOK(res2
)) {
29679 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29682 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29684 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29687 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29690 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29691 if (!SWIG_IsOK(ecode4
)) {
29692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
29694 arg4
= static_cast< int >(val4
);
29697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29698 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
29699 wxPyEndAllowThreads(__tstate
);
29700 if (PyErr_Occurred()) SWIG_fail
;
29702 resultobj
= SWIG_Py_Void();
29709 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29710 PyObject
*resultobj
= 0;
29711 wxEffects
*arg1
= (wxEffects
*) 0 ;
29714 wxBitmap
*arg4
= 0 ;
29723 PyObject
* obj0
= 0 ;
29724 PyObject
* obj1
= 0 ;
29725 PyObject
* obj2
= 0 ;
29726 PyObject
* obj3
= 0 ;
29727 char * kwnames
[] = {
29728 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
29731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29733 if (!SWIG_IsOK(res1
)) {
29734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
29736 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29739 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29741 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29742 if (!SWIG_IsOK(res3
)) {
29743 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29748 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29749 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
29750 if (!SWIG_IsOK(res4
)) {
29751 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29756 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
29758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29759 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
29760 wxPyEndAllowThreads(__tstate
);
29761 if (PyErr_Occurred()) SWIG_fail
;
29764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29772 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29774 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29775 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
29776 return SWIG_Py_Void();
29779 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29780 return SWIG_Python_InitShadowInstance(args
);
29783 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29784 PyObject
*resultobj
= 0;
29788 wxSplitterRenderParams
*result
= 0 ;
29795 PyObject
* obj0
= 0 ;
29796 PyObject
* obj1
= 0 ;
29797 PyObject
* obj2
= 0 ;
29798 char * kwnames
[] = {
29799 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
29802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29803 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29804 if (!SWIG_IsOK(ecode1
)) {
29805 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
29807 arg1
= static_cast< int >(val1
);
29808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29809 if (!SWIG_IsOK(ecode2
)) {
29810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
29812 arg2
= static_cast< int >(val2
);
29813 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29814 if (!SWIG_IsOK(ecode3
)) {
29815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
29817 arg3
= static_cast< bool >(val3
);
29819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29820 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
29821 wxPyEndAllowThreads(__tstate
);
29822 if (PyErr_Occurred()) SWIG_fail
;
29824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
29831 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29832 PyObject
*resultobj
= 0;
29833 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29836 PyObject
*swig_obj
[1] ;
29838 if (!args
) SWIG_fail
;
29839 swig_obj
[0] = args
;
29840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
29841 if (!SWIG_IsOK(res1
)) {
29842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29844 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29849 wxPyEndAllowThreads(__tstate
);
29850 if (PyErr_Occurred()) SWIG_fail
;
29852 resultobj
= SWIG_Py_Void();
29859 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29860 PyObject
*resultobj
= 0;
29861 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29865 PyObject
*swig_obj
[1] ;
29867 if (!args
) SWIG_fail
;
29868 swig_obj
[0] = args
;
29869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29870 if (!SWIG_IsOK(res1
)) {
29871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29873 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29874 result
= (int)(int) ((arg1
)->widthSash
);
29875 resultobj
= SWIG_From_int(static_cast< int >(result
));
29882 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29883 PyObject
*resultobj
= 0;
29884 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29888 PyObject
*swig_obj
[1] ;
29890 if (!args
) SWIG_fail
;
29891 swig_obj
[0] = args
;
29892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29893 if (!SWIG_IsOK(res1
)) {
29894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29896 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29897 result
= (int)(int) ((arg1
)->border
);
29898 resultobj
= SWIG_From_int(static_cast< int >(result
));
29905 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29906 PyObject
*resultobj
= 0;
29907 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29911 PyObject
*swig_obj
[1] ;
29913 if (!args
) SWIG_fail
;
29914 swig_obj
[0] = args
;
29915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29916 if (!SWIG_IsOK(res1
)) {
29917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29919 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29920 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
29921 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
29928 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29930 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29931 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
29932 return SWIG_Py_Void();
29935 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29936 return SWIG_Python_InitShadowInstance(args
);
29939 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29940 PyObject
*resultobj
= 0;
29941 wxHeaderButtonParams
*result
= 0 ;
29943 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
29945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29946 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
29947 wxPyEndAllowThreads(__tstate
);
29948 if (PyErr_Occurred()) SWIG_fail
;
29950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
29957 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29958 PyObject
*resultobj
= 0;
29959 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29962 PyObject
*swig_obj
[1] ;
29964 if (!args
) SWIG_fail
;
29965 swig_obj
[0] = args
;
29966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
29967 if (!SWIG_IsOK(res1
)) {
29968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29970 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29975 wxPyEndAllowThreads(__tstate
);
29976 if (PyErr_Occurred()) SWIG_fail
;
29978 resultobj
= SWIG_Py_Void();
29985 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29986 PyObject
*resultobj
= 0;
29987 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29988 wxColour
*arg2
= (wxColour
*) 0 ;
29992 PyObject
*swig_obj
[2] ;
29994 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
29995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29996 if (!SWIG_IsOK(res1
)) {
29997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29999 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30002 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30004 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
30006 resultobj
= SWIG_Py_Void();
30013 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30014 PyObject
*resultobj
= 0;
30015 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30016 wxColour
*result
= 0 ;
30019 PyObject
*swig_obj
[1] ;
30021 if (!args
) SWIG_fail
;
30022 swig_obj
[0] = args
;
30023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30024 if (!SWIG_IsOK(res1
)) {
30025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30027 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30028 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
30029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30036 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30037 PyObject
*resultobj
= 0;
30038 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30039 wxColour
*arg2
= (wxColour
*) 0 ;
30043 PyObject
*swig_obj
[2] ;
30045 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
30046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30047 if (!SWIG_IsOK(res1
)) {
30048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30050 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30053 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30055 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
30057 resultobj
= SWIG_Py_Void();
30064 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30065 PyObject
*resultobj
= 0;
30066 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30067 wxColour
*result
= 0 ;
30070 PyObject
*swig_obj
[1] ;
30072 if (!args
) SWIG_fail
;
30073 swig_obj
[0] = args
;
30074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30075 if (!SWIG_IsOK(res1
)) {
30076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30078 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30079 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
30080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30087 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30088 PyObject
*resultobj
= 0;
30089 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30090 wxString
*arg2
= (wxString
*) 0 ;
30093 bool temp2
= false ;
30094 PyObject
*swig_obj
[2] ;
30096 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
30097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30098 if (!SWIG_IsOK(res1
)) {
30099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30101 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30103 arg2
= wxString_in_helper(swig_obj
[1]);
30104 if (arg2
== NULL
) SWIG_fail
;
30107 if (arg1
) (arg1
)->m_labelText
= *arg2
;
30109 resultobj
= SWIG_Py_Void();
30124 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30125 PyObject
*resultobj
= 0;
30126 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30127 wxString
*result
= 0 ;
30130 PyObject
*swig_obj
[1] ;
30132 if (!args
) SWIG_fail
;
30133 swig_obj
[0] = args
;
30134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30135 if (!SWIG_IsOK(res1
)) {
30136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30138 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30139 result
= (wxString
*)& ((arg1
)->m_labelText
);
30142 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30144 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30153 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30154 PyObject
*resultobj
= 0;
30155 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30156 wxFont
*arg2
= (wxFont
*) 0 ;
30161 PyObject
*swig_obj
[2] ;
30163 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
30164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30165 if (!SWIG_IsOK(res1
)) {
30166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30168 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30169 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
30170 if (!SWIG_IsOK(res2
)) {
30171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
30173 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30174 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
30176 resultobj
= SWIG_Py_Void();
30183 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30184 PyObject
*resultobj
= 0;
30185 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30186 wxFont
*result
= 0 ;
30189 PyObject
*swig_obj
[1] ;
30191 if (!args
) SWIG_fail
;
30192 swig_obj
[0] = args
;
30193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30194 if (!SWIG_IsOK(res1
)) {
30195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30197 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30198 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
30199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
30206 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30207 PyObject
*resultobj
= 0;
30208 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30209 wxColour
*arg2
= (wxColour
*) 0 ;
30213 PyObject
*swig_obj
[2] ;
30215 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
30216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30217 if (!SWIG_IsOK(res1
)) {
30218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30220 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30223 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30225 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
30227 resultobj
= SWIG_Py_Void();
30234 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30235 PyObject
*resultobj
= 0;
30236 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30237 wxColour
*result
= 0 ;
30240 PyObject
*swig_obj
[1] ;
30242 if (!args
) SWIG_fail
;
30243 swig_obj
[0] = args
;
30244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30245 if (!SWIG_IsOK(res1
)) {
30246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30248 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30249 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
30250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30257 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30258 PyObject
*resultobj
= 0;
30259 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30260 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30265 PyObject
*swig_obj
[2] ;
30267 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
30268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30269 if (!SWIG_IsOK(res1
)) {
30270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30272 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30273 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
30274 if (!SWIG_IsOK(res2
)) {
30275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
30277 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30278 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
30280 resultobj
= SWIG_Py_Void();
30287 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30288 PyObject
*resultobj
= 0;
30289 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30290 wxBitmap
*result
= 0 ;
30293 PyObject
*swig_obj
[1] ;
30295 if (!args
) SWIG_fail
;
30296 swig_obj
[0] = args
;
30297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30298 if (!SWIG_IsOK(res1
)) {
30299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30301 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30302 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
30303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
30310 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30311 PyObject
*resultobj
= 0;
30312 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30318 PyObject
*swig_obj
[2] ;
30320 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
30321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30322 if (!SWIG_IsOK(res1
)) {
30323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30325 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30326 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30327 if (!SWIG_IsOK(ecode2
)) {
30328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
30330 arg2
= static_cast< int >(val2
);
30331 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
30333 resultobj
= SWIG_Py_Void();
30340 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30341 PyObject
*resultobj
= 0;
30342 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30346 PyObject
*swig_obj
[1] ;
30348 if (!args
) SWIG_fail
;
30349 swig_obj
[0] = args
;
30350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30351 if (!SWIG_IsOK(res1
)) {
30352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30354 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30355 result
= (int) ((arg1
)->m_labelAlignment
);
30356 resultobj
= SWIG_From_int(static_cast< int >(result
));
30363 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30366 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
30367 return SWIG_Py_Void();
30370 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30371 return SWIG_Python_InitShadowInstance(args
);
30374 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30375 PyObject
*resultobj
= 0;
30378 wxRendererVersion
*result
= 0 ;
30383 PyObject
* obj0
= 0 ;
30384 PyObject
* obj1
= 0 ;
30385 char * kwnames
[] = {
30386 (char *) "version_",(char *) "age_", NULL
30389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30390 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30391 if (!SWIG_IsOK(ecode1
)) {
30392 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
30394 arg1
= static_cast< int >(val1
);
30395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30396 if (!SWIG_IsOK(ecode2
)) {
30397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
30399 arg2
= static_cast< int >(val2
);
30401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30402 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
30403 wxPyEndAllowThreads(__tstate
);
30404 if (PyErr_Occurred()) SWIG_fail
;
30406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
30413 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30414 PyObject
*resultobj
= 0;
30415 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30418 PyObject
*swig_obj
[1] ;
30420 if (!args
) SWIG_fail
;
30421 swig_obj
[0] = args
;
30422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
30423 if (!SWIG_IsOK(res1
)) {
30424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30426 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30431 wxPyEndAllowThreads(__tstate
);
30432 if (PyErr_Occurred()) SWIG_fail
;
30434 resultobj
= SWIG_Py_Void();
30441 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30442 PyObject
*resultobj
= 0;
30443 wxRendererVersion
*arg1
= 0 ;
30447 PyObject
* obj0
= 0 ;
30448 char * kwnames
[] = {
30449 (char *) "ver", NULL
30452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
30453 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
30454 if (!SWIG_IsOK(res1
)) {
30455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30458 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30460 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30463 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
30464 wxPyEndAllowThreads(__tstate
);
30465 if (PyErr_Occurred()) SWIG_fail
;
30468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30476 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30477 PyObject
*resultobj
= 0;
30478 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30482 PyObject
*swig_obj
[1] ;
30484 if (!args
) SWIG_fail
;
30485 swig_obj
[0] = args
;
30486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30487 if (!SWIG_IsOK(res1
)) {
30488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30490 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30491 result
= (int)(int) ((arg1
)->version
);
30492 resultobj
= SWIG_From_int(static_cast< int >(result
));
30499 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30500 PyObject
*resultobj
= 0;
30501 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30505 PyObject
*swig_obj
[1] ;
30507 if (!args
) SWIG_fail
;
30508 swig_obj
[0] = args
;
30509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30510 if (!SWIG_IsOK(res1
)) {
30511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30513 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30514 result
= (int)(int) ((arg1
)->age
);
30515 resultobj
= SWIG_From_int(static_cast< int >(result
));
30522 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30524 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30525 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
30526 return SWIG_Py_Void();
30529 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30530 return SWIG_Python_InitShadowInstance(args
);
30533 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30534 PyObject
*resultobj
= 0;
30535 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30536 wxWindow
*arg2
= (wxWindow
*) 0 ;
30539 int arg5
= (int) 0 ;
30540 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30541 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30555 PyObject
* obj0
= 0 ;
30556 PyObject
* obj1
= 0 ;
30557 PyObject
* obj2
= 0 ;
30558 PyObject
* obj3
= 0 ;
30559 PyObject
* obj4
= 0 ;
30560 PyObject
* obj5
= 0 ;
30561 PyObject
* obj6
= 0 ;
30562 char * kwnames
[] = {
30563 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30568 if (!SWIG_IsOK(res1
)) {
30569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30571 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30572 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30573 if (!SWIG_IsOK(res2
)) {
30574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30576 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30577 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30578 if (!SWIG_IsOK(res3
)) {
30579 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30584 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30587 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30590 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30591 if (!SWIG_IsOK(ecode5
)) {
30592 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
30594 arg5
= static_cast< int >(val5
);
30597 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30598 if (!SWIG_IsOK(ecode6
)) {
30599 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30601 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30604 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30605 if (!SWIG_IsOK(res7
)) {
30606 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30608 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30612 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30613 wxPyEndAllowThreads(__tstate
);
30614 if (PyErr_Occurred()) SWIG_fail
;
30616 resultobj
= SWIG_Py_Void();
30623 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30624 PyObject
*resultobj
= 0;
30625 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30626 wxWindow
*arg2
= (wxWindow
*) 0 ;
30629 int arg5
= (int) 0 ;
30630 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30631 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30645 PyObject
* obj0
= 0 ;
30646 PyObject
* obj1
= 0 ;
30647 PyObject
* obj2
= 0 ;
30648 PyObject
* obj3
= 0 ;
30649 PyObject
* obj4
= 0 ;
30650 PyObject
* obj5
= 0 ;
30651 PyObject
* obj6
= 0 ;
30652 char * kwnames
[] = {
30653 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30658 if (!SWIG_IsOK(res1
)) {
30659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30661 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30662 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30663 if (!SWIG_IsOK(res2
)) {
30664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
30666 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30667 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30668 if (!SWIG_IsOK(res3
)) {
30669 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30674 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30677 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30680 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30681 if (!SWIG_IsOK(ecode5
)) {
30682 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
30684 arg5
= static_cast< int >(val5
);
30687 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30688 if (!SWIG_IsOK(ecode6
)) {
30689 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30691 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30694 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30695 if (!SWIG_IsOK(res7
)) {
30696 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30698 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30702 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30703 wxPyEndAllowThreads(__tstate
);
30704 if (PyErr_Occurred()) SWIG_fail
;
30706 resultobj
= SWIG_Py_Void();
30713 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30714 PyObject
*resultobj
= 0;
30715 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30716 wxWindow
*arg2
= (wxWindow
*) 0 ;
30722 PyObject
* obj0
= 0 ;
30723 PyObject
* obj1
= 0 ;
30724 char * kwnames
[] = {
30725 (char *) "self",(char *) "win", NULL
30728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30730 if (!SWIG_IsOK(res1
)) {
30731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30733 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30734 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30735 if (!SWIG_IsOK(res2
)) {
30736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
30738 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30741 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
30742 wxPyEndAllowThreads(__tstate
);
30743 if (PyErr_Occurred()) SWIG_fail
;
30745 resultobj
= SWIG_From_int(static_cast< int >(result
));
30752 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30753 PyObject
*resultobj
= 0;
30754 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30755 wxWindow
*arg2
= (wxWindow
*) 0 ;
30758 int arg5
= (int) 0 ;
30768 PyObject
* obj0
= 0 ;
30769 PyObject
* obj1
= 0 ;
30770 PyObject
* obj2
= 0 ;
30771 PyObject
* obj3
= 0 ;
30772 PyObject
* obj4
= 0 ;
30773 char * kwnames
[] = {
30774 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30779 if (!SWIG_IsOK(res1
)) {
30780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30782 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30783 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30784 if (!SWIG_IsOK(res2
)) {
30785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30787 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30788 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30789 if (!SWIG_IsOK(res3
)) {
30790 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30795 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30798 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30801 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30802 if (!SWIG_IsOK(ecode5
)) {
30803 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
30805 arg5
= static_cast< int >(val5
);
30808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30809 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30810 wxPyEndAllowThreads(__tstate
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30813 resultobj
= SWIG_Py_Void();
30820 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30821 PyObject
*resultobj
= 0;
30822 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30823 wxWindow
*arg2
= (wxWindow
*) 0 ;
30826 int arg5
= (int) 0 ;
30836 PyObject
* obj0
= 0 ;
30837 PyObject
* obj1
= 0 ;
30838 PyObject
* obj2
= 0 ;
30839 PyObject
* obj3
= 0 ;
30840 PyObject
* obj4
= 0 ;
30841 char * kwnames
[] = {
30842 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30847 if (!SWIG_IsOK(res1
)) {
30848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30850 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30851 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30852 if (!SWIG_IsOK(res2
)) {
30853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
30855 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30856 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30857 if (!SWIG_IsOK(res3
)) {
30858 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30863 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30866 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30869 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30870 if (!SWIG_IsOK(ecode5
)) {
30871 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
30873 arg5
= static_cast< int >(val5
);
30876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30877 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30878 wxPyEndAllowThreads(__tstate
);
30879 if (PyErr_Occurred()) SWIG_fail
;
30881 resultobj
= SWIG_Py_Void();
30888 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30889 PyObject
*resultobj
= 0;
30890 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30891 wxWindow
*arg2
= (wxWindow
*) 0 ;
30895 wxOrientation arg6
;
30896 int arg7
= (int) 0 ;
30910 PyObject
* obj0
= 0 ;
30911 PyObject
* obj1
= 0 ;
30912 PyObject
* obj2
= 0 ;
30913 PyObject
* obj3
= 0 ;
30914 PyObject
* obj4
= 0 ;
30915 PyObject
* obj5
= 0 ;
30916 PyObject
* obj6
= 0 ;
30917 char * kwnames
[] = {
30918 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
30921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30923 if (!SWIG_IsOK(res1
)) {
30924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30926 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30927 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30928 if (!SWIG_IsOK(res2
)) {
30929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
30931 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30932 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30933 if (!SWIG_IsOK(res3
)) {
30934 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30937 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30939 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30942 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30944 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30945 if (!SWIG_IsOK(ecode5
)) {
30946 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
30948 arg5
= static_cast< int >(val5
);
30949 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30950 if (!SWIG_IsOK(ecode6
)) {
30951 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
30953 arg6
= static_cast< wxOrientation
>(val6
);
30955 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
30956 if (!SWIG_IsOK(ecode7
)) {
30957 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
30959 arg7
= static_cast< int >(val7
);
30962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30963 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
30964 wxPyEndAllowThreads(__tstate
);
30965 if (PyErr_Occurred()) SWIG_fail
;
30967 resultobj
= SWIG_Py_Void();
30974 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30975 PyObject
*resultobj
= 0;
30976 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30977 wxWindow
*arg2
= (wxWindow
*) 0 ;
30980 int arg5
= (int) 0 ;
30990 PyObject
* obj0
= 0 ;
30991 PyObject
* obj1
= 0 ;
30992 PyObject
* obj2
= 0 ;
30993 PyObject
* obj3
= 0 ;
30994 PyObject
* obj4
= 0 ;
30995 char * kwnames
[] = {
30996 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31001 if (!SWIG_IsOK(res1
)) {
31002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31004 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31005 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31006 if (!SWIG_IsOK(res2
)) {
31007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31009 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31010 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31011 if (!SWIG_IsOK(res3
)) {
31012 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
31015 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
31017 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31020 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31023 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31024 if (!SWIG_IsOK(ecode5
)) {
31025 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
31027 arg5
= static_cast< int >(val5
);
31030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31031 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31032 wxPyEndAllowThreads(__tstate
);
31033 if (PyErr_Occurred()) SWIG_fail
;
31035 resultobj
= SWIG_Py_Void();
31042 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31043 PyObject
*resultobj
= 0;
31044 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31045 wxWindow
*arg2
= (wxWindow
*) 0 ;
31048 int arg5
= (int) 0 ;
31058 PyObject
* obj0
= 0 ;
31059 PyObject
* obj1
= 0 ;
31060 PyObject
* obj2
= 0 ;
31061 PyObject
* obj3
= 0 ;
31062 PyObject
* obj4
= 0 ;
31063 char * kwnames
[] = {
31064 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31069 if (!SWIG_IsOK(res1
)) {
31070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31072 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31073 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31074 if (!SWIG_IsOK(res2
)) {
31075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
31077 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31078 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31079 if (!SWIG_IsOK(res3
)) {
31080 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
31083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
31085 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31088 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31091 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31092 if (!SWIG_IsOK(ecode5
)) {
31093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
31095 arg5
= static_cast< int >(val5
);
31098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31099 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31100 wxPyEndAllowThreads(__tstate
);
31101 if (PyErr_Occurred()) SWIG_fail
;
31103 resultobj
= SWIG_Py_Void();
31110 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31111 PyObject
*resultobj
= 0;
31112 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31113 wxWindow
*arg2
= (wxWindow
*) 0 ;
31116 int arg5
= (int) 0 ;
31126 PyObject
* obj0
= 0 ;
31127 PyObject
* obj1
= 0 ;
31128 PyObject
* obj2
= 0 ;
31129 PyObject
* obj3
= 0 ;
31130 PyObject
* obj4
= 0 ;
31131 char * kwnames
[] = {
31132 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31137 if (!SWIG_IsOK(res1
)) {
31138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31140 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31142 if (!SWIG_IsOK(res2
)) {
31143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
31145 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31146 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31147 if (!SWIG_IsOK(res3
)) {
31148 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
31151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
31153 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31156 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31159 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31160 if (!SWIG_IsOK(ecode5
)) {
31161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
31163 arg5
= static_cast< int >(val5
);
31166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31167 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31168 wxPyEndAllowThreads(__tstate
);
31169 if (PyErr_Occurred()) SWIG_fail
;
31171 resultobj
= SWIG_Py_Void();
31178 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31179 PyObject
*resultobj
= 0;
31180 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31181 wxWindow
*arg2
= (wxWindow
*) 0 ;
31184 int arg5
= (int) 0 ;
31194 PyObject
* obj0
= 0 ;
31195 PyObject
* obj1
= 0 ;
31196 PyObject
* obj2
= 0 ;
31197 PyObject
* obj3
= 0 ;
31198 PyObject
* obj4
= 0 ;
31199 char * kwnames
[] = {
31200 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31205 if (!SWIG_IsOK(res1
)) {
31206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31208 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31209 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31210 if (!SWIG_IsOK(res2
)) {
31211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31213 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31214 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31215 if (!SWIG_IsOK(res3
)) {
31216 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31221 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31224 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31227 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31228 if (!SWIG_IsOK(ecode5
)) {
31229 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
31231 arg5
= static_cast< int >(val5
);
31234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31235 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31236 wxPyEndAllowThreads(__tstate
);
31237 if (PyErr_Occurred()) SWIG_fail
;
31239 resultobj
= SWIG_Py_Void();
31246 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31247 PyObject
*resultobj
= 0;
31248 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31249 wxWindow
*arg2
= (wxWindow
*) 0 ;
31252 int arg5
= (int) 0 ;
31262 PyObject
* obj0
= 0 ;
31263 PyObject
* obj1
= 0 ;
31264 PyObject
* obj2
= 0 ;
31265 PyObject
* obj3
= 0 ;
31266 PyObject
* obj4
= 0 ;
31267 char * kwnames
[] = {
31268 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31273 if (!SWIG_IsOK(res1
)) {
31274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31276 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31277 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31278 if (!SWIG_IsOK(res2
)) {
31279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
31281 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31282 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31283 if (!SWIG_IsOK(res3
)) {
31284 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31289 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31292 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31295 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31296 if (!SWIG_IsOK(ecode5
)) {
31297 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
31299 arg5
= static_cast< int >(val5
);
31302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31303 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31304 wxPyEndAllowThreads(__tstate
);
31305 if (PyErr_Occurred()) SWIG_fail
;
31307 resultobj
= SWIG_Py_Void();
31314 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31315 PyObject
*resultobj
= 0;
31316 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31317 wxWindow
*arg2
= (wxWindow
*) 0 ;
31318 SwigValueWrapper
<wxSplitterRenderParams
> result
;
31323 PyObject
* obj0
= 0 ;
31324 PyObject
* obj1
= 0 ;
31325 char * kwnames
[] = {
31326 (char *) "self",(char *) "win", NULL
31329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31331 if (!SWIG_IsOK(res1
)) {
31332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31334 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31335 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31336 if (!SWIG_IsOK(res2
)) {
31337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
31339 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31342 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
31343 wxPyEndAllowThreads(__tstate
);
31344 if (PyErr_Occurred()) SWIG_fail
;
31346 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
31353 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31354 PyObject
*resultobj
= 0;
31355 wxRendererNative
*result
= 0 ;
31357 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
31359 if (!wxPyCheckForApp()) SWIG_fail
;
31360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31362 wxRendererNative
&_result_ref
= wxRendererNative::Get();
31363 result
= (wxRendererNative
*) &_result_ref
;
31365 wxPyEndAllowThreads(__tstate
);
31366 if (PyErr_Occurred()) SWIG_fail
;
31368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31375 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31376 PyObject
*resultobj
= 0;
31377 wxRendererNative
*result
= 0 ;
31379 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
31381 if (!wxPyCheckForApp()) SWIG_fail
;
31382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31384 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
31385 result
= (wxRendererNative
*) &_result_ref
;
31387 wxPyEndAllowThreads(__tstate
);
31388 if (PyErr_Occurred()) SWIG_fail
;
31390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31397 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31398 PyObject
*resultobj
= 0;
31399 wxRendererNative
*result
= 0 ;
31401 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
31403 if (!wxPyCheckForApp()) SWIG_fail
;
31404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31406 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
31407 result
= (wxRendererNative
*) &_result_ref
;
31409 wxPyEndAllowThreads(__tstate
);
31410 if (PyErr_Occurred()) SWIG_fail
;
31412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31419 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31420 PyObject
*resultobj
= 0;
31421 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31422 wxRendererNative
*result
= 0 ;
31425 PyObject
* obj0
= 0 ;
31426 char * kwnames
[] = {
31427 (char *) "renderer", NULL
31430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
31431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31432 if (!SWIG_IsOK(res1
)) {
31433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31435 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31437 if (!wxPyCheckForApp()) SWIG_fail
;
31438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31439 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
31440 wxPyEndAllowThreads(__tstate
);
31441 if (PyErr_Occurred()) SWIG_fail
;
31443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31450 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31451 PyObject
*resultobj
= 0;
31452 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31453 SwigValueWrapper
<wxRendererVersion
> result
;
31456 PyObject
*swig_obj
[1] ;
31458 if (!args
) SWIG_fail
;
31459 swig_obj
[0] = args
;
31460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31461 if (!SWIG_IsOK(res1
)) {
31462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
31464 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31467 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
31468 wxPyEndAllowThreads(__tstate
);
31469 if (PyErr_Occurred()) SWIG_fail
;
31471 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
31478 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31480 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31481 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
31482 return SWIG_Py_Void();
31485 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31486 PyObject
*resultobj
= 0;
31487 wxPseudoDC
*result
= 0 ;
31489 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
31491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31492 result
= (wxPseudoDC
*)new wxPseudoDC();
31493 wxPyEndAllowThreads(__tstate
);
31494 if (PyErr_Occurred()) SWIG_fail
;
31496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
31503 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31504 PyObject
*resultobj
= 0;
31505 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31508 PyObject
*swig_obj
[1] ;
31510 if (!args
) SWIG_fail
;
31511 swig_obj
[0] = args
;
31512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31513 if (!SWIG_IsOK(res1
)) {
31514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31516 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31519 (arg1
)->BeginDrawing();
31520 wxPyEndAllowThreads(__tstate
);
31521 if (PyErr_Occurred()) SWIG_fail
;
31523 resultobj
= SWIG_Py_Void();
31530 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31531 PyObject
*resultobj
= 0;
31532 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31535 PyObject
*swig_obj
[1] ;
31537 if (!args
) SWIG_fail
;
31538 swig_obj
[0] = args
;
31539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31540 if (!SWIG_IsOK(res1
)) {
31541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31543 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31546 (arg1
)->EndDrawing();
31547 wxPyEndAllowThreads(__tstate
);
31548 if (PyErr_Occurred()) SWIG_fail
;
31550 resultobj
= SWIG_Py_Void();
31557 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31558 PyObject
*resultobj
= 0;
31559 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31562 PyObject
*swig_obj
[1] ;
31564 if (!args
) SWIG_fail
;
31565 swig_obj
[0] = args
;
31566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
31567 if (!SWIG_IsOK(res1
)) {
31568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31570 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31575 wxPyEndAllowThreads(__tstate
);
31576 if (PyErr_Occurred()) SWIG_fail
;
31578 resultobj
= SWIG_Py_Void();
31585 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31586 PyObject
*resultobj
= 0;
31587 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31590 PyObject
*swig_obj
[1] ;
31592 if (!args
) SWIG_fail
;
31593 swig_obj
[0] = args
;
31594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31595 if (!SWIG_IsOK(res1
)) {
31596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31598 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31601 (arg1
)->RemoveAll();
31602 wxPyEndAllowThreads(__tstate
);
31603 if (PyErr_Occurred()) SWIG_fail
;
31605 resultobj
= SWIG_Py_Void();
31612 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31613 PyObject
*resultobj
= 0;
31614 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31618 PyObject
*swig_obj
[1] ;
31620 if (!args
) SWIG_fail
;
31621 swig_obj
[0] = args
;
31622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31623 if (!SWIG_IsOK(res1
)) {
31624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31626 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31629 result
= (int)(arg1
)->GetLen();
31630 wxPyEndAllowThreads(__tstate
);
31631 if (PyErr_Occurred()) SWIG_fail
;
31633 resultobj
= SWIG_From_int(static_cast< int >(result
));
31640 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31641 PyObject
*resultobj
= 0;
31642 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31648 PyObject
* obj0
= 0 ;
31649 PyObject
* obj1
= 0 ;
31650 char * kwnames
[] = {
31651 (char *) "self",(char *) "id", NULL
31654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31656 if (!SWIG_IsOK(res1
)) {
31657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31659 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31661 if (!SWIG_IsOK(ecode2
)) {
31662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
31664 arg2
= static_cast< int >(val2
);
31666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31667 (arg1
)->SetId(arg2
);
31668 wxPyEndAllowThreads(__tstate
);
31669 if (PyErr_Occurred()) SWIG_fail
;
31671 resultobj
= SWIG_Py_Void();
31678 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31679 PyObject
*resultobj
= 0;
31680 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31686 PyObject
* obj0
= 0 ;
31687 PyObject
* obj1
= 0 ;
31688 char * kwnames
[] = {
31689 (char *) "self",(char *) "id", NULL
31692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31694 if (!SWIG_IsOK(res1
)) {
31695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31697 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31699 if (!SWIG_IsOK(ecode2
)) {
31700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
31702 arg2
= static_cast< int >(val2
);
31704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31705 (arg1
)->ClearId(arg2
);
31706 wxPyEndAllowThreads(__tstate
);
31707 if (PyErr_Occurred()) SWIG_fail
;
31709 resultobj
= SWIG_Py_Void();
31716 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31717 PyObject
*resultobj
= 0;
31718 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31724 PyObject
* obj0
= 0 ;
31725 PyObject
* obj1
= 0 ;
31726 char * kwnames
[] = {
31727 (char *) "self",(char *) "id", NULL
31730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31732 if (!SWIG_IsOK(res1
)) {
31733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31735 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31737 if (!SWIG_IsOK(ecode2
)) {
31738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
31740 arg2
= static_cast< int >(val2
);
31742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31743 (arg1
)->RemoveId(arg2
);
31744 wxPyEndAllowThreads(__tstate
);
31745 if (PyErr_Occurred()) SWIG_fail
;
31747 resultobj
= SWIG_Py_Void();
31754 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31755 PyObject
*resultobj
= 0;
31756 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31768 PyObject
* obj0
= 0 ;
31769 PyObject
* obj1
= 0 ;
31770 PyObject
* obj2
= 0 ;
31771 PyObject
* obj3
= 0 ;
31772 char * kwnames
[] = {
31773 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
31776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31778 if (!SWIG_IsOK(res1
)) {
31779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31781 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31783 if (!SWIG_IsOK(ecode2
)) {
31784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
31786 arg2
= static_cast< int >(val2
);
31787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31788 if (!SWIG_IsOK(ecode3
)) {
31789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
31791 arg3
= static_cast< int >(val3
);
31792 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31793 if (!SWIG_IsOK(ecode4
)) {
31794 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
31796 arg4
= static_cast< int >(val4
);
31798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31799 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
31800 wxPyEndAllowThreads(__tstate
);
31801 if (PyErr_Occurred()) SWIG_fail
;
31803 resultobj
= SWIG_Py_Void();
31810 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31811 PyObject
*resultobj
= 0;
31812 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31814 bool arg3
= (bool) true ;
31821 PyObject
* obj0
= 0 ;
31822 PyObject
* obj1
= 0 ;
31823 PyObject
* obj2
= 0 ;
31824 char * kwnames
[] = {
31825 (char *) "self",(char *) "id",(char *) "greyout", NULL
31828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31830 if (!SWIG_IsOK(res1
)) {
31831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31833 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31835 if (!SWIG_IsOK(ecode2
)) {
31836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31838 arg2
= static_cast< int >(val2
);
31840 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31841 if (!SWIG_IsOK(ecode3
)) {
31842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
31844 arg3
= static_cast< bool >(val3
);
31847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31848 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
31849 wxPyEndAllowThreads(__tstate
);
31850 if (PyErr_Occurred()) SWIG_fail
;
31852 resultobj
= SWIG_Py_Void();
31859 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31860 PyObject
*resultobj
= 0;
31861 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31868 PyObject
* obj0
= 0 ;
31869 PyObject
* obj1
= 0 ;
31870 char * kwnames
[] = {
31871 (char *) "self",(char *) "id", NULL
31874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31876 if (!SWIG_IsOK(res1
)) {
31877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31879 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31881 if (!SWIG_IsOK(ecode2
)) {
31882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31884 arg2
= static_cast< int >(val2
);
31886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31887 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
31888 wxPyEndAllowThreads(__tstate
);
31889 if (PyErr_Occurred()) SWIG_fail
;
31892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31900 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31901 PyObject
*resultobj
= 0;
31902 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31905 int arg4
= (int) 1 ;
31906 wxColor
const &arg5_defvalue
= *wxWHITE
;
31907 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
31908 PyObject
*result
= 0 ;
31919 PyObject
* obj0
= 0 ;
31920 PyObject
* obj1
= 0 ;
31921 PyObject
* obj2
= 0 ;
31922 PyObject
* obj3
= 0 ;
31923 PyObject
* obj4
= 0 ;
31924 char * kwnames
[] = {
31925 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
31928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31930 if (!SWIG_IsOK(res1
)) {
31931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31933 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31935 if (!SWIG_IsOK(ecode2
)) {
31936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
31938 arg2
= static_cast< int >(val2
);
31939 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31940 if (!SWIG_IsOK(ecode3
)) {
31941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
31943 arg3
= static_cast< int >(val3
);
31945 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31946 if (!SWIG_IsOK(ecode4
)) {
31947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
31949 arg4
= static_cast< int >(val4
);
31952 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
31953 if (!SWIG_IsOK(res5
)) {
31954 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31959 arg5
= reinterpret_cast< wxColor
* >(argp5
);
31962 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
31963 if (PyErr_Occurred()) SWIG_fail
;
31965 resultobj
= result
;
31972 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31973 PyObject
*resultobj
= 0;
31974 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31977 PyObject
*result
= 0 ;
31984 PyObject
* obj0
= 0 ;
31985 PyObject
* obj1
= 0 ;
31986 PyObject
* obj2
= 0 ;
31987 char * kwnames
[] = {
31988 (char *) "self",(char *) "x",(char *) "y", NULL
31991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31993 if (!SWIG_IsOK(res1
)) {
31994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31996 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31998 if (!SWIG_IsOK(ecode2
)) {
31999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
32001 arg2
= static_cast< int >(val2
);
32002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32003 if (!SWIG_IsOK(ecode3
)) {
32004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
32006 arg3
= static_cast< int >(val3
);
32008 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
32009 if (PyErr_Occurred()) SWIG_fail
;
32011 resultobj
= result
;
32018 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32019 PyObject
*resultobj
= 0;
32020 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32022 wxDC
*arg3
= (wxDC
*) 0 ;
32029 PyObject
* obj0
= 0 ;
32030 PyObject
* obj1
= 0 ;
32031 PyObject
* obj2
= 0 ;
32032 char * kwnames
[] = {
32033 (char *) "self",(char *) "id",(char *) "dc", NULL
32036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32038 if (!SWIG_IsOK(res1
)) {
32039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32041 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32043 if (!SWIG_IsOK(ecode2
)) {
32044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
32046 arg2
= static_cast< int >(val2
);
32047 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
32048 if (!SWIG_IsOK(res3
)) {
32049 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
32051 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32054 (arg1
)->DrawIdToDC(arg2
,arg3
);
32055 wxPyEndAllowThreads(__tstate
);
32056 if (PyErr_Occurred()) SWIG_fail
;
32058 resultobj
= SWIG_Py_Void();
32065 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32066 PyObject
*resultobj
= 0;
32067 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32075 PyObject
* obj0
= 0 ;
32076 PyObject
* obj1
= 0 ;
32077 PyObject
* obj2
= 0 ;
32078 char * kwnames
[] = {
32079 (char *) "self",(char *) "id",(char *) "rect", NULL
32082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32084 if (!SWIG_IsOK(res1
)) {
32085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32087 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32089 if (!SWIG_IsOK(ecode2
)) {
32090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
32092 arg2
= static_cast< int >(val2
);
32095 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32099 (arg1
)->SetIdBounds(arg2
,*arg3
);
32100 wxPyEndAllowThreads(__tstate
);
32101 if (PyErr_Occurred()) SWIG_fail
;
32103 resultobj
= SWIG_Py_Void();
32110 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32111 PyObject
*resultobj
= 0;
32112 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32119 PyObject
* obj0
= 0 ;
32120 PyObject
* obj1
= 0 ;
32121 char * kwnames
[] = {
32122 (char *) "self",(char *) "id", NULL
32125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32127 if (!SWIG_IsOK(res1
)) {
32128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32130 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32132 if (!SWIG_IsOK(ecode2
)) {
32133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
32135 arg2
= static_cast< int >(val2
);
32137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32138 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
32139 wxPyEndAllowThreads(__tstate
);
32140 if (PyErr_Occurred()) SWIG_fail
;
32142 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
32149 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32150 PyObject
*resultobj
= 0;
32151 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32152 wxDC
*arg2
= (wxDC
*) 0 ;
32159 PyObject
* obj0
= 0 ;
32160 PyObject
* obj1
= 0 ;
32161 PyObject
* obj2
= 0 ;
32162 char * kwnames
[] = {
32163 (char *) "self",(char *) "dc",(char *) "rect", NULL
32166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32168 if (!SWIG_IsOK(res1
)) {
32169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32171 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32172 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32173 if (!SWIG_IsOK(res2
)) {
32174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
32176 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32179 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
32182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32183 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
32184 wxPyEndAllowThreads(__tstate
);
32185 if (PyErr_Occurred()) SWIG_fail
;
32187 resultobj
= SWIG_Py_Void();
32194 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32195 PyObject
*resultobj
= 0;
32196 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32197 wxDC
*arg2
= (wxDC
*) 0 ;
32198 wxRegion
*arg3
= 0 ;
32205 PyObject
* obj0
= 0 ;
32206 PyObject
* obj1
= 0 ;
32207 PyObject
* obj2
= 0 ;
32208 char * kwnames
[] = {
32209 (char *) "self",(char *) "dc",(char *) "region", NULL
32212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32214 if (!SWIG_IsOK(res1
)) {
32215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32217 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32218 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32219 if (!SWIG_IsOK(res2
)) {
32220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
32222 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32223 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
32224 if (!SWIG_IsOK(res3
)) {
32225 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32230 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
32232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32233 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
32234 wxPyEndAllowThreads(__tstate
);
32235 if (PyErr_Occurred()) SWIG_fail
;
32237 resultobj
= SWIG_Py_Void();
32244 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32245 PyObject
*resultobj
= 0;
32246 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32247 wxDC
*arg2
= (wxDC
*) 0 ;
32252 PyObject
* obj0
= 0 ;
32253 PyObject
* obj1
= 0 ;
32254 char * kwnames
[] = {
32255 (char *) "self",(char *) "dc", NULL
32258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32260 if (!SWIG_IsOK(res1
)) {
32261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32263 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32264 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32265 if (!SWIG_IsOK(res2
)) {
32266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
32268 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32271 (arg1
)->DrawToDC(arg2
);
32272 wxPyEndAllowThreads(__tstate
);
32273 if (PyErr_Occurred()) SWIG_fail
;
32275 resultobj
= SWIG_Py_Void();
32282 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32283 PyObject
*resultobj
= 0;
32284 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32287 wxColour
*arg4
= 0 ;
32288 int arg5
= (int) wxFLOOD_SURFACE
;
32298 PyObject
* obj0
= 0 ;
32299 PyObject
* obj1
= 0 ;
32300 PyObject
* obj2
= 0 ;
32301 PyObject
* obj3
= 0 ;
32302 PyObject
* obj4
= 0 ;
32303 char * kwnames
[] = {
32304 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
32307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32309 if (!SWIG_IsOK(res1
)) {
32310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32312 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32314 if (!SWIG_IsOK(ecode2
)) {
32315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
32317 arg2
= static_cast< int >(val2
);
32318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32319 if (!SWIG_IsOK(ecode3
)) {
32320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
32322 arg3
= static_cast< int >(val3
);
32325 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
32328 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32329 if (!SWIG_IsOK(ecode5
)) {
32330 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
32332 arg5
= static_cast< int >(val5
);
32335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32336 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
32337 wxPyEndAllowThreads(__tstate
);
32338 if (PyErr_Occurred()) SWIG_fail
;
32340 resultobj
= SWIG_Py_Void();
32347 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32348 PyObject
*resultobj
= 0;
32349 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32350 wxPoint
*arg2
= 0 ;
32351 wxColour
*arg3
= 0 ;
32352 int arg4
= (int) wxFLOOD_SURFACE
;
32359 PyObject
* obj0
= 0 ;
32360 PyObject
* obj1
= 0 ;
32361 PyObject
* obj2
= 0 ;
32362 PyObject
* obj3
= 0 ;
32363 char * kwnames
[] = {
32364 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
32367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32369 if (!SWIG_IsOK(res1
)) {
32370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32372 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32375 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32379 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32382 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32383 if (!SWIG_IsOK(ecode4
)) {
32384 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
32386 arg4
= static_cast< int >(val4
);
32389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32390 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
32391 wxPyEndAllowThreads(__tstate
);
32392 if (PyErr_Occurred()) SWIG_fail
;
32394 resultobj
= SWIG_Py_Void();
32401 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32402 PyObject
*resultobj
= 0;
32403 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32418 PyObject
* obj0
= 0 ;
32419 PyObject
* obj1
= 0 ;
32420 PyObject
* obj2
= 0 ;
32421 PyObject
* obj3
= 0 ;
32422 PyObject
* obj4
= 0 ;
32423 char * kwnames
[] = {
32424 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
32427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32429 if (!SWIG_IsOK(res1
)) {
32430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32432 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32434 if (!SWIG_IsOK(ecode2
)) {
32435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
32437 arg2
= static_cast< int >(val2
);
32438 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32439 if (!SWIG_IsOK(ecode3
)) {
32440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
32442 arg3
= static_cast< int >(val3
);
32443 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32444 if (!SWIG_IsOK(ecode4
)) {
32445 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
32447 arg4
= static_cast< int >(val4
);
32448 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32449 if (!SWIG_IsOK(ecode5
)) {
32450 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
32452 arg5
= static_cast< int >(val5
);
32454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32455 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
32456 wxPyEndAllowThreads(__tstate
);
32457 if (PyErr_Occurred()) SWIG_fail
;
32459 resultobj
= SWIG_Py_Void();
32466 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32467 PyObject
*resultobj
= 0;
32468 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32469 wxPoint
*arg2
= 0 ;
32470 wxPoint
*arg3
= 0 ;
32475 PyObject
* obj0
= 0 ;
32476 PyObject
* obj1
= 0 ;
32477 PyObject
* obj2
= 0 ;
32478 char * kwnames
[] = {
32479 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
32482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32484 if (!SWIG_IsOK(res1
)) {
32485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32487 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32490 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32494 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32498 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
32499 wxPyEndAllowThreads(__tstate
);
32500 if (PyErr_Occurred()) SWIG_fail
;
32502 resultobj
= SWIG_Py_Void();
32509 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32510 PyObject
*resultobj
= 0;
32511 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32520 PyObject
* obj0
= 0 ;
32521 PyObject
* obj1
= 0 ;
32522 PyObject
* obj2
= 0 ;
32523 char * kwnames
[] = {
32524 (char *) "self",(char *) "x",(char *) "y", NULL
32527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32529 if (!SWIG_IsOK(res1
)) {
32530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32532 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32534 if (!SWIG_IsOK(ecode2
)) {
32535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
32537 arg2
= static_cast< int >(val2
);
32538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32539 if (!SWIG_IsOK(ecode3
)) {
32540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
32542 arg3
= static_cast< int >(val3
);
32544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32545 (arg1
)->CrossHair(arg2
,arg3
);
32546 wxPyEndAllowThreads(__tstate
);
32547 if (PyErr_Occurred()) SWIG_fail
;
32549 resultobj
= SWIG_Py_Void();
32556 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32557 PyObject
*resultobj
= 0;
32558 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32559 wxPoint
*arg2
= 0 ;
32563 PyObject
* obj0
= 0 ;
32564 PyObject
* obj1
= 0 ;
32565 char * kwnames
[] = {
32566 (char *) "self",(char *) "pt", NULL
32569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32571 if (!SWIG_IsOK(res1
)) {
32572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32574 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32577 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32581 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
32582 wxPyEndAllowThreads(__tstate
);
32583 if (PyErr_Occurred()) SWIG_fail
;
32585 resultobj
= SWIG_Py_Void();
32592 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32593 PyObject
*resultobj
= 0;
32594 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32615 PyObject
* obj0
= 0 ;
32616 PyObject
* obj1
= 0 ;
32617 PyObject
* obj2
= 0 ;
32618 PyObject
* obj3
= 0 ;
32619 PyObject
* obj4
= 0 ;
32620 PyObject
* obj5
= 0 ;
32621 PyObject
* obj6
= 0 ;
32622 char * kwnames
[] = {
32623 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
32626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32628 if (!SWIG_IsOK(res1
)) {
32629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32631 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32633 if (!SWIG_IsOK(ecode2
)) {
32634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
32636 arg2
= static_cast< int >(val2
);
32637 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32638 if (!SWIG_IsOK(ecode3
)) {
32639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
32641 arg3
= static_cast< int >(val3
);
32642 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32643 if (!SWIG_IsOK(ecode4
)) {
32644 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
32646 arg4
= static_cast< int >(val4
);
32647 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32648 if (!SWIG_IsOK(ecode5
)) {
32649 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
32651 arg5
= static_cast< int >(val5
);
32652 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32653 if (!SWIG_IsOK(ecode6
)) {
32654 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
32656 arg6
= static_cast< int >(val6
);
32657 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
32658 if (!SWIG_IsOK(ecode7
)) {
32659 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
32661 arg7
= static_cast< int >(val7
);
32663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32664 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32665 wxPyEndAllowThreads(__tstate
);
32666 if (PyErr_Occurred()) SWIG_fail
;
32668 resultobj
= SWIG_Py_Void();
32675 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32676 PyObject
*resultobj
= 0;
32677 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32678 wxPoint
*arg2
= 0 ;
32679 wxPoint
*arg3
= 0 ;
32680 wxPoint
*arg4
= 0 ;
32686 PyObject
* obj0
= 0 ;
32687 PyObject
* obj1
= 0 ;
32688 PyObject
* obj2
= 0 ;
32689 PyObject
* obj3
= 0 ;
32690 char * kwnames
[] = {
32691 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
32694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32696 if (!SWIG_IsOK(res1
)) {
32697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32699 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32702 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32706 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32710 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32714 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
32715 wxPyEndAllowThreads(__tstate
);
32716 if (PyErr_Occurred()) SWIG_fail
;
32718 resultobj
= SWIG_Py_Void();
32725 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32726 PyObject
*resultobj
= 0;
32727 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32742 PyObject
* obj0
= 0 ;
32743 PyObject
* obj1
= 0 ;
32744 PyObject
* obj2
= 0 ;
32745 PyObject
* obj3
= 0 ;
32746 PyObject
* obj4
= 0 ;
32747 char * kwnames
[] = {
32748 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32753 if (!SWIG_IsOK(res1
)) {
32754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32756 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32758 if (!SWIG_IsOK(ecode2
)) {
32759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
32761 arg2
= static_cast< int >(val2
);
32762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32763 if (!SWIG_IsOK(ecode3
)) {
32764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
32766 arg3
= static_cast< int >(val3
);
32767 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32768 if (!SWIG_IsOK(ecode4
)) {
32769 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
32771 arg4
= static_cast< int >(val4
);
32772 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32773 if (!SWIG_IsOK(ecode5
)) {
32774 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
32776 arg5
= static_cast< int >(val5
);
32778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32779 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
32780 wxPyEndAllowThreads(__tstate
);
32781 if (PyErr_Occurred()) SWIG_fail
;
32783 resultobj
= SWIG_Py_Void();
32790 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32791 PyObject
*resultobj
= 0;
32792 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32797 PyObject
* obj0
= 0 ;
32798 PyObject
* obj1
= 0 ;
32799 char * kwnames
[] = {
32800 (char *) "self",(char *) "rect", NULL
32803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32805 if (!SWIG_IsOK(res1
)) {
32806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32808 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32811 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32815 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
32816 wxPyEndAllowThreads(__tstate
);
32817 if (PyErr_Occurred()) SWIG_fail
;
32819 resultobj
= SWIG_Py_Void();
32826 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32827 PyObject
*resultobj
= 0;
32828 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32849 PyObject
* obj0
= 0 ;
32850 PyObject
* obj1
= 0 ;
32851 PyObject
* obj2
= 0 ;
32852 PyObject
* obj3
= 0 ;
32853 PyObject
* obj4
= 0 ;
32854 PyObject
* obj5
= 0 ;
32855 PyObject
* obj6
= 0 ;
32856 char * kwnames
[] = {
32857 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
32860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32862 if (!SWIG_IsOK(res1
)) {
32863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32865 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32867 if (!SWIG_IsOK(ecode2
)) {
32868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
32870 arg2
= static_cast< int >(val2
);
32871 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32872 if (!SWIG_IsOK(ecode3
)) {
32873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
32875 arg3
= static_cast< int >(val3
);
32876 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32877 if (!SWIG_IsOK(ecode4
)) {
32878 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
32880 arg4
= static_cast< int >(val4
);
32881 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32882 if (!SWIG_IsOK(ecode5
)) {
32883 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
32885 arg5
= static_cast< int >(val5
);
32886 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32887 if (!SWIG_IsOK(ecode6
)) {
32888 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
32890 arg6
= static_cast< double >(val6
);
32891 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
32892 if (!SWIG_IsOK(ecode7
)) {
32893 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
32895 arg7
= static_cast< double >(val7
);
32897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32898 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32899 wxPyEndAllowThreads(__tstate
);
32900 if (PyErr_Occurred()) SWIG_fail
;
32902 resultobj
= SWIG_Py_Void();
32909 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32910 PyObject
*resultobj
= 0;
32911 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32912 wxPoint
*arg2
= 0 ;
32924 PyObject
* obj0
= 0 ;
32925 PyObject
* obj1
= 0 ;
32926 PyObject
* obj2
= 0 ;
32927 PyObject
* obj3
= 0 ;
32928 PyObject
* obj4
= 0 ;
32929 char * kwnames
[] = {
32930 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
32933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32935 if (!SWIG_IsOK(res1
)) {
32936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32938 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32941 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32945 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32947 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32948 if (!SWIG_IsOK(ecode4
)) {
32949 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
32951 arg4
= static_cast< double >(val4
);
32952 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
32953 if (!SWIG_IsOK(ecode5
)) {
32954 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
32956 arg5
= static_cast< double >(val5
);
32958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32959 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
32960 wxPyEndAllowThreads(__tstate
);
32961 if (PyErr_Occurred()) SWIG_fail
;
32963 resultobj
= SWIG_Py_Void();
32970 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32971 PyObject
*resultobj
= 0;
32972 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32981 PyObject
* obj0
= 0 ;
32982 PyObject
* obj1
= 0 ;
32983 PyObject
* obj2
= 0 ;
32984 char * kwnames
[] = {
32985 (char *) "self",(char *) "x",(char *) "y", NULL
32988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32990 if (!SWIG_IsOK(res1
)) {
32991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32993 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32995 if (!SWIG_IsOK(ecode2
)) {
32996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
32998 arg2
= static_cast< int >(val2
);
32999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33000 if (!SWIG_IsOK(ecode3
)) {
33001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
33003 arg3
= static_cast< int >(val3
);
33005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33006 (arg1
)->DrawPoint(arg2
,arg3
);
33007 wxPyEndAllowThreads(__tstate
);
33008 if (PyErr_Occurred()) SWIG_fail
;
33010 resultobj
= SWIG_Py_Void();
33017 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33018 PyObject
*resultobj
= 0;
33019 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33020 wxPoint
*arg2
= 0 ;
33024 PyObject
* obj0
= 0 ;
33025 PyObject
* obj1
= 0 ;
33026 char * kwnames
[] = {
33027 (char *) "self",(char *) "pt", NULL
33030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33032 if (!SWIG_IsOK(res1
)) {
33033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33035 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33038 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33042 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
33043 wxPyEndAllowThreads(__tstate
);
33044 if (PyErr_Occurred()) SWIG_fail
;
33046 resultobj
= SWIG_Py_Void();
33053 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33054 PyObject
*resultobj
= 0;
33055 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33070 PyObject
* obj0
= 0 ;
33071 PyObject
* obj1
= 0 ;
33072 PyObject
* obj2
= 0 ;
33073 PyObject
* obj3
= 0 ;
33074 PyObject
* obj4
= 0 ;
33075 char * kwnames
[] = {
33076 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33081 if (!SWIG_IsOK(res1
)) {
33082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33084 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33086 if (!SWIG_IsOK(ecode2
)) {
33087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
33089 arg2
= static_cast< int >(val2
);
33090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33091 if (!SWIG_IsOK(ecode3
)) {
33092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
33094 arg3
= static_cast< int >(val3
);
33095 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33096 if (!SWIG_IsOK(ecode4
)) {
33097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
33099 arg4
= static_cast< int >(val4
);
33100 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33101 if (!SWIG_IsOK(ecode5
)) {
33102 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
33104 arg5
= static_cast< int >(val5
);
33106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33107 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
33108 wxPyEndAllowThreads(__tstate
);
33109 if (PyErr_Occurred()) SWIG_fail
;
33111 resultobj
= SWIG_Py_Void();
33118 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33119 PyObject
*resultobj
= 0;
33120 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33125 PyObject
* obj0
= 0 ;
33126 PyObject
* obj1
= 0 ;
33127 char * kwnames
[] = {
33128 (char *) "self",(char *) "rect", NULL
33131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33133 if (!SWIG_IsOK(res1
)) {
33134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33136 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33139 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33143 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
33144 wxPyEndAllowThreads(__tstate
);
33145 if (PyErr_Occurred()) SWIG_fail
;
33147 resultobj
= SWIG_Py_Void();
33154 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33155 PyObject
*resultobj
= 0;
33156 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33157 wxPoint
*arg2
= 0 ;
33163 PyObject
* obj0
= 0 ;
33164 PyObject
* obj1
= 0 ;
33165 PyObject
* obj2
= 0 ;
33166 char * kwnames
[] = {
33167 (char *) "self",(char *) "pt",(char *) "sz", NULL
33170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33172 if (!SWIG_IsOK(res1
)) {
33173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33175 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33178 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33182 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33186 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33187 wxPyEndAllowThreads(__tstate
);
33188 if (PyErr_Occurred()) SWIG_fail
;
33190 resultobj
= SWIG_Py_Void();
33197 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33198 PyObject
*resultobj
= 0;
33199 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33217 PyObject
* obj0
= 0 ;
33218 PyObject
* obj1
= 0 ;
33219 PyObject
* obj2
= 0 ;
33220 PyObject
* obj3
= 0 ;
33221 PyObject
* obj4
= 0 ;
33222 PyObject
* obj5
= 0 ;
33223 char * kwnames
[] = {
33224 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
33227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33229 if (!SWIG_IsOK(res1
)) {
33230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33232 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33234 if (!SWIG_IsOK(ecode2
)) {
33235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
33237 arg2
= static_cast< int >(val2
);
33238 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33239 if (!SWIG_IsOK(ecode3
)) {
33240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
33242 arg3
= static_cast< int >(val3
);
33243 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33244 if (!SWIG_IsOK(ecode4
)) {
33245 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
33247 arg4
= static_cast< int >(val4
);
33248 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33249 if (!SWIG_IsOK(ecode5
)) {
33250 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
33252 arg5
= static_cast< int >(val5
);
33253 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
33254 if (!SWIG_IsOK(ecode6
)) {
33255 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
33257 arg6
= static_cast< double >(val6
);
33259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33260 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
33261 wxPyEndAllowThreads(__tstate
);
33262 if (PyErr_Occurred()) SWIG_fail
;
33264 resultobj
= SWIG_Py_Void();
33271 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33272 PyObject
*resultobj
= 0;
33273 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33281 PyObject
* obj0
= 0 ;
33282 PyObject
* obj1
= 0 ;
33283 PyObject
* obj2
= 0 ;
33284 char * kwnames
[] = {
33285 (char *) "self",(char *) "r",(char *) "radius", NULL
33288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33290 if (!SWIG_IsOK(res1
)) {
33291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33293 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33296 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33298 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
33299 if (!SWIG_IsOK(ecode3
)) {
33300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
33302 arg3
= static_cast< double >(val3
);
33304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33305 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
33306 wxPyEndAllowThreads(__tstate
);
33307 if (PyErr_Occurred()) SWIG_fail
;
33309 resultobj
= SWIG_Py_Void();
33316 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33317 PyObject
*resultobj
= 0;
33318 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33319 wxPoint
*arg2
= 0 ;
33328 PyObject
* obj0
= 0 ;
33329 PyObject
* obj1
= 0 ;
33330 PyObject
* obj2
= 0 ;
33331 PyObject
* obj3
= 0 ;
33332 char * kwnames
[] = {
33333 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
33336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33338 if (!SWIG_IsOK(res1
)) {
33339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33341 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33344 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33348 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33350 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33351 if (!SWIG_IsOK(ecode4
)) {
33352 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
33354 arg4
= static_cast< double >(val4
);
33356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33357 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
33358 wxPyEndAllowThreads(__tstate
);
33359 if (PyErr_Occurred()) SWIG_fail
;
33361 resultobj
= SWIG_Py_Void();
33368 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33369 PyObject
*resultobj
= 0;
33370 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33382 PyObject
* obj0
= 0 ;
33383 PyObject
* obj1
= 0 ;
33384 PyObject
* obj2
= 0 ;
33385 PyObject
* obj3
= 0 ;
33386 char * kwnames
[] = {
33387 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
33390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33392 if (!SWIG_IsOK(res1
)) {
33393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33395 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33397 if (!SWIG_IsOK(ecode2
)) {
33398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
33400 arg2
= static_cast< int >(val2
);
33401 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33402 if (!SWIG_IsOK(ecode3
)) {
33403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
33405 arg3
= static_cast< int >(val3
);
33406 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33407 if (!SWIG_IsOK(ecode4
)) {
33408 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
33410 arg4
= static_cast< int >(val4
);
33412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33413 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
33414 wxPyEndAllowThreads(__tstate
);
33415 if (PyErr_Occurred()) SWIG_fail
;
33417 resultobj
= SWIG_Py_Void();
33424 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33425 PyObject
*resultobj
= 0;
33426 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33427 wxPoint
*arg2
= 0 ;
33434 PyObject
* obj0
= 0 ;
33435 PyObject
* obj1
= 0 ;
33436 PyObject
* obj2
= 0 ;
33437 char * kwnames
[] = {
33438 (char *) "self",(char *) "pt",(char *) "radius", NULL
33441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33443 if (!SWIG_IsOK(res1
)) {
33444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33446 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33449 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33452 if (!SWIG_IsOK(ecode3
)) {
33453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
33455 arg3
= static_cast< int >(val3
);
33457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33458 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
33459 wxPyEndAllowThreads(__tstate
);
33460 if (PyErr_Occurred()) SWIG_fail
;
33462 resultobj
= SWIG_Py_Void();
33469 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33470 PyObject
*resultobj
= 0;
33471 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33486 PyObject
* obj0
= 0 ;
33487 PyObject
* obj1
= 0 ;
33488 PyObject
* obj2
= 0 ;
33489 PyObject
* obj3
= 0 ;
33490 PyObject
* obj4
= 0 ;
33491 char * kwnames
[] = {
33492 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33497 if (!SWIG_IsOK(res1
)) {
33498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33500 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33502 if (!SWIG_IsOK(ecode2
)) {
33503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
33505 arg2
= static_cast< int >(val2
);
33506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33507 if (!SWIG_IsOK(ecode3
)) {
33508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
33510 arg3
= static_cast< int >(val3
);
33511 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33512 if (!SWIG_IsOK(ecode4
)) {
33513 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
33515 arg4
= static_cast< int >(val4
);
33516 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33517 if (!SWIG_IsOK(ecode5
)) {
33518 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
33520 arg5
= static_cast< int >(val5
);
33522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33523 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
33524 wxPyEndAllowThreads(__tstate
);
33525 if (PyErr_Occurred()) SWIG_fail
;
33527 resultobj
= SWIG_Py_Void();
33534 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33535 PyObject
*resultobj
= 0;
33536 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33541 PyObject
* obj0
= 0 ;
33542 PyObject
* obj1
= 0 ;
33543 char * kwnames
[] = {
33544 (char *) "self",(char *) "rect", NULL
33547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33549 if (!SWIG_IsOK(res1
)) {
33550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33552 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33555 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33559 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
33560 wxPyEndAllowThreads(__tstate
);
33561 if (PyErr_Occurred()) SWIG_fail
;
33563 resultobj
= SWIG_Py_Void();
33570 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33571 PyObject
*resultobj
= 0;
33572 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33573 wxPoint
*arg2
= 0 ;
33579 PyObject
* obj0
= 0 ;
33580 PyObject
* obj1
= 0 ;
33581 PyObject
* obj2
= 0 ;
33582 char * kwnames
[] = {
33583 (char *) "self",(char *) "pt",(char *) "sz", NULL
33586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33588 if (!SWIG_IsOK(res1
)) {
33589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33591 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33594 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33598 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33602 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33603 wxPyEndAllowThreads(__tstate
);
33604 if (PyErr_Occurred()) SWIG_fail
;
33606 resultobj
= SWIG_Py_Void();
33613 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33614 PyObject
*resultobj
= 0;
33615 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33627 PyObject
* obj0
= 0 ;
33628 PyObject
* obj1
= 0 ;
33629 PyObject
* obj2
= 0 ;
33630 PyObject
* obj3
= 0 ;
33631 char * kwnames
[] = {
33632 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
33635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33637 if (!SWIG_IsOK(res1
)) {
33638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33640 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33641 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33642 if (!SWIG_IsOK(res2
)) {
33643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33646 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33648 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33650 if (!SWIG_IsOK(ecode3
)) {
33651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
33653 arg3
= static_cast< int >(val3
);
33654 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33655 if (!SWIG_IsOK(ecode4
)) {
33656 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
33658 arg4
= static_cast< int >(val4
);
33660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33661 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
33662 wxPyEndAllowThreads(__tstate
);
33663 if (PyErr_Occurred()) SWIG_fail
;
33665 resultobj
= SWIG_Py_Void();
33672 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33673 PyObject
*resultobj
= 0;
33674 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33676 wxPoint
*arg3
= 0 ;
33682 PyObject
* obj0
= 0 ;
33683 PyObject
* obj1
= 0 ;
33684 PyObject
* obj2
= 0 ;
33685 char * kwnames
[] = {
33686 (char *) "self",(char *) "icon",(char *) "pt", NULL
33689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33691 if (!SWIG_IsOK(res1
)) {
33692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33694 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33695 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33696 if (!SWIG_IsOK(res2
)) {
33697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33702 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33705 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33709 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
33710 wxPyEndAllowThreads(__tstate
);
33711 if (PyErr_Occurred()) SWIG_fail
;
33713 resultobj
= SWIG_Py_Void();
33720 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33721 PyObject
*resultobj
= 0;
33722 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33723 wxBitmap
*arg2
= 0 ;
33726 bool arg5
= (bool) false ;
33737 PyObject
* obj0
= 0 ;
33738 PyObject
* obj1
= 0 ;
33739 PyObject
* obj2
= 0 ;
33740 PyObject
* obj3
= 0 ;
33741 PyObject
* obj4
= 0 ;
33742 char * kwnames
[] = {
33743 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
33746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33748 if (!SWIG_IsOK(res1
)) {
33749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33751 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33752 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33753 if (!SWIG_IsOK(res2
)) {
33754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33759 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33761 if (!SWIG_IsOK(ecode3
)) {
33762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
33764 arg3
= static_cast< int >(val3
);
33765 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33766 if (!SWIG_IsOK(ecode4
)) {
33767 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
33769 arg4
= static_cast< int >(val4
);
33771 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
33772 if (!SWIG_IsOK(ecode5
)) {
33773 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
33775 arg5
= static_cast< bool >(val5
);
33778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33779 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
33780 wxPyEndAllowThreads(__tstate
);
33781 if (PyErr_Occurred()) SWIG_fail
;
33783 resultobj
= SWIG_Py_Void();
33790 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33791 PyObject
*resultobj
= 0;
33792 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33793 wxBitmap
*arg2
= 0 ;
33794 wxPoint
*arg3
= 0 ;
33795 bool arg4
= (bool) false ;
33803 PyObject
* obj0
= 0 ;
33804 PyObject
* obj1
= 0 ;
33805 PyObject
* obj2
= 0 ;
33806 PyObject
* obj3
= 0 ;
33807 char * kwnames
[] = {
33808 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
33811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33813 if (!SWIG_IsOK(res1
)) {
33814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33816 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33817 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33818 if (!SWIG_IsOK(res2
)) {
33819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33824 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33827 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33830 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
33831 if (!SWIG_IsOK(ecode4
)) {
33832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
33834 arg4
= static_cast< bool >(val4
);
33837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33838 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33839 wxPyEndAllowThreads(__tstate
);
33840 if (PyErr_Occurred()) SWIG_fail
;
33842 resultobj
= SWIG_Py_Void();
33849 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33850 PyObject
*resultobj
= 0;
33851 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33852 wxString
*arg2
= 0 ;
33857 bool temp2
= false ;
33862 PyObject
* obj0
= 0 ;
33863 PyObject
* obj1
= 0 ;
33864 PyObject
* obj2
= 0 ;
33865 PyObject
* obj3
= 0 ;
33866 char * kwnames
[] = {
33867 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
33870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33872 if (!SWIG_IsOK(res1
)) {
33873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33875 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33877 arg2
= wxString_in_helper(obj1
);
33878 if (arg2
== NULL
) SWIG_fail
;
33881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33882 if (!SWIG_IsOK(ecode3
)) {
33883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
33885 arg3
= static_cast< int >(val3
);
33886 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33887 if (!SWIG_IsOK(ecode4
)) {
33888 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
33890 arg4
= static_cast< int >(val4
);
33892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33893 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
33894 wxPyEndAllowThreads(__tstate
);
33895 if (PyErr_Occurred()) SWIG_fail
;
33897 resultobj
= SWIG_Py_Void();
33912 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33913 PyObject
*resultobj
= 0;
33914 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33915 wxString
*arg2
= 0 ;
33916 wxPoint
*arg3
= 0 ;
33919 bool temp2
= false ;
33921 PyObject
* obj0
= 0 ;
33922 PyObject
* obj1
= 0 ;
33923 PyObject
* obj2
= 0 ;
33924 char * kwnames
[] = {
33925 (char *) "self",(char *) "text",(char *) "pt", NULL
33928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33930 if (!SWIG_IsOK(res1
)) {
33931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33933 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33935 arg2
= wxString_in_helper(obj1
);
33936 if (arg2
== NULL
) SWIG_fail
;
33941 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33945 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
33946 wxPyEndAllowThreads(__tstate
);
33947 if (PyErr_Occurred()) SWIG_fail
;
33949 resultobj
= SWIG_Py_Void();
33964 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33965 PyObject
*resultobj
= 0;
33966 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33967 wxString
*arg2
= 0 ;
33973 bool temp2
= false ;
33980 PyObject
* obj0
= 0 ;
33981 PyObject
* obj1
= 0 ;
33982 PyObject
* obj2
= 0 ;
33983 PyObject
* obj3
= 0 ;
33984 PyObject
* obj4
= 0 ;
33985 char * kwnames
[] = {
33986 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
33989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33991 if (!SWIG_IsOK(res1
)) {
33992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33994 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33996 arg2
= wxString_in_helper(obj1
);
33997 if (arg2
== NULL
) SWIG_fail
;
34000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34001 if (!SWIG_IsOK(ecode3
)) {
34002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
34004 arg3
= static_cast< int >(val3
);
34005 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34006 if (!SWIG_IsOK(ecode4
)) {
34007 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
34009 arg4
= static_cast< int >(val4
);
34010 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
34011 if (!SWIG_IsOK(ecode5
)) {
34012 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
34014 arg5
= static_cast< double >(val5
);
34016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34017 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
34018 wxPyEndAllowThreads(__tstate
);
34019 if (PyErr_Occurred()) SWIG_fail
;
34021 resultobj
= SWIG_Py_Void();
34036 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34037 PyObject
*resultobj
= 0;
34038 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34039 wxString
*arg2
= 0 ;
34040 wxPoint
*arg3
= 0 ;
34044 bool temp2
= false ;
34048 PyObject
* obj0
= 0 ;
34049 PyObject
* obj1
= 0 ;
34050 PyObject
* obj2
= 0 ;
34051 PyObject
* obj3
= 0 ;
34052 char * kwnames
[] = {
34053 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
34056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34058 if (!SWIG_IsOK(res1
)) {
34059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34061 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34063 arg2
= wxString_in_helper(obj1
);
34064 if (arg2
== NULL
) SWIG_fail
;
34069 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34071 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
34072 if (!SWIG_IsOK(ecode4
)) {
34073 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
34075 arg4
= static_cast< double >(val4
);
34077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34078 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
34079 wxPyEndAllowThreads(__tstate
);
34080 if (PyErr_Occurred()) SWIG_fail
;
34082 resultobj
= SWIG_Py_Void();
34097 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34098 PyObject
*resultobj
= 0;
34099 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34101 wxPoint
*arg3
= (wxPoint
*) 0 ;
34102 int arg4
= (int) 0 ;
34103 int arg5
= (int) 0 ;
34110 PyObject
* obj0
= 0 ;
34111 PyObject
* obj1
= 0 ;
34112 PyObject
* obj2
= 0 ;
34113 PyObject
* obj3
= 0 ;
34114 char * kwnames
[] = {
34115 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
34118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34120 if (!SWIG_IsOK(res1
)) {
34121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34123 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34125 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34126 if (arg3
== NULL
) SWIG_fail
;
34129 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
34130 if (!SWIG_IsOK(ecode4
)) {
34131 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
34133 arg4
= static_cast< int >(val4
);
34136 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
34137 if (!SWIG_IsOK(ecode5
)) {
34138 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
34140 arg5
= static_cast< int >(val5
);
34143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34144 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
34145 wxPyEndAllowThreads(__tstate
);
34146 if (PyErr_Occurred()) SWIG_fail
;
34148 resultobj
= SWIG_Py_Void();
34150 if (arg3
) delete [] arg3
;
34155 if (arg3
) delete [] arg3
;
34161 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34162 PyObject
*resultobj
= 0;
34163 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34165 wxPoint
*arg3
= (wxPoint
*) 0 ;
34166 int arg4
= (int) 0 ;
34167 int arg5
= (int) 0 ;
34168 int arg6
= (int) wxODDEVEN_RULE
;
34177 PyObject
* obj0
= 0 ;
34178 PyObject
* obj1
= 0 ;
34179 PyObject
* obj2
= 0 ;
34180 PyObject
* obj3
= 0 ;
34181 PyObject
* obj4
= 0 ;
34182 char * kwnames
[] = {
34183 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
34186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34188 if (!SWIG_IsOK(res1
)) {
34189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34191 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34193 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34194 if (arg3
== NULL
) SWIG_fail
;
34197 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
34198 if (!SWIG_IsOK(ecode4
)) {
34199 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
34201 arg4
= static_cast< int >(val4
);
34204 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
34205 if (!SWIG_IsOK(ecode5
)) {
34206 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
34208 arg5
= static_cast< int >(val5
);
34211 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
34212 if (!SWIG_IsOK(ecode6
)) {
34213 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
34215 arg6
= static_cast< int >(val6
);
34218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34219 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
34220 wxPyEndAllowThreads(__tstate
);
34221 if (PyErr_Occurred()) SWIG_fail
;
34223 resultobj
= SWIG_Py_Void();
34225 if (arg3
) delete [] arg3
;
34230 if (arg3
) delete [] arg3
;
34236 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34237 PyObject
*resultobj
= 0;
34238 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34239 wxString
*arg2
= 0 ;
34241 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34242 int arg5
= (int) -1 ;
34245 bool temp2
= false ;
34251 PyObject
* obj0
= 0 ;
34252 PyObject
* obj1
= 0 ;
34253 PyObject
* obj2
= 0 ;
34254 PyObject
* obj3
= 0 ;
34255 PyObject
* obj4
= 0 ;
34256 char * kwnames
[] = {
34257 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34262 if (!SWIG_IsOK(res1
)) {
34263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34265 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34267 arg2
= wxString_in_helper(obj1
);
34268 if (arg2
== NULL
) SWIG_fail
;
34273 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34276 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34277 if (!SWIG_IsOK(ecode4
)) {
34278 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
34280 arg4
= static_cast< int >(val4
);
34283 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34284 if (!SWIG_IsOK(ecode5
)) {
34285 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
34287 arg5
= static_cast< int >(val5
);
34290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34291 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
34292 wxPyEndAllowThreads(__tstate
);
34293 if (PyErr_Occurred()) SWIG_fail
;
34295 resultobj
= SWIG_Py_Void();
34310 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34311 PyObject
*resultobj
= 0;
34312 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34313 wxString
*arg2
= 0 ;
34314 wxBitmap
*arg3
= 0 ;
34316 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34317 int arg6
= (int) -1 ;
34320 bool temp2
= false ;
34328 PyObject
* obj0
= 0 ;
34329 PyObject
* obj1
= 0 ;
34330 PyObject
* obj2
= 0 ;
34331 PyObject
* obj3
= 0 ;
34332 PyObject
* obj4
= 0 ;
34333 PyObject
* obj5
= 0 ;
34334 char * kwnames
[] = {
34335 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34340 if (!SWIG_IsOK(res1
)) {
34341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34343 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34345 arg2
= wxString_in_helper(obj1
);
34346 if (arg2
== NULL
) SWIG_fail
;
34349 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34350 if (!SWIG_IsOK(res3
)) {
34351 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34356 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
34359 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34362 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34363 if (!SWIG_IsOK(ecode5
)) {
34364 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
34366 arg5
= static_cast< int >(val5
);
34369 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34370 if (!SWIG_IsOK(ecode6
)) {
34371 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
34373 arg6
= static_cast< int >(val6
);
34376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34377 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
34378 wxPyEndAllowThreads(__tstate
);
34379 if (PyErr_Occurred()) SWIG_fail
;
34381 resultobj
= SWIG_Py_Void();
34396 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34397 PyObject
*resultobj
= 0;
34398 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34400 wxPoint
*arg3
= (wxPoint
*) 0 ;
34403 PyObject
* obj0
= 0 ;
34404 PyObject
* obj1
= 0 ;
34405 char * kwnames
[] = {
34406 (char *) "self",(char *) "points", NULL
34409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34411 if (!SWIG_IsOK(res1
)) {
34412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34414 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34416 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34417 if (arg3
== NULL
) SWIG_fail
;
34420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34421 (arg1
)->DrawSpline(arg2
,arg3
);
34422 wxPyEndAllowThreads(__tstate
);
34423 if (PyErr_Occurred()) SWIG_fail
;
34425 resultobj
= SWIG_Py_Void();
34427 if (arg3
) delete [] arg3
;
34432 if (arg3
) delete [] arg3
;
34438 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34439 PyObject
*resultobj
= 0;
34440 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34443 PyObject
*swig_obj
[1] ;
34445 if (!args
) SWIG_fail
;
34446 swig_obj
[0] = args
;
34447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34448 if (!SWIG_IsOK(res1
)) {
34449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34451 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34455 wxPyEndAllowThreads(__tstate
);
34456 if (PyErr_Occurred()) SWIG_fail
;
34458 resultobj
= SWIG_Py_Void();
34465 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34466 PyObject
*resultobj
= 0;
34467 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34473 PyObject
* obj0
= 0 ;
34474 PyObject
* obj1
= 0 ;
34475 char * kwnames
[] = {
34476 (char *) "self",(char *) "font", NULL
34479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34481 if (!SWIG_IsOK(res1
)) {
34482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34484 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34485 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
34486 if (!SWIG_IsOK(res2
)) {
34487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34492 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34495 (arg1
)->SetFont((wxFont
const &)*arg2
);
34496 wxPyEndAllowThreads(__tstate
);
34497 if (PyErr_Occurred()) SWIG_fail
;
34499 resultobj
= SWIG_Py_Void();
34506 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34507 PyObject
*resultobj
= 0;
34508 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34514 PyObject
* obj0
= 0 ;
34515 PyObject
* obj1
= 0 ;
34516 char * kwnames
[] = {
34517 (char *) "self",(char *) "pen", NULL
34520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34522 if (!SWIG_IsOK(res1
)) {
34523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34525 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34526 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
34527 if (!SWIG_IsOK(res2
)) {
34528 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34531 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34533 arg2
= reinterpret_cast< wxPen
* >(argp2
);
34535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34536 (arg1
)->SetPen((wxPen
const &)*arg2
);
34537 wxPyEndAllowThreads(__tstate
);
34538 if (PyErr_Occurred()) SWIG_fail
;
34540 resultobj
= SWIG_Py_Void();
34547 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34548 PyObject
*resultobj
= 0;
34549 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34550 wxBrush
*arg2
= 0 ;
34555 PyObject
* obj0
= 0 ;
34556 PyObject
* obj1
= 0 ;
34557 char * kwnames
[] = {
34558 (char *) "self",(char *) "brush", NULL
34561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34563 if (!SWIG_IsOK(res1
)) {
34564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34566 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34567 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34568 if (!SWIG_IsOK(res2
)) {
34569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34574 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34577 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
34578 wxPyEndAllowThreads(__tstate
);
34579 if (PyErr_Occurred()) SWIG_fail
;
34581 resultobj
= SWIG_Py_Void();
34588 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34589 PyObject
*resultobj
= 0;
34590 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34591 wxBrush
*arg2
= 0 ;
34596 PyObject
* obj0
= 0 ;
34597 PyObject
* obj1
= 0 ;
34598 char * kwnames
[] = {
34599 (char *) "self",(char *) "brush", NULL
34602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34604 if (!SWIG_IsOK(res1
)) {
34605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34607 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34608 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34609 if (!SWIG_IsOK(res2
)) {
34610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34615 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34618 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
34619 wxPyEndAllowThreads(__tstate
);
34620 if (PyErr_Occurred()) SWIG_fail
;
34622 resultobj
= SWIG_Py_Void();
34629 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34630 PyObject
*resultobj
= 0;
34631 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34637 PyObject
* obj0
= 0 ;
34638 PyObject
* obj1
= 0 ;
34639 char * kwnames
[] = {
34640 (char *) "self",(char *) "mode", NULL
34643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34645 if (!SWIG_IsOK(res1
)) {
34646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34648 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34650 if (!SWIG_IsOK(ecode2
)) {
34651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
34653 arg2
= static_cast< int >(val2
);
34655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34656 (arg1
)->SetBackgroundMode(arg2
);
34657 wxPyEndAllowThreads(__tstate
);
34658 if (PyErr_Occurred()) SWIG_fail
;
34660 resultobj
= SWIG_Py_Void();
34667 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34668 PyObject
*resultobj
= 0;
34669 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34670 wxPalette
*arg2
= 0 ;
34675 PyObject
* obj0
= 0 ;
34676 PyObject
* obj1
= 0 ;
34677 char * kwnames
[] = {
34678 (char *) "self",(char *) "palette", NULL
34681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34683 if (!SWIG_IsOK(res1
)) {
34684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34686 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34687 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
34688 if (!SWIG_IsOK(res2
)) {
34689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34694 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
34696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34697 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
34698 wxPyEndAllowThreads(__tstate
);
34699 if (PyErr_Occurred()) SWIG_fail
;
34701 resultobj
= SWIG_Py_Void();
34708 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34709 PyObject
*resultobj
= 0;
34710 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34711 wxColour
*arg2
= 0 ;
34715 PyObject
* obj0
= 0 ;
34716 PyObject
* obj1
= 0 ;
34717 char * kwnames
[] = {
34718 (char *) "self",(char *) "colour", NULL
34721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34723 if (!SWIG_IsOK(res1
)) {
34724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34726 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34729 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34733 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
34734 wxPyEndAllowThreads(__tstate
);
34735 if (PyErr_Occurred()) SWIG_fail
;
34737 resultobj
= SWIG_Py_Void();
34744 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34745 PyObject
*resultobj
= 0;
34746 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34747 wxColour
*arg2
= 0 ;
34751 PyObject
* obj0
= 0 ;
34752 PyObject
* obj1
= 0 ;
34753 char * kwnames
[] = {
34754 (char *) "self",(char *) "colour", NULL
34757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34759 if (!SWIG_IsOK(res1
)) {
34760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34762 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34765 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34769 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
34770 wxPyEndAllowThreads(__tstate
);
34771 if (PyErr_Occurred()) SWIG_fail
;
34773 resultobj
= SWIG_Py_Void();
34780 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34781 PyObject
*resultobj
= 0;
34782 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34788 PyObject
* obj0
= 0 ;
34789 PyObject
* obj1
= 0 ;
34790 char * kwnames
[] = {
34791 (char *) "self",(char *) "function", NULL
34794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34796 if (!SWIG_IsOK(res1
)) {
34797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34799 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34801 if (!SWIG_IsOK(ecode2
)) {
34802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
34804 arg2
= static_cast< int >(val2
);
34806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34807 (arg1
)->SetLogicalFunction(arg2
);
34808 wxPyEndAllowThreads(__tstate
);
34809 if (PyErr_Occurred()) SWIG_fail
;
34811 resultobj
= SWIG_Py_Void();
34818 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34820 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34821 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
34822 return SWIG_Py_Void();
34825 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34826 return SWIG_Python_InitShadowInstance(args
);
34829 static PyMethodDef SwigMethods
[] = {
34830 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
34831 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
34832 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
34833 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
34834 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
34835 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
34839 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
34840 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
34841 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
34842 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
34843 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
34844 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
34849 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
34853 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
34854 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
34855 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
34857 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
34860 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
34861 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
34862 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
34863 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
34865 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
34866 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
34867 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
34868 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
34869 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
34870 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
34871 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
34878 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
34880 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
34881 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
34885 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
34886 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
34889 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
34893 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
34894 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
34895 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
34896 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
34897 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
34898 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
34899 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
34901 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
34907 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
34909 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
34910 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
34911 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
34912 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
34913 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
34914 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
34915 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
34921 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
34931 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
34932 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
34936 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
34937 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
34938 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
34939 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
34940 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
34941 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
34942 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
34943 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
34944 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
34945 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
34946 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
34947 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
34948 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
34949 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
34950 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
34952 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
34953 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
34959 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34960 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34961 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
34962 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
34963 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
34964 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
34965 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
34966 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
34967 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
34968 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
34969 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
34970 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
34972 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
34973 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
34979 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34980 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34981 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
34983 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
34984 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
34985 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
34987 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
34988 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
34993 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
34995 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
34996 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
34997 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
34998 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
35004 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
35005 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
35007 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
35008 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
35010 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
35012 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
35013 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
35014 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
35015 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
35018 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
35022 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
35023 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
35025 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
35028 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
35030 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
35031 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
35032 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
35033 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
35038 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
35039 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
35044 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
35045 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
35051 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
35055 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
35066 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
35069 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
35070 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
35072 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
35073 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
35074 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
35075 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
35076 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
35077 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
35078 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
35079 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
35080 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
35081 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
35082 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
35083 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
35084 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
35085 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
35086 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
35087 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
35088 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
35090 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
35091 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
35092 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
35093 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
35094 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
35095 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
35096 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
35097 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
35107 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
35108 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
35110 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
35111 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
35112 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
35113 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
35114 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
35115 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
35116 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
35117 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
35118 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
35120 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
35121 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
35122 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
35125 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
35126 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
35127 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
35130 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
35136 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
35141 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
35142 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
35144 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
35150 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
35153 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
35154 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
35155 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
35156 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
35157 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
35158 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
35159 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
35160 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
35161 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
35162 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
35163 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
35164 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
35165 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
35177 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
35178 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
35179 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
35181 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
35182 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
35184 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
35185 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
35186 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
35187 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
35191 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
35192 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
35194 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
35195 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
35196 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
35197 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
35198 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
35199 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
35200 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
35201 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
35202 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
35204 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
35207 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
35208 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
35209 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
35210 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
35211 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
35212 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
35213 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
35214 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
35224 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
35225 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
35226 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
35228 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
35232 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
35233 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
35234 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
35235 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
35236 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
35237 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
35243 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
35244 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
35245 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35265 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35267 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35268 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35270 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35271 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35272 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35273 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35274 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35275 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35276 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35277 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35278 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35279 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35280 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35281 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35283 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35291 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35293 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
35294 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35295 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
35296 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
35297 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
35298 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35299 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35300 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
35305 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
35306 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
35307 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
35308 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
35309 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35310 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35311 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
35314 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
35315 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
35316 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
35317 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35319 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35323 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35324 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35325 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
35326 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
35327 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
35328 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
35329 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
35330 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
35331 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
35332 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
35333 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
35334 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
35335 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
35336 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
35337 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35338 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35339 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
35340 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35341 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
35342 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
35344 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
35346 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
35347 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
35350 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
35351 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35353 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35354 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
35355 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35356 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
35357 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35358 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35359 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
35360 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
35361 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
35362 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
35363 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
35364 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
35365 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
35366 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35367 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35368 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35369 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35370 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35371 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35372 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
35373 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
35374 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35375 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35376 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
35377 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
35378 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
35379 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
35380 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
35381 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
35382 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
35383 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
35385 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
35386 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
35387 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
35390 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
35391 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
35392 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
35394 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
35395 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35396 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
35397 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
35398 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
35400 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
35401 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35402 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
35403 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
35404 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35405 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
35406 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35407 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
35409 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
35410 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
35411 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
35413 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
35414 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
35416 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
35417 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
35418 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
35419 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
35420 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
35421 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
35423 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
35424 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
35425 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
35427 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
35428 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
35429 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
35433 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
35434 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
35440 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
35441 { (char *)"GraphicsContext_Create", (PyCFunction
) _wrap_GraphicsContext_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
35443 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
35444 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
35445 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"GraphicsContext_DrawText", _wrap_GraphicsContext_DrawText
, METH_VARARGS
, NULL
},
35459 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35460 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"GraphicsContext_StrokeLines", _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
, NULL
},
35465 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
35470 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35471 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
35472 { (char *)"GCDC_GetGraphicContext", (PyCFunction
)_wrap_GCDC_GetGraphicContext
, METH_O
, NULL
},
35473 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
35474 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
35475 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35476 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
35477 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35478 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35479 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35480 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35481 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35482 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35483 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35484 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
35485 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35486 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
35487 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35488 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
35489 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
35490 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
35491 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
35492 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
35493 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
35494 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35495 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35496 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35497 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35498 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35499 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
35500 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
35501 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
35502 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
35503 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
35504 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
35505 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35506 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35507 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35508 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
35509 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35510 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35511 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35512 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
35513 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35514 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35515 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35516 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
35517 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
35518 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
35519 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35520 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35521 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35522 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35523 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
35524 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
35525 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
35526 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
35527 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
35528 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
35529 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
35530 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
35531 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
35532 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
35533 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
35534 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
35535 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35536 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35537 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35538 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35539 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35540 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35541 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35542 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35543 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
35544 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
35545 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35546 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
35547 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
35548 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
35549 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
35550 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
35551 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
35552 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
35553 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
35554 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
35555 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
35556 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
35557 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
35558 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
35559 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
35560 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
35561 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
35562 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
35563 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
35564 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
35565 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
35566 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
35567 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
35568 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
35569 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
35570 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35571 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
35572 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35573 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
35574 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
35575 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
35576 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
35577 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35578 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35579 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35580 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35581 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35582 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35583 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35584 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35585 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35586 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35587 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35588 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35589 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
35590 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
35591 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
35592 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35593 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
35594 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
35595 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
35596 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
35597 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
35598 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
35599 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
35600 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
35601 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35602 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35603 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35604 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35605 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35606 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35607 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35608 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35609 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35610 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35611 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35612 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35613 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35614 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35615 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35616 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35617 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35618 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35619 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35620 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35621 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35622 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35623 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35624 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35625 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35626 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35627 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35628 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35629 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35630 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35631 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35632 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35633 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35634 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35635 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35636 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35637 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35638 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35639 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35640 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35641 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35642 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35643 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35644 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35645 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35646 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35647 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35648 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35649 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35650 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35651 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35652 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35653 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
35654 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35655 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35656 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35657 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35658 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35659 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35660 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35661 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35662 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35663 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
35664 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
35665 { NULL
, NULL
, 0, NULL
}
35669 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35671 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
35672 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
35674 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
35675 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
35677 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
35678 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35680 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
35681 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
35683 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
35684 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
35686 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
35687 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
35689 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
35690 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
35692 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
35693 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
35695 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
35696 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
35698 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
35699 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
35701 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
35702 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
35704 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
35705 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
35707 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
35708 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
35710 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
35711 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
35713 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
35714 return (void *)((wxDC
*) ((wxGCDC
*) x
));
35716 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
35717 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
35719 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
35720 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
35722 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
35723 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
35725 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
35726 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
35728 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
35729 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
35731 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
35732 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
35734 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
35735 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35737 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
35738 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
35740 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
35741 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35743 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
35744 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
35746 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
35747 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
35749 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
35750 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
35752 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
35753 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
35755 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
35756 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
35758 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
35759 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35761 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35762 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35764 static void *_p_wxPenTo_p_wxObject(void *x
) {
35765 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
35767 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
35768 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
35770 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35771 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35773 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35774 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35776 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35777 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35779 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35780 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35782 static void *_p_wxIconTo_p_wxObject(void *x
) {
35783 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
35785 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35786 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35788 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35789 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35791 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35792 return (void *)((wxObject
*) ((wxSizer
*) x
));
35794 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35795 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35797 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35798 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35800 static void *_p_wxEventTo_p_wxObject(void *x
) {
35801 return (void *)((wxObject
*) ((wxEvent
*) x
));
35803 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35804 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35806 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35807 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35809 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35810 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35812 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
35813 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
35815 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
35816 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35818 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35819 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35821 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35822 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35824 static void *_p_wxDCTo_p_wxObject(void *x
) {
35825 return (void *)((wxObject
*) ((wxDC
*) x
));
35827 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35828 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35830 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35831 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35833 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35834 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35836 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35837 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35839 static void *_p_wxControlTo_p_wxObject(void *x
) {
35840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35842 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35843 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35845 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
35846 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
35848 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35849 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35851 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
35852 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
35854 static void *_p_wxRegionTo_p_wxObject(void *x
) {
35855 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
35857 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35858 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35860 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
35861 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
35863 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
35864 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
35866 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
35867 return (void *)((wxObject
*) ((wxEffects
*) x
));
35869 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35870 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35872 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35873 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35875 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
35876 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
35878 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35879 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35881 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35882 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35884 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
35885 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
35887 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35888 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35890 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35891 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35893 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35894 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35896 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35897 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35899 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35900 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35902 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35903 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35905 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35906 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35908 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35909 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35911 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35912 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35914 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35915 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35917 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35918 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35920 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35921 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35923 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35924 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35926 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35927 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35929 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35930 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35932 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35933 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35935 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35936 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35938 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
35939 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
35941 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35942 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35944 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35945 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35947 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35948 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35950 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35951 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35953 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
35954 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
35956 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
35957 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35959 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
35960 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35962 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
35963 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
35965 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
35966 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
35968 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35969 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35971 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35972 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35974 static void *_p_wxImageTo_p_wxObject(void *x
) {
35975 return (void *)((wxObject
*) ((wxImage
*) x
));
35977 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35978 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35980 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
35981 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
35983 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
35984 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
35986 static void *_p_wxImageListTo_p_wxObject(void *x
) {
35987 return (void *)((wxObject
*) ((wxImageList
*) x
));
35989 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
35990 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
35992 static void *_p_wxCursorTo_p_wxObject(void *x
) {
35993 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
35995 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
35996 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
35998 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
35999 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
36001 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36002 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36004 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36005 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36007 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36008 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36010 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36011 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36013 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36014 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36016 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36019 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
36020 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
36022 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36023 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36025 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
36026 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
36028 static void *_p_wxMaskTo_p_wxObject(void *x
) {
36029 return (void *)((wxObject
*) ((wxMask
*) x
));
36031 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36032 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36034 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36035 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36037 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36038 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36040 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36041 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36043 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36044 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36046 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36047 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36049 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36050 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36052 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36053 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36055 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36056 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36058 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36059 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36061 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36064 static void *_p_wxFontTo_p_wxObject(void *x
) {
36065 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
36067 static void *_p_wxBrushTo_p_wxObject(void *x
) {
36068 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
36070 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
36071 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
36073 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36074 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36076 static void *_p_wxColourTo_p_wxObject(void *x
) {
36077 return (void *)((wxObject
*) ((wxColour
*) x
));
36079 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36082 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36083 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36085 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36086 return (void *)((wxWindow
*) ((wxControl
*) x
));
36088 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36089 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36091 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36092 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36094 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
36095 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
36097 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
36098 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
36100 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
36101 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
36102 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
36103 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};
36104 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
36105 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
36106 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
36107 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
36108 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
36109 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
36110 static swig_type_info _swigt__p_wxArrayDouble
= {"_p_wxArrayDouble", "wxArrayDouble *", 0, 0, (void*)0, 0};
36111 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
36112 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
36113 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
36114 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
36115 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
36116 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
36117 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
36118 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
36119 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
36120 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
36121 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
36122 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
36123 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
36124 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
36125 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
36126 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
36127 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
36128 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
36129 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
36130 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
36131 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
36132 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
36133 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
36134 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
36135 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
36136 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
36137 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
36138 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
36139 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
36140 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
36141 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
36142 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
36143 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
36144 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
36145 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
36146 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
36147 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
36148 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
36149 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
36150 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
36151 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
36152 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
36153 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
36154 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
36155 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
36156 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
36157 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
36158 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
36159 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
36160 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
36161 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
36162 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
36163 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
36164 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
36165 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
36166 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
36167 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
36168 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
36169 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
36170 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
36171 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
36172 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
36173 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
36174 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
36175 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
36176 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
36177 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
36178 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
36179 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
36180 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
36181 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
36182 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
36183 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
36184 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
36185 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
36186 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
36187 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
36188 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
36189 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
36190 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
36191 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
36192 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
36193 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
36194 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
36195 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
36196 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
36197 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
36198 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
36199 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
36200 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
36201 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
36202 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
36203 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
36204 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
36205 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
36206 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
36207 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
36208 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
36209 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
36210 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
36211 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
36212 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
36213 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
36214 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
36215 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
36216 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
36217 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
36218 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
36219 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
36220 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
36221 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
36222 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
36223 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
36224 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
36225 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
36226 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
36227 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
36228 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
36229 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
36230 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
36231 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
36232 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
36233 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
36234 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
36235 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
36236 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
36237 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
36238 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
36239 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
36240 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
36241 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
36242 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
36243 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
36244 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
36245 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
36246 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
36247 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
36248 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
36249 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
36250 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
36251 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
36252 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
36253 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
36254 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
36256 static swig_type_info
*swig_type_initial
[] = {
36260 &_swigt__p_form_ops_t
,
36262 &_swigt__p_unsigned_char
,
36263 &_swigt__p_unsigned_int
,
36264 &_swigt__p_unsigned_long
,
36265 &_swigt__p_wxANIHandler
,
36266 &_swigt__p_wxAcceleratorTable
,
36267 &_swigt__p_wxActivateEvent
,
36268 &_swigt__p_wxAlphaPixelData
,
36269 &_swigt__p_wxAlphaPixelData_Accessor
,
36270 &_swigt__p_wxArrayDouble
,
36271 &_swigt__p_wxBMPHandler
,
36272 &_swigt__p_wxBitmap
,
36273 &_swigt__p_wxBoxSizer
,
36274 &_swigt__p_wxBrush
,
36275 &_swigt__p_wxBrushList
,
36276 &_swigt__p_wxBufferedDC
,
36277 &_swigt__p_wxBufferedPaintDC
,
36278 &_swigt__p_wxCURHandler
,
36280 &_swigt__p_wxChildFocusEvent
,
36281 &_swigt__p_wxClientDC
,
36282 &_swigt__p_wxClipboardTextEvent
,
36283 &_swigt__p_wxCloseEvent
,
36284 &_swigt__p_wxColor
,
36285 &_swigt__p_wxColour
,
36286 &_swigt__p_wxColourDatabase
,
36287 &_swigt__p_wxCommandEvent
,
36288 &_swigt__p_wxContextMenuEvent
,
36289 &_swigt__p_wxControl
,
36290 &_swigt__p_wxControlWithItems
,
36291 &_swigt__p_wxCursor
,
36294 &_swigt__p_wxDateEvent
,
36295 &_swigt__p_wxDisplayChangedEvent
,
36296 &_swigt__p_wxDropFilesEvent
,
36297 &_swigt__p_wxDuplexMode
,
36298 &_swigt__p_wxEffects
,
36299 &_swigt__p_wxEncodingConverter
,
36300 &_swigt__p_wxEraseEvent
,
36301 &_swigt__p_wxEvent
,
36302 &_swigt__p_wxEvtHandler
,
36303 &_swigt__p_wxFSFile
,
36304 &_swigt__p_wxFileSystem
,
36305 &_swigt__p_wxFlexGridSizer
,
36306 &_swigt__p_wxFocusEvent
,
36308 &_swigt__p_wxFontList
,
36309 &_swigt__p_wxFontMapper
,
36310 &_swigt__p_wxGBSizerItem
,
36312 &_swigt__p_wxGDIObjListBase
,
36313 &_swigt__p_wxGDIObject
,
36314 &_swigt__p_wxGIFHandler
,
36315 &_swigt__p_wxGraphicsContext
,
36316 &_swigt__p_wxGraphicsPath
,
36317 &_swigt__p_wxGridBagSizer
,
36318 &_swigt__p_wxGridSizer
,
36319 &_swigt__p_wxHeaderButtonParams
,
36320 &_swigt__p_wxICOHandler
,
36322 &_swigt__p_wxIconBundle
,
36323 &_swigt__p_wxIconLocation
,
36324 &_swigt__p_wxIconizeEvent
,
36325 &_swigt__p_wxIdleEvent
,
36326 &_swigt__p_wxImage
,
36327 &_swigt__p_wxImageHandler
,
36328 &_swigt__p_wxImageList
,
36329 &_swigt__p_wxIndividualLayoutConstraint
,
36330 &_swigt__p_wxInitDialogEvent
,
36331 &_swigt__p_wxJPEGHandler
,
36332 &_swigt__p_wxKeyEvent
,
36333 &_swigt__p_wxLanguageInfo
,
36334 &_swigt__p_wxLayoutConstraints
,
36335 &_swigt__p_wxLocale
,
36337 &_swigt__p_wxMaximizeEvent
,
36338 &_swigt__p_wxMemoryDC
,
36340 &_swigt__p_wxMenuBar
,
36341 &_swigt__p_wxMenuEvent
,
36342 &_swigt__p_wxMenuItem
,
36343 &_swigt__p_wxMetaFile
,
36344 &_swigt__p_wxMetaFileDC
,
36345 &_swigt__p_wxMirrorDC
,
36346 &_swigt__p_wxMouseCaptureChangedEvent
,
36347 &_swigt__p_wxMouseCaptureLostEvent
,
36348 &_swigt__p_wxMouseEvent
,
36349 &_swigt__p_wxMoveEvent
,
36350 &_swigt__p_wxNativeEncodingInfo
,
36351 &_swigt__p_wxNativeFontInfo
,
36352 &_swigt__p_wxNativePixelData
,
36353 &_swigt__p_wxNativePixelData_Accessor
,
36354 &_swigt__p_wxNavigationKeyEvent
,
36355 &_swigt__p_wxNcPaintEvent
,
36356 &_swigt__p_wxNotifyEvent
,
36357 &_swigt__p_wxObject
,
36358 &_swigt__p_wxPCXHandler
,
36359 &_swigt__p_wxPNGHandler
,
36360 &_swigt__p_wxPNMHandler
,
36361 &_swigt__p_wxPaintDC
,
36362 &_swigt__p_wxPaintEvent
,
36363 &_swigt__p_wxPalette
,
36364 &_swigt__p_wxPaletteChangedEvent
,
36365 &_swigt__p_wxPaperSize
,
36367 &_swigt__p_wxPenList
,
36368 &_swigt__p_wxPixelDataBase
,
36369 &_swigt__p_wxPoint
,
36370 &_swigt__p_wxPoint2D
,
36371 &_swigt__p_wxPostScriptDC
,
36372 &_swigt__p_wxPrintData
,
36373 &_swigt__p_wxPrinterDC
,
36374 &_swigt__p_wxPseudoDC
,
36375 &_swigt__p_wxPyApp
,
36376 &_swigt__p_wxPyCommandEvent
,
36377 &_swigt__p_wxPyEvent
,
36378 &_swigt__p_wxPyFontEnumerator
,
36379 &_swigt__p_wxPyImageHandler
,
36380 &_swigt__p_wxPyLocale
,
36381 &_swigt__p_wxPySizer
,
36382 &_swigt__p_wxPyValidator
,
36383 &_swigt__p_wxQueryNewPaletteEvent
,
36385 &_swigt__p_wxRegion
,
36386 &_swigt__p_wxRegionIterator
,
36387 &_swigt__p_wxRendererNative
,
36388 &_swigt__p_wxRendererVersion
,
36389 &_swigt__p_wxScreenDC
,
36390 &_swigt__p_wxScrollEvent
,
36391 &_swigt__p_wxScrollWinEvent
,
36392 &_swigt__p_wxSetCursorEvent
,
36393 &_swigt__p_wxShowEvent
,
36395 &_swigt__p_wxSizeEvent
,
36396 &_swigt__p_wxSizer
,
36397 &_swigt__p_wxSizerItem
,
36398 &_swigt__p_wxSplitterRenderParams
,
36399 &_swigt__p_wxStaticBoxSizer
,
36400 &_swigt__p_wxStdDialogButtonSizer
,
36401 &_swigt__p_wxStockGDI
,
36402 &_swigt__p_wxString
,
36403 &_swigt__p_wxSysColourChangedEvent
,
36404 &_swigt__p_wxTIFFHandler
,
36405 &_swigt__p_wxUpdateUIEvent
,
36406 &_swigt__p_wxValidator
,
36407 &_swigt__p_wxWindow
,
36408 &_swigt__p_wxWindowCreateEvent
,
36409 &_swigt__p_wxWindowDC
,
36410 &_swigt__p_wxWindowDestroyEvent
,
36411 &_swigt__p_wxXPMHandler
,
36414 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
36415 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
36416 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
36417 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
36418 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
36419 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
36420 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
36421 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
36422 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
36423 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36424 static swig_cast_info _swigc__p_wxArrayDouble
[] = { {&_swigt__p_wxArrayDouble
, 0, 0, 0},{0, 0, 0, 0}};
36425 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
36426 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
36427 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
36428 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}};
36429 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36430 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
36431 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxClientDC
, 0, 0},{0, 0, 0, 0}};
36432 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
36433 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
36434 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
36435 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
36436 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}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxDC
, 0, 0},{0, 0, 0, 0}};
36437 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
36438 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
36439 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
36440 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
36441 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
36442 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
36443 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
36444 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
36445 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}};
36446 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}};
36447 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
36448 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
36449 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
36450 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
36451 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
36452 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
36453 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
36454 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
36455 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
36456 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}};
36457 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
36458 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}};
36459 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
36460 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
36461 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
36462 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
36463 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
36464 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
36465 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36466 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
36467 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36468 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36469 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
36470 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
36471 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36472 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36473 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36474 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
36475 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
36476 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
36477 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
36478 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36479 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36480 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36481 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
36482 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36483 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36484 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36485 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36486 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36487 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36488 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
36489 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
36490 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
36491 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
36492 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36493 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36494 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
36495 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
36496 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36497 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
36498 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36499 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
36500 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36501 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36502 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36503 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
36504 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36505 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
36506 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
36507 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
36508 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36509 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36510 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36511 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36512 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
36513 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
36514 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36515 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36516 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
36517 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36518 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36519 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
36520 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
36521 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
36522 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
36523 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36524 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36525 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36526 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
36527 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
36528 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36529 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36530 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
36531 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36532 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36533 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36534 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36535 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36536 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
36537 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36538 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36539 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
36540 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
36541 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
36542 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_wxGCDC
, _p_wxGCDCTo_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_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_wxANIHandler
, _p_wxANIHandlerTo_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_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_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}};
36543 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36544 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
36545 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
36546 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
36547 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
36548 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}};
36549 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
36550 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
36551 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
36552 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
36553 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
36554 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
36555 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
36556 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
36557 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
36558 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
36559 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
36560 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
36561 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
36562 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
36563 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
36564 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
36565 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
36566 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
36567 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}};
36568 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
36570 static swig_cast_info
*swig_cast_initial
[] = {
36574 _swigc__p_form_ops_t
,
36576 _swigc__p_unsigned_char
,
36577 _swigc__p_unsigned_int
,
36578 _swigc__p_unsigned_long
,
36579 _swigc__p_wxANIHandler
,
36580 _swigc__p_wxAcceleratorTable
,
36581 _swigc__p_wxActivateEvent
,
36582 _swigc__p_wxAlphaPixelData
,
36583 _swigc__p_wxAlphaPixelData_Accessor
,
36584 _swigc__p_wxArrayDouble
,
36585 _swigc__p_wxBMPHandler
,
36586 _swigc__p_wxBitmap
,
36587 _swigc__p_wxBoxSizer
,
36589 _swigc__p_wxBrushList
,
36590 _swigc__p_wxBufferedDC
,
36591 _swigc__p_wxBufferedPaintDC
,
36592 _swigc__p_wxCURHandler
,
36594 _swigc__p_wxChildFocusEvent
,
36595 _swigc__p_wxClientDC
,
36596 _swigc__p_wxClipboardTextEvent
,
36597 _swigc__p_wxCloseEvent
,
36599 _swigc__p_wxColour
,
36600 _swigc__p_wxColourDatabase
,
36601 _swigc__p_wxCommandEvent
,
36602 _swigc__p_wxContextMenuEvent
,
36603 _swigc__p_wxControl
,
36604 _swigc__p_wxControlWithItems
,
36605 _swigc__p_wxCursor
,
36608 _swigc__p_wxDateEvent
,
36609 _swigc__p_wxDisplayChangedEvent
,
36610 _swigc__p_wxDropFilesEvent
,
36611 _swigc__p_wxDuplexMode
,
36612 _swigc__p_wxEffects
,
36613 _swigc__p_wxEncodingConverter
,
36614 _swigc__p_wxEraseEvent
,
36616 _swigc__p_wxEvtHandler
,
36617 _swigc__p_wxFSFile
,
36618 _swigc__p_wxFileSystem
,
36619 _swigc__p_wxFlexGridSizer
,
36620 _swigc__p_wxFocusEvent
,
36622 _swigc__p_wxFontList
,
36623 _swigc__p_wxFontMapper
,
36624 _swigc__p_wxGBSizerItem
,
36626 _swigc__p_wxGDIObjListBase
,
36627 _swigc__p_wxGDIObject
,
36628 _swigc__p_wxGIFHandler
,
36629 _swigc__p_wxGraphicsContext
,
36630 _swigc__p_wxGraphicsPath
,
36631 _swigc__p_wxGridBagSizer
,
36632 _swigc__p_wxGridSizer
,
36633 _swigc__p_wxHeaderButtonParams
,
36634 _swigc__p_wxICOHandler
,
36636 _swigc__p_wxIconBundle
,
36637 _swigc__p_wxIconLocation
,
36638 _swigc__p_wxIconizeEvent
,
36639 _swigc__p_wxIdleEvent
,
36641 _swigc__p_wxImageHandler
,
36642 _swigc__p_wxImageList
,
36643 _swigc__p_wxIndividualLayoutConstraint
,
36644 _swigc__p_wxInitDialogEvent
,
36645 _swigc__p_wxJPEGHandler
,
36646 _swigc__p_wxKeyEvent
,
36647 _swigc__p_wxLanguageInfo
,
36648 _swigc__p_wxLayoutConstraints
,
36649 _swigc__p_wxLocale
,
36651 _swigc__p_wxMaximizeEvent
,
36652 _swigc__p_wxMemoryDC
,
36654 _swigc__p_wxMenuBar
,
36655 _swigc__p_wxMenuEvent
,
36656 _swigc__p_wxMenuItem
,
36657 _swigc__p_wxMetaFile
,
36658 _swigc__p_wxMetaFileDC
,
36659 _swigc__p_wxMirrorDC
,
36660 _swigc__p_wxMouseCaptureChangedEvent
,
36661 _swigc__p_wxMouseCaptureLostEvent
,
36662 _swigc__p_wxMouseEvent
,
36663 _swigc__p_wxMoveEvent
,
36664 _swigc__p_wxNativeEncodingInfo
,
36665 _swigc__p_wxNativeFontInfo
,
36666 _swigc__p_wxNativePixelData
,
36667 _swigc__p_wxNativePixelData_Accessor
,
36668 _swigc__p_wxNavigationKeyEvent
,
36669 _swigc__p_wxNcPaintEvent
,
36670 _swigc__p_wxNotifyEvent
,
36671 _swigc__p_wxObject
,
36672 _swigc__p_wxPCXHandler
,
36673 _swigc__p_wxPNGHandler
,
36674 _swigc__p_wxPNMHandler
,
36675 _swigc__p_wxPaintDC
,
36676 _swigc__p_wxPaintEvent
,
36677 _swigc__p_wxPalette
,
36678 _swigc__p_wxPaletteChangedEvent
,
36679 _swigc__p_wxPaperSize
,
36681 _swigc__p_wxPenList
,
36682 _swigc__p_wxPixelDataBase
,
36684 _swigc__p_wxPoint2D
,
36685 _swigc__p_wxPostScriptDC
,
36686 _swigc__p_wxPrintData
,
36687 _swigc__p_wxPrinterDC
,
36688 _swigc__p_wxPseudoDC
,
36690 _swigc__p_wxPyCommandEvent
,
36691 _swigc__p_wxPyEvent
,
36692 _swigc__p_wxPyFontEnumerator
,
36693 _swigc__p_wxPyImageHandler
,
36694 _swigc__p_wxPyLocale
,
36695 _swigc__p_wxPySizer
,
36696 _swigc__p_wxPyValidator
,
36697 _swigc__p_wxQueryNewPaletteEvent
,
36699 _swigc__p_wxRegion
,
36700 _swigc__p_wxRegionIterator
,
36701 _swigc__p_wxRendererNative
,
36702 _swigc__p_wxRendererVersion
,
36703 _swigc__p_wxScreenDC
,
36704 _swigc__p_wxScrollEvent
,
36705 _swigc__p_wxScrollWinEvent
,
36706 _swigc__p_wxSetCursorEvent
,
36707 _swigc__p_wxShowEvent
,
36709 _swigc__p_wxSizeEvent
,
36711 _swigc__p_wxSizerItem
,
36712 _swigc__p_wxSplitterRenderParams
,
36713 _swigc__p_wxStaticBoxSizer
,
36714 _swigc__p_wxStdDialogButtonSizer
,
36715 _swigc__p_wxStockGDI
,
36716 _swigc__p_wxString
,
36717 _swigc__p_wxSysColourChangedEvent
,
36718 _swigc__p_wxTIFFHandler
,
36719 _swigc__p_wxUpdateUIEvent
,
36720 _swigc__p_wxValidator
,
36721 _swigc__p_wxWindow
,
36722 _swigc__p_wxWindowCreateEvent
,
36723 _swigc__p_wxWindowDC
,
36724 _swigc__p_wxWindowDestroyEvent
,
36725 _swigc__p_wxXPMHandler
,
36729 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36731 static swig_const_info swig_const_table
[] = {
36732 {0, 0, 0, 0.0, 0, 0}};
36737 /* -----------------------------------------------------------------------------
36738 * Type initialization:
36739 * This problem is tough by the requirement that no dynamic
36740 * memory is used. Also, since swig_type_info structures store pointers to
36741 * swig_cast_info structures and swig_cast_info structures store pointers back
36742 * to swig_type_info structures, we need some lookup code at initialization.
36743 * The idea is that swig generates all the structures that are needed.
36744 * The runtime then collects these partially filled structures.
36745 * The SWIG_InitializeModule function takes these initial arrays out of
36746 * swig_module, and does all the lookup, filling in the swig_module.types
36747 * array with the correct data and linking the correct swig_cast_info
36748 * structures together.
36750 * The generated swig_type_info structures are assigned staticly to an initial
36751 * array. We just loop though that array, and handle each type individually.
36752 * First we lookup if this type has been already loaded, and if so, use the
36753 * loaded structure instead of the generated one. Then we have to fill in the
36754 * cast linked list. The cast data is initially stored in something like a
36755 * two-dimensional array. Each row corresponds to a type (there are the same
36756 * number of rows as there are in the swig_type_initial array). Each entry in
36757 * a column is one of the swig_cast_info structures for that type.
36758 * The cast_initial array is actually an array of arrays, because each row has
36759 * a variable number of columns. So to actually build the cast linked list,
36760 * we find the array of casts associated with the type, and loop through it
36761 * adding the casts to the list. The one last trick we need to do is making
36762 * sure the type pointer in the swig_cast_info struct is correct.
36764 * First off, we lookup the cast->type name to see if it is already loaded.
36765 * There are three cases to handle:
36766 * 1) If the cast->type has already been loaded AND the type we are adding
36767 * casting info to has not been loaded (it is in this module), THEN we
36768 * replace the cast->type pointer with the type pointer that has already
36770 * 2) If BOTH types (the one we are adding casting info to, and the
36771 * cast->type) are loaded, THEN the cast info has already been loaded by
36772 * the previous module so we just ignore it.
36773 * 3) Finally, if cast->type has not already been loaded, then we add that
36774 * swig_cast_info to the linked list (because the cast->type) pointer will
36776 * ----------------------------------------------------------------------------- */
36786 #define SWIGRUNTIME_DEBUG
36790 SWIG_InitializeModule(void *clientdata
) {
36792 swig_module_info
*module_head
;
36793 static int init_run
= 0;
36795 clientdata
= clientdata
;
36797 if (init_run
) return;
36800 /* Initialize the swig_module */
36801 swig_module
.type_initial
= swig_type_initial
;
36802 swig_module
.cast_initial
= swig_cast_initial
;
36804 /* Try and load any already created modules */
36805 module_head
= SWIG_GetModule(clientdata
);
36807 swig_module
.next
= module_head
->next
;
36808 module_head
->next
= &swig_module
;
36810 /* This is the first module loaded */
36811 swig_module
.next
= &swig_module
;
36812 SWIG_SetModule(clientdata
, &swig_module
);
36815 /* Now work on filling in swig_module.types */
36816 #ifdef SWIGRUNTIME_DEBUG
36817 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
36819 for (i
= 0; i
< swig_module
.size
; ++i
) {
36820 swig_type_info
*type
= 0;
36821 swig_type_info
*ret
;
36822 swig_cast_info
*cast
;
36824 #ifdef SWIGRUNTIME_DEBUG
36825 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36828 /* if there is another module already loaded */
36829 if (swig_module
.next
!= &swig_module
) {
36830 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
36833 /* Overwrite clientdata field */
36834 #ifdef SWIGRUNTIME_DEBUG
36835 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
36837 if (swig_module
.type_initial
[i
]->clientdata
) {
36838 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
36839 #ifdef SWIGRUNTIME_DEBUG
36840 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
36844 type
= swig_module
.type_initial
[i
];
36847 /* Insert casting types */
36848 cast
= swig_module
.cast_initial
[i
];
36849 while (cast
->type
) {
36850 /* Don't need to add information already in the list */
36852 #ifdef SWIGRUNTIME_DEBUG
36853 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
36855 if (swig_module
.next
!= &swig_module
) {
36856 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
36857 #ifdef SWIGRUNTIME_DEBUG
36858 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
36862 if (type
== swig_module
.type_initial
[i
]) {
36863 #ifdef SWIGRUNTIME_DEBUG
36864 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
36869 /* Check for casting already in the list */
36870 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
36871 #ifdef SWIGRUNTIME_DEBUG
36872 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
36874 if (!ocast
) ret
= 0;
36879 #ifdef SWIGRUNTIME_DEBUG
36880 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
36883 type
->cast
->prev
= cast
;
36884 cast
->next
= type
->cast
;
36890 /* Set entry in modules->types array equal to the type */
36891 swig_module
.types
[i
] = type
;
36893 swig_module
.types
[i
] = 0;
36895 #ifdef SWIGRUNTIME_DEBUG
36896 printf("**** SWIG_InitializeModule: Cast List ******\n");
36897 for (i
= 0; i
< swig_module
.size
; ++i
) {
36899 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
36900 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36901 while (cast
->type
) {
36902 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
36906 printf("---- Total casts: %d\n",j
);
36908 printf("**** SWIG_InitializeModule: Cast List ******\n");
36912 /* This function will propagate the clientdata field of type to
36913 * any new swig_type_info structures that have been added into the list
36914 * of equivalent types. It is like calling
36915 * SWIG_TypeClientData(type, clientdata) a second time.
36918 SWIG_PropagateClientData(void) {
36920 swig_cast_info
*equiv
;
36921 static int init_run
= 0;
36923 if (init_run
) return;
36926 for (i
= 0; i
< swig_module
.size
; i
++) {
36927 if (swig_module
.types
[i
]->clientdata
) {
36928 equiv
= swig_module
.types
[i
]->cast
;
36930 if (!equiv
->converter
) {
36931 if (equiv
->type
&& !equiv
->type
->clientdata
)
36932 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
36934 equiv
= equiv
->next
;
36954 /* Python-specific SWIG API */
36955 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36956 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36957 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36959 /* -----------------------------------------------------------------------------
36960 * global variable support code.
36961 * ----------------------------------------------------------------------------- */
36963 typedef struct swig_globalvar
{
36964 char *name
; /* Name of global variable */
36965 PyObject
*(*get_attr
)(void); /* Return the current value */
36966 int (*set_attr
)(PyObject
*); /* Set the value */
36967 struct swig_globalvar
*next
;
36970 typedef struct swig_varlinkobject
{
36972 swig_globalvar
*vars
;
36973 } swig_varlinkobject
;
36975 SWIGINTERN PyObject
*
36976 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
36977 return PyString_FromString("<Swig global variables>");
36980 SWIGINTERN PyObject
*
36981 swig_varlink_str(swig_varlinkobject
*v
) {
36982 PyObject
*str
= PyString_FromString("(");
36983 swig_globalvar
*var
;
36984 for (var
= v
->vars
; var
; var
=var
->next
) {
36985 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
36986 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
36988 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
36993 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
36994 PyObject
*str
= swig_varlink_str(v
);
36995 fprintf(fp
,"Swig global variables ");
36996 fprintf(fp
,"%s\n", PyString_AsString(str
));
37002 swig_varlink_dealloc(swig_varlinkobject
*v
) {
37003 swig_globalvar
*var
= v
->vars
;
37005 swig_globalvar
*n
= var
->next
;
37012 SWIGINTERN PyObject
*
37013 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
37014 PyObject
*res
= NULL
;
37015 swig_globalvar
*var
= v
->vars
;
37017 if (strcmp(var
->name
,n
) == 0) {
37018 res
= (*var
->get_attr
)();
37023 if (res
== NULL
&& !PyErr_Occurred()) {
37024 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37030 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
37032 swig_globalvar
*var
= v
->vars
;
37034 if (strcmp(var
->name
,n
) == 0) {
37035 res
= (*var
->set_attr
)(p
);
37040 if (res
== 1 && !PyErr_Occurred()) {
37041 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
37046 SWIGINTERN PyTypeObject
*
37047 swig_varlink_type(void) {
37048 static char varlink__doc__
[] = "Swig var link object";
37049 static PyTypeObject varlink_type
;
37050 static int type_init
= 0;
37052 const PyTypeObject tmp
37054 PyObject_HEAD_INIT(NULL
)
37055 0, /* Number of items in variable part (ob_size) */
37056 (char *)"swigvarlink", /* Type name (tp_name) */
37057 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
37058 0, /* Itemsize (tp_itemsize) */
37059 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
37060 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
37061 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
37062 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
37063 0, /* tp_compare */
37064 (reprfunc
) swig_varlink_repr
, /* tp_repr */
37065 0, /* tp_as_number */
37066 0, /* tp_as_sequence */
37067 0, /* tp_as_mapping */
37070 (reprfunc
)swig_varlink_str
, /* tp_str */
37071 0, /* tp_getattro */
37072 0, /* tp_setattro */
37073 0, /* tp_as_buffer */
37075 varlink__doc__
, /* tp_doc */
37076 0, /* tp_traverse */
37078 0, /* tp_richcompare */
37079 0, /* tp_weaklistoffset */
37080 #if PY_VERSION_HEX >= 0x02020000
37081 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37083 #if PY_VERSION_HEX >= 0x02030000
37086 #ifdef COUNT_ALLOCS
37087 0,0,0,0 /* tp_alloc -> tp_next */
37090 varlink_type
= tmp
;
37091 varlink_type
.ob_type
= &PyType_Type
;
37094 return &varlink_type
;
37097 /* Create a variable linking object for use later */
37098 SWIGINTERN PyObject
*
37099 SWIG_Python_newvarlink(void) {
37100 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
37104 return ((PyObject
*) result
);
37108 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
37109 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
37110 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
37112 size_t size
= strlen(name
)+1;
37113 gv
->name
= (char *)malloc(size
);
37115 strncpy(gv
->name
,name
,size
);
37116 gv
->get_attr
= get_attr
;
37117 gv
->set_attr
= set_attr
;
37118 gv
->next
= v
->vars
;
37124 SWIGINTERN PyObject
*
37126 static PyObject
*_SWIG_globals
= 0;
37127 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
37128 return _SWIG_globals
;
37131 /* -----------------------------------------------------------------------------
37132 * constants/methods manipulation
37133 * ----------------------------------------------------------------------------- */
37135 /* Install Constants */
37137 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
37140 for (i
= 0; constants
[i
].type
; ++i
) {
37141 switch(constants
[i
].type
) {
37142 case SWIG_PY_POINTER
:
37143 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
37145 case SWIG_PY_BINARY
:
37146 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
37153 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
37159 /* -----------------------------------------------------------------------------*/
37160 /* Fix SwigMethods to carry the callback ptrs when needed */
37161 /* -----------------------------------------------------------------------------*/
37164 SWIG_Python_FixMethods(PyMethodDef
*methods
,
37165 swig_const_info
*const_table
,
37166 swig_type_info
**types
,
37167 swig_type_info
**types_initial
) {
37169 for (i
= 0; methods
[i
].ml_name
; ++i
) {
37170 const char *c
= methods
[i
].ml_doc
;
37171 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
37173 swig_const_info
*ci
= 0;
37174 const char *name
= c
+ 10;
37175 for (j
= 0; const_table
[j
].type
; ++j
) {
37176 if (strncmp(const_table
[j
].name
, name
,
37177 strlen(const_table
[j
].name
)) == 0) {
37178 ci
= &(const_table
[j
]);
37183 size_t shift
= (ci
->ptype
) - types
;
37184 swig_type_info
*ty
= types_initial
[shift
];
37185 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37186 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37187 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37190 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
37192 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37194 strncpy(buff
, "swig_ptr: ", 10);
37196 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37197 methods
[i
].ml_doc
= ndoc
;
37209 /* -----------------------------------------------------------------------------*
37210 * Partial Init method
37211 * -----------------------------------------------------------------------------*/
37216 SWIGEXPORT
void SWIG_init(void) {
37219 /* Fix SwigMethods to carry the callback ptrs when needed */
37220 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
37222 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37223 d
= PyModule_GetDict(m
);
37225 SWIG_InitializeModule(0);
37226 SWIG_InstallConstants(d
,swig_const_table
);
37229 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
37230 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
37231 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
37232 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
37233 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
37234 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
37235 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
37236 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
37237 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
37238 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
37239 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
37240 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
37241 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
37242 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
37243 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
37244 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
37245 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
37246 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
37247 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
37248 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
37249 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
37250 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
37251 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
37252 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
37253 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
37254 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
37255 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
37256 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
37257 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
37258 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
37259 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
37260 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
37261 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
37262 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
37263 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
37264 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
37265 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
37266 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
37267 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
37268 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
37269 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
37270 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
37271 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
37272 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
37273 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
37274 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
37275 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
37276 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
37277 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
37278 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
37279 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
37280 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
37281 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
37282 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
37283 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
37284 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
37285 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
37286 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
37287 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
37288 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
37289 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
37290 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
37291 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
37292 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
37293 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
37294 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
37295 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
37296 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
37297 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
37298 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
37299 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
37300 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
37301 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
37302 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
37303 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
37304 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
37305 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
37306 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
37307 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
37308 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
37309 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
37310 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
37311 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
37312 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
37313 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
37314 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
37315 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
37316 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
37317 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
37318 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
37319 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
37320 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
37321 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
37322 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
37323 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
37324 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
37325 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
37326 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
37327 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
37328 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
37329 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
37330 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
37331 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
37332 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
37333 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
37334 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
37335 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
37336 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
37337 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
37338 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
37339 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
37340 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
37341 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
37342 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
37343 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
37344 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
37345 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
37346 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
37347 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
37348 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
37349 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
37350 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
37351 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
37352 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
37353 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
37354 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
37355 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
37356 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
37357 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
37358 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
37359 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
37360 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
37362 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
37364 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
37365 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
37366 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
37367 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
37368 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
37369 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
37370 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
37371 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
37372 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
37373 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
37374 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
37375 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
37376 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
37377 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
37378 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
37379 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
37380 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
37381 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
37382 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
37383 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
37384 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
37385 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
37386 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
37387 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
37388 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
37389 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
37390 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
37391 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
37392 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
37393 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
37394 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
37395 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
37396 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
37397 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
37398 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
37399 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
37400 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
37401 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
37402 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
37403 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
37404 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
37405 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
37406 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
37407 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
37408 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
37409 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
37410 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
37411 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
37412 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
37413 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
37414 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
37415 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
37416 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
37417 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
37418 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
37419 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
37420 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
37421 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
37422 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
37423 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
37424 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
37425 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
37426 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
37427 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
37428 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
37429 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
37430 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
37431 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
37432 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
37433 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
37434 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
37435 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
37436 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
37437 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
37438 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
37439 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
37440 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
37441 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
37442 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
37443 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
37444 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
37445 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
37446 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
37447 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
37448 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
37449 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
37450 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
37451 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
37452 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
37453 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
37454 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
37455 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
37456 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
37457 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
37458 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
37459 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
37460 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
37461 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
37462 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
37463 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
37464 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
37465 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
37466 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
37467 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
37468 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
37469 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
37470 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
37471 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
37472 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
37473 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
37474 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
37475 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
37476 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
37477 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
37478 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
37479 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
37480 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
37481 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
37482 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
37483 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
37484 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
37485 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
37486 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
37487 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
37488 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
37489 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
37490 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
37491 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
37492 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
37493 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
37494 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
37495 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
37496 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
37497 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
37498 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
37499 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
37500 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
37501 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
37502 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
37503 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
37504 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
37505 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
37506 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
37507 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
37508 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
37509 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
37510 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
37511 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
37512 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
37513 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
37514 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
37515 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
37516 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
37517 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
37518 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
37519 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
37520 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
37521 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
37522 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
37523 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
37524 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
37525 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
37526 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
37527 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
37528 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
37529 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
37530 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
37531 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
37532 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
37533 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
37534 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
37535 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
37536 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
37537 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
37538 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
37539 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
37540 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
37541 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
37542 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
37543 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
37544 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
37545 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
37546 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
37547 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
37548 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
37549 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
37550 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
37551 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
37552 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
37553 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
37554 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
37555 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
37556 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
37557 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
37558 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
37559 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
37560 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
37561 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
37562 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
37563 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
37564 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
37565 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
37566 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
37567 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
37568 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
37569 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
37570 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
37571 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
37572 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
37573 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
37574 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
37575 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
37576 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
37577 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
37578 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
37579 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
37580 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
37581 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
37582 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
37583 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
37584 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
37585 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
37586 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
37587 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
37588 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
37589 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
37590 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
37591 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
37592 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
37593 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
37594 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
37595 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
37596 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
37597 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
37598 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
37599 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
37600 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
37601 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
37602 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
37603 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
37604 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
37605 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
37606 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
37607 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
37608 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
37609 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
37610 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
37611 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
37612 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
37613 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
37614 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
37615 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
37616 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
37617 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
37618 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
37619 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
37620 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
37621 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
37622 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
37623 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
37624 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
37625 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
37626 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
37627 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
37628 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
37629 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
37630 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
37631 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
37632 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
37633 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
37634 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
37635 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
37636 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
37637 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
37638 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
37639 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
37640 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
37641 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
37642 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
37643 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
37644 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
37645 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
37646 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
37647 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
37648 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
37649 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
37650 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
37651 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
37652 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
37653 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
37654 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
37655 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
37656 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
37657 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
37658 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
37659 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
37660 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
37661 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
37662 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
37663 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
37664 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
37665 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
37666 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
37667 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
37668 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
37669 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
37670 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
37671 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
37672 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
37673 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
37674 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
37675 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
37676 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
37677 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
37678 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
37679 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
37680 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
37681 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
37682 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
37684 // Work around a chicken/egg problem in drawlist.cpp
37685 wxPyDrawList_SetAPIPtr();