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_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTGAHandler swig_types[162]
2629 #define SWIGTYPE_p_wxTIFFHandler swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDC swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _gdi_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_gdi_
2664 #define SWIG_name "_gdi_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2742 #define SWIG_From_long PyInt_FromLong
2745 SWIGINTERNINLINE PyObject
*
2746 SWIG_From_int (int value
)
2748 return SWIG_From_long (value
);
2754 # define LLONG_MIN LONG_LONG_MIN
2757 # define LLONG_MAX LONG_LONG_MAX
2760 # define ULLONG_MAX ULONG_LONG_MAX
2765 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2767 if (PyNumber_Check(obj
)) {
2768 if (val
) *val
= PyInt_AsLong(obj
);
2771 return SWIG_TypeError
;
2776 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2779 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2780 return SWIG_TypeError
;
2783 *val
= (unsigned long)v
;
2789 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2792 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
> UCHAR_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< unsigned char >(v
);
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_unsigned_SS_long (unsigned long value
)
2807 return (value
> LONG_MAX
) ?
2808 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2812 SWIGINTERNINLINE PyObject
*
2813 SWIG_From_unsigned_SS_char (unsigned char value
)
2815 return SWIG_From_unsigned_SS_long (value
);
2818 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2819 wxColour temp
, *obj
= &temp
;
2820 if ( other
== Py_None
) return false;
2821 if ( ! wxColour_helper(other
, &obj
) ) {
2825 return self
->operator==(*obj
);
2827 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2828 wxColour temp
, *obj
= &temp
;
2829 if ( other
== Py_None
) return true;
2830 if ( ! wxColour_helper(other
, &obj
)) {
2834 return self
->operator!=(*obj
);
2838 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2840 if (obj
== Py_True
) {
2841 if (val
) *val
= true;
2843 } else if (obj
== Py_False
) {
2844 if (val
) *val
= false;
2848 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2849 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2854 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2855 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2859 int alpha
= wxALPHA_OPAQUE
;
2862 green
= self
->Green();
2863 blue
= self
->Blue();
2864 alpha
= self
->Alpha();
2866 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2867 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2868 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2870 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2873 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2874 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2878 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2881 int res
= SWIG_AsVal_long (obj
, &v
);
2882 if (SWIG_IsOK(res
)) {
2883 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2884 return SWIG_OverflowError
;
2886 if (val
) *val
= static_cast< int >(v
);
2892 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2894 int count
= self
->GetDashes(&dashes
);
2895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2896 PyObject
* retval
= PyList_New(0);
2897 for (int x
=0; x
<count
; x
++) {
2898 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2899 PyList_Append(retval
, pyint
);
2902 wxPyEndBlockThreads(blocked
);
2905 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2907 int size
= PyList_Size(pyDashes
);
2908 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2910 // black magic warning! The array of wxDashes needs to exist as
2911 // long as the pen does because wxPen does not copy the array. So
2912 // stick a copy in a Python string object and attach it to _self,
2913 // and then call SetDashes with a pointer to that array. Then
2914 // when the Python pen object is destroyed the array will be
2916 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2917 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2919 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2921 Py_DECREF(strDashes
);
2922 wxPyEndBlockThreads(blocked
);
2924 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2927 #include <wx/rawbmp.h>
2930 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2931 // appears to me that the other platforms are already doing it, so I'll just
2932 // automatically do it for wxMSW here.
2934 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2935 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2937 #define wxPy_premultiply(p, a) (p)
2938 #define wxPy_unpremultiply(p, a) (p)
2942 #include <wx/image.h>
2944 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2945 char** cArray
= NULL
;
2948 if (!PyList_Check(listOfStrings
)) {
2949 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2952 count
= PyList_Size(listOfStrings
);
2953 cArray
= new char*[count
];
2955 for(int x
=0; x
<count
; x
++) {
2956 // TODO: Need some validation and error checking here
2957 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2963 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2964 char** cArray
= NULL
;
2967 cArray
= ConvertListOfStrings(listOfStrings
);
2970 bmp
= new wxBitmap(cArray
);
2974 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2977 PyString_AsStringAndSize(bits
, &buf
, &length
);
2978 return new wxBitmap(buf
, width
, height
, depth
);
2980 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2981 wxSize
size(self
->GetWidth(), self
->GetHeight());
2984 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2985 wxMask
*mask
= new wxMask(*self
, colour
);
2986 self
->SetMask(mask
);
2988 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2989 self
->SetWidth(size
.x
);
2990 self
->SetHeight(size
.y
);
2992 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2993 int height
=self
->GetHeight();
2994 int width
=self
->GetWidth();
2996 if (DATASIZE
!= width
* height
* 3) {
2997 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2999 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3001 // raise an exception...
3002 wxPyErr_SetString(PyExc_RuntimeError
,
3003 "Failed to gain raw access to bitmap data.");
3007 wxNativePixelData::Iterator
p(pixData
);
3008 for (int y
=0; y
<height
; y
++) {
3009 wxNativePixelData::Iterator rowStart
= p
;
3010 for (int x
=0; x
<width
; x
++) {
3011 p
.Red() = *(data
++);
3012 p
.Green() = *(data
++);
3013 p
.Blue() = *(data
++);
3017 p
.OffsetY(pixData
, 1);
3020 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3021 int height
=self
->GetHeight();
3022 int width
=self
->GetWidth();
3024 if (DATASIZE
!= width
* height
* 4) {
3025 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3027 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3029 // raise an exception...
3030 wxPyErr_SetString(PyExc_RuntimeError
,
3031 "Failed to gain raw access to bitmap data.");
3036 wxAlphaPixelData::Iterator
p(pixData
);
3037 for (int y
=0; y
<height
; y
++) {
3038 wxAlphaPixelData::Iterator rowStart
= p
;
3039 for (int x
=0; x
<width
; x
++) {
3041 p
.Red() = wxPy_premultiply(*(data
++), a
);
3042 p
.Green() = wxPy_premultiply(*(data
++), a
);
3043 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3044 p
.Alpha() = a
; data
++;
3048 p
.OffsetY(pixData
, 1);
3051 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3052 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3054 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3055 buffer data
, int DATASIZE
,
3056 buffer alpha
, int ALPHASIZE
)
3058 if (DATASIZE
!= width
*height
*3) {
3059 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3063 if (ALPHASIZE
!= width
*height
) {
3064 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3068 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3069 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3071 // raise an exception...
3072 wxPyErr_SetString(PyExc_RuntimeError
,
3073 "Failed to gain raw access to bitmap data.");
3078 wxAlphaPixelData::Iterator
p(pixData
);
3079 for (int y
=0; y
<height
; y
++) {
3080 wxAlphaPixelData::Iterator rowStart
= p
;
3081 for (int x
=0; x
<width
; x
++) {
3082 byte a
= *(alpha
++);
3083 p
.Red() = wxPy_premultiply(*(data
++), a
);
3084 p
.Green() = wxPy_premultiply(*(data
++), a
);
3085 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3090 p
.OffsetY(pixData
, 1);
3095 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3097 if (DATASIZE
!= width
*height
*3) {
3098 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3102 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3103 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3105 // raise an exception...
3106 wxPyErr_SetString(PyExc_RuntimeError
,
3107 "Failed to gain raw access to bitmap data.");
3111 wxNativePixelData::Iterator
p(pixData
);
3112 for (int y
=0; y
<height
; y
++) {
3113 wxNativePixelData::Iterator rowStart
= p
;
3114 for (int x
=0; x
<width
; x
++) {
3115 p
.Red() = *(data
++);
3116 p
.Green() = *(data
++);
3117 p
.Blue() = *(data
++);
3121 p
.OffsetY(pixData
, 1);
3127 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3129 if (DATASIZE
!= width
*height
*4) {
3130 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3134 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3135 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3137 // raise an exception...
3138 wxPyErr_SetString(PyExc_RuntimeError
,
3139 "Failed to gain raw access to bitmap data.");
3144 wxAlphaPixelData::Iterator
p(pixData
);
3145 for (int y
=0; y
<height
; y
++) {
3146 wxAlphaPixelData::Iterator rowStart
= p
;
3147 for (int x
=0; x
<width
; x
++) {
3149 p
.Red() = wxPy_premultiply(*(data
++), a
);
3150 p
.Green() = wxPy_premultiply(*(data
++), a
);
3151 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3152 p
.Alpha() = a
; data
++;
3156 p
.OffsetY(pixData
, 1);
3162 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3164 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3166 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3168 self
->Green() = green
;
3169 self
->Blue() = blue
;
3171 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3172 PyObject
* rv
= PyTuple_New(3);
3173 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3174 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3175 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3179 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3181 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3183 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3184 self
->Red() = wxPy_premultiply(red
, alpha
);
3185 self
->Green() = wxPy_premultiply(green
, alpha
);
3186 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3187 self
->Alpha() = alpha
;
3189 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3190 PyObject
* rv
= PyTuple_New(4);
3191 int red
= self
->Red();
3192 int green
= self
->Green();
3193 int blue
= self
->Blue();
3194 int alpha
= self
->Alpha();
3196 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3197 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3198 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3199 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3202 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3203 if ( !colour
.IsOk() )
3204 return new wxMask(bitmap
, *wxBLACK
);
3206 return new wxMask(bitmap
, colour
);
3209 #include <wx/iconbndl.h>
3211 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3212 wxIcon
* icon
= new wxIcon();
3213 icon
->CopyFromBitmap(bmp
);
3216 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3217 char** cArray
= NULL
;
3220 cArray
= ConvertListOfStrings(listOfStrings
);
3223 icon
= new wxIcon(cArray
);
3227 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3231 return new wxIconLocation(*filename
);
3234 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3241 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3248 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3250 wxImage
img(cursorName
, type
);
3251 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3252 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3253 return new wxCursor(img
);
3255 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3260 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3263 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3264 return self
->operator bool();
3267 #include <wx/fontutil.h>
3268 #include <wx/fontmap.h>
3269 #include <wx/fontenum.h>
3271 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3272 return self
->ToString();
3275 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3276 static wxNativeEncodingInfo info
;
3277 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3284 SWIGINTERNINLINE PyObject
*
3285 SWIG_From_size_t (size_t value
)
3287 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3291 SWIGINTERNINLINE
int
3292 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3295 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3296 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3300 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3301 wxFontEncoding alt_enc
;
3302 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3303 return PyInt_FromLong(alt_enc
);
3309 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3310 wxNativeFontInfo nfi
;
3311 nfi
.FromString(info
);
3312 return new wxFont(nfi
);
3314 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3315 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3317 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3318 return wxFontBase::New(pixelSize
, family
,
3319 style
, weight
, underlined
,
3322 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3323 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3325 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3326 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3328 class wxPyFontEnumerator
: public wxFontEnumerator
{
3330 wxPyFontEnumerator() {}
3331 ~wxPyFontEnumerator() {}
3333 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3334 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3339 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3340 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3343 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3345 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3346 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3347 ret
= wxArrayString2PyList_helper(arr
);
3348 wxPyEndBlockThreads(blocked
);
3351 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3353 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3354 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3355 ret
= wxArrayString2PyList_helper(arr
);
3356 wxPyEndBlockThreads(blocked
);
3362 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3365 loc
= new wxLocale();
3367 loc
= new wxLocale(language
, flags
);
3368 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3369 // for the floating point conversions and such to work right.
3370 #if PY_VERSION_HEX < 0x02040000
3371 setlocale(LC_NUMERIC
, "C");
3375 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3376 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3377 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3378 // for the floating point conversions and such to work right.
3379 #if PY_VERSION_HEX < 0x02040000
3380 setlocale(LC_NUMERIC
, "C");
3384 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3385 bool rc
= self
->Init(language
, flags
);
3386 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3387 // for the floating point conversions and such to work right.
3388 #if PY_VERSION_HEX < 0x02040000
3389 setlocale(LC_NUMERIC
, "C");
3394 class wxPyLocale
: public wxLocale
3399 wxPyLocale(const wxChar
*szName
, // name (for messages)
3400 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3401 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3402 bool bLoadDefault
= true, // preload wxstd.mo?
3403 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3405 wxPyLocale(int language
, // wxLanguage id or custom language
3406 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3410 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3411 const wxChar
*szDomain
= NULL
) const;
3412 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3413 const wxChar
*szOrigString2
, size_t n
,
3414 const wxChar
*szDomain
= NULL
) const;
3416 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3417 const wxChar
*szDomain
= NULL
) const;
3418 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3419 const wxChar
*szOrigString2
, size_t n
,
3420 const wxChar
*szDomain
= NULL
) const;
3424 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3427 wxPyLocale::wxPyLocale() : wxLocale()
3431 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3432 const wxChar
*szShort
, // dir prefix (for msg files)
3433 const wxChar
*szLocale
, // locale (for setlocale)
3434 bool bLoadDefault
, // preload wxstd.mo?
3435 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3436 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3440 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3441 int flags
) : wxLocale(language
, flags
)
3445 wxPyLocale::~wxPyLocale()
3449 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3450 const wxChar
*szDomain
) const
3452 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3453 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3456 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3457 const wxChar
*szOrigString2
, size_t n
,
3458 const wxChar
*szDomain
) const
3460 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3461 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3464 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3465 const wxChar
*szDomain
) const
3468 static wxString str
;
3469 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.
3470 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3471 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3472 PyObject
* param1
= wx2PyString(szOrigString
);
3473 PyObject
* param2
= wx2PyString(szDomain
);
3474 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3478 str
= Py2wxString(ret
);
3482 wxPyEndBlockThreads(blocked
);
3483 return (found
? (wxChar
*)str
.c_str() : NULL
);
3486 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3487 const wxChar
*szOrigString2
, size_t n
,
3488 const wxChar
*szDomain
) const
3491 static wxString str
;
3492 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.
3493 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3494 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3495 PyObject
* param1
= wx2PyString(szOrigString
);
3496 PyObject
* param2
= wx2PyString(szOrigString2
);
3497 PyObject
* param4
= wx2PyString(szDomain
);
3498 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3503 str
= Py2wxString(ret
);
3507 wxPyEndBlockThreads(blocked
);
3508 return (found
? (wxChar
*)str
.c_str() : NULL
);
3511 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3514 loc
= new wxPyLocale();
3516 loc
= new wxPyLocale(language
, flags
);
3517 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3518 // for the floating point conversions and such to work right.
3519 #if PY_VERSION_HEX < 0x02040000
3520 setlocale(LC_NUMERIC
, "C");
3525 #include "wx/wxPython/pydrawxxx.h"
3527 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3529 self
->GetPixel(x
, y
, &col
);
3532 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3534 self
->GetPixel(pt
, &col
);
3539 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3541 if (PyNumber_Check(obj
)) {
3542 if (val
) *val
= PyFloat_AsDouble(obj
);
3545 return SWIG_TypeError
;
3548 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3550 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3553 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3555 self
->GetClippingBox(rect
);
3558 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3560 self
->GetPartialTextExtents(text
, widths
);
3564 #define SWIG_From_double PyFloat_FromDouble
3566 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3567 self
->SetLogicalOrigin(point
.x
, point
.y
);
3569 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3570 self
->SetDeviceOrigin(point
.x
, point
.y
);
3572 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3573 self
->CalcBoundingBox(point
.x
, point
.y
);
3575 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3576 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3578 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3579 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3581 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3582 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3584 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3585 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3587 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3588 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3590 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3591 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3594 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3602 #include <wx/dcbuffer.h>
3605 #include <wx/dcps.h>
3608 class wxMetaFile
: public wxObject
{
3610 wxMetaFile(const wxString
&)
3611 { wxPyRaiseNotImplemented(); }
3614 class wxMetaFileDC
: public wxClientDC
{
3616 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3617 { wxPyRaiseNotImplemented(); }
3622 class wxPrinterDC
: public wxClientDC
{
3624 wxPrinterDC(const wxPrintData
&)
3625 { wxPyRaiseNotImplemented(); }
3630 #include <wx/graphics.h>
3633 #if !wxUSE_GRAPHICS_CONTEXT
3634 // C++ stub classes for platforms or build configurations that don't have
3635 // wxGraphicsContext yet.
3637 class wxGraphicsRenderer
;
3638 class wxGraphicsMatrix
;
3641 class wxGraphicsObject
: public wxObject
3644 wxGraphicsObject() {}
3645 wxGraphicsObject( wxGraphicsRenderer
* ) {
3646 PyErr_SetString(PyExc_NotImplementedError
,
3647 "wx.GraphicsObject is not available on this platform.");
3649 wxGraphicsObject( const wxGraphicsObject
& ) {}
3650 virtual ~wxGraphicsObject() {}
3651 bool IsNull() const { return false; }
3652 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3657 class wxGraphicsPen
: public wxGraphicsObject
3661 virtual ~wxGraphicsPen() {}
3663 wxGraphicsPen wxNullGraphicsPen
;
3667 class wxGraphicsBrush
: public wxGraphicsObject
3670 wxGraphicsBrush() {}
3671 virtual ~wxGraphicsBrush() {}
3673 wxGraphicsBrush wxNullGraphicsBrush
;
3677 class wxGraphicsFont
: public wxGraphicsObject
3681 virtual ~wxGraphicsFont() {}
3683 wxGraphicsFont wxNullGraphicsFont
;
3687 class wxGraphicsPath
: public wxGraphicsObject
3690 wxGraphicsPath() { }
3691 wxGraphicsPath(wxGraphicsRenderer
* ) {
3692 PyErr_SetString(PyExc_NotImplementedError
,
3693 "wx.GraphicsPath is not available on this platform.");
3695 virtual ~wxGraphicsPath() {}
3697 void MoveToPoint( wxDouble
, wxDouble
) {}
3698 void MoveToPoint( const wxPoint2DDouble
& ) {}
3699 void AddLineToPoint( wxDouble
, wxDouble
) {}
3700 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3701 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3702 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3703 void AddPath( const wxGraphicsPath
& ) {}
3704 void CloseSubpath() {}
3705 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3706 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3707 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3708 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3710 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3711 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3712 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3713 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3715 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3716 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3717 void * GetNativePath() const { return NULL
; }
3718 void UnGetNativePath(void *) const {}
3719 void Transform( const wxGraphicsMatrix
& ) {}
3720 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3721 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3723 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3724 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3726 wxGraphicsPath wxNullGraphicsPath
;
3729 class wxGraphicsMatrix
: public wxGraphicsObject
3732 wxGraphicsMatrix() { }
3733 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3734 PyErr_SetString(PyExc_NotImplementedError
,
3735 "wx.GraphicsMatrix is not available on this platform.");
3737 virtual ~wxGraphicsMatrix() {}
3738 virtual void Concat( const wxGraphicsMatrix
& ) {}
3739 virtual void Copy( const wxGraphicsMatrix
& ) {}
3740 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3741 wxDouble
, wxDouble
) {}
3742 virtual void Invert() {}
3743 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3744 virtual bool IsIdentity() const { return false; }
3745 virtual void Translate( wxDouble
, wxDouble
) {}
3746 virtual void Scale( wxDouble
, wxDouble
) {}
3747 virtual void Rotate( wxDouble
) {}
3748 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3749 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3750 virtual void * GetNativeMatrix() const { return NULL
; }
3752 wxGraphicsMatrix wxNullGraphicsMatrix
;
3755 class wxGraphicsContext
: public wxGraphicsObject
3759 wxGraphicsContext(wxGraphicsRenderer
* ) {
3760 PyErr_SetString(PyExc_NotImplementedError
,
3761 "wx.GraphicsContext is not available on this platform.");
3764 virtual ~wxGraphicsContext() {}
3766 static wxGraphicsContext
* Create() {
3767 PyErr_SetString(PyExc_NotImplementedError
,
3768 "wx.GraphicsContext is not available on this platform.");
3771 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3772 PyErr_SetString(PyExc_NotImplementedError
,
3773 "wx.GraphicsContext is not available on this platform.");
3777 static wxGraphicsContext
* CreateFromNative( void * ) {
3778 PyErr_SetString(PyExc_NotImplementedError
,
3779 "wx.GraphicsContext is not available on this platform.");
3783 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3784 PyErr_SetString(PyExc_NotImplementedError
,
3785 "wx.GraphicsContext is not available on this platform.");
3789 static wxGraphicsContext
* Create( wxWindow
* ) {
3790 PyErr_SetString(PyExc_NotImplementedError
,
3791 "wx.GraphicsContext is not available on this platform.");
3795 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3797 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3799 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3801 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3802 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3804 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3805 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3806 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3808 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3810 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3811 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3813 virtual void PushState() {}
3814 virtual void PopState() {}
3815 virtual void Clip( const wxRegion
& ) {}
3816 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3817 virtual void ResetClip() {}
3818 virtual void * GetNativeContext() { return NULL
; }
3819 virtual void Translate( wxDouble
, wxDouble
) {}
3820 virtual void Scale( wxDouble
, wxDouble
) {}
3821 virtual void Rotate( wxDouble
) {}
3822 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3823 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3824 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3826 virtual void SetPen( const wxGraphicsPen
& ) {}
3827 void SetPen( const wxPen
& ) {}
3829 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3830 void SetBrush( const wxBrush
& ) {}
3832 virtual void SetFont( const wxGraphicsFont
& ) {}
3833 void SetFont( const wxFont
&, const wxColour
& ) {}
3835 virtual void StrokePath( const wxGraphicsPath
& ) {}
3836 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3837 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3839 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3840 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3841 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3842 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3843 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3844 wxDouble
*, wxDouble
* ) const {}
3845 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3847 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3848 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3850 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3851 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3852 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3853 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3854 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3855 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3856 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3857 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3858 virtual bool ShouldOffset() const { return false; }
3862 class wxGraphicsRenderer
: public wxObject
3865 wxGraphicsRenderer() {
3866 PyErr_SetString(PyExc_NotImplementedError
,
3867 "wx.GraphicsRenderer is not available on this platform.");
3870 virtual ~wxGraphicsRenderer() {}
3872 static wxGraphicsRenderer
* GetDefaultRenderer() {
3873 PyErr_SetString(PyExc_NotImplementedError
,
3874 "wx.GraphicsRenderer is not available on this platform.");
3878 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3879 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3880 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3881 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3882 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3884 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3886 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3887 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3889 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3890 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3891 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3892 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3893 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3894 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3895 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3900 class wxGCDC
: public wxWindowDC
3903 wxGCDC(const wxWindowDC
&) {
3904 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3905 PyErr_SetString(PyExc_NotImplementedError
,
3906 "wxGCDC is not available on this platform.");
3907 wxPyEndBlockThreads(blocked
);
3910 wxGCDC(const wxWindow
*) {
3911 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3912 PyErr_SetString(PyExc_NotImplementedError
,
3913 "wxGCDC is not available on this platform.");
3914 wxPyEndBlockThreads(blocked
);
3918 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3919 PyErr_SetString(PyExc_NotImplementedError
,
3920 "wxGCDC is not available on this platform.");
3921 wxPyEndBlockThreads(blocked
);
3924 virtual ~wxGCDC() {}
3926 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3927 void SetGraphicsContext( wxGraphicsContext
* ) {}
3932 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3933 if ( !backgroundBrush
.IsNull() )
3934 self
->DrawText(str
, x
, y
, backgroundBrush
);
3936 self
->DrawText(str
, x
, y
);
3938 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3939 if ( !backgroundBrush
.IsNull() )
3940 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3942 self
->DrawText(str
, x
, y
, angle
);
3944 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3945 wxDouble width
= 0.0,
3947 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3948 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3949 PyObject
* rv
= PyTuple_New(2);
3950 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3951 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3954 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3955 wxArrayDouble widths
;
3956 self
->GetPartialTextExtents(text
, widths
);
3959 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3960 size_t c1
, c2
, count
;
3961 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3962 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3964 if ( beginP
!= NULL
&& endP
!= NULL
)
3966 count
= wxMin(c1
, c2
);
3967 self
->StrokeLines(count
, beginP
, endP
);
3973 #include "wx/dcgraph.h"
3976 #include <wx/overlay.h>
3980 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3981 self
->AddColour(name
, wxColour(red
, green
, blue
));
3984 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3985 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3986 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3987 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3990 #include <wx/effects.h>
3993 #include "wx/renderer.h"
3996 SWIGINTERNINLINE PyObject
*
3997 SWIG_From_bool (bool value
)
3999 return PyBool_FromLong(value
? 1 : 0);
4003 #include "wx/wxPython/pseudodc.h"
4005 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
4007 self
->GetIdBounds(id
, rect
);
4013 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4014 PyObject
*resultobj
= 0;
4015 wxGDIObject
*result
= 0 ;
4017 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4019 if (!wxPyCheckForApp()) SWIG_fail
;
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 result
= (wxGDIObject
*)new wxGDIObject();
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4032 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4033 PyObject
*resultobj
= 0;
4034 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4037 PyObject
*swig_obj
[1] ;
4039 if (!args
) SWIG_fail
;
4041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4042 if (!SWIG_IsOK(res1
)) {
4043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4045 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4053 resultobj
= SWIG_Py_Void();
4060 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4061 PyObject
*resultobj
= 0;
4062 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4066 PyObject
*swig_obj
[1] ;
4068 if (!args
) SWIG_fail
;
4070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4071 if (!SWIG_IsOK(res1
)) {
4072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4074 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 result
= (bool)(arg1
)->IsNull();
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4090 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4093 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4094 return SWIG_Py_Void();
4097 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4098 return SWIG_Python_InitShadowInstance(args
);
4101 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
= 0;
4103 byte arg1
= (byte
) 0 ;
4104 byte arg2
= (byte
) 0 ;
4105 byte arg3
= (byte
) 0 ;
4106 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4107 wxColour
*result
= 0 ;
4108 unsigned char val1
;
4110 unsigned char val2
;
4112 unsigned char val3
;
4114 unsigned char val4
;
4116 PyObject
* obj0
= 0 ;
4117 PyObject
* obj1
= 0 ;
4118 PyObject
* obj2
= 0 ;
4119 PyObject
* obj3
= 0 ;
4120 char * kwnames
[] = {
4121 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4126 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4127 if (!SWIG_IsOK(ecode1
)) {
4128 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4130 arg1
= static_cast< byte
>(val1
);
4133 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4134 if (!SWIG_IsOK(ecode2
)) {
4135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4137 arg2
= static_cast< byte
>(val2
);
4140 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4141 if (!SWIG_IsOK(ecode3
)) {
4142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4144 arg3
= static_cast< byte
>(val3
);
4147 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4148 if (!SWIG_IsOK(ecode4
)) {
4149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4151 arg4
= static_cast< byte
>(val4
);
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4156 wxPyEndAllowThreads(__tstate
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4166 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
*resultobj
= 0;
4168 wxString
*arg1
= 0 ;
4169 wxColour
*result
= 0 ;
4170 bool temp1
= false ;
4171 PyObject
* obj0
= 0 ;
4172 char * kwnames
[] = {
4173 (char *) "colorName", NULL
4176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4178 arg1
= wxString_in_helper(obj0
);
4179 if (arg1
== NULL
) SWIG_fail
;
4183 if (!wxPyCheckForApp()) SWIG_fail
;
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4204 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
= 0;
4206 unsigned long arg1
;
4207 wxColour
*result
= 0 ;
4208 unsigned long val1
;
4210 PyObject
* obj0
= 0 ;
4211 char * kwnames
[] = {
4212 (char *) "colRGB", NULL
4215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4216 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4217 if (!SWIG_IsOK(ecode1
)) {
4218 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4220 arg1
= static_cast< unsigned long >(val1
);
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 result
= (wxColour
*)new wxColour(arg1
);
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4234 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4235 PyObject
*resultobj
= 0;
4236 wxColour
*arg1
= (wxColour
*) 0 ;
4239 PyObject
*swig_obj
[1] ;
4241 if (!args
) SWIG_fail
;
4243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4244 if (!SWIG_IsOK(res1
)) {
4245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4247 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= SWIG_Py_Void();
4262 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4263 PyObject
*resultobj
= 0;
4264 wxColour
*arg1
= (wxColour
*) 0 ;
4268 PyObject
*swig_obj
[1] ;
4270 if (!args
) SWIG_fail
;
4272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4273 if (!SWIG_IsOK(res1
)) {
4274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4276 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 result
= (byte
)(arg1
)->Red();
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4283 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4290 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4291 PyObject
*resultobj
= 0;
4292 wxColour
*arg1
= (wxColour
*) 0 ;
4296 PyObject
*swig_obj
[1] ;
4298 if (!args
) SWIG_fail
;
4300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4301 if (!SWIG_IsOK(res1
)) {
4302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4304 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 result
= (byte
)(arg1
)->Green();
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4318 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4319 PyObject
*resultobj
= 0;
4320 wxColour
*arg1
= (wxColour
*) 0 ;
4324 PyObject
*swig_obj
[1] ;
4326 if (!args
) SWIG_fail
;
4328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4329 if (!SWIG_IsOK(res1
)) {
4330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4332 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 result
= (byte
)(arg1
)->Blue();
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4346 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4347 PyObject
*resultobj
= 0;
4348 wxColour
*arg1
= (wxColour
*) 0 ;
4352 PyObject
*swig_obj
[1] ;
4354 if (!args
) SWIG_fail
;
4356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4357 if (!SWIG_IsOK(res1
)) {
4358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4360 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (byte
)(arg1
)->Alpha();
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4374 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4375 PyObject
*resultobj
= 0;
4376 wxColour
*arg1
= (wxColour
*) 0 ;
4380 PyObject
*swig_obj
[1] ;
4382 if (!args
) SWIG_fail
;
4384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4385 if (!SWIG_IsOK(res1
)) {
4386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4388 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= (bool)(arg1
)->IsOk();
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4404 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
*resultobj
= 0;
4406 wxColour
*arg1
= (wxColour
*) 0 ;
4410 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4413 unsigned char val2
;
4415 unsigned char val3
;
4417 unsigned char val4
;
4419 unsigned char val5
;
4421 PyObject
* obj0
= 0 ;
4422 PyObject
* obj1
= 0 ;
4423 PyObject
* obj2
= 0 ;
4424 PyObject
* obj3
= 0 ;
4425 PyObject
* obj4
= 0 ;
4426 char * kwnames
[] = {
4427 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4432 if (!SWIG_IsOK(res1
)) {
4433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4435 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4436 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4437 if (!SWIG_IsOK(ecode2
)) {
4438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4440 arg2
= static_cast< byte
>(val2
);
4441 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4442 if (!SWIG_IsOK(ecode3
)) {
4443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4445 arg3
= static_cast< byte
>(val3
);
4446 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4447 if (!SWIG_IsOK(ecode4
)) {
4448 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4450 arg4
= static_cast< byte
>(val4
);
4452 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4453 if (!SWIG_IsOK(ecode5
)) {
4454 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4456 arg5
= static_cast< byte
>(val5
);
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= SWIG_Py_Void();
4471 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
= 0;
4473 wxColour
*arg1
= (wxColour
*) 0 ;
4474 unsigned long arg2
;
4477 unsigned long val2
;
4479 PyObject
* obj0
= 0 ;
4480 PyObject
* obj1
= 0 ;
4481 char * kwnames
[] = {
4482 (char *) "self",(char *) "colRGB", NULL
4485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4487 if (!SWIG_IsOK(res1
)) {
4488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4490 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4491 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4492 if (!SWIG_IsOK(ecode2
)) {
4493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4495 arg2
= static_cast< unsigned long >(val2
);
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4502 resultobj
= SWIG_Py_Void();
4509 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
*resultobj
= 0;
4511 wxColour
*arg1
= (wxColour
*) 0 ;
4512 wxString
*arg2
= 0 ;
4515 bool temp2
= false ;
4516 PyObject
* obj0
= 0 ;
4517 PyObject
* obj1
= 0 ;
4518 char * kwnames
[] = {
4519 (char *) "self",(char *) "colourName", NULL
4522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4524 if (!SWIG_IsOK(res1
)) {
4525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4527 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4529 arg2
= wxString_in_helper(obj1
);
4530 if (arg2
== NULL
) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 (arg1
)->Set((wxString
const &)*arg2
);
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4539 resultobj
= SWIG_Py_Void();
4554 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
= 0;
4556 wxColour
*arg1
= (wxColour
*) 0 ;
4557 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4563 PyObject
* obj0
= 0 ;
4564 PyObject
* obj1
= 0 ;
4565 char * kwnames
[] = {
4566 (char *) "self",(char *) "flags", NULL
4569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4571 if (!SWIG_IsOK(res1
)) {
4572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4574 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4576 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4577 if (!SWIG_IsOK(ecode2
)) {
4578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4580 arg2
= static_cast< long >(val2
);
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4601 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4602 PyObject
*resultobj
= 0;
4603 wxColour
*arg1
= (wxColour
*) 0 ;
4607 PyObject
*swig_obj
[1] ;
4609 if (!args
) SWIG_fail
;
4611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4612 if (!SWIG_IsOK(res1
)) {
4613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4615 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= SWIG_From_long(static_cast< long >(result
));
4629 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
*resultobj
= 0;
4631 wxColour
*arg1
= (wxColour
*) 0 ;
4632 PyObject
*arg2
= (PyObject
*) 0 ;
4636 PyObject
* obj0
= 0 ;
4637 PyObject
* obj1
= 0 ;
4638 char * kwnames
[] = {
4639 (char *) "self",(char *) "other", NULL
4642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4644 if (!SWIG_IsOK(res1
)) {
4645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4647 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4650 result
= (bool)wxColour___eq__(arg1
,arg2
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4662 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
= 0;
4664 wxColour
*arg1
= (wxColour
*) 0 ;
4665 PyObject
*arg2
= (PyObject
*) 0 ;
4669 PyObject
* obj0
= 0 ;
4670 PyObject
* obj1
= 0 ;
4671 char * kwnames
[] = {
4672 (char *) "self",(char *) "other", NULL
4675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4677 if (!SWIG_IsOK(res1
)) {
4678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4680 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4683 result
= (bool)wxColour___ne__(arg1
,arg2
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4695 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
*resultobj
= 0;
4697 wxColour
*arg1
= (wxColour
*) 0 ;
4698 bool arg2
= (bool) false ;
4699 PyObject
*result
= 0 ;
4704 PyObject
* obj0
= 0 ;
4705 PyObject
* obj1
= 0 ;
4706 char * kwnames
[] = {
4707 (char *) "self",(char *) "includeAlpha", NULL
4710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4712 if (!SWIG_IsOK(res1
)) {
4713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4715 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4717 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4718 if (!SWIG_IsOK(ecode2
)) {
4719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4721 arg2
= static_cast< bool >(val2
);
4724 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4734 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4735 PyObject
*resultobj
= 0;
4736 wxColour
*arg1
= (wxColour
*) 0 ;
4737 unsigned long result
;
4740 PyObject
*swig_obj
[1] ;
4742 if (!args
) SWIG_fail
;
4744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4745 if (!SWIG_IsOK(res1
)) {
4746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4748 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4750 result
= (unsigned long)wxColour_GetRGB(arg1
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4753 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4760 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4763 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4764 return SWIG_Py_Void();
4767 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4768 return SWIG_Python_InitShadowInstance(args
);
4771 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
= 0;
4774 unsigned char *arg2
= (unsigned char *) 0 ;
4775 unsigned char *arg3
= (unsigned char *) 0 ;
4776 unsigned char *arg4
= (unsigned char *) 0 ;
4777 wxPalette
*result
= 0 ;
4786 PyObject
* obj0
= 0 ;
4787 PyObject
* obj1
= 0 ;
4788 PyObject
* obj2
= 0 ;
4789 PyObject
* obj3
= 0 ;
4790 char * kwnames
[] = {
4791 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4795 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4796 if (!SWIG_IsOK(ecode1
)) {
4797 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4799 arg1
= static_cast< int >(val1
);
4800 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4801 if (!SWIG_IsOK(res2
)) {
4802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4804 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4805 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4806 if (!SWIG_IsOK(res3
)) {
4807 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4809 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4810 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4811 if (!SWIG_IsOK(res4
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4814 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4816 if (!wxPyCheckForApp()) SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4829 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4830 PyObject
*resultobj
= 0;
4831 wxPalette
*arg1
= (wxPalette
*) 0 ;
4834 PyObject
*swig_obj
[1] ;
4836 if (!args
) SWIG_fail
;
4838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4839 if (!SWIG_IsOK(res1
)) {
4840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4842 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= SWIG_Py_Void();
4857 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
= 0;
4859 wxPalette
*arg1
= (wxPalette
*) 0 ;
4866 unsigned char val2
;
4868 unsigned char val3
;
4870 unsigned char val4
;
4872 PyObject
* obj0
= 0 ;
4873 PyObject
* obj1
= 0 ;
4874 PyObject
* obj2
= 0 ;
4875 PyObject
* obj3
= 0 ;
4876 char * kwnames
[] = {
4877 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4882 if (!SWIG_IsOK(res1
)) {
4883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4885 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4886 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4887 if (!SWIG_IsOK(ecode2
)) {
4888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4890 arg2
= static_cast< byte
>(val2
);
4891 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4892 if (!SWIG_IsOK(ecode3
)) {
4893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4895 arg3
= static_cast< byte
>(val3
);
4896 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4897 if (!SWIG_IsOK(ecode4
)) {
4898 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4900 arg4
= static_cast< byte
>(val4
);
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= SWIG_From_int(static_cast< int >(result
));
4914 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
= 0;
4916 wxPalette
*arg1
= (wxPalette
*) 0 ;
4918 byte
*arg3
= (byte
*) 0 ;
4919 byte
*arg4
= (byte
*) 0 ;
4920 byte
*arg5
= (byte
*) 0 ;
4927 int res3
= SWIG_TMPOBJ
;
4929 int res4
= SWIG_TMPOBJ
;
4931 int res5
= SWIG_TMPOBJ
;
4932 PyObject
* obj0
= 0 ;
4933 PyObject
* obj1
= 0 ;
4934 char * kwnames
[] = {
4935 (char *) "self",(char *) "pixel", NULL
4941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4943 if (!SWIG_IsOK(res1
)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4946 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4947 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4948 if (!SWIG_IsOK(ecode2
)) {
4949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4951 arg2
= static_cast< int >(val2
);
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4961 if (SWIG_IsTmpObj(res3
)) {
4962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4964 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4967 if (SWIG_IsTmpObj(res4
)) {
4968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4970 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4973 if (SWIG_IsTmpObj(res5
)) {
4974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4976 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4985 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4986 PyObject
*resultobj
= 0;
4987 wxPalette
*arg1
= (wxPalette
*) 0 ;
4991 PyObject
*swig_obj
[1] ;
4993 if (!args
) SWIG_fail
;
4995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4996 if (!SWIG_IsOK(res1
)) {
4997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4999 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5006 resultobj
= SWIG_From_int(static_cast< int >(result
));
5013 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5014 PyObject
*resultobj
= 0;
5015 wxPalette
*arg1
= (wxPalette
*) 0 ;
5019 PyObject
*swig_obj
[1] ;
5021 if (!args
) SWIG_fail
;
5023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5024 if (!SWIG_IsOK(res1
)) {
5025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5027 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 result
= (bool)(arg1
)->IsOk();
5031 wxPyEndAllowThreads(__tstate
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5043 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5045 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5046 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5047 return SWIG_Py_Void();
5050 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5051 return SWIG_Python_InitShadowInstance(args
);
5054 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
*resultobj
= 0;
5056 wxColour
*arg1
= 0 ;
5057 int arg2
= (int) 1 ;
5058 int arg3
= (int) wxSOLID
;
5065 PyObject
* obj0
= 0 ;
5066 PyObject
* obj1
= 0 ;
5067 PyObject
* obj2
= 0 ;
5068 char * kwnames
[] = {
5069 (char *) "colour",(char *) "width",(char *) "style", NULL
5072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5075 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5079 if (!SWIG_IsOK(ecode2
)) {
5080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5082 arg2
= static_cast< int >(val2
);
5085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5086 if (!SWIG_IsOK(ecode3
)) {
5087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5089 arg3
= static_cast< int >(val3
);
5092 if (!wxPyCheckForApp()) SWIG_fail
;
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5105 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5106 PyObject
*resultobj
= 0;
5107 wxPen
*arg1
= (wxPen
*) 0 ;
5110 PyObject
*swig_obj
[1] ;
5112 if (!args
) SWIG_fail
;
5114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5115 if (!SWIG_IsOK(res1
)) {
5116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5118 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 wxPyEndAllowThreads(__tstate
);
5124 if (PyErr_Occurred()) SWIG_fail
;
5126 resultobj
= SWIG_Py_Void();
5133 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5134 PyObject
*resultobj
= 0;
5135 wxPen
*arg1
= (wxPen
*) 0 ;
5139 PyObject
*swig_obj
[1] ;
5141 if (!args
) SWIG_fail
;
5143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5144 if (!SWIG_IsOK(res1
)) {
5145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5147 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 result
= (int)(arg1
)->GetCap();
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 resultobj
= SWIG_From_int(static_cast< int >(result
));
5161 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5162 PyObject
*resultobj
= 0;
5163 wxPen
*arg1
= (wxPen
*) 0 ;
5167 PyObject
*swig_obj
[1] ;
5169 if (!args
) SWIG_fail
;
5171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5172 if (!SWIG_IsOK(res1
)) {
5173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5175 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 result
= (arg1
)->GetColour();
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5189 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5190 PyObject
*resultobj
= 0;
5191 wxPen
*arg1
= (wxPen
*) 0 ;
5195 PyObject
*swig_obj
[1] ;
5197 if (!args
) SWIG_fail
;
5199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5200 if (!SWIG_IsOK(res1
)) {
5201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5203 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (int)(arg1
)->GetJoin();
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 resultobj
= SWIG_From_int(static_cast< int >(result
));
5217 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5218 PyObject
*resultobj
= 0;
5219 wxPen
*arg1
= (wxPen
*) 0 ;
5223 PyObject
*swig_obj
[1] ;
5225 if (!args
) SWIG_fail
;
5227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5228 if (!SWIG_IsOK(res1
)) {
5229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5231 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (int)(arg1
)->GetStyle();
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 resultobj
= SWIG_From_int(static_cast< int >(result
));
5245 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5246 PyObject
*resultobj
= 0;
5247 wxPen
*arg1
= (wxPen
*) 0 ;
5251 PyObject
*swig_obj
[1] ;
5253 if (!args
) SWIG_fail
;
5255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5256 if (!SWIG_IsOK(res1
)) {
5257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5259 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (int)(arg1
)->GetWidth();
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5266 resultobj
= SWIG_From_int(static_cast< int >(result
));
5273 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5274 PyObject
*resultobj
= 0;
5275 wxPen
*arg1
= (wxPen
*) 0 ;
5279 PyObject
*swig_obj
[1] ;
5281 if (!args
) SWIG_fail
;
5283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5284 if (!SWIG_IsOK(res1
)) {
5285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5287 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 result
= (bool)(arg1
)->IsOk();
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5303 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
*resultobj
= 0;
5305 wxPen
*arg1
= (wxPen
*) 0 ;
5311 PyObject
* obj0
= 0 ;
5312 PyObject
* obj1
= 0 ;
5313 char * kwnames
[] = {
5314 (char *) "self",(char *) "cap_style", NULL
5317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5319 if (!SWIG_IsOK(res1
)) {
5320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5322 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5324 if (!SWIG_IsOK(ecode2
)) {
5325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5327 arg2
= static_cast< int >(val2
);
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 (arg1
)->SetCap(arg2
);
5331 wxPyEndAllowThreads(__tstate
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5334 resultobj
= SWIG_Py_Void();
5341 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
= 0;
5343 wxPen
*arg1
= (wxPen
*) 0 ;
5344 wxColour
*arg2
= 0 ;
5348 PyObject
* obj0
= 0 ;
5349 PyObject
* obj1
= 0 ;
5350 char * kwnames
[] = {
5351 (char *) "self",(char *) "colour", NULL
5354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5356 if (!SWIG_IsOK(res1
)) {
5357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5359 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5362 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 (arg1
)->SetColour(*arg2
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5370 resultobj
= SWIG_Py_Void();
5377 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
= 0;
5379 wxPen
*arg1
= (wxPen
*) 0 ;
5385 PyObject
* obj0
= 0 ;
5386 PyObject
* obj1
= 0 ;
5387 char * kwnames
[] = {
5388 (char *) "self",(char *) "join_style", NULL
5391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5393 if (!SWIG_IsOK(res1
)) {
5394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5396 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5398 if (!SWIG_IsOK(ecode2
)) {
5399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5401 arg2
= static_cast< int >(val2
);
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 (arg1
)->SetJoin(arg2
);
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5408 resultobj
= SWIG_Py_Void();
5415 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5416 PyObject
*resultobj
= 0;
5417 wxPen
*arg1
= (wxPen
*) 0 ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5425 char * kwnames
[] = {
5426 (char *) "self",(char *) "style", NULL
5429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5431 if (!SWIG_IsOK(res1
)) {
5432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5434 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5436 if (!SWIG_IsOK(ecode2
)) {
5437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5439 arg2
= static_cast< int >(val2
);
5441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5442 (arg1
)->SetStyle(arg2
);
5443 wxPyEndAllowThreads(__tstate
);
5444 if (PyErr_Occurred()) SWIG_fail
;
5446 resultobj
= SWIG_Py_Void();
5453 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
= 0;
5455 wxPen
*arg1
= (wxPen
*) 0 ;
5461 PyObject
* obj0
= 0 ;
5462 PyObject
* obj1
= 0 ;
5463 char * kwnames
[] = {
5464 (char *) "self",(char *) "width", NULL
5467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5469 if (!SWIG_IsOK(res1
)) {
5470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5472 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5474 if (!SWIG_IsOK(ecode2
)) {
5475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5477 arg2
= static_cast< int >(val2
);
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 (arg1
)->SetWidth(arg2
);
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5484 resultobj
= SWIG_Py_Void();
5491 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
*resultobj
= 0;
5493 wxPen
*arg1
= (wxPen
*) 0 ;
5495 wxDash
*arg3
= (wxDash
*) 0 ;
5498 PyObject
* obj0
= 0 ;
5499 PyObject
* obj1
= 0 ;
5500 char * kwnames
[] = {
5501 (char *) "self",(char *) "dashes", NULL
5504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5506 if (!SWIG_IsOK(res1
)) {
5507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5509 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5511 arg2
= PyList_Size(obj1
);
5512 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5513 if (arg3
== NULL
) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 (arg1
)->SetDashes(arg2
,arg3
);
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5521 resultobj
= SWIG_Py_Void();
5523 if (arg3
) delete [] arg3
;
5528 if (arg3
) delete [] arg3
;
5534 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5535 PyObject
*resultobj
= 0;
5536 wxPen
*arg1
= (wxPen
*) 0 ;
5537 PyObject
*result
= 0 ;
5540 PyObject
*swig_obj
[1] ;
5542 if (!args
) SWIG_fail
;
5544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5545 if (!SWIG_IsOK(res1
)) {
5546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5548 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5562 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
= 0;
5564 wxPen
*arg1
= (wxPen
*) 0 ;
5565 PyObject
*arg2
= (PyObject
*) 0 ;
5566 PyObject
*arg3
= (PyObject
*) 0 ;
5569 PyObject
* obj0
= 0 ;
5570 PyObject
* obj1
= 0 ;
5571 PyObject
* obj2
= 0 ;
5572 char * kwnames
[] = {
5573 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5578 if (!SWIG_IsOK(res1
)) {
5579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5581 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 wxPen__SetDashes(arg1
,arg2
,arg3
);
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5590 resultobj
= SWIG_Py_Void();
5597 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5598 PyObject
*resultobj
= 0;
5599 wxPen
*arg1
= (wxPen
*) 0 ;
5603 PyObject
*swig_obj
[1] ;
5605 if (!args
) SWIG_fail
;
5607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5608 if (!SWIG_IsOK(res1
)) {
5609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5611 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= SWIG_From_int(static_cast< int >(result
));
5625 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
= 0;
5627 wxPen
*arg1
= (wxPen
*) 0 ;
5628 wxPen
*arg2
= (wxPen
*) 0 ;
5634 PyObject
* obj0
= 0 ;
5635 PyObject
* obj1
= 0 ;
5636 char * kwnames
[] = {
5637 (char *) "self",(char *) "other", NULL
5640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5642 if (!SWIG_IsOK(res1
)) {
5643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5645 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5646 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5647 if (!SWIG_IsOK(res2
)) {
5648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5650 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5653 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5666 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
= 0;
5668 wxPen
*arg1
= (wxPen
*) 0 ;
5669 wxPen
*arg2
= (wxPen
*) 0 ;
5675 PyObject
* obj0
= 0 ;
5676 PyObject
* obj1
= 0 ;
5677 char * kwnames
[] = {
5678 (char *) "self",(char *) "other", NULL
5681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5683 if (!SWIG_IsOK(res1
)) {
5684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5686 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5688 if (!SWIG_IsOK(res2
)) {
5689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5691 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5707 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5710 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5711 return SWIG_Py_Void();
5714 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5715 return SWIG_Python_InitShadowInstance(args
);
5718 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
= 0;
5720 wxColour
*arg1
= 0 ;
5721 int arg2
= (int) wxSOLID
;
5722 wxBrush
*result
= 0 ;
5726 PyObject
* obj0
= 0 ;
5727 PyObject
* obj1
= 0 ;
5728 char * kwnames
[] = {
5729 (char *) "colour",(char *) "style", NULL
5732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5735 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5739 if (!SWIG_IsOK(ecode2
)) {
5740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5742 arg2
= static_cast< int >(val2
);
5745 if (!wxPyCheckForApp()) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5758 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
= 0;
5760 wxBitmap
*arg1
= 0 ;
5761 wxBrush
*result
= 0 ;
5764 PyObject
* obj0
= 0 ;
5765 char * kwnames
[] = {
5766 (char *) "stippleBitmap", NULL
5769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5770 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5771 if (!SWIG_IsOK(res1
)) {
5772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5777 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5779 if (!wxPyCheckForApp()) SWIG_fail
;
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5781 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5792 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5793 PyObject
*resultobj
= 0;
5794 wxBrush
*arg1
= (wxBrush
*) 0 ;
5797 PyObject
*swig_obj
[1] ;
5799 if (!args
) SWIG_fail
;
5801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5802 if (!SWIG_IsOK(res1
)) {
5803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5805 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5813 resultobj
= SWIG_Py_Void();
5820 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
*resultobj
= 0;
5822 wxBrush
*arg1
= (wxBrush
*) 0 ;
5823 wxColour
*arg2
= 0 ;
5827 PyObject
* obj0
= 0 ;
5828 PyObject
* obj1
= 0 ;
5829 char * kwnames
[] = {
5830 (char *) "self",(char *) "col", NULL
5833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5835 if (!SWIG_IsOK(res1
)) {
5836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5838 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5841 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 (arg1
)->SetColour((wxColour
const &)*arg2
);
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) SWIG_fail
;
5849 resultobj
= SWIG_Py_Void();
5856 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
*resultobj
= 0;
5858 wxBrush
*arg1
= (wxBrush
*) 0 ;
5864 PyObject
* obj0
= 0 ;
5865 PyObject
* obj1
= 0 ;
5866 char * kwnames
[] = {
5867 (char *) "self",(char *) "style", NULL
5870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5872 if (!SWIG_IsOK(res1
)) {
5873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5875 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5877 if (!SWIG_IsOK(ecode2
)) {
5878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5880 arg2
= static_cast< int >(val2
);
5882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5883 (arg1
)->SetStyle(arg2
);
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5887 resultobj
= SWIG_Py_Void();
5894 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
= 0;
5896 wxBrush
*arg1
= (wxBrush
*) 0 ;
5897 wxBitmap
*arg2
= 0 ;
5902 PyObject
* obj0
= 0 ;
5903 PyObject
* obj1
= 0 ;
5904 char * kwnames
[] = {
5905 (char *) "self",(char *) "stipple", NULL
5908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5913 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5914 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5915 if (!SWIG_IsOK(res2
)) {
5916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5921 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5928 resultobj
= SWIG_Py_Void();
5935 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5936 PyObject
*resultobj
= 0;
5937 wxBrush
*arg1
= (wxBrush
*) 0 ;
5941 PyObject
*swig_obj
[1] ;
5943 if (!args
) SWIG_fail
;
5945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5946 if (!SWIG_IsOK(res1
)) {
5947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5949 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 result
= ((wxBrush
const *)arg1
)->GetColour();
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5956 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5963 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5964 PyObject
*resultobj
= 0;
5965 wxBrush
*arg1
= (wxBrush
*) 0 ;
5969 PyObject
*swig_obj
[1] ;
5971 if (!args
) SWIG_fail
;
5973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5974 if (!SWIG_IsOK(res1
)) {
5975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5977 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5984 resultobj
= SWIG_From_int(static_cast< int >(result
));
5991 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5992 PyObject
*resultobj
= 0;
5993 wxBrush
*arg1
= (wxBrush
*) 0 ;
5994 wxBitmap
*result
= 0 ;
5997 PyObject
*swig_obj
[1] ;
5999 if (!args
) SWIG_fail
;
6001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6002 if (!SWIG_IsOK(res1
)) {
6003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6005 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6019 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6020 PyObject
*resultobj
= 0;
6021 wxBrush
*arg1
= (wxBrush
*) 0 ;
6025 PyObject
*swig_obj
[1] ;
6027 if (!args
) SWIG_fail
;
6029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6030 if (!SWIG_IsOK(res1
)) {
6031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6033 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6049 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6050 PyObject
*resultobj
= 0;
6051 wxBrush
*arg1
= (wxBrush
*) 0 ;
6055 PyObject
*swig_obj
[1] ;
6057 if (!args
) SWIG_fail
;
6059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6060 if (!SWIG_IsOK(res1
)) {
6061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6063 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 result
= (bool)(arg1
)->IsOk();
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6079 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6081 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6082 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6083 return SWIG_Py_Void();
6086 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6087 return SWIG_Python_InitShadowInstance(args
);
6090 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
= 0;
6092 wxString
*arg1
= 0 ;
6093 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6094 wxBitmap
*result
= 0 ;
6095 bool temp1
= false ;
6098 PyObject
* obj0
= 0 ;
6099 PyObject
* obj1
= 0 ;
6100 char * kwnames
[] = {
6101 (char *) "name",(char *) "type", NULL
6104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6106 arg1
= wxString_in_helper(obj0
);
6107 if (arg1
== NULL
) SWIG_fail
;
6111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6112 if (!SWIG_IsOK(ecode2
)) {
6113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6115 arg2
= static_cast< wxBitmapType
>(val2
);
6118 if (!wxPyCheckForApp()) SWIG_fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6139 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6140 PyObject
*resultobj
= 0;
6141 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6144 PyObject
*swig_obj
[1] ;
6146 if (!args
) SWIG_fail
;
6148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6149 if (!SWIG_IsOK(res1
)) {
6150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6152 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6158 resultobj
= SWIG_Py_Void();
6165 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
*resultobj
= 0;
6169 int arg3
= (int) -1 ;
6170 wxBitmap
*result
= 0 ;
6177 PyObject
* obj0
= 0 ;
6178 PyObject
* obj1
= 0 ;
6179 PyObject
* obj2
= 0 ;
6180 char * kwnames
[] = {
6181 (char *) "width",(char *) "height",(char *) "depth", NULL
6184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6185 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6186 if (!SWIG_IsOK(ecode1
)) {
6187 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6189 arg1
= static_cast< int >(val1
);
6190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6191 if (!SWIG_IsOK(ecode2
)) {
6192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6194 arg2
= static_cast< int >(val2
);
6196 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6197 if (!SWIG_IsOK(ecode3
)) {
6198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6200 arg3
= static_cast< int >(val3
);
6203 if (!wxPyCheckForApp()) SWIG_fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6216 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
= 0;
6219 wxBitmap
*result
= 0 ;
6222 PyObject
* obj0
= 0 ;
6223 char * kwnames
[] = {
6224 (char *) "icon", NULL
6227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6228 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6229 if (!SWIG_IsOK(res1
)) {
6230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6235 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6237 if (!wxPyCheckForApp()) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6250 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
= 0;
6253 int arg2
= (int) -1 ;
6254 wxBitmap
*result
= 0 ;
6259 PyObject
* obj0
= 0 ;
6260 PyObject
* obj1
= 0 ;
6261 char * kwnames
[] = {
6262 (char *) "image",(char *) "depth", NULL
6265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6266 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6267 if (!SWIG_IsOK(res1
)) {
6268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6273 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6276 if (!SWIG_IsOK(ecode2
)) {
6277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6279 arg2
= static_cast< int >(val2
);
6282 if (!wxPyCheckForApp()) SWIG_fail
;
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6284 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6285 wxPyEndAllowThreads(__tstate
);
6286 if (PyErr_Occurred()) SWIG_fail
;
6288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6295 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
= 0;
6297 PyObject
*arg1
= (PyObject
*) 0 ;
6298 wxBitmap
*result
= 0 ;
6299 PyObject
* obj0
= 0 ;
6300 char * kwnames
[] = {
6301 (char *) "listOfStrings", NULL
6304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6307 if (!wxPyCheckForApp()) SWIG_fail
;
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6320 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
= 0;
6322 PyObject
*arg1
= (PyObject
*) 0 ;
6325 int arg4
= (int) 1 ;
6326 wxBitmap
*result
= 0 ;
6333 PyObject
* obj0
= 0 ;
6334 PyObject
* obj1
= 0 ;
6335 PyObject
* obj2
= 0 ;
6336 PyObject
* obj3
= 0 ;
6337 char * kwnames
[] = {
6338 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6344 if (!SWIG_IsOK(ecode2
)) {
6345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6347 arg2
= static_cast< int >(val2
);
6348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6349 if (!SWIG_IsOK(ecode3
)) {
6350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6352 arg3
= static_cast< int >(val3
);
6354 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6355 if (!SWIG_IsOK(ecode4
)) {
6356 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6358 arg4
= static_cast< int >(val4
);
6361 if (!wxPyCheckForApp()) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6374 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6375 PyObject
*resultobj
= 0;
6376 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6380 PyObject
*swig_obj
[1] ;
6382 if (!args
) SWIG_fail
;
6384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6385 if (!SWIG_IsOK(res1
)) {
6386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6388 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6390 result
= (bool)(arg1
)->IsOk();
6391 if (PyErr_Occurred()) SWIG_fail
;
6394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6402 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6403 PyObject
*resultobj
= 0;
6404 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6408 PyObject
*swig_obj
[1] ;
6410 if (!args
) SWIG_fail
;
6412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6413 if (!SWIG_IsOK(res1
)) {
6414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6416 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6418 result
= (int)(arg1
)->GetWidth();
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 resultobj
= SWIG_From_int(static_cast< int >(result
));
6428 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6429 PyObject
*resultobj
= 0;
6430 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6434 PyObject
*swig_obj
[1] ;
6436 if (!args
) SWIG_fail
;
6438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6439 if (!SWIG_IsOK(res1
)) {
6440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6442 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6444 result
= (int)(arg1
)->GetHeight();
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= SWIG_From_int(static_cast< int >(result
));
6454 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6455 PyObject
*resultobj
= 0;
6456 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6460 PyObject
*swig_obj
[1] ;
6462 if (!args
) SWIG_fail
;
6464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6465 if (!SWIG_IsOK(res1
)) {
6466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6468 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6470 result
= (int)(arg1
)->GetDepth();
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 resultobj
= SWIG_From_int(static_cast< int >(result
));
6480 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6481 PyObject
*resultobj
= 0;
6482 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6486 PyObject
*swig_obj
[1] ;
6488 if (!args
) SWIG_fail
;
6490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6491 if (!SWIG_IsOK(res1
)) {
6492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6494 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6496 result
= wxBitmap_GetSize(arg1
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6499 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6506 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6507 PyObject
*resultobj
= 0;
6508 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6509 SwigValueWrapper
<wxImage
> result
;
6512 PyObject
*swig_obj
[1] ;
6514 if (!args
) SWIG_fail
;
6516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6517 if (!SWIG_IsOK(res1
)) {
6518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6520 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6522 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6523 if (PyErr_Occurred()) SWIG_fail
;
6525 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6532 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6533 PyObject
*resultobj
= 0;
6534 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6535 wxMask
*result
= 0 ;
6538 PyObject
*swig_obj
[1] ;
6540 if (!args
) SWIG_fail
;
6542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6543 if (!SWIG_IsOK(res1
)) {
6544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6546 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6548 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6558 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
= 0;
6560 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6561 wxMask
*arg2
= (wxMask
*) 0 ;
6565 PyObject
* obj0
= 0 ;
6566 PyObject
* obj1
= 0 ;
6567 char * kwnames
[] = {
6568 (char *) "self",(char *) "mask", NULL
6571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6573 if (!SWIG_IsOK(res1
)) {
6574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6576 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6577 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6578 if (!SWIG_IsOK(res2
)) {
6579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6582 (arg1
)->SetMask(arg2
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 resultobj
= SWIG_Py_Void();
6592 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
= 0;
6594 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6595 wxColour
*arg2
= 0 ;
6599 PyObject
* obj0
= 0 ;
6600 PyObject
* obj1
= 0 ;
6601 char * kwnames
[] = {
6602 (char *) "self",(char *) "colour", NULL
6605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6607 if (!SWIG_IsOK(res1
)) {
6608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6610 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6613 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6616 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6619 resultobj
= SWIG_Py_Void();
6626 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
*resultobj
= 0;
6628 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6630 SwigValueWrapper
<wxBitmap
> result
;
6634 PyObject
* obj0
= 0 ;
6635 PyObject
* obj1
= 0 ;
6636 char * kwnames
[] = {
6637 (char *) "self",(char *) "rect", NULL
6640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6642 if (!SWIG_IsOK(res1
)) {
6643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6645 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6648 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6651 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6661 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
*resultobj
= 0;
6663 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6664 wxString
*arg2
= 0 ;
6666 wxPalette
*arg4
= (wxPalette
*) NULL
;
6670 bool temp2
= false ;
6675 PyObject
* obj0
= 0 ;
6676 PyObject
* obj1
= 0 ;
6677 PyObject
* obj2
= 0 ;
6678 PyObject
* obj3
= 0 ;
6679 char * kwnames
[] = {
6680 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6685 if (!SWIG_IsOK(res1
)) {
6686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6688 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6690 arg2
= wxString_in_helper(obj1
);
6691 if (arg2
== NULL
) SWIG_fail
;
6694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6695 if (!SWIG_IsOK(ecode3
)) {
6696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6698 arg3
= static_cast< wxBitmapType
>(val3
);
6700 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6701 if (!SWIG_IsOK(res4
)) {
6702 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6704 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6707 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6727 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
*resultobj
= 0;
6729 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6730 wxString
*arg2
= 0 ;
6735 bool temp2
= false ;
6738 PyObject
* obj0
= 0 ;
6739 PyObject
* obj1
= 0 ;
6740 PyObject
* obj2
= 0 ;
6741 char * kwnames
[] = {
6742 (char *) "self",(char *) "name",(char *) "type", NULL
6745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6747 if (!SWIG_IsOK(res1
)) {
6748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6750 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6752 arg2
= wxString_in_helper(obj1
);
6753 if (arg2
== NULL
) SWIG_fail
;
6756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6757 if (!SWIG_IsOK(ecode3
)) {
6758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6760 arg3
= static_cast< wxBitmapType
>(val3
);
6762 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6782 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6783 PyObject
*resultobj
= 0;
6784 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6785 wxPalette
*result
= 0 ;
6788 PyObject
*swig_obj
[1] ;
6790 if (!args
) SWIG_fail
;
6792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6793 if (!SWIG_IsOK(res1
)) {
6794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6796 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6798 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6799 if (PyErr_Occurred()) SWIG_fail
;
6801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6808 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
*resultobj
= 0;
6810 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6817 PyObject
* obj0
= 0 ;
6818 PyObject
* obj1
= 0 ;
6819 char * kwnames
[] = {
6820 (char *) "self",(char *) "icon", NULL
6823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6825 if (!SWIG_IsOK(res1
)) {
6826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6828 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6830 if (!SWIG_IsOK(res2
)) {
6831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6836 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6838 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6850 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
*resultobj
= 0;
6852 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6858 PyObject
* obj0
= 0 ;
6859 PyObject
* obj1
= 0 ;
6860 char * kwnames
[] = {
6861 (char *) "self",(char *) "height", NULL
6864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6866 if (!SWIG_IsOK(res1
)) {
6867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6869 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6871 if (!SWIG_IsOK(ecode2
)) {
6872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6874 arg2
= static_cast< int >(val2
);
6876 (arg1
)->SetHeight(arg2
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 resultobj
= SWIG_Py_Void();
6886 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
= 0;
6888 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6894 PyObject
* obj0
= 0 ;
6895 PyObject
* obj1
= 0 ;
6896 char * kwnames
[] = {
6897 (char *) "self",(char *) "width", NULL
6900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6902 if (!SWIG_IsOK(res1
)) {
6903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6905 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6907 if (!SWIG_IsOK(ecode2
)) {
6908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6910 arg2
= static_cast< int >(val2
);
6912 (arg1
)->SetWidth(arg2
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6915 resultobj
= SWIG_Py_Void();
6922 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
*resultobj
= 0;
6924 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6930 PyObject
* obj0
= 0 ;
6931 PyObject
* obj1
= 0 ;
6932 char * kwnames
[] = {
6933 (char *) "self",(char *) "depth", NULL
6936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6938 if (!SWIG_IsOK(res1
)) {
6939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6941 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6943 if (!SWIG_IsOK(ecode2
)) {
6944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6946 arg2
= static_cast< int >(val2
);
6948 (arg1
)->SetDepth(arg2
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6951 resultobj
= SWIG_Py_Void();
6958 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
*resultobj
= 0;
6960 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6965 PyObject
* obj0
= 0 ;
6966 PyObject
* obj1
= 0 ;
6967 char * kwnames
[] = {
6968 (char *) "self",(char *) "size", NULL
6971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6973 if (!SWIG_IsOK(res1
)) {
6974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6976 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6979 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6982 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= SWIG_Py_Void();
6992 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
*resultobj
= 0;
6994 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7000 PyObject
* obj0
= 0 ;
7001 PyObject
* obj1
= 0 ;
7002 char * kwnames
[] = {
7003 (char *) "self",(char *) "data", NULL
7006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7008 if (!SWIG_IsOK(res1
)) {
7009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7011 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7013 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7017 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 resultobj
= SWIG_Py_Void();
7027 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
= 0;
7029 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7035 PyObject
* obj0
= 0 ;
7036 PyObject
* obj1
= 0 ;
7037 char * kwnames
[] = {
7038 (char *) "self",(char *) "data", NULL
7041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7043 if (!SWIG_IsOK(res1
)) {
7044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7046 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7048 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7052 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7055 resultobj
= SWIG_Py_Void();
7062 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
= 0;
7064 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7065 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7071 PyObject
* obj0
= 0 ;
7072 PyObject
* obj1
= 0 ;
7073 char * kwnames
[] = {
7074 (char *) "self",(char *) "other", NULL
7077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7079 if (!SWIG_IsOK(res1
)) {
7080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7082 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7084 if (!SWIG_IsOK(res2
)) {
7085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7087 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7089 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7101 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
*resultobj
= 0;
7103 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7104 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7110 PyObject
* obj0
= 0 ;
7111 PyObject
* obj1
= 0 ;
7112 char * kwnames
[] = {
7113 (char *) "self",(char *) "other", NULL
7116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7118 if (!SWIG_IsOK(res1
)) {
7119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7121 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7122 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7123 if (!SWIG_IsOK(res2
)) {
7124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7126 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7128 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7140 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7143 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7144 return SWIG_Py_Void();
7147 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7148 return SWIG_Python_InitShadowInstance(args
);
7151 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
= 0;
7159 wxBitmap
*result
= 0 ;
7166 PyObject
* obj0
= 0 ;
7167 PyObject
* obj1
= 0 ;
7168 PyObject
* obj2
= 0 ;
7169 PyObject
* obj3
= 0 ;
7170 char * kwnames
[] = {
7171 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7175 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7176 if (!SWIG_IsOK(ecode1
)) {
7177 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7179 arg1
= static_cast< int >(val1
);
7180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7181 if (!SWIG_IsOK(ecode2
)) {
7182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7184 arg2
= static_cast< int >(val2
);
7186 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7190 if (obj3
!= Py_None
) {
7191 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7196 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7206 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
= 0;
7212 wxBitmap
*result
= 0 ;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7220 PyObject
* obj2
= 0 ;
7221 char * kwnames
[] = {
7222 (char *) "width",(char *) "height",(char *) "data", NULL
7225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7226 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7227 if (!SWIG_IsOK(ecode1
)) {
7228 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7230 arg1
= static_cast< int >(val1
);
7231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7232 if (!SWIG_IsOK(ecode2
)) {
7233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7235 arg2
= static_cast< int >(val2
);
7237 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7241 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7251 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
= 0;
7257 wxBitmap
*result
= 0 ;
7263 PyObject
* obj0
= 0 ;
7264 PyObject
* obj1
= 0 ;
7265 PyObject
* obj2
= 0 ;
7266 char * kwnames
[] = {
7267 (char *) "width",(char *) "height",(char *) "data", NULL
7270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7271 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7272 if (!SWIG_IsOK(ecode1
)) {
7273 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7275 arg1
= static_cast< int >(val1
);
7276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7277 if (!SWIG_IsOK(ecode2
)) {
7278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7280 arg2
= static_cast< int >(val2
);
7282 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7286 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7296 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7297 PyObject
*resultobj
= 0;
7298 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7302 PyObject
*swig_obj
[1] ;
7304 if (!args
) SWIG_fail
;
7306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7307 if (!SWIG_IsOK(res1
)) {
7308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7310 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7312 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7322 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7323 PyObject
*resultobj
= 0;
7324 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7328 PyObject
*swig_obj
[1] ;
7330 if (!args
) SWIG_fail
;
7332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7333 if (!SWIG_IsOK(res1
)) {
7334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7336 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7338 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7339 if (PyErr_Occurred()) SWIG_fail
;
7341 resultobj
= SWIG_From_int(static_cast< int >(result
));
7348 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7349 PyObject
*resultobj
= 0;
7350 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7354 PyObject
*swig_obj
[1] ;
7356 if (!args
) SWIG_fail
;
7358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7359 if (!SWIG_IsOK(res1
)) {
7360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7362 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7364 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 resultobj
= SWIG_From_int(static_cast< int >(result
));
7374 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7375 PyObject
*resultobj
= 0;
7376 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7380 PyObject
*swig_obj
[1] ;
7382 if (!args
) SWIG_fail
;
7384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7385 if (!SWIG_IsOK(res1
)) {
7386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7388 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7390 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7400 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7401 PyObject
*resultobj
= 0;
7402 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7406 PyObject
*swig_obj
[1] ;
7408 if (!args
) SWIG_fail
;
7410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7411 if (!SWIG_IsOK(res1
)) {
7412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7414 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7416 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7417 if (PyErr_Occurred()) SWIG_fail
;
7419 resultobj
= SWIG_From_int(static_cast< int >(result
));
7426 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7429 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7430 return SWIG_Py_Void();
7433 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7434 PyObject
*resultobj
= 0;
7435 wxBitmap
*arg1
= 0 ;
7436 wxNativePixelData
*result
= 0 ;
7440 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7442 if (!SWIG_IsOK(res1
)) {
7443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7448 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7450 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7460 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7461 PyObject
*resultobj
= 0;
7462 wxBitmap
*arg1
= 0 ;
7464 wxNativePixelData
*result
= 0 ;
7469 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7471 if (!SWIG_IsOK(res1
)) {
7472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7475 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7477 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7480 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7483 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7493 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7494 PyObject
*resultobj
= 0;
7495 wxBitmap
*arg1
= 0 ;
7498 wxNativePixelData
*result
= 0 ;
7504 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7506 if (!SWIG_IsOK(res1
)) {
7507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7512 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7515 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7519 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7522 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7532 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7536 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7539 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7542 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7545 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7549 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7554 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7555 PyObject
*resultobj
= 0;
7556 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7559 PyObject
*swig_obj
[1] ;
7561 if (!args
) SWIG_fail
;
7563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7564 if (!SWIG_IsOK(res1
)) {
7565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7567 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 resultobj
= SWIG_Py_Void();
7580 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7581 PyObject
*resultobj
= 0;
7582 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7583 wxNativePixelData_Accessor result
;
7586 PyObject
*swig_obj
[1] ;
7588 if (!args
) SWIG_fail
;
7590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7591 if (!SWIG_IsOK(res1
)) {
7592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7594 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7596 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7606 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7607 PyObject
*resultobj
= 0;
7608 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7611 PyObject
*swig_obj
[1] ;
7613 if (!args
) SWIG_fail
;
7615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7616 if (!SWIG_IsOK(res1
)) {
7617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7619 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= SWIG_Py_Void();
7631 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7632 PyObject
*resultobj
= 0;
7633 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7637 PyObject
*swig_obj
[1] ;
7639 if (!args
) SWIG_fail
;
7641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7642 if (!SWIG_IsOK(res1
)) {
7643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7645 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7647 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7659 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7662 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7663 return SWIG_Py_Void();
7666 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7667 return SWIG_Python_InitShadowInstance(args
);
7670 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7671 PyObject
*resultobj
= 0;
7672 wxNativePixelData
*arg1
= 0 ;
7673 wxNativePixelData_Accessor
*result
= 0 ;
7677 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7679 if (!SWIG_IsOK(res1
)) {
7680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7685 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7687 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7697 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7698 PyObject
*resultobj
= 0;
7699 wxBitmap
*arg1
= 0 ;
7700 wxNativePixelData
*arg2
= 0 ;
7701 wxNativePixelData_Accessor
*result
= 0 ;
7707 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7709 if (!SWIG_IsOK(res1
)) {
7710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7715 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7716 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7717 if (!SWIG_IsOK(res2
)) {
7718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7723 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7725 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7735 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7736 PyObject
*resultobj
= 0;
7737 wxNativePixelData_Accessor
*result
= 0 ;
7739 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7741 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7751 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7755 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7758 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7761 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7764 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7768 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7773 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7774 PyObject
*resultobj
= 0;
7775 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7778 PyObject
*swig_obj
[1] ;
7780 if (!args
) SWIG_fail
;
7782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7783 if (!SWIG_IsOK(res1
)) {
7784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7786 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7790 if (PyErr_Occurred()) SWIG_fail
;
7792 resultobj
= SWIG_Py_Void();
7799 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
*resultobj
= 0;
7801 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7802 wxNativePixelData
*arg2
= 0 ;
7807 PyObject
* obj0
= 0 ;
7808 PyObject
* obj1
= 0 ;
7809 char * kwnames
[] = {
7810 (char *) "self",(char *) "data", NULL
7813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7815 if (!SWIG_IsOK(res1
)) {
7816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7818 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7819 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7820 if (!SWIG_IsOK(res2
)) {
7821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7826 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7828 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= SWIG_Py_Void();
7838 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7839 PyObject
*resultobj
= 0;
7840 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7844 PyObject
*swig_obj
[1] ;
7846 if (!args
) SWIG_fail
;
7848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7849 if (!SWIG_IsOK(res1
)) {
7850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7852 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7854 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7855 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7866 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7867 PyObject
*resultobj
= 0;
7868 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7871 PyObject
*swig_obj
[1] ;
7873 if (!args
) SWIG_fail
;
7875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7876 if (!SWIG_IsOK(res1
)) {
7877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7879 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7881 wxNativePixelData_Accessor_nextPixel(arg1
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= SWIG_Py_Void();
7891 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
*resultobj
= 0;
7893 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7894 wxNativePixelData
*arg2
= 0 ;
7905 PyObject
* obj0
= 0 ;
7906 PyObject
* obj1
= 0 ;
7907 PyObject
* obj2
= 0 ;
7908 PyObject
* obj3
= 0 ;
7909 char * kwnames
[] = {
7910 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7915 if (!SWIG_IsOK(res1
)) {
7916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7918 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7919 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7920 if (!SWIG_IsOK(res2
)) {
7921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7924 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7926 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7928 if (!SWIG_IsOK(ecode3
)) {
7929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7931 arg3
= static_cast< int >(val3
);
7932 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7933 if (!SWIG_IsOK(ecode4
)) {
7934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7936 arg4
= static_cast< int >(val4
);
7938 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7941 resultobj
= SWIG_Py_Void();
7948 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7949 PyObject
*resultobj
= 0;
7950 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7951 wxNativePixelData
*arg2
= 0 ;
7959 PyObject
* obj0
= 0 ;
7960 PyObject
* obj1
= 0 ;
7961 PyObject
* obj2
= 0 ;
7962 char * kwnames
[] = {
7963 (char *) "self",(char *) "data",(char *) "x", NULL
7966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7968 if (!SWIG_IsOK(res1
)) {
7969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7971 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7973 if (!SWIG_IsOK(res2
)) {
7974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7979 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7981 if (!SWIG_IsOK(ecode3
)) {
7982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7984 arg3
= static_cast< int >(val3
);
7986 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 resultobj
= SWIG_Py_Void();
7996 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
= 0;
7998 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7999 wxNativePixelData
*arg2
= 0 ;
8007 PyObject
* obj0
= 0 ;
8008 PyObject
* obj1
= 0 ;
8009 PyObject
* obj2
= 0 ;
8010 char * kwnames
[] = {
8011 (char *) "self",(char *) "data",(char *) "y", NULL
8014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8016 if (!SWIG_IsOK(res1
)) {
8017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8019 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8020 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8021 if (!SWIG_IsOK(res2
)) {
8022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8027 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8029 if (!SWIG_IsOK(ecode3
)) {
8030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8032 arg3
= static_cast< int >(val3
);
8034 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8037 resultobj
= SWIG_Py_Void();
8044 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
= 0;
8046 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8047 wxNativePixelData
*arg2
= 0 ;
8058 PyObject
* obj0
= 0 ;
8059 PyObject
* obj1
= 0 ;
8060 PyObject
* obj2
= 0 ;
8061 PyObject
* obj3
= 0 ;
8062 char * kwnames
[] = {
8063 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8068 if (!SWIG_IsOK(res1
)) {
8069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8071 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8072 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8073 if (!SWIG_IsOK(res2
)) {
8074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8079 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8081 if (!SWIG_IsOK(ecode3
)) {
8082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8084 arg3
= static_cast< int >(val3
);
8085 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8086 if (!SWIG_IsOK(ecode4
)) {
8087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8089 arg4
= static_cast< int >(val4
);
8091 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8094 resultobj
= SWIG_Py_Void();
8101 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
= 0;
8103 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8109 unsigned char val2
;
8111 unsigned char val3
;
8113 unsigned char val4
;
8115 PyObject
* obj0
= 0 ;
8116 PyObject
* obj1
= 0 ;
8117 PyObject
* obj2
= 0 ;
8118 PyObject
* obj3
= 0 ;
8119 char * kwnames
[] = {
8120 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8125 if (!SWIG_IsOK(res1
)) {
8126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8128 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8129 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8130 if (!SWIG_IsOK(ecode2
)) {
8131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8133 arg2
= static_cast< byte
>(val2
);
8134 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8135 if (!SWIG_IsOK(ecode3
)) {
8136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8138 arg3
= static_cast< byte
>(val3
);
8139 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8140 if (!SWIG_IsOK(ecode4
)) {
8141 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8143 arg4
= static_cast< byte
>(val4
);
8145 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 resultobj
= SWIG_Py_Void();
8155 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8156 PyObject
*resultobj
= 0;
8157 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8158 PyObject
*result
= 0 ;
8161 PyObject
*swig_obj
[1] ;
8163 if (!args
) SWIG_fail
;
8165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8166 if (!SWIG_IsOK(res1
)) {
8167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8169 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8171 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8181 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8183 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8184 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8185 return SWIG_Py_Void();
8188 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8189 return SWIG_Python_InitShadowInstance(args
);
8192 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8193 PyObject
*resultobj
= 0;
8194 wxBitmap
*arg1
= 0 ;
8195 wxAlphaPixelData
*result
= 0 ;
8199 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8201 if (!SWIG_IsOK(res1
)) {
8202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8207 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8209 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8219 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8220 PyObject
*resultobj
= 0;
8221 wxBitmap
*arg1
= 0 ;
8223 wxAlphaPixelData
*result
= 0 ;
8228 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8230 if (!SWIG_IsOK(res1
)) {
8231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8236 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8239 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8242 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8252 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8253 PyObject
*resultobj
= 0;
8254 wxBitmap
*arg1
= 0 ;
8257 wxAlphaPixelData
*result
= 0 ;
8263 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8265 if (!SWIG_IsOK(res1
)) {
8266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8271 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8274 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8278 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8281 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8291 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8295 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8298 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8301 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8304 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8308 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8313 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8314 PyObject
*resultobj
= 0;
8315 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8318 PyObject
*swig_obj
[1] ;
8320 if (!args
) SWIG_fail
;
8322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8323 if (!SWIG_IsOK(res1
)) {
8324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8326 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= SWIG_Py_Void();
8339 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8340 PyObject
*resultobj
= 0;
8341 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8342 wxAlphaPixelData_Accessor result
;
8345 PyObject
*swig_obj
[1] ;
8347 if (!args
) SWIG_fail
;
8349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8350 if (!SWIG_IsOK(res1
)) {
8351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8353 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8355 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8356 if (PyErr_Occurred()) SWIG_fail
;
8358 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8365 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8366 PyObject
*resultobj
= 0;
8367 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8370 PyObject
*swig_obj
[1] ;
8372 if (!args
) SWIG_fail
;
8374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8375 if (!SWIG_IsOK(res1
)) {
8376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8378 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= SWIG_Py_Void();
8390 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8391 PyObject
*resultobj
= 0;
8392 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8396 PyObject
*swig_obj
[1] ;
8398 if (!args
) SWIG_fail
;
8400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8401 if (!SWIG_IsOK(res1
)) {
8402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8404 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8406 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8418 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8421 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8422 return SWIG_Py_Void();
8425 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8426 return SWIG_Python_InitShadowInstance(args
);
8429 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8430 PyObject
*resultobj
= 0;
8431 wxAlphaPixelData
*arg1
= 0 ;
8432 wxAlphaPixelData_Accessor
*result
= 0 ;
8436 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8438 if (!SWIG_IsOK(res1
)) {
8439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8444 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8446 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8456 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8457 PyObject
*resultobj
= 0;
8458 wxBitmap
*arg1
= 0 ;
8459 wxAlphaPixelData
*arg2
= 0 ;
8460 wxAlphaPixelData_Accessor
*result
= 0 ;
8466 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8468 if (!SWIG_IsOK(res1
)) {
8469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8474 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8475 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8476 if (!SWIG_IsOK(res2
)) {
8477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8480 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8482 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8484 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8494 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8495 PyObject
*resultobj
= 0;
8496 wxAlphaPixelData_Accessor
*result
= 0 ;
8498 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8500 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8501 if (PyErr_Occurred()) SWIG_fail
;
8503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8510 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8514 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8517 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8520 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8523 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8527 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8532 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8533 PyObject
*resultobj
= 0;
8534 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8537 PyObject
*swig_obj
[1] ;
8539 if (!args
) SWIG_fail
;
8541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8542 if (!SWIG_IsOK(res1
)) {
8543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8545 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8551 resultobj
= SWIG_Py_Void();
8558 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
*resultobj
= 0;
8560 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8561 wxAlphaPixelData
*arg2
= 0 ;
8566 PyObject
* obj0
= 0 ;
8567 PyObject
* obj1
= 0 ;
8568 char * kwnames
[] = {
8569 (char *) "self",(char *) "data", NULL
8572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8574 if (!SWIG_IsOK(res1
)) {
8575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8577 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8578 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8579 if (!SWIG_IsOK(res2
)) {
8580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8585 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8587 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8590 resultobj
= SWIG_Py_Void();
8597 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8598 PyObject
*resultobj
= 0;
8599 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8603 PyObject
*swig_obj
[1] ;
8605 if (!args
) SWIG_fail
;
8607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8608 if (!SWIG_IsOK(res1
)) {
8609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8611 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8613 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8614 if (PyErr_Occurred()) SWIG_fail
;
8617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8625 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8626 PyObject
*resultobj
= 0;
8627 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8630 PyObject
*swig_obj
[1] ;
8632 if (!args
) SWIG_fail
;
8634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8635 if (!SWIG_IsOK(res1
)) {
8636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8638 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8640 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= SWIG_Py_Void();
8650 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8651 PyObject
*resultobj
= 0;
8652 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8653 wxAlphaPixelData
*arg2
= 0 ;
8664 PyObject
* obj0
= 0 ;
8665 PyObject
* obj1
= 0 ;
8666 PyObject
* obj2
= 0 ;
8667 PyObject
* obj3
= 0 ;
8668 char * kwnames
[] = {
8669 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8674 if (!SWIG_IsOK(res1
)) {
8675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8677 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8678 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8679 if (!SWIG_IsOK(res2
)) {
8680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8685 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8687 if (!SWIG_IsOK(ecode3
)) {
8688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8690 arg3
= static_cast< int >(val3
);
8691 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8692 if (!SWIG_IsOK(ecode4
)) {
8693 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8695 arg4
= static_cast< int >(val4
);
8697 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= SWIG_Py_Void();
8707 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
= 0;
8709 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8710 wxAlphaPixelData
*arg2
= 0 ;
8718 PyObject
* obj0
= 0 ;
8719 PyObject
* obj1
= 0 ;
8720 PyObject
* obj2
= 0 ;
8721 char * kwnames
[] = {
8722 (char *) "self",(char *) "data",(char *) "x", NULL
8725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8727 if (!SWIG_IsOK(res1
)) {
8728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8730 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8731 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8732 if (!SWIG_IsOK(res2
)) {
8733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8738 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8740 if (!SWIG_IsOK(ecode3
)) {
8741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8743 arg3
= static_cast< int >(val3
);
8745 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8748 resultobj
= SWIG_Py_Void();
8755 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
= 0;
8757 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8758 wxAlphaPixelData
*arg2
= 0 ;
8766 PyObject
* obj0
= 0 ;
8767 PyObject
* obj1
= 0 ;
8768 PyObject
* obj2
= 0 ;
8769 char * kwnames
[] = {
8770 (char *) "self",(char *) "data",(char *) "y", NULL
8773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8775 if (!SWIG_IsOK(res1
)) {
8776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8778 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8779 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8780 if (!SWIG_IsOK(res2
)) {
8781 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8784 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8786 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8788 if (!SWIG_IsOK(ecode3
)) {
8789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8791 arg3
= static_cast< int >(val3
);
8793 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= SWIG_Py_Void();
8803 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
= 0;
8805 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8806 wxAlphaPixelData
*arg2
= 0 ;
8817 PyObject
* obj0
= 0 ;
8818 PyObject
* obj1
= 0 ;
8819 PyObject
* obj2
= 0 ;
8820 PyObject
* obj3
= 0 ;
8821 char * kwnames
[] = {
8822 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8827 if (!SWIG_IsOK(res1
)) {
8828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8830 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8831 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8832 if (!SWIG_IsOK(res2
)) {
8833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8838 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8840 if (!SWIG_IsOK(ecode3
)) {
8841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8843 arg3
= static_cast< int >(val3
);
8844 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8845 if (!SWIG_IsOK(ecode4
)) {
8846 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8848 arg4
= static_cast< int >(val4
);
8850 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8853 resultobj
= SWIG_Py_Void();
8860 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
*resultobj
= 0;
8862 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8869 unsigned char val2
;
8871 unsigned char val3
;
8873 unsigned char val4
;
8875 unsigned char val5
;
8877 PyObject
* obj0
= 0 ;
8878 PyObject
* obj1
= 0 ;
8879 PyObject
* obj2
= 0 ;
8880 PyObject
* obj3
= 0 ;
8881 PyObject
* obj4
= 0 ;
8882 char * kwnames
[] = {
8883 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8888 if (!SWIG_IsOK(res1
)) {
8889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8891 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8892 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8893 if (!SWIG_IsOK(ecode2
)) {
8894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8896 arg2
= static_cast< byte
>(val2
);
8897 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8898 if (!SWIG_IsOK(ecode3
)) {
8899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8901 arg3
= static_cast< byte
>(val3
);
8902 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8903 if (!SWIG_IsOK(ecode4
)) {
8904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8906 arg4
= static_cast< byte
>(val4
);
8907 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8908 if (!SWIG_IsOK(ecode5
)) {
8909 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8911 arg5
= static_cast< byte
>(val5
);
8913 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 resultobj
= SWIG_Py_Void();
8923 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8924 PyObject
*resultobj
= 0;
8925 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8926 PyObject
*result
= 0 ;
8929 PyObject
*swig_obj
[1] ;
8931 if (!args
) SWIG_fail
;
8933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8934 if (!SWIG_IsOK(res1
)) {
8935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8937 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8939 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8949 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8952 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8953 return SWIG_Py_Void();
8956 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8957 return SWIG_Python_InitShadowInstance(args
);
8960 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8961 PyObject
*resultobj
= 0;
8962 wxBitmap
*arg1
= 0 ;
8963 wxColour
const &arg2_defvalue
= wxNullColour
;
8964 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8965 wxMask
*result
= 0 ;
8969 PyObject
* obj0
= 0 ;
8970 PyObject
* obj1
= 0 ;
8971 char * kwnames
[] = {
8972 (char *) "bitmap",(char *) "colour", NULL
8975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8976 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8977 if (!SWIG_IsOK(res1
)) {
8978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8983 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8987 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8991 if (!wxPyCheckForApp()) SWIG_fail
;
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9004 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9005 PyObject
*resultobj
= 0;
9006 wxMask
*arg1
= (wxMask
*) 0 ;
9009 PyObject
*swig_obj
[1] ;
9011 if (!args
) SWIG_fail
;
9013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9014 if (!SWIG_IsOK(res1
)) {
9015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9017 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 resultobj
= SWIG_Py_Void();
9030 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9032 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9033 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9034 return SWIG_Py_Void();
9037 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9038 return SWIG_Python_InitShadowInstance(args
);
9041 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
= 0;
9043 wxString
*arg1
= 0 ;
9045 int arg3
= (int) -1 ;
9046 int arg4
= (int) -1 ;
9047 wxIcon
*result
= 0 ;
9048 bool temp1
= false ;
9055 PyObject
* obj0
= 0 ;
9056 PyObject
* obj1
= 0 ;
9057 PyObject
* obj2
= 0 ;
9058 PyObject
* obj3
= 0 ;
9059 char * kwnames
[] = {
9060 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9065 arg1
= wxString_in_helper(obj0
);
9066 if (arg1
== NULL
) SWIG_fail
;
9069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9070 if (!SWIG_IsOK(ecode2
)) {
9071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9073 arg2
= static_cast< wxBitmapType
>(val2
);
9075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9076 if (!SWIG_IsOK(ecode3
)) {
9077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9079 arg3
= static_cast< int >(val3
);
9082 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9083 if (!SWIG_IsOK(ecode4
)) {
9084 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9086 arg4
= static_cast< int >(val4
);
9089 if (!wxPyCheckForApp()) SWIG_fail
;
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9110 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9111 PyObject
*resultobj
= 0;
9112 wxIcon
*arg1
= (wxIcon
*) 0 ;
9115 PyObject
*swig_obj
[1] ;
9117 if (!args
) SWIG_fail
;
9119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9120 if (!SWIG_IsOK(res1
)) {
9121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9123 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 resultobj
= SWIG_Py_Void();
9138 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9139 PyObject
*resultobj
= 0;
9140 wxIcon
*result
= 0 ;
9142 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9144 if (!wxPyCheckForApp()) SWIG_fail
;
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 result
= (wxIcon
*)new wxIcon();
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9157 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
= 0;
9159 wxIconLocation
*arg1
= 0 ;
9160 wxIcon
*result
= 0 ;
9163 PyObject
* obj0
= 0 ;
9164 char * kwnames
[] = {
9165 (char *) "loc", NULL
9168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9169 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9170 if (!SWIG_IsOK(res1
)) {
9171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9176 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9178 if (!wxPyCheckForApp()) SWIG_fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9191 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
*resultobj
= 0;
9193 wxBitmap
*arg1
= 0 ;
9194 wxIcon
*result
= 0 ;
9197 PyObject
* obj0
= 0 ;
9198 char * kwnames
[] = {
9199 (char *) "bmp", NULL
9202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9203 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9204 if (!SWIG_IsOK(res1
)) {
9205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9210 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9212 if (!wxPyCheckForApp()) SWIG_fail
;
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9225 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
= 0;
9227 PyObject
*arg1
= (PyObject
*) 0 ;
9228 wxIcon
*result
= 0 ;
9229 PyObject
* obj0
= 0 ;
9230 char * kwnames
[] = {
9231 (char *) "listOfStrings", NULL
9234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9237 if (!wxPyCheckForApp()) SWIG_fail
;
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 result
= (wxIcon
*)new_wxIcon(arg1
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9250 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
*resultobj
= 0;
9252 wxIcon
*arg1
= (wxIcon
*) 0 ;
9253 wxString
*arg2
= 0 ;
9258 bool temp2
= false ;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj1
= 0 ;
9263 PyObject
* obj2
= 0 ;
9264 char * kwnames
[] = {
9265 (char *) "self",(char *) "name",(char *) "type", NULL
9268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9270 if (!SWIG_IsOK(res1
)) {
9271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9273 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9275 arg2
= wxString_in_helper(obj1
);
9276 if (arg2
== NULL
) SWIG_fail
;
9279 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9280 if (!SWIG_IsOK(ecode3
)) {
9281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9283 arg3
= static_cast< wxBitmapType
>(val3
);
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9307 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9308 PyObject
*resultobj
= 0;
9309 wxIcon
*arg1
= (wxIcon
*) 0 ;
9313 PyObject
*swig_obj
[1] ;
9315 if (!args
) SWIG_fail
;
9317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9318 if (!SWIG_IsOK(res1
)) {
9319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9321 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (bool)(arg1
)->IsOk();
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9337 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9338 PyObject
*resultobj
= 0;
9339 wxIcon
*arg1
= (wxIcon
*) 0 ;
9343 PyObject
*swig_obj
[1] ;
9345 if (!args
) SWIG_fail
;
9347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9348 if (!SWIG_IsOK(res1
)) {
9349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9351 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 result
= (int)(arg1
)->GetWidth();
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 resultobj
= SWIG_From_int(static_cast< int >(result
));
9365 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9366 PyObject
*resultobj
= 0;
9367 wxIcon
*arg1
= (wxIcon
*) 0 ;
9371 PyObject
*swig_obj
[1] ;
9373 if (!args
) SWIG_fail
;
9375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9376 if (!SWIG_IsOK(res1
)) {
9377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9379 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (int)(arg1
)->GetHeight();
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= SWIG_From_int(static_cast< int >(result
));
9393 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9394 PyObject
*resultobj
= 0;
9395 wxIcon
*arg1
= (wxIcon
*) 0 ;
9399 PyObject
*swig_obj
[1] ;
9401 if (!args
) SWIG_fail
;
9403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9404 if (!SWIG_IsOK(res1
)) {
9405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9407 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 result
= (int)(arg1
)->GetDepth();
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= SWIG_From_int(static_cast< int >(result
));
9421 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
= 0;
9423 wxIcon
*arg1
= (wxIcon
*) 0 ;
9429 PyObject
* obj0
= 0 ;
9430 PyObject
* obj1
= 0 ;
9431 char * kwnames
[] = {
9432 (char *) "self",(char *) "w", NULL
9435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9437 if (!SWIG_IsOK(res1
)) {
9438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9440 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9442 if (!SWIG_IsOK(ecode2
)) {
9443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9445 arg2
= static_cast< int >(val2
);
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 (arg1
)->SetWidth(arg2
);
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= SWIG_Py_Void();
9459 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
*resultobj
= 0;
9461 wxIcon
*arg1
= (wxIcon
*) 0 ;
9467 PyObject
* obj0
= 0 ;
9468 PyObject
* obj1
= 0 ;
9469 char * kwnames
[] = {
9470 (char *) "self",(char *) "h", NULL
9473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9475 if (!SWIG_IsOK(res1
)) {
9476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9478 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9480 if (!SWIG_IsOK(ecode2
)) {
9481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9483 arg2
= static_cast< int >(val2
);
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 (arg1
)->SetHeight(arg2
);
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= SWIG_Py_Void();
9497 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
= 0;
9499 wxIcon
*arg1
= (wxIcon
*) 0 ;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9507 char * kwnames
[] = {
9508 (char *) "self",(char *) "d", NULL
9511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9513 if (!SWIG_IsOK(res1
)) {
9514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9516 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9518 if (!SWIG_IsOK(ecode2
)) {
9519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9521 arg2
= static_cast< int >(val2
);
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 (arg1
)->SetDepth(arg2
);
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= SWIG_Py_Void();
9535 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
= 0;
9537 wxIcon
*arg1
= (wxIcon
*) 0 ;
9538 wxBitmap
*arg2
= 0 ;
9543 PyObject
* obj0
= 0 ;
9544 PyObject
* obj1
= 0 ;
9545 char * kwnames
[] = {
9546 (char *) "self",(char *) "bmp", NULL
9549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9551 if (!SWIG_IsOK(res1
)) {
9552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9554 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9555 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9556 if (!SWIG_IsOK(res2
)) {
9557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9562 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9569 resultobj
= SWIG_Py_Void();
9576 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9578 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9579 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9580 return SWIG_Py_Void();
9583 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9584 return SWIG_Python_InitShadowInstance(args
);
9587 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
= 0;
9589 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9590 int arg2
= (int) 0 ;
9591 wxIconLocation
*result
= 0 ;
9592 bool temp1
= false ;
9595 PyObject
* obj0
= 0 ;
9596 PyObject
* obj1
= 0 ;
9597 char * kwnames
[] = {
9598 (char *) "filename",(char *) "num", NULL
9601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9604 arg1
= wxString_in_helper(obj0
);
9605 if (arg1
== NULL
) SWIG_fail
;
9610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9611 if (!SWIG_IsOK(ecode2
)) {
9612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9614 arg2
= static_cast< int >(val2
);
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9637 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9638 PyObject
*resultobj
= 0;
9639 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9642 PyObject
*swig_obj
[1] ;
9644 if (!args
) SWIG_fail
;
9646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9647 if (!SWIG_IsOK(res1
)) {
9648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9650 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9658 resultobj
= SWIG_Py_Void();
9665 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9666 PyObject
*resultobj
= 0;
9667 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9671 PyObject
*swig_obj
[1] ;
9673 if (!args
) SWIG_fail
;
9675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9676 if (!SWIG_IsOK(res1
)) {
9677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9679 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9695 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
= 0;
9697 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9698 wxString
*arg2
= 0 ;
9701 bool temp2
= false ;
9702 PyObject
* obj0
= 0 ;
9703 PyObject
* obj1
= 0 ;
9704 char * kwnames
[] = {
9705 (char *) "self",(char *) "filename", NULL
9708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9710 if (!SWIG_IsOK(res1
)) {
9711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9713 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9715 arg2
= wxString_in_helper(obj1
);
9716 if (arg2
== NULL
) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 (arg1
)->SetFileName((wxString
const &)*arg2
);
9722 wxPyEndAllowThreads(__tstate
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= SWIG_Py_Void();
9740 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9741 PyObject
*resultobj
= 0;
9742 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9743 wxString
*result
= 0 ;
9746 PyObject
*swig_obj
[1] ;
9748 if (!args
) SWIG_fail
;
9750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9751 if (!SWIG_IsOK(res1
)) {
9752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9754 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9759 result
= (wxString
*) &_result_ref
;
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9766 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9768 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9777 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
= 0;
9779 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9785 PyObject
* obj0
= 0 ;
9786 PyObject
* obj1
= 0 ;
9787 char * kwnames
[] = {
9788 (char *) "self",(char *) "num", NULL
9791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9793 if (!SWIG_IsOK(res1
)) {
9794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9796 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9798 if (!SWIG_IsOK(ecode2
)) {
9799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9801 arg2
= static_cast< int >(val2
);
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 wxIconLocation_SetIndex(arg1
,arg2
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= SWIG_Py_Void();
9815 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9816 PyObject
*resultobj
= 0;
9817 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9821 PyObject
*swig_obj
[1] ;
9823 if (!args
) SWIG_fail
;
9825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9826 if (!SWIG_IsOK(res1
)) {
9827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9829 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 result
= (int)wxIconLocation_GetIndex(arg1
);
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9836 resultobj
= SWIG_From_int(static_cast< int >(result
));
9843 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9845 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9846 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9847 return SWIG_Py_Void();
9850 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9851 return SWIG_Python_InitShadowInstance(args
);
9854 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9855 PyObject
*resultobj
= 0;
9856 wxIconBundle
*result
= 0 ;
9858 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 result
= (wxIconBundle
*)new wxIconBundle();
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9872 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
*resultobj
= 0;
9874 wxString
*arg1
= 0 ;
9876 wxIconBundle
*result
= 0 ;
9877 bool temp1
= false ;
9880 PyObject
* obj0
= 0 ;
9881 PyObject
* obj1
= 0 ;
9882 char * kwnames
[] = {
9883 (char *) "file",(char *) "type", NULL
9886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9888 arg1
= wxString_in_helper(obj0
);
9889 if (arg1
== NULL
) SWIG_fail
;
9892 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9893 if (!SWIG_IsOK(ecode2
)) {
9894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9896 arg2
= static_cast< long >(val2
);
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9918 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
= 0;
9921 wxIconBundle
*result
= 0 ;
9924 PyObject
* obj0
= 0 ;
9925 char * kwnames
[] = {
9926 (char *) "icon", NULL
9929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9930 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9931 if (!SWIG_IsOK(res1
)) {
9932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9937 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9951 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9952 PyObject
*resultobj
= 0;
9953 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9956 PyObject
*swig_obj
[1] ;
9958 if (!args
) SWIG_fail
;
9960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9961 if (!SWIG_IsOK(res1
)) {
9962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9964 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9972 resultobj
= SWIG_Py_Void();
9979 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
= 0;
9981 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9987 PyObject
* obj0
= 0 ;
9988 PyObject
* obj1
= 0 ;
9989 char * kwnames
[] = {
9990 (char *) "self",(char *) "icon", NULL
9993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9995 if (!SWIG_IsOK(res1
)) {
9996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9998 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10000 if (!SWIG_IsOK(res2
)) {
10001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10006 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10013 resultobj
= SWIG_Py_Void();
10020 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
= 0;
10022 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10023 wxString
*arg2
= 0 ;
10027 bool temp2
= false ;
10030 PyObject
* obj0
= 0 ;
10031 PyObject
* obj1
= 0 ;
10032 PyObject
* obj2
= 0 ;
10033 char * kwnames
[] = {
10034 (char *) "self",(char *) "file",(char *) "type", NULL
10037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10039 if (!SWIG_IsOK(res1
)) {
10040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10042 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10044 arg2
= wxString_in_helper(obj1
);
10045 if (arg2
== NULL
) SWIG_fail
;
10048 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10049 if (!SWIG_IsOK(ecode3
)) {
10050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10052 arg3
= static_cast< long >(val3
);
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10055 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10059 resultobj
= SWIG_Py_Void();
10074 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
= 0;
10076 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10078 wxIcon
*result
= 0 ;
10082 PyObject
* obj0
= 0 ;
10083 PyObject
* obj1
= 0 ;
10084 char * kwnames
[] = {
10085 (char *) "self",(char *) "size", NULL
10088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10090 if (!SWIG_IsOK(res1
)) {
10091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10093 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10096 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10102 result
= (wxIcon
*) &_result_ref
;
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10108 wxIcon
* resultptr
= new wxIcon(*result
);
10109 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10117 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10120 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10121 return SWIG_Py_Void();
10124 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10125 return SWIG_Python_InitShadowInstance(args
);
10128 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
*resultobj
= 0;
10130 wxString
*arg1
= 0 ;
10132 int arg3
= (int) 0 ;
10133 int arg4
= (int) 0 ;
10134 wxCursor
*result
= 0 ;
10135 bool temp1
= false ;
10142 PyObject
* obj0
= 0 ;
10143 PyObject
* obj1
= 0 ;
10144 PyObject
* obj2
= 0 ;
10145 PyObject
* obj3
= 0 ;
10146 char * kwnames
[] = {
10147 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10152 arg1
= wxString_in_helper(obj0
);
10153 if (arg1
== NULL
) SWIG_fail
;
10156 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10157 if (!SWIG_IsOK(ecode2
)) {
10158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10160 arg2
= static_cast< long >(val2
);
10162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10163 if (!SWIG_IsOK(ecode3
)) {
10164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10166 arg3
= static_cast< int >(val3
);
10169 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10170 if (!SWIG_IsOK(ecode4
)) {
10171 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10173 arg4
= static_cast< int >(val4
);
10176 if (!wxPyCheckForApp()) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10197 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10198 PyObject
*resultobj
= 0;
10199 wxCursor
*arg1
= (wxCursor
*) 0 ;
10202 PyObject
*swig_obj
[1] ;
10204 if (!args
) SWIG_fail
;
10205 swig_obj
[0] = args
;
10206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10207 if (!SWIG_IsOK(res1
)) {
10208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10210 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10218 resultobj
= SWIG_Py_Void();
10225 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
*resultobj
= 0;
10228 wxCursor
*result
= 0 ;
10231 PyObject
* obj0
= 0 ;
10232 char * kwnames
[] = {
10233 (char *) "id", NULL
10236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10237 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10238 if (!SWIG_IsOK(ecode1
)) {
10239 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10241 arg1
= static_cast< int >(val1
);
10243 if (!wxPyCheckForApp()) SWIG_fail
;
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 result
= (wxCursor
*)new wxCursor(arg1
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10256 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
= 0;
10258 wxImage
*arg1
= 0 ;
10259 wxCursor
*result
= 0 ;
10262 PyObject
* obj0
= 0 ;
10263 char * kwnames
[] = {
10264 (char *) "image", NULL
10267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10268 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10269 if (!SWIG_IsOK(res1
)) {
10270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10275 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10277 if (!wxPyCheckForApp()) SWIG_fail
;
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10290 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10291 PyObject
*resultobj
= 0;
10292 wxCursor
*arg1
= (wxCursor
*) 0 ;
10296 PyObject
*swig_obj
[1] ;
10298 if (!args
) SWIG_fail
;
10299 swig_obj
[0] = args
;
10300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10301 if (!SWIG_IsOK(res1
)) {
10302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10304 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (bool)(arg1
)->IsOk();
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10320 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10323 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10324 return SWIG_Py_Void();
10327 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10328 return SWIG_Python_InitShadowInstance(args
);
10331 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
*resultobj
= 0;
10333 int arg1
= (int) 0 ;
10334 int arg2
= (int) 0 ;
10335 int arg3
= (int) 0 ;
10336 int arg4
= (int) 0 ;
10337 wxRegion
*result
= 0 ;
10346 PyObject
* obj0
= 0 ;
10347 PyObject
* obj1
= 0 ;
10348 PyObject
* obj2
= 0 ;
10349 PyObject
* obj3
= 0 ;
10350 char * kwnames
[] = {
10351 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10356 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10357 if (!SWIG_IsOK(ecode1
)) {
10358 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10360 arg1
= static_cast< int >(val1
);
10363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10364 if (!SWIG_IsOK(ecode2
)) {
10365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10367 arg2
= static_cast< int >(val2
);
10370 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10371 if (!SWIG_IsOK(ecode3
)) {
10372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10374 arg3
= static_cast< int >(val3
);
10377 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10378 if (!SWIG_IsOK(ecode4
)) {
10379 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10381 arg4
= static_cast< int >(val4
);
10384 if (!wxPyCheckForApp()) SWIG_fail
;
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10397 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
*resultobj
= 0;
10399 wxBitmap
*arg1
= 0 ;
10400 wxRegion
*result
= 0 ;
10403 PyObject
* obj0
= 0 ;
10404 char * kwnames
[] = {
10405 (char *) "bmp", NULL
10408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10409 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10410 if (!SWIG_IsOK(res1
)) {
10411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10416 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10418 if (!wxPyCheckForApp()) SWIG_fail
;
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10431 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
= 0;
10433 wxBitmap
*arg1
= 0 ;
10434 wxColour
*arg2
= 0 ;
10435 int arg3
= (int) 0 ;
10436 wxRegion
*result
= 0 ;
10442 PyObject
* obj0
= 0 ;
10443 PyObject
* obj1
= 0 ;
10444 PyObject
* obj2
= 0 ;
10445 char * kwnames
[] = {
10446 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10450 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10451 if (!SWIG_IsOK(res1
)) {
10452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10457 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10460 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10464 if (!SWIG_IsOK(ecode3
)) {
10465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10467 arg3
= static_cast< int >(val3
);
10470 if (!wxPyCheckForApp()) SWIG_fail
;
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10483 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
= 0;
10486 wxPoint
*arg2
= (wxPoint
*) 0 ;
10487 int arg3
= (int) wxWINDING_RULE
;
10488 wxRegion
*result
= 0 ;
10491 PyObject
* obj0
= 0 ;
10492 PyObject
* obj1
= 0 ;
10493 char * kwnames
[] = {
10494 (char *) "points",(char *) "fillStyle", NULL
10497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10499 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10500 if (arg2
== NULL
) SWIG_fail
;
10503 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10504 if (!SWIG_IsOK(ecode3
)) {
10505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10507 arg3
= static_cast< int >(val3
);
10510 if (!wxPyCheckForApp()) SWIG_fail
;
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10518 if (arg2
) delete [] arg2
;
10523 if (arg2
) delete [] arg2
;
10529 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10530 PyObject
*resultobj
= 0;
10531 wxRegion
*arg1
= (wxRegion
*) 0 ;
10534 PyObject
*swig_obj
[1] ;
10536 if (!args
) SWIG_fail
;
10537 swig_obj
[0] = args
;
10538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10539 if (!SWIG_IsOK(res1
)) {
10540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10542 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10550 resultobj
= SWIG_Py_Void();
10557 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10558 PyObject
*resultobj
= 0;
10559 wxRegion
*arg1
= (wxRegion
*) 0 ;
10562 PyObject
*swig_obj
[1] ;
10564 if (!args
) SWIG_fail
;
10565 swig_obj
[0] = args
;
10566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10567 if (!SWIG_IsOK(res1
)) {
10568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10570 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10577 resultobj
= SWIG_Py_Void();
10584 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
= 0;
10586 wxRegion
*arg1
= (wxRegion
*) 0 ;
10596 PyObject
* obj0
= 0 ;
10597 PyObject
* obj1
= 0 ;
10598 PyObject
* obj2
= 0 ;
10599 char * kwnames
[] = {
10600 (char *) "self",(char *) "x",(char *) "y", NULL
10603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10605 if (!SWIG_IsOK(res1
)) {
10606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10608 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10610 if (!SWIG_IsOK(ecode2
)) {
10611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10613 arg2
= static_cast< int >(val2
);
10614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10615 if (!SWIG_IsOK(ecode3
)) {
10616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10618 arg3
= static_cast< int >(val3
);
10620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10621 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10622 wxPyEndAllowThreads(__tstate
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10634 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
= 0;
10636 wxRegion
*arg1
= (wxRegion
*) 0 ;
10639 wxRegionContain result
;
10646 PyObject
* obj0
= 0 ;
10647 PyObject
* obj1
= 0 ;
10648 PyObject
* obj2
= 0 ;
10649 char * kwnames
[] = {
10650 (char *) "self",(char *) "x",(char *) "y", NULL
10653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10655 if (!SWIG_IsOK(res1
)) {
10656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10658 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10660 if (!SWIG_IsOK(ecode2
)) {
10661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10663 arg2
= static_cast< int >(val2
);
10664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10665 if (!SWIG_IsOK(ecode3
)) {
10666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10668 arg3
= static_cast< int >(val3
);
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10675 resultobj
= SWIG_From_int(static_cast< int >(result
));
10682 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
= 0;
10684 wxRegion
*arg1
= (wxRegion
*) 0 ;
10685 wxPoint
*arg2
= 0 ;
10686 wxRegionContain result
;
10690 PyObject
* obj0
= 0 ;
10691 PyObject
* obj1
= 0 ;
10692 char * kwnames
[] = {
10693 (char *) "self",(char *) "pt", NULL
10696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10698 if (!SWIG_IsOK(res1
)) {
10699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10701 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10704 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= SWIG_From_int(static_cast< int >(result
));
10719 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
= 0;
10721 wxRegion
*arg1
= (wxRegion
*) 0 ;
10723 wxRegionContain result
;
10727 PyObject
* obj0
= 0 ;
10728 PyObject
* obj1
= 0 ;
10729 char * kwnames
[] = {
10730 (char *) "self",(char *) "rect", NULL
10733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10735 if (!SWIG_IsOK(res1
)) {
10736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10738 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10741 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= SWIG_From_int(static_cast< int >(result
));
10756 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
*resultobj
= 0;
10758 wxRegion
*arg1
= (wxRegion
*) 0 ;
10763 wxRegionContain result
;
10774 PyObject
* obj0
= 0 ;
10775 PyObject
* obj1
= 0 ;
10776 PyObject
* obj2
= 0 ;
10777 PyObject
* obj3
= 0 ;
10778 PyObject
* obj4
= 0 ;
10779 char * kwnames
[] = {
10780 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10785 if (!SWIG_IsOK(res1
)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10788 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10790 if (!SWIG_IsOK(ecode2
)) {
10791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10793 arg2
= static_cast< int >(val2
);
10794 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10795 if (!SWIG_IsOK(ecode3
)) {
10796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10798 arg3
= static_cast< int >(val3
);
10799 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10800 if (!SWIG_IsOK(ecode4
)) {
10801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10803 arg4
= static_cast< int >(val4
);
10804 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10805 if (!SWIG_IsOK(ecode5
)) {
10806 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10808 arg5
= static_cast< int >(val5
);
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10815 resultobj
= SWIG_From_int(static_cast< int >(result
));
10822 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10823 PyObject
*resultobj
= 0;
10824 wxRegion
*arg1
= (wxRegion
*) 0 ;
10828 PyObject
*swig_obj
[1] ;
10830 if (!args
) SWIG_fail
;
10831 swig_obj
[0] = args
;
10832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10833 if (!SWIG_IsOK(res1
)) {
10834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10836 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 result
= (arg1
)->GetBox();
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10850 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
= 0;
10852 wxRegion
*arg1
= (wxRegion
*) 0 ;
10868 PyObject
* obj0
= 0 ;
10869 PyObject
* obj1
= 0 ;
10870 PyObject
* obj2
= 0 ;
10871 PyObject
* obj3
= 0 ;
10872 PyObject
* obj4
= 0 ;
10873 char * kwnames
[] = {
10874 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10879 if (!SWIG_IsOK(res1
)) {
10880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10882 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10884 if (!SWIG_IsOK(ecode2
)) {
10885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10887 arg2
= static_cast< int >(val2
);
10888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10889 if (!SWIG_IsOK(ecode3
)) {
10890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10892 arg3
= static_cast< int >(val3
);
10893 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10894 if (!SWIG_IsOK(ecode4
)) {
10895 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10897 arg4
= static_cast< int >(val4
);
10898 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10899 if (!SWIG_IsOK(ecode5
)) {
10900 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10902 arg5
= static_cast< int >(val5
);
10904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10918 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
= 0;
10920 wxRegion
*arg1
= (wxRegion
*) 0 ;
10926 PyObject
* obj0
= 0 ;
10927 PyObject
* obj1
= 0 ;
10928 char * kwnames
[] = {
10929 (char *) "self",(char *) "rect", NULL
10932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10934 if (!SWIG_IsOK(res1
)) {
10935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10937 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10940 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10957 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
= 0;
10959 wxRegion
*arg1
= (wxRegion
*) 0 ;
10960 wxRegion
*arg2
= 0 ;
10966 PyObject
* obj0
= 0 ;
10967 PyObject
* obj1
= 0 ;
10968 char * kwnames
[] = {
10969 (char *) "self",(char *) "region", NULL
10972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10974 if (!SWIG_IsOK(res1
)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10977 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10978 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10979 if (!SWIG_IsOK(res2
)) {
10980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10985 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10989 wxPyEndAllowThreads(__tstate
);
10990 if (PyErr_Occurred()) SWIG_fail
;
10993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11001 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11002 PyObject
*resultobj
= 0;
11003 wxRegion
*arg1
= (wxRegion
*) 0 ;
11007 PyObject
*swig_obj
[1] ;
11009 if (!args
) SWIG_fail
;
11010 swig_obj
[0] = args
;
11011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11012 if (!SWIG_IsOK(res1
)) {
11013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11015 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 result
= (bool)(arg1
)->IsEmpty();
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11031 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
= 0;
11033 wxRegion
*arg1
= (wxRegion
*) 0 ;
11034 wxRegion
*arg2
= 0 ;
11040 PyObject
* obj0
= 0 ;
11041 PyObject
* obj1
= 0 ;
11042 char * kwnames
[] = {
11043 (char *) "self",(char *) "region", NULL
11046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11048 if (!SWIG_IsOK(res1
)) {
11049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11051 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11052 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11053 if (!SWIG_IsOK(res2
)) {
11054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11059 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11075 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11076 PyObject
*resultobj
= 0;
11077 wxRegion
*arg1
= (wxRegion
*) 0 ;
11093 PyObject
* obj0
= 0 ;
11094 PyObject
* obj1
= 0 ;
11095 PyObject
* obj2
= 0 ;
11096 PyObject
* obj3
= 0 ;
11097 PyObject
* obj4
= 0 ;
11098 char * kwnames
[] = {
11099 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11104 if (!SWIG_IsOK(res1
)) {
11105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11107 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11109 if (!SWIG_IsOK(ecode2
)) {
11110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11112 arg2
= static_cast< int >(val2
);
11113 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11114 if (!SWIG_IsOK(ecode3
)) {
11115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11117 arg3
= static_cast< int >(val3
);
11118 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11119 if (!SWIG_IsOK(ecode4
)) {
11120 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11122 arg4
= static_cast< int >(val4
);
11123 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11124 if (!SWIG_IsOK(ecode5
)) {
11125 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11127 arg5
= static_cast< int >(val5
);
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11143 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
= 0;
11145 wxRegion
*arg1
= (wxRegion
*) 0 ;
11151 PyObject
* obj0
= 0 ;
11152 PyObject
* obj1
= 0 ;
11153 char * kwnames
[] = {
11154 (char *) "self",(char *) "rect", NULL
11157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11159 if (!SWIG_IsOK(res1
)) {
11160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11162 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11165 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11182 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
= 0;
11184 wxRegion
*arg1
= (wxRegion
*) 0 ;
11185 wxRegion
*arg2
= 0 ;
11191 PyObject
* obj0
= 0 ;
11192 PyObject
* obj1
= 0 ;
11193 char * kwnames
[] = {
11194 (char *) "self",(char *) "region", NULL
11197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11199 if (!SWIG_IsOK(res1
)) {
11200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11202 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11203 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11204 if (!SWIG_IsOK(res2
)) {
11205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11210 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11226 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
= 0;
11228 wxRegion
*arg1
= (wxRegion
*) 0 ;
11244 PyObject
* obj0
= 0 ;
11245 PyObject
* obj1
= 0 ;
11246 PyObject
* obj2
= 0 ;
11247 PyObject
* obj3
= 0 ;
11248 PyObject
* obj4
= 0 ;
11249 char * kwnames
[] = {
11250 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11255 if (!SWIG_IsOK(res1
)) {
11256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11258 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11260 if (!SWIG_IsOK(ecode2
)) {
11261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11263 arg2
= static_cast< int >(val2
);
11264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11265 if (!SWIG_IsOK(ecode3
)) {
11266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11268 arg3
= static_cast< int >(val3
);
11269 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11270 if (!SWIG_IsOK(ecode4
)) {
11271 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11273 arg4
= static_cast< int >(val4
);
11274 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11275 if (!SWIG_IsOK(ecode5
)) {
11276 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11278 arg5
= static_cast< int >(val5
);
11280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11281 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11294 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
*resultobj
= 0;
11296 wxRegion
*arg1
= (wxRegion
*) 0 ;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 char * kwnames
[] = {
11305 (char *) "self",(char *) "rect", NULL
11308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11310 if (!SWIG_IsOK(res1
)) {
11311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11313 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11316 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11320 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11333 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
= 0;
11335 wxRegion
*arg1
= (wxRegion
*) 0 ;
11336 wxRegion
*arg2
= 0 ;
11342 PyObject
* obj0
= 0 ;
11343 PyObject
* obj1
= 0 ;
11344 char * kwnames
[] = {
11345 (char *) "self",(char *) "region", NULL
11348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11350 if (!SWIG_IsOK(res1
)) {
11351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11353 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11354 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11355 if (!SWIG_IsOK(res2
)) {
11356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11361 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11377 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
*resultobj
= 0;
11379 wxRegion
*arg1
= (wxRegion
*) 0 ;
11395 PyObject
* obj0
= 0 ;
11396 PyObject
* obj1
= 0 ;
11397 PyObject
* obj2
= 0 ;
11398 PyObject
* obj3
= 0 ;
11399 PyObject
* obj4
= 0 ;
11400 char * kwnames
[] = {
11401 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11406 if (!SWIG_IsOK(res1
)) {
11407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11409 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11411 if (!SWIG_IsOK(ecode2
)) {
11412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11414 arg2
= static_cast< int >(val2
);
11415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11416 if (!SWIG_IsOK(ecode3
)) {
11417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11419 arg3
= static_cast< int >(val3
);
11420 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11421 if (!SWIG_IsOK(ecode4
)) {
11422 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11424 arg4
= static_cast< int >(val4
);
11425 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11426 if (!SWIG_IsOK(ecode5
)) {
11427 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11429 arg5
= static_cast< int >(val5
);
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11432 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11445 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
= 0;
11447 wxRegion
*arg1
= (wxRegion
*) 0 ;
11453 PyObject
* obj0
= 0 ;
11454 PyObject
* obj1
= 0 ;
11455 char * kwnames
[] = {
11456 (char *) "self",(char *) "rect", NULL
11459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11461 if (!SWIG_IsOK(res1
)) {
11462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11464 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11467 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11484 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11485 PyObject
*resultobj
= 0;
11486 wxRegion
*arg1
= (wxRegion
*) 0 ;
11487 wxRegion
*arg2
= 0 ;
11493 PyObject
* obj0
= 0 ;
11494 PyObject
* obj1
= 0 ;
11495 char * kwnames
[] = {
11496 (char *) "self",(char *) "region", NULL
11499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11501 if (!SWIG_IsOK(res1
)) {
11502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11504 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11505 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11506 if (!SWIG_IsOK(res2
)) {
11507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11512 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11528 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11529 PyObject
*resultobj
= 0;
11530 wxRegion
*arg1
= (wxRegion
*) 0 ;
11531 SwigValueWrapper
<wxBitmap
> result
;
11534 PyObject
*swig_obj
[1] ;
11536 if (!args
) SWIG_fail
;
11537 swig_obj
[0] = args
;
11538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11539 if (!SWIG_IsOK(res1
)) {
11540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11542 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 result
= (arg1
)->ConvertToBitmap();
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11556 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
= 0;
11558 wxRegion
*arg1
= (wxRegion
*) 0 ;
11559 wxBitmap
*arg2
= 0 ;
11565 PyObject
* obj0
= 0 ;
11566 PyObject
* obj1
= 0 ;
11567 char * kwnames
[] = {
11568 (char *) "self",(char *) "bmp", NULL
11571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11573 if (!SWIG_IsOK(res1
)) {
11574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11576 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11578 if (!SWIG_IsOK(res2
)) {
11579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11584 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11600 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11601 PyObject
*resultobj
= 0;
11602 wxRegion
*arg1
= (wxRegion
*) 0 ;
11603 wxBitmap
*arg2
= 0 ;
11604 wxColour
*arg3
= 0 ;
11605 int arg4
= (int) 0 ;
11614 PyObject
* obj0
= 0 ;
11615 PyObject
* obj1
= 0 ;
11616 PyObject
* obj2
= 0 ;
11617 PyObject
* obj3
= 0 ;
11618 char * kwnames
[] = {
11619 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11627 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11628 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11629 if (!SWIG_IsOK(res2
)) {
11630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11635 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11638 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11641 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11642 if (!SWIG_IsOK(ecode4
)) {
11643 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11645 arg4
= static_cast< int >(val4
);
11648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11649 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11662 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11665 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11666 return SWIG_Py_Void();
11669 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11670 return SWIG_Python_InitShadowInstance(args
);
11673 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
= 0;
11675 wxRegion
*arg1
= 0 ;
11676 wxRegionIterator
*result
= 0 ;
11679 PyObject
* obj0
= 0 ;
11680 char * kwnames
[] = {
11681 (char *) "region", NULL
11684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11685 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11686 if (!SWIG_IsOK(res1
)) {
11687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11692 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11694 if (!wxPyCheckForApp()) SWIG_fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11707 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11708 PyObject
*resultobj
= 0;
11709 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11712 PyObject
*swig_obj
[1] ;
11714 if (!args
) SWIG_fail
;
11715 swig_obj
[0] = args
;
11716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11717 if (!SWIG_IsOK(res1
)) {
11718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11720 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= SWIG_Py_Void();
11735 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11736 PyObject
*resultobj
= 0;
11737 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11741 PyObject
*swig_obj
[1] ;
11743 if (!args
) SWIG_fail
;
11744 swig_obj
[0] = args
;
11745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11746 if (!SWIG_IsOK(res1
)) {
11747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11749 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11752 result
= (int)(arg1
)->GetX();
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11756 resultobj
= SWIG_From_int(static_cast< int >(result
));
11763 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11764 PyObject
*resultobj
= 0;
11765 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11769 PyObject
*swig_obj
[1] ;
11771 if (!args
) SWIG_fail
;
11772 swig_obj
[0] = args
;
11773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11774 if (!SWIG_IsOK(res1
)) {
11775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11777 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (int)(arg1
)->GetY();
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 resultobj
= SWIG_From_int(static_cast< int >(result
));
11791 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11792 PyObject
*resultobj
= 0;
11793 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11797 PyObject
*swig_obj
[1] ;
11799 if (!args
) SWIG_fail
;
11800 swig_obj
[0] = args
;
11801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11802 if (!SWIG_IsOK(res1
)) {
11803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11805 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 result
= (int)(arg1
)->GetW();
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= SWIG_From_int(static_cast< int >(result
));
11819 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11820 PyObject
*resultobj
= 0;
11821 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11825 PyObject
*swig_obj
[1] ;
11827 if (!args
) SWIG_fail
;
11828 swig_obj
[0] = args
;
11829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11830 if (!SWIG_IsOK(res1
)) {
11831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11833 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 result
= (int)(arg1
)->GetWidth();
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= SWIG_From_int(static_cast< int >(result
));
11847 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11848 PyObject
*resultobj
= 0;
11849 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11853 PyObject
*swig_obj
[1] ;
11855 if (!args
) SWIG_fail
;
11856 swig_obj
[0] = args
;
11857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11858 if (!SWIG_IsOK(res1
)) {
11859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11861 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (int)(arg1
)->GetH();
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= SWIG_From_int(static_cast< int >(result
));
11875 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11876 PyObject
*resultobj
= 0;
11877 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11881 PyObject
*swig_obj
[1] ;
11883 if (!args
) SWIG_fail
;
11884 swig_obj
[0] = args
;
11885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11886 if (!SWIG_IsOK(res1
)) {
11887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11889 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11892 result
= (int)(arg1
)->GetHeight();
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= SWIG_From_int(static_cast< int >(result
));
11903 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11904 PyObject
*resultobj
= 0;
11905 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11909 PyObject
*swig_obj
[1] ;
11911 if (!args
) SWIG_fail
;
11912 swig_obj
[0] = args
;
11913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11914 if (!SWIG_IsOK(res1
)) {
11915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11917 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= (arg1
)->GetRect();
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11931 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11932 PyObject
*resultobj
= 0;
11933 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11937 PyObject
*swig_obj
[1] ;
11939 if (!args
) SWIG_fail
;
11940 swig_obj
[0] = args
;
11941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11942 if (!SWIG_IsOK(res1
)) {
11943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11945 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 result
= (bool)(arg1
)->HaveRects();
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11961 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11962 PyObject
*resultobj
= 0;
11963 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11966 PyObject
*swig_obj
[1] ;
11968 if (!args
) SWIG_fail
;
11969 swig_obj
[0] = args
;
11970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11971 if (!SWIG_IsOK(res1
)) {
11972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11974 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11981 resultobj
= SWIG_Py_Void();
11988 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11989 PyObject
*resultobj
= 0;
11990 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11993 PyObject
*swig_obj
[1] ;
11995 if (!args
) SWIG_fail
;
11996 swig_obj
[0] = args
;
11997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11998 if (!SWIG_IsOK(res1
)) {
11999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12001 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 wxRegionIterator_Next(arg1
);
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12008 resultobj
= SWIG_Py_Void();
12015 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12016 PyObject
*resultobj
= 0;
12017 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12021 PyObject
*swig_obj
[1] ;
12023 if (!args
) SWIG_fail
;
12024 swig_obj
[0] = args
;
12025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12026 if (!SWIG_IsOK(res1
)) {
12027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12029 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12045 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12047 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12048 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12049 return SWIG_Py_Void();
12052 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12053 return SWIG_Python_InitShadowInstance(args
);
12056 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12057 PyObject
*resultobj
= 0;
12058 wxNativeFontInfo
*result
= 0 ;
12060 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12074 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12075 PyObject
*resultobj
= 0;
12076 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12079 PyObject
*swig_obj
[1] ;
12081 if (!args
) SWIG_fail
;
12082 swig_obj
[0] = args
;
12083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12084 if (!SWIG_IsOK(res1
)) {
12085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12087 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= SWIG_Py_Void();
12102 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12103 PyObject
*resultobj
= 0;
12104 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12107 PyObject
*swig_obj
[1] ;
12109 if (!args
) SWIG_fail
;
12110 swig_obj
[0] = args
;
12111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12112 if (!SWIG_IsOK(res1
)) {
12113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12115 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= SWIG_Py_Void();
12129 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
= 0;
12131 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 PyObject
* obj1
= 0 ;
12139 char * kwnames
[] = {
12140 (char *) "self",(char *) "font", NULL
12143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12145 if (!SWIG_IsOK(res1
)) {
12146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12148 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12149 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12150 if (!SWIG_IsOK(res2
)) {
12151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12156 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12163 resultobj
= SWIG_Py_Void();
12170 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12171 PyObject
*resultobj
= 0;
12172 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12176 PyObject
*swig_obj
[1] ;
12178 if (!args
) SWIG_fail
;
12179 swig_obj
[0] = args
;
12180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12181 if (!SWIG_IsOK(res1
)) {
12182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12184 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12191 resultobj
= SWIG_From_int(static_cast< int >(result
));
12198 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12199 PyObject
*resultobj
= 0;
12200 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12201 wxFontStyle result
;
12204 PyObject
*swig_obj
[1] ;
12206 if (!args
) SWIG_fail
;
12207 swig_obj
[0] = args
;
12208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12209 if (!SWIG_IsOK(res1
)) {
12210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12212 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 resultobj
= SWIG_From_int(static_cast< int >(result
));
12226 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12227 PyObject
*resultobj
= 0;
12228 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12229 wxFontWeight result
;
12232 PyObject
*swig_obj
[1] ;
12234 if (!args
) SWIG_fail
;
12235 swig_obj
[0] = args
;
12236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12237 if (!SWIG_IsOK(res1
)) {
12238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12240 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12243 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= SWIG_From_int(static_cast< int >(result
));
12254 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12255 PyObject
*resultobj
= 0;
12256 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12260 PyObject
*swig_obj
[1] ;
12262 if (!args
) SWIG_fail
;
12263 swig_obj
[0] = args
;
12264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12265 if (!SWIG_IsOK(res1
)) {
12266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12268 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12284 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12285 PyObject
*resultobj
= 0;
12286 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12290 PyObject
*swig_obj
[1] ;
12292 if (!args
) SWIG_fail
;
12293 swig_obj
[0] = args
;
12294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12295 if (!SWIG_IsOK(res1
)) {
12296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12298 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12318 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12319 PyObject
*resultobj
= 0;
12320 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12321 wxFontFamily result
;
12324 PyObject
*swig_obj
[1] ;
12326 if (!args
) SWIG_fail
;
12327 swig_obj
[0] = args
;
12328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12329 if (!SWIG_IsOK(res1
)) {
12330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12332 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= SWIG_From_int(static_cast< int >(result
));
12346 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12347 PyObject
*resultobj
= 0;
12348 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12349 wxFontEncoding result
;
12352 PyObject
*swig_obj
[1] ;
12354 if (!args
) SWIG_fail
;
12355 swig_obj
[0] = args
;
12356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12357 if (!SWIG_IsOK(res1
)) {
12358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12360 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= SWIG_From_int(static_cast< int >(result
));
12374 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
= 0;
12376 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 PyObject
* obj1
= 0 ;
12384 char * kwnames
[] = {
12385 (char *) "self",(char *) "pointsize", NULL
12388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12390 if (!SWIG_IsOK(res1
)) {
12391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12393 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12395 if (!SWIG_IsOK(ecode2
)) {
12396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12398 arg2
= static_cast< int >(val2
);
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 (arg1
)->SetPointSize(arg2
);
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12405 resultobj
= SWIG_Py_Void();
12412 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
= 0;
12414 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12420 PyObject
* obj0
= 0 ;
12421 PyObject
* obj1
= 0 ;
12422 char * kwnames
[] = {
12423 (char *) "self",(char *) "style", NULL
12426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12428 if (!SWIG_IsOK(res1
)) {
12429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12431 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12433 if (!SWIG_IsOK(ecode2
)) {
12434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12436 arg2
= static_cast< wxFontStyle
>(val2
);
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 (arg1
)->SetStyle(arg2
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= SWIG_Py_Void();
12450 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
= 0;
12452 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12453 wxFontWeight arg2
;
12458 PyObject
* obj0
= 0 ;
12459 PyObject
* obj1
= 0 ;
12460 char * kwnames
[] = {
12461 (char *) "self",(char *) "weight", NULL
12464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12466 if (!SWIG_IsOK(res1
)) {
12467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12469 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12471 if (!SWIG_IsOK(ecode2
)) {
12472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12474 arg2
= static_cast< wxFontWeight
>(val2
);
12476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12477 (arg1
)->SetWeight(arg2
);
12478 wxPyEndAllowThreads(__tstate
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 resultobj
= SWIG_Py_Void();
12488 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12489 PyObject
*resultobj
= 0;
12490 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12496 PyObject
* obj0
= 0 ;
12497 PyObject
* obj1
= 0 ;
12498 char * kwnames
[] = {
12499 (char *) "self",(char *) "underlined", NULL
12502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12504 if (!SWIG_IsOK(res1
)) {
12505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12507 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12508 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12509 if (!SWIG_IsOK(ecode2
)) {
12510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12512 arg2
= static_cast< bool >(val2
);
12514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12515 (arg1
)->SetUnderlined(arg2
);
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12519 resultobj
= SWIG_Py_Void();
12526 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
= 0;
12528 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12533 PyObject
* obj0
= 0 ;
12534 PyObject
* obj1
= 0 ;
12535 char * kwnames
[] = {
12536 (char *) "self",(char *) "facename", NULL
12539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12541 if (!SWIG_IsOK(res1
)) {
12542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12544 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12546 wxString
* sptr
= wxString_in_helper(obj1
);
12547 if (sptr
== NULL
) SWIG_fail
;
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 result
= (bool)(arg1
)->SetFaceName(arg2
);
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12566 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
= 0;
12568 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12569 wxFontFamily arg2
;
12574 PyObject
* obj0
= 0 ;
12575 PyObject
* obj1
= 0 ;
12576 char * kwnames
[] = {
12577 (char *) "self",(char *) "family", NULL
12580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12582 if (!SWIG_IsOK(res1
)) {
12583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12585 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12587 if (!SWIG_IsOK(ecode2
)) {
12588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12590 arg2
= static_cast< wxFontFamily
>(val2
);
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 (arg1
)->SetFamily(arg2
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12597 resultobj
= SWIG_Py_Void();
12604 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
= 0;
12606 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12607 wxFontEncoding arg2
;
12612 PyObject
* obj0
= 0 ;
12613 PyObject
* obj1
= 0 ;
12614 char * kwnames
[] = {
12615 (char *) "self",(char *) "encoding", NULL
12618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12620 if (!SWIG_IsOK(res1
)) {
12621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12623 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12625 if (!SWIG_IsOK(ecode2
)) {
12626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12628 arg2
= static_cast< wxFontEncoding
>(val2
);
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 (arg1
)->SetEncoding(arg2
);
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= SWIG_Py_Void();
12642 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
= 0;
12644 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12645 wxString
*arg2
= 0 ;
12649 bool temp2
= false ;
12650 PyObject
* obj0
= 0 ;
12651 PyObject
* obj1
= 0 ;
12652 char * kwnames
[] = {
12653 (char *) "self",(char *) "s", NULL
12656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12658 if (!SWIG_IsOK(res1
)) {
12659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12661 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12663 arg2
= wxString_in_helper(obj1
);
12664 if (arg2
== NULL
) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12690 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12691 PyObject
*resultobj
= 0;
12692 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12696 PyObject
*swig_obj
[1] ;
12698 if (!args
) SWIG_fail
;
12699 swig_obj
[0] = args
;
12700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12701 if (!SWIG_IsOK(res1
)) {
12702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12704 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12724 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12725 PyObject
*resultobj
= 0;
12726 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12730 PyObject
*swig_obj
[1] ;
12732 if (!args
) SWIG_fail
;
12733 swig_obj
[0] = args
;
12734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12735 if (!SWIG_IsOK(res1
)) {
12736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12738 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 result
= wxNativeFontInfo___str__(arg1
);
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12758 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
= 0;
12760 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12761 wxString
*arg2
= 0 ;
12765 bool temp2
= false ;
12766 PyObject
* obj0
= 0 ;
12767 PyObject
* obj1
= 0 ;
12768 char * kwnames
[] = {
12769 (char *) "self",(char *) "s", NULL
12772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12774 if (!SWIG_IsOK(res1
)) {
12775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12777 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12779 arg2
= wxString_in_helper(obj1
);
12780 if (arg2
== NULL
) SWIG_fail
;
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12806 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12807 PyObject
*resultobj
= 0;
12808 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12812 PyObject
*swig_obj
[1] ;
12814 if (!args
) SWIG_fail
;
12815 swig_obj
[0] = args
;
12816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12817 if (!SWIG_IsOK(res1
)) {
12818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12820 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12823 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12824 wxPyEndAllowThreads(__tstate
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12840 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12842 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12843 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12844 return SWIG_Py_Void();
12847 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12848 return SWIG_Python_InitShadowInstance(args
);
12851 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12852 PyObject
*resultobj
= 0;
12853 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12854 wxString
*arg2
= (wxString
*) 0 ;
12857 bool temp2
= false ;
12858 PyObject
*swig_obj
[2] ;
12860 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12862 if (!SWIG_IsOK(res1
)) {
12863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12865 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12867 arg2
= wxString_in_helper(swig_obj
[1]);
12868 if (arg2
== NULL
) SWIG_fail
;
12871 if (arg1
) (arg1
)->facename
= *arg2
;
12873 resultobj
= SWIG_Py_Void();
12888 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12889 PyObject
*resultobj
= 0;
12890 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12891 wxString
*result
= 0 ;
12894 PyObject
*swig_obj
[1] ;
12896 if (!args
) SWIG_fail
;
12897 swig_obj
[0] = args
;
12898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12899 if (!SWIG_IsOK(res1
)) {
12900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12902 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12903 result
= (wxString
*)& ((arg1
)->facename
);
12906 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12908 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12917 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12918 PyObject
*resultobj
= 0;
12919 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12920 wxFontEncoding arg2
;
12925 PyObject
*swig_obj
[2] ;
12927 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12929 if (!SWIG_IsOK(res1
)) {
12930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12932 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12933 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12934 if (!SWIG_IsOK(ecode2
)) {
12935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12937 arg2
= static_cast< wxFontEncoding
>(val2
);
12938 if (arg1
) (arg1
)->encoding
= arg2
;
12940 resultobj
= SWIG_Py_Void();
12947 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12948 PyObject
*resultobj
= 0;
12949 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12950 wxFontEncoding result
;
12953 PyObject
*swig_obj
[1] ;
12955 if (!args
) SWIG_fail
;
12956 swig_obj
[0] = args
;
12957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12958 if (!SWIG_IsOK(res1
)) {
12959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12961 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12962 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12963 resultobj
= SWIG_From_int(static_cast< int >(result
));
12970 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12971 PyObject
*resultobj
= 0;
12972 wxNativeEncodingInfo
*result
= 0 ;
12974 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12988 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12989 PyObject
*resultobj
= 0;
12990 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12993 PyObject
*swig_obj
[1] ;
12995 if (!args
) SWIG_fail
;
12996 swig_obj
[0] = args
;
12997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12998 if (!SWIG_IsOK(res1
)) {
12999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13001 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 resultobj
= SWIG_Py_Void();
13016 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
= 0;
13018 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13019 wxString
*arg2
= 0 ;
13023 bool temp2
= false ;
13024 PyObject
* obj0
= 0 ;
13025 PyObject
* obj1
= 0 ;
13026 char * kwnames
[] = {
13027 (char *) "self",(char *) "s", NULL
13030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13032 if (!SWIG_IsOK(res1
)) {
13033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13035 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13037 arg2
= wxString_in_helper(obj1
);
13038 if (arg2
== NULL
) SWIG_fail
;
13042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13043 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13044 wxPyEndAllowThreads(__tstate
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13064 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13065 PyObject
*resultobj
= 0;
13066 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13070 PyObject
*swig_obj
[1] ;
13072 if (!args
) SWIG_fail
;
13073 swig_obj
[0] = args
;
13074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13075 if (!SWIG_IsOK(res1
)) {
13076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13078 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13082 wxPyEndAllowThreads(__tstate
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13098 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13101 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13102 return SWIG_Py_Void();
13105 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13106 return SWIG_Python_InitShadowInstance(args
);
13109 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13110 PyObject
*resultobj
= 0;
13111 wxFontEncoding arg1
;
13112 wxNativeEncodingInfo
*result
= 0 ;
13115 PyObject
* obj0
= 0 ;
13116 char * kwnames
[] = {
13117 (char *) "encoding", NULL
13120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13121 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13122 if (!SWIG_IsOK(ecode1
)) {
13123 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13125 arg1
= static_cast< wxFontEncoding
>(val1
);
13127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13128 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13139 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
= 0;
13141 wxNativeEncodingInfo
*arg1
= 0 ;
13145 PyObject
* obj0
= 0 ;
13146 char * kwnames
[] = {
13147 (char *) "info", NULL
13150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13151 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13152 if (!SWIG_IsOK(res1
)) {
13153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13158 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13174 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13175 PyObject
*resultobj
= 0;
13176 wxFontMapper
*result
= 0 ;
13178 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13181 result
= (wxFontMapper
*)new wxFontMapper();
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13192 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13193 PyObject
*resultobj
= 0;
13194 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13197 PyObject
*swig_obj
[1] ;
13199 if (!args
) SWIG_fail
;
13200 swig_obj
[0] = args
;
13201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13202 if (!SWIG_IsOK(res1
)) {
13203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13205 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13213 resultobj
= SWIG_Py_Void();
13220 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13221 PyObject
*resultobj
= 0;
13222 wxFontMapper
*result
= 0 ;
13224 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (wxFontMapper
*)wxFontMapper::Get();
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13238 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13239 PyObject
*resultobj
= 0;
13240 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13241 wxFontMapper
*result
= 0 ;
13244 PyObject
* obj0
= 0 ;
13245 char * kwnames
[] = {
13246 (char *) "mapper", NULL
13249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13251 if (!SWIG_IsOK(res1
)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13254 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13268 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13269 PyObject
*resultobj
= 0;
13270 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13271 wxString
*arg2
= 0 ;
13272 bool arg3
= (bool) true ;
13273 wxFontEncoding result
;
13276 bool temp2
= false ;
13279 PyObject
* obj0
= 0 ;
13280 PyObject
* obj1
= 0 ;
13281 PyObject
* obj2
= 0 ;
13282 char * kwnames
[] = {
13283 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13288 if (!SWIG_IsOK(res1
)) {
13289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13291 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13293 arg2
= wxString_in_helper(obj1
);
13294 if (arg2
== NULL
) SWIG_fail
;
13298 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13299 if (!SWIG_IsOK(ecode3
)) {
13300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13302 arg3
= static_cast< bool >(val3
);
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13310 resultobj
= SWIG_From_int(static_cast< int >(result
));
13325 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13326 PyObject
*resultobj
= 0;
13329 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13343 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
= 0;
13346 wxFontEncoding result
;
13349 PyObject
* obj0
= 0 ;
13350 char * kwnames
[] = {
13354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13355 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13356 if (!SWIG_IsOK(ecode1
)) {
13357 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13359 arg1
= static_cast< size_t >(val1
);
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= SWIG_From_int(static_cast< int >(result
));
13373 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
= 0;
13375 wxFontEncoding arg1
;
13379 PyObject
* obj0
= 0 ;
13380 char * kwnames
[] = {
13381 (char *) "encoding", NULL
13384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13385 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13386 if (!SWIG_IsOK(ecode1
)) {
13387 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13389 arg1
= static_cast< wxFontEncoding
>(val1
);
13391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13392 result
= wxFontMapper::GetEncodingName(arg1
);
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13409 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13410 PyObject
*resultobj
= 0;
13411 wxFontEncoding arg1
;
13415 PyObject
* obj0
= 0 ;
13416 char * kwnames
[] = {
13417 (char *) "encoding", NULL
13420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13421 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13422 if (!SWIG_IsOK(ecode1
)) {
13423 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13425 arg1
= static_cast< wxFontEncoding
>(val1
);
13427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 result
= wxFontMapper::GetEncodingDescription(arg1
);
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13445 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
= 0;
13447 wxString
*arg1
= 0 ;
13448 wxFontEncoding result
;
13449 bool temp1
= false ;
13450 PyObject
* obj0
= 0 ;
13451 char * kwnames
[] = {
13452 (char *) "name", NULL
13455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13457 arg1
= wxString_in_helper(obj0
);
13458 if (arg1
== NULL
) SWIG_fail
;
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= SWIG_From_int(static_cast< int >(result
));
13482 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
= 0;
13484 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13485 wxString
*arg2
= 0 ;
13488 bool temp2
= false ;
13489 PyObject
* obj0
= 0 ;
13490 PyObject
* obj1
= 0 ;
13491 char * kwnames
[] = {
13492 (char *) "self",(char *) "prefix", NULL
13495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13497 if (!SWIG_IsOK(res1
)) {
13498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13500 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13502 arg2
= wxString_in_helper(obj1
);
13503 if (arg2
== NULL
) SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= SWIG_Py_Void();
13527 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13528 PyObject
*resultobj
= 0;
13531 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 result
= wxFontMapper::GetDefaultConfigPath();
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13551 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
= 0;
13553 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13554 wxFontEncoding arg2
;
13555 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13556 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13557 bool arg4
= (bool) true ;
13558 PyObject
*result
= 0 ;
13563 bool temp3
= false ;
13566 PyObject
* obj0
= 0 ;
13567 PyObject
* obj1
= 0 ;
13568 PyObject
* obj2
= 0 ;
13569 PyObject
* obj3
= 0 ;
13570 char * kwnames
[] = {
13571 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13576 if (!SWIG_IsOK(res1
)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13579 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13581 if (!SWIG_IsOK(ecode2
)) {
13582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13584 arg2
= static_cast< wxFontEncoding
>(val2
);
13587 arg3
= wxString_in_helper(obj2
);
13588 if (arg3
== NULL
) SWIG_fail
;
13593 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13594 if (!SWIG_IsOK(ecode4
)) {
13595 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13597 arg4
= static_cast< bool >(val4
);
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 resultobj
= result
;
13620 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
= 0;
13622 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13623 wxFontEncoding arg2
;
13624 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13625 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13631 bool temp3
= false ;
13632 PyObject
* obj0
= 0 ;
13633 PyObject
* obj1
= 0 ;
13634 PyObject
* obj2
= 0 ;
13635 char * kwnames
[] = {
13636 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13641 if (!SWIG_IsOK(res1
)) {
13642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13644 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13646 if (!SWIG_IsOK(ecode2
)) {
13647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13649 arg2
= static_cast< wxFontEncoding
>(val2
);
13652 arg3
= wxString_in_helper(obj2
);
13653 if (arg3
== NULL
) SWIG_fail
;
13658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13659 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13680 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
= 0;
13682 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13683 wxWindow
*arg2
= (wxWindow
*) 0 ;
13688 PyObject
* obj0
= 0 ;
13689 PyObject
* obj1
= 0 ;
13690 char * kwnames
[] = {
13691 (char *) "self",(char *) "parent", NULL
13694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13696 if (!SWIG_IsOK(res1
)) {
13697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13699 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13700 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13701 if (!SWIG_IsOK(res2
)) {
13702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13704 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 (arg1
)->SetDialogParent(arg2
);
13708 wxPyEndAllowThreads(__tstate
);
13709 if (PyErr_Occurred()) SWIG_fail
;
13711 resultobj
= SWIG_Py_Void();
13718 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13719 PyObject
*resultobj
= 0;
13720 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13721 wxString
*arg2
= 0 ;
13724 bool temp2
= false ;
13725 PyObject
* obj0
= 0 ;
13726 PyObject
* obj1
= 0 ;
13727 char * kwnames
[] = {
13728 (char *) "self",(char *) "title", NULL
13731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13733 if (!SWIG_IsOK(res1
)) {
13734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13736 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13738 arg2
= wxString_in_helper(obj1
);
13739 if (arg2
== NULL
) SWIG_fail
;
13743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13744 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 resultobj
= SWIG_Py_Void();
13763 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13766 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13767 return SWIG_Py_Void();
13770 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13771 return SWIG_Python_InitShadowInstance(args
);
13774 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13775 PyObject
*resultobj
= 0;
13780 bool arg5
= (bool) false ;
13781 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13782 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13783 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13784 wxFont
*result
= 0 ;
13795 bool temp6
= false ;
13798 PyObject
* obj0
= 0 ;
13799 PyObject
* obj1
= 0 ;
13800 PyObject
* obj2
= 0 ;
13801 PyObject
* obj3
= 0 ;
13802 PyObject
* obj4
= 0 ;
13803 PyObject
* obj5
= 0 ;
13804 PyObject
* obj6
= 0 ;
13805 char * kwnames
[] = {
13806 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13810 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13811 if (!SWIG_IsOK(ecode1
)) {
13812 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13814 arg1
= static_cast< int >(val1
);
13815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13816 if (!SWIG_IsOK(ecode2
)) {
13817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13819 arg2
= static_cast< int >(val2
);
13820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13821 if (!SWIG_IsOK(ecode3
)) {
13822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13824 arg3
= static_cast< int >(val3
);
13825 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13826 if (!SWIG_IsOK(ecode4
)) {
13827 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13829 arg4
= static_cast< int >(val4
);
13831 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13832 if (!SWIG_IsOK(ecode5
)) {
13833 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13835 arg5
= static_cast< bool >(val5
);
13839 arg6
= wxString_in_helper(obj5
);
13840 if (arg6
== NULL
) SWIG_fail
;
13845 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13846 if (!SWIG_IsOK(ecode7
)) {
13847 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13849 arg7
= static_cast< wxFontEncoding
>(val7
);
13852 if (!wxPyCheckForApp()) SWIG_fail
;
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13873 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13874 PyObject
*resultobj
= 0;
13875 wxFont
*arg1
= (wxFont
*) 0 ;
13878 PyObject
*swig_obj
[1] ;
13880 if (!args
) SWIG_fail
;
13881 swig_obj
[0] = args
;
13882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13883 if (!SWIG_IsOK(res1
)) {
13884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13886 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13894 resultobj
= SWIG_Py_Void();
13901 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
= 0;
13903 wxNativeFontInfo
*arg1
= 0 ;
13904 wxFont
*result
= 0 ;
13907 PyObject
* obj0
= 0 ;
13908 char * kwnames
[] = {
13909 (char *) "info", NULL
13912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13913 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13914 if (!SWIG_IsOK(res1
)) {
13915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13920 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13922 if (!wxPyCheckForApp()) SWIG_fail
;
13923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13924 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13925 wxPyEndAllowThreads(__tstate
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13935 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13936 PyObject
*resultobj
= 0;
13937 wxString
*arg1
= 0 ;
13938 wxFont
*result
= 0 ;
13939 bool temp1
= false ;
13940 PyObject
* obj0
= 0 ;
13941 char * kwnames
[] = {
13942 (char *) "info", NULL
13945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13947 arg1
= wxString_in_helper(obj0
);
13948 if (arg1
== NULL
) SWIG_fail
;
13952 if (!wxPyCheckForApp()) SWIG_fail
;
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13973 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
= 0;
13976 wxFontFamily arg2
;
13977 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13978 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13979 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13980 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13981 wxFont
*result
= 0 ;
13988 bool temp4
= false ;
13991 PyObject
* obj0
= 0 ;
13992 PyObject
* obj1
= 0 ;
13993 PyObject
* obj2
= 0 ;
13994 PyObject
* obj3
= 0 ;
13995 PyObject
* obj4
= 0 ;
13996 char * kwnames
[] = {
13997 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14001 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14002 if (!SWIG_IsOK(ecode1
)) {
14003 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14005 arg1
= static_cast< int >(val1
);
14006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14007 if (!SWIG_IsOK(ecode2
)) {
14008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14010 arg2
= static_cast< wxFontFamily
>(val2
);
14012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14013 if (!SWIG_IsOK(ecode3
)) {
14014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14016 arg3
= static_cast< int >(val3
);
14020 arg4
= wxString_in_helper(obj3
);
14021 if (arg4
== NULL
) SWIG_fail
;
14026 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14027 if (!SWIG_IsOK(ecode5
)) {
14028 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14030 arg5
= static_cast< wxFontEncoding
>(val5
);
14033 if (!wxPyCheckForApp()) SWIG_fail
;
14034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14035 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14036 wxPyEndAllowThreads(__tstate
);
14037 if (PyErr_Occurred()) SWIG_fail
;
14039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14054 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14055 PyObject
*resultobj
= 0;
14060 bool arg5
= (bool) false ;
14061 wxString
const &arg6_defvalue
= wxEmptyString
;
14062 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14063 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14064 wxFont
*result
= 0 ;
14074 bool temp6
= false ;
14077 PyObject
* obj0
= 0 ;
14078 PyObject
* obj1
= 0 ;
14079 PyObject
* obj2
= 0 ;
14080 PyObject
* obj3
= 0 ;
14081 PyObject
* obj4
= 0 ;
14082 PyObject
* obj5
= 0 ;
14083 PyObject
* obj6
= 0 ;
14084 char * kwnames
[] = {
14085 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14091 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14094 if (!SWIG_IsOK(ecode2
)) {
14095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14097 arg2
= static_cast< int >(val2
);
14098 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14099 if (!SWIG_IsOK(ecode3
)) {
14100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14102 arg3
= static_cast< int >(val3
);
14103 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14104 if (!SWIG_IsOK(ecode4
)) {
14105 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14107 arg4
= static_cast< int >(val4
);
14109 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14110 if (!SWIG_IsOK(ecode5
)) {
14111 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14113 arg5
= static_cast< bool >(val5
);
14117 arg6
= wxString_in_helper(obj5
);
14118 if (arg6
== NULL
) SWIG_fail
;
14123 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14124 if (!SWIG_IsOK(ecode7
)) {
14125 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14127 arg7
= static_cast< wxFontEncoding
>(val7
);
14130 if (!wxPyCheckForApp()) SWIG_fail
;
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14133 wxPyEndAllowThreads(__tstate
);
14134 if (PyErr_Occurred()) SWIG_fail
;
14136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14151 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14152 PyObject
*resultobj
= 0;
14154 wxFontFamily arg2
;
14155 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14156 wxString
const &arg4_defvalue
= wxEmptyString
;
14157 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14158 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14159 wxFont
*result
= 0 ;
14165 bool temp4
= false ;
14168 PyObject
* obj0
= 0 ;
14169 PyObject
* obj1
= 0 ;
14170 PyObject
* obj2
= 0 ;
14171 PyObject
* obj3
= 0 ;
14172 PyObject
* obj4
= 0 ;
14173 char * kwnames
[] = {
14174 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14180 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14183 if (!SWIG_IsOK(ecode2
)) {
14184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14186 arg2
= static_cast< wxFontFamily
>(val2
);
14188 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14189 if (!SWIG_IsOK(ecode3
)) {
14190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14192 arg3
= static_cast< int >(val3
);
14196 arg4
= wxString_in_helper(obj3
);
14197 if (arg4
== NULL
) SWIG_fail
;
14202 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14203 if (!SWIG_IsOK(ecode5
)) {
14204 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14206 arg5
= static_cast< wxFontEncoding
>(val5
);
14209 if (!wxPyCheckForApp()) SWIG_fail
;
14210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14230 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14231 PyObject
*resultobj
= 0;
14232 wxFont
*arg1
= (wxFont
*) 0 ;
14236 PyObject
*swig_obj
[1] ;
14238 if (!args
) SWIG_fail
;
14239 swig_obj
[0] = args
;
14240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14241 if (!SWIG_IsOK(res1
)) {
14242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14244 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14248 wxPyEndAllowThreads(__tstate
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14260 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14261 PyObject
*resultobj
= 0;
14262 wxFont
*arg1
= (wxFont
*) 0 ;
14263 wxFont
*arg2
= (wxFont
*) 0 ;
14269 PyObject
* obj0
= 0 ;
14270 PyObject
* obj1
= 0 ;
14271 char * kwnames
[] = {
14272 (char *) "self",(char *) "other", NULL
14275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14277 if (!SWIG_IsOK(res1
)) {
14278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14280 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14282 if (!SWIG_IsOK(res2
)) {
14283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14285 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14289 wxPyEndAllowThreads(__tstate
);
14290 if (PyErr_Occurred()) SWIG_fail
;
14293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14301 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14302 PyObject
*resultobj
= 0;
14303 wxFont
*arg1
= (wxFont
*) 0 ;
14304 wxFont
*arg2
= (wxFont
*) 0 ;
14310 PyObject
* obj0
= 0 ;
14311 PyObject
* obj1
= 0 ;
14312 char * kwnames
[] = {
14313 (char *) "self",(char *) "other", NULL
14316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14318 if (!SWIG_IsOK(res1
)) {
14319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14321 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14322 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14323 if (!SWIG_IsOK(res2
)) {
14324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14326 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14342 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14343 PyObject
*resultobj
= 0;
14344 wxFont
*arg1
= (wxFont
*) 0 ;
14348 PyObject
*swig_obj
[1] ;
14350 if (!args
) SWIG_fail
;
14351 swig_obj
[0] = args
;
14352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14353 if (!SWIG_IsOK(res1
)) {
14354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14356 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= SWIG_From_int(static_cast< int >(result
));
14370 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14371 PyObject
*resultobj
= 0;
14372 wxFont
*arg1
= (wxFont
*) 0 ;
14376 PyObject
*swig_obj
[1] ;
14378 if (!args
) SWIG_fail
;
14379 swig_obj
[0] = args
;
14380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14381 if (!SWIG_IsOK(res1
)) {
14382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14384 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14387 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14391 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14398 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14399 PyObject
*resultobj
= 0;
14400 wxFont
*arg1
= (wxFont
*) 0 ;
14404 PyObject
*swig_obj
[1] ;
14406 if (!args
) SWIG_fail
;
14407 swig_obj
[0] = args
;
14408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14409 if (!SWIG_IsOK(res1
)) {
14410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14412 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14428 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14429 PyObject
*resultobj
= 0;
14430 wxFont
*arg1
= (wxFont
*) 0 ;
14434 PyObject
*swig_obj
[1] ;
14436 if (!args
) SWIG_fail
;
14437 swig_obj
[0] = args
;
14438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14439 if (!SWIG_IsOK(res1
)) {
14440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14442 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14449 resultobj
= SWIG_From_int(static_cast< int >(result
));
14456 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14457 PyObject
*resultobj
= 0;
14458 wxFont
*arg1
= (wxFont
*) 0 ;
14462 PyObject
*swig_obj
[1] ;
14464 if (!args
) SWIG_fail
;
14465 swig_obj
[0] = args
;
14466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14467 if (!SWIG_IsOK(res1
)) {
14468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14470 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14474 wxPyEndAllowThreads(__tstate
);
14475 if (PyErr_Occurred()) SWIG_fail
;
14477 resultobj
= SWIG_From_int(static_cast< int >(result
));
14484 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14485 PyObject
*resultobj
= 0;
14486 wxFont
*arg1
= (wxFont
*) 0 ;
14490 PyObject
*swig_obj
[1] ;
14492 if (!args
) SWIG_fail
;
14493 swig_obj
[0] = args
;
14494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14495 if (!SWIG_IsOK(res1
)) {
14496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14498 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14501 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14502 wxPyEndAllowThreads(__tstate
);
14503 if (PyErr_Occurred()) SWIG_fail
;
14505 resultobj
= SWIG_From_int(static_cast< int >(result
));
14512 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(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_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14526 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14542 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14543 PyObject
*resultobj
= 0;
14544 wxFont
*arg1
= (wxFont
*) 0 ;
14548 PyObject
*swig_obj
[1] ;
14550 if (!args
) SWIG_fail
;
14551 swig_obj
[0] = args
;
14552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14553 if (!SWIG_IsOK(res1
)) {
14554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14556 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14559 result
= ((wxFont
const *)arg1
)->GetFaceName();
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14576 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14577 PyObject
*resultobj
= 0;
14578 wxFont
*arg1
= (wxFont
*) 0 ;
14579 wxFontEncoding result
;
14582 PyObject
*swig_obj
[1] ;
14584 if (!args
) SWIG_fail
;
14585 swig_obj
[0] = args
;
14586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14587 if (!SWIG_IsOK(res1
)) {
14588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14590 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14597 resultobj
= SWIG_From_int(static_cast< int >(result
));
14604 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14605 PyObject
*resultobj
= 0;
14606 wxFont
*arg1
= (wxFont
*) 0 ;
14607 wxNativeFontInfo
*result
= 0 ;
14610 PyObject
*swig_obj
[1] ;
14612 if (!args
) SWIG_fail
;
14613 swig_obj
[0] = args
;
14614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14615 if (!SWIG_IsOK(res1
)) {
14616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14618 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14632 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14633 PyObject
*resultobj
= 0;
14634 wxFont
*arg1
= (wxFont
*) 0 ;
14638 PyObject
*swig_obj
[1] ;
14640 if (!args
) SWIG_fail
;
14641 swig_obj
[0] = args
;
14642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14643 if (!SWIG_IsOK(res1
)) {
14644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14646 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14649 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14662 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14663 PyObject
*resultobj
= 0;
14664 wxFont
*arg1
= (wxFont
*) 0 ;
14668 PyObject
*swig_obj
[1] ;
14670 if (!args
) SWIG_fail
;
14671 swig_obj
[0] = args
;
14672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14673 if (!SWIG_IsOK(res1
)) {
14674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14676 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14696 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14697 PyObject
*resultobj
= 0;
14698 wxFont
*arg1
= (wxFont
*) 0 ;
14702 PyObject
*swig_obj
[1] ;
14704 if (!args
) SWIG_fail
;
14705 swig_obj
[0] = args
;
14706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14707 if (!SWIG_IsOK(res1
)) {
14708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14710 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14730 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
= 0;
14732 wxFont
*arg1
= (wxFont
*) 0 ;
14738 PyObject
* obj0
= 0 ;
14739 PyObject
* obj1
= 0 ;
14740 char * kwnames
[] = {
14741 (char *) "self",(char *) "pointSize", NULL
14744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14746 if (!SWIG_IsOK(res1
)) {
14747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14749 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14751 if (!SWIG_IsOK(ecode2
)) {
14752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14754 arg2
= static_cast< int >(val2
);
14756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14757 (arg1
)->SetPointSize(arg2
);
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14761 resultobj
= SWIG_Py_Void();
14768 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
= 0;
14770 wxFont
*arg1
= (wxFont
*) 0 ;
14775 PyObject
* obj0
= 0 ;
14776 PyObject
* obj1
= 0 ;
14777 char * kwnames
[] = {
14778 (char *) "self",(char *) "pixelSize", NULL
14781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14783 if (!SWIG_IsOK(res1
)) {
14784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14786 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14789 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= SWIG_Py_Void();
14804 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14805 PyObject
*resultobj
= 0;
14806 wxFont
*arg1
= (wxFont
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 PyObject
* obj1
= 0 ;
14814 char * kwnames
[] = {
14815 (char *) "self",(char *) "family", NULL
14818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14820 if (!SWIG_IsOK(res1
)) {
14821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14823 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14825 if (!SWIG_IsOK(ecode2
)) {
14826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14828 arg2
= static_cast< int >(val2
);
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 (arg1
)->SetFamily(arg2
);
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= SWIG_Py_Void();
14842 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
= 0;
14844 wxFont
*arg1
= (wxFont
*) 0 ;
14850 PyObject
* obj0
= 0 ;
14851 PyObject
* obj1
= 0 ;
14852 char * kwnames
[] = {
14853 (char *) "self",(char *) "style", NULL
14856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14858 if (!SWIG_IsOK(res1
)) {
14859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14861 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14863 if (!SWIG_IsOK(ecode2
)) {
14864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14866 arg2
= static_cast< int >(val2
);
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14869 (arg1
)->SetStyle(arg2
);
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14873 resultobj
= SWIG_Py_Void();
14880 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
= 0;
14882 wxFont
*arg1
= (wxFont
*) 0 ;
14888 PyObject
* obj0
= 0 ;
14889 PyObject
* obj1
= 0 ;
14890 char * kwnames
[] = {
14891 (char *) "self",(char *) "weight", NULL
14894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14896 if (!SWIG_IsOK(res1
)) {
14897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14899 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14901 if (!SWIG_IsOK(ecode2
)) {
14902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14904 arg2
= static_cast< int >(val2
);
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 (arg1
)->SetWeight(arg2
);
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14911 resultobj
= SWIG_Py_Void();
14918 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
*resultobj
= 0;
14920 wxFont
*arg1
= (wxFont
*) 0 ;
14921 wxString
*arg2
= 0 ;
14925 bool temp2
= false ;
14926 PyObject
* obj0
= 0 ;
14927 PyObject
* obj1
= 0 ;
14928 char * kwnames
[] = {
14929 (char *) "self",(char *) "faceName", NULL
14932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14934 if (!SWIG_IsOK(res1
)) {
14935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14937 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14939 arg2
= wxString_in_helper(obj1
);
14940 if (arg2
== NULL
) SWIG_fail
;
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14966 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14967 PyObject
*resultobj
= 0;
14968 wxFont
*arg1
= (wxFont
*) 0 ;
14974 PyObject
* obj0
= 0 ;
14975 PyObject
* obj1
= 0 ;
14976 char * kwnames
[] = {
14977 (char *) "self",(char *) "underlined", NULL
14980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14982 if (!SWIG_IsOK(res1
)) {
14983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14985 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14986 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14987 if (!SWIG_IsOK(ecode2
)) {
14988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14990 arg2
= static_cast< bool >(val2
);
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14993 (arg1
)->SetUnderlined(arg2
);
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= SWIG_Py_Void();
15004 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
= 0;
15006 wxFont
*arg1
= (wxFont
*) 0 ;
15007 wxFontEncoding arg2
;
15012 PyObject
* obj0
= 0 ;
15013 PyObject
* obj1
= 0 ;
15014 char * kwnames
[] = {
15015 (char *) "self",(char *) "encoding", NULL
15018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15020 if (!SWIG_IsOK(res1
)) {
15021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15023 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15025 if (!SWIG_IsOK(ecode2
)) {
15026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15028 arg2
= static_cast< wxFontEncoding
>(val2
);
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 (arg1
)->SetEncoding(arg2
);
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= SWIG_Py_Void();
15042 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
= 0;
15044 wxFont
*arg1
= (wxFont
*) 0 ;
15045 wxNativeFontInfo
*arg2
= 0 ;
15050 PyObject
* obj0
= 0 ;
15051 PyObject
* obj1
= 0 ;
15052 char * kwnames
[] = {
15053 (char *) "self",(char *) "info", NULL
15056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15058 if (!SWIG_IsOK(res1
)) {
15059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15061 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15063 if (!SWIG_IsOK(res2
)) {
15064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15069 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15072 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15073 wxPyEndAllowThreads(__tstate
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15076 resultobj
= SWIG_Py_Void();
15083 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
= 0;
15085 wxFont
*arg1
= (wxFont
*) 0 ;
15086 wxString
*arg2
= 0 ;
15090 bool temp2
= false ;
15091 PyObject
* obj0
= 0 ;
15092 PyObject
* obj1
= 0 ;
15093 char * kwnames
[] = {
15094 (char *) "self",(char *) "info", NULL
15097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15099 if (!SWIG_IsOK(res1
)) {
15100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15102 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15104 arg2
= wxString_in_helper(obj1
);
15105 if (arg2
== NULL
) SWIG_fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15131 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15132 PyObject
*resultobj
= 0;
15133 wxFont
*arg1
= (wxFont
*) 0 ;
15134 wxString
*arg2
= 0 ;
15138 bool temp2
= false ;
15139 PyObject
* obj0
= 0 ;
15140 PyObject
* obj1
= 0 ;
15141 char * kwnames
[] = {
15142 (char *) "self",(char *) "info", NULL
15145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15147 if (!SWIG_IsOK(res1
)) {
15148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15150 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15152 arg2
= wxString_in_helper(obj1
);
15153 if (arg2
== NULL
) SWIG_fail
;
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15179 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15180 PyObject
*resultobj
= 0;
15181 wxFont
*arg1
= (wxFont
*) 0 ;
15185 PyObject
*swig_obj
[1] ;
15187 if (!args
) SWIG_fail
;
15188 swig_obj
[0] = args
;
15189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15190 if (!SWIG_IsOK(res1
)) {
15191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15193 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15213 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15214 PyObject
*resultobj
= 0;
15215 wxFont
*arg1
= (wxFont
*) 0 ;
15219 PyObject
*swig_obj
[1] ;
15221 if (!args
) SWIG_fail
;
15222 swig_obj
[0] = args
;
15223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15224 if (!SWIG_IsOK(res1
)) {
15225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15227 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 result
= ((wxFont
const *)arg1
)->GetStyleString();
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15247 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15248 PyObject
*resultobj
= 0;
15249 wxFont
*arg1
= (wxFont
*) 0 ;
15253 PyObject
*swig_obj
[1] ;
15255 if (!args
) SWIG_fail
;
15256 swig_obj
[0] = args
;
15257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15258 if (!SWIG_IsOK(res1
)) {
15259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15261 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= ((wxFont
const *)arg1
)->GetWeightString();
15265 wxPyEndAllowThreads(__tstate
);
15266 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15281 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
= 0;
15283 wxFont
*arg1
= (wxFont
*) 0 ;
15284 bool arg2
= (bool) true ;
15289 PyObject
* obj0
= 0 ;
15290 PyObject
* obj1
= 0 ;
15291 char * kwnames
[] = {
15292 (char *) "self",(char *) "no", NULL
15295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15297 if (!SWIG_IsOK(res1
)) {
15298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15300 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15302 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15303 if (!SWIG_IsOK(ecode2
)) {
15304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15306 arg2
= static_cast< bool >(val2
);
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 (arg1
)->SetNoAntiAliasing(arg2
);
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15314 resultobj
= SWIG_Py_Void();
15321 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15322 PyObject
*resultobj
= 0;
15323 wxFont
*arg1
= (wxFont
*) 0 ;
15327 PyObject
*swig_obj
[1] ;
15329 if (!args
) SWIG_fail
;
15330 swig_obj
[0] = args
;
15331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15332 if (!SWIG_IsOK(res1
)) {
15333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15335 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15339 wxPyEndAllowThreads(__tstate
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15351 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15352 PyObject
*resultobj
= 0;
15353 wxFontEncoding result
;
15355 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15357 if (!wxPyCheckForApp()) SWIG_fail
;
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15359 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15363 resultobj
= SWIG_From_int(static_cast< int >(result
));
15370 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
= 0;
15372 wxFontEncoding arg1
;
15375 PyObject
* obj0
= 0 ;
15376 char * kwnames
[] = {
15377 (char *) "encoding", NULL
15380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15381 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15382 if (!SWIG_IsOK(ecode1
)) {
15383 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15385 arg1
= static_cast< wxFontEncoding
>(val1
);
15387 if (!wxPyCheckForApp()) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 wxFont::SetDefaultEncoding(arg1
);
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15393 resultobj
= SWIG_Py_Void();
15400 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15403 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15404 return SWIG_Py_Void();
15407 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15408 return SWIG_Python_InitShadowInstance(args
);
15411 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15412 PyObject
*resultobj
= 0;
15413 wxPyFontEnumerator
*result
= 0 ;
15415 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15417 if (!wxPyCheckForApp()) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15430 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15431 PyObject
*resultobj
= 0;
15432 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15435 PyObject
*swig_obj
[1] ;
15437 if (!args
) SWIG_fail
;
15438 swig_obj
[0] = args
;
15439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15440 if (!SWIG_IsOK(res1
)) {
15441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15443 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= SWIG_Py_Void();
15458 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
= 0;
15460 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15461 PyObject
*arg2
= (PyObject
*) 0 ;
15462 PyObject
*arg3
= (PyObject
*) 0 ;
15463 int arg4
= (int) 0 ;
15468 PyObject
* obj0
= 0 ;
15469 PyObject
* obj1
= 0 ;
15470 PyObject
* obj2
= 0 ;
15471 PyObject
* obj3
= 0 ;
15472 char * kwnames
[] = {
15473 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15478 if (!SWIG_IsOK(res1
)) {
15479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15481 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15485 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15486 if (!SWIG_IsOK(ecode4
)) {
15487 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15489 arg4
= static_cast< int >(val4
);
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15497 resultobj
= SWIG_Py_Void();
15504 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
= 0;
15506 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15507 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15508 bool arg3
= (bool) false ;
15516 PyObject
* obj0
= 0 ;
15517 PyObject
* obj1
= 0 ;
15518 PyObject
* obj2
= 0 ;
15519 char * kwnames
[] = {
15520 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15525 if (!SWIG_IsOK(res1
)) {
15526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15528 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15531 if (!SWIG_IsOK(ecode2
)) {
15532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15534 arg2
= static_cast< wxFontEncoding
>(val2
);
15537 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15538 if (!SWIG_IsOK(ecode3
)) {
15539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15541 arg3
= static_cast< bool >(val3
);
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15546 wxPyEndAllowThreads(__tstate
);
15547 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15558 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15559 PyObject
*resultobj
= 0;
15560 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15561 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15562 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15566 bool temp2
= false ;
15567 PyObject
* obj0
= 0 ;
15568 PyObject
* obj1
= 0 ;
15569 char * kwnames
[] = {
15570 (char *) "self",(char *) "facename", NULL
15573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15575 if (!SWIG_IsOK(res1
)) {
15576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15578 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15581 arg2
= wxString_in_helper(obj1
);
15582 if (arg2
== NULL
) SWIG_fail
;
15587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15588 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15589 wxPyEndAllowThreads(__tstate
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15609 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15610 PyObject
*resultobj
= 0;
15611 PyObject
*result
= 0 ;
15613 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 resultobj
= result
;
15627 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15628 PyObject
*resultobj
= 0;
15629 PyObject
*result
= 0 ;
15631 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15638 resultobj
= result
;
15645 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15646 PyObject
*resultobj
= 0;
15647 wxString
*arg1
= 0 ;
15649 bool temp1
= false ;
15650 PyObject
* obj0
= 0 ;
15651 char * kwnames
[] = {
15652 (char *) "str", NULL
15655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15657 arg1
= wxString_in_helper(obj0
);
15658 if (arg1
== NULL
) SWIG_fail
;
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15684 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15686 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15687 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15688 return SWIG_Py_Void();
15691 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15692 return SWIG_Python_InitShadowInstance(args
);
15695 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15696 PyObject
*resultobj
= 0;
15697 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15703 PyObject
*swig_obj
[2] ;
15705 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15707 if (!SWIG_IsOK(res1
)) {
15708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15710 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15711 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15712 if (!SWIG_IsOK(ecode2
)) {
15713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15715 arg2
= static_cast< int >(val2
);
15716 if (arg1
) (arg1
)->Language
= arg2
;
15718 resultobj
= SWIG_Py_Void();
15725 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15726 PyObject
*resultobj
= 0;
15727 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15731 PyObject
*swig_obj
[1] ;
15733 if (!args
) SWIG_fail
;
15734 swig_obj
[0] = args
;
15735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15736 if (!SWIG_IsOK(res1
)) {
15737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15739 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15740 result
= (int) ((arg1
)->Language
);
15741 resultobj
= SWIG_From_int(static_cast< int >(result
));
15748 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15749 PyObject
*resultobj
= 0;
15750 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15751 wxString
*arg2
= (wxString
*) 0 ;
15754 bool temp2
= false ;
15755 PyObject
*swig_obj
[2] ;
15757 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15759 if (!SWIG_IsOK(res1
)) {
15760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15762 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15764 arg2
= wxString_in_helper(swig_obj
[1]);
15765 if (arg2
== NULL
) SWIG_fail
;
15768 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15770 resultobj
= SWIG_Py_Void();
15785 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15786 PyObject
*resultobj
= 0;
15787 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15788 wxString
*result
= 0 ;
15791 PyObject
*swig_obj
[1] ;
15793 if (!args
) SWIG_fail
;
15794 swig_obj
[0] = args
;
15795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15796 if (!SWIG_IsOK(res1
)) {
15797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15799 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15800 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15803 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15805 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15814 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15815 PyObject
*resultobj
= 0;
15816 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15817 wxString
*arg2
= (wxString
*) 0 ;
15820 bool temp2
= false ;
15821 PyObject
*swig_obj
[2] ;
15823 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15825 if (!SWIG_IsOK(res1
)) {
15826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15828 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15830 arg2
= wxString_in_helper(swig_obj
[1]);
15831 if (arg2
== NULL
) SWIG_fail
;
15834 if (arg1
) (arg1
)->Description
= *arg2
;
15836 resultobj
= SWIG_Py_Void();
15851 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15852 PyObject
*resultobj
= 0;
15853 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15854 wxString
*result
= 0 ;
15857 PyObject
*swig_obj
[1] ;
15859 if (!args
) SWIG_fail
;
15860 swig_obj
[0] = args
;
15861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15862 if (!SWIG_IsOK(res1
)) {
15863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15865 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15866 result
= (wxString
*)& ((arg1
)->Description
);
15869 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15871 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15880 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15882 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15883 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15884 return SWIG_Py_Void();
15887 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
= 0;
15889 int arg1
= (int) -1 ;
15890 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15891 wxLocale
*result
= 0 ;
15896 PyObject
* obj0
= 0 ;
15897 PyObject
* obj1
= 0 ;
15898 char * kwnames
[] = {
15899 (char *) "language",(char *) "flags", NULL
15902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15904 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15905 if (!SWIG_IsOK(ecode1
)) {
15906 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15908 arg1
= static_cast< int >(val1
);
15911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15912 if (!SWIG_IsOK(ecode2
)) {
15913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15915 arg2
= static_cast< int >(val2
);
15918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15930 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15931 PyObject
*resultobj
= 0;
15932 wxLocale
*arg1
= (wxLocale
*) 0 ;
15935 PyObject
*swig_obj
[1] ;
15937 if (!args
) SWIG_fail
;
15938 swig_obj
[0] = args
;
15939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15940 if (!SWIG_IsOK(res1
)) {
15941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15943 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15951 resultobj
= SWIG_Py_Void();
15958 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15959 PyObject
*resultobj
= 0;
15960 wxLocale
*arg1
= (wxLocale
*) 0 ;
15961 wxString
*arg2
= 0 ;
15962 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15963 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15964 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15965 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15966 bool arg5
= (bool) true ;
15967 bool arg6
= (bool) false ;
15971 bool temp2
= false ;
15972 bool temp3
= false ;
15973 bool temp4
= false ;
15978 PyObject
* obj0
= 0 ;
15979 PyObject
* obj1
= 0 ;
15980 PyObject
* obj2
= 0 ;
15981 PyObject
* obj3
= 0 ;
15982 PyObject
* obj4
= 0 ;
15983 PyObject
* obj5
= 0 ;
15984 char * kwnames
[] = {
15985 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15990 if (!SWIG_IsOK(res1
)) {
15991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15993 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15995 arg2
= wxString_in_helper(obj1
);
15996 if (arg2
== NULL
) SWIG_fail
;
16001 arg3
= wxString_in_helper(obj2
);
16002 if (arg3
== NULL
) SWIG_fail
;
16008 arg4
= wxString_in_helper(obj3
);
16009 if (arg4
== NULL
) SWIG_fail
;
16014 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16015 if (!SWIG_IsOK(ecode5
)) {
16016 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16018 arg5
= static_cast< bool >(val5
);
16021 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16022 if (!SWIG_IsOK(ecode6
)) {
16023 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16025 arg6
= static_cast< bool >(val6
);
16028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16029 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16066 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
= 0;
16068 wxLocale
*arg1
= (wxLocale
*) 0 ;
16069 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16070 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16078 PyObject
* obj0
= 0 ;
16079 PyObject
* obj1
= 0 ;
16080 PyObject
* obj2
= 0 ;
16081 char * kwnames
[] = {
16082 (char *) "self",(char *) "language",(char *) "flags", NULL
16085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16087 if (!SWIG_IsOK(res1
)) {
16088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16090 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16093 if (!SWIG_IsOK(ecode2
)) {
16094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16096 arg2
= static_cast< int >(val2
);
16099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16100 if (!SWIG_IsOK(ecode3
)) {
16101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16103 arg3
= static_cast< int >(val3
);
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16120 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16121 PyObject
*resultobj
= 0;
16124 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 result
= (int)wxLocale::GetSystemLanguage();
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16131 resultobj
= SWIG_From_int(static_cast< int >(result
));
16138 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16139 PyObject
*resultobj
= 0;
16140 wxFontEncoding result
;
16142 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16145 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16146 wxPyEndAllowThreads(__tstate
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16149 resultobj
= SWIG_From_int(static_cast< int >(result
));
16156 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16157 PyObject
*resultobj
= 0;
16160 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16163 result
= wxLocale::GetSystemEncodingName();
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16180 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16181 PyObject
*resultobj
= 0;
16182 wxLocale
*arg1
= (wxLocale
*) 0 ;
16186 PyObject
*swig_obj
[1] ;
16188 if (!args
) SWIG_fail
;
16189 swig_obj
[0] = args
;
16190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16191 if (!SWIG_IsOK(res1
)) {
16192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16194 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16210 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16211 PyObject
*resultobj
= 0;
16212 wxLocale
*arg1
= (wxLocale
*) 0 ;
16216 PyObject
*swig_obj
[1] ;
16218 if (!args
) SWIG_fail
;
16219 swig_obj
[0] = args
;
16220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16221 if (!SWIG_IsOK(res1
)) {
16222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16224 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 result
= ((wxLocale
const *)arg1
)->GetLocale();
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16244 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16245 PyObject
*resultobj
= 0;
16246 wxLocale
*arg1
= (wxLocale
*) 0 ;
16250 PyObject
*swig_obj
[1] ;
16252 if (!args
) SWIG_fail
;
16253 swig_obj
[0] = args
;
16254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16255 if (!SWIG_IsOK(res1
)) {
16256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16258 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16261 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16262 wxPyEndAllowThreads(__tstate
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16265 resultobj
= SWIG_From_int(static_cast< int >(result
));
16272 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16273 PyObject
*resultobj
= 0;
16274 wxLocale
*arg1
= (wxLocale
*) 0 ;
16278 PyObject
*swig_obj
[1] ;
16280 if (!args
) SWIG_fail
;
16281 swig_obj
[0] = args
;
16282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16283 if (!SWIG_IsOK(res1
)) {
16284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16286 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 result
= ((wxLocale
const *)arg1
)->GetSysName();
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16306 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16307 PyObject
*resultobj
= 0;
16308 wxLocale
*arg1
= (wxLocale
*) 0 ;
16312 PyObject
*swig_obj
[1] ;
16314 if (!args
) SWIG_fail
;
16315 swig_obj
[0] = args
;
16316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16317 if (!SWIG_IsOK(res1
)) {
16318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16320 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16323 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16329 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16331 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16340 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
= 0;
16342 wxString
*arg1
= 0 ;
16343 bool temp1
= false ;
16344 PyObject
* obj0
= 0 ;
16345 char * kwnames
[] = {
16346 (char *) "prefix", NULL
16349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16351 arg1
= wxString_in_helper(obj0
);
16352 if (arg1
== NULL
) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16358 wxPyEndAllowThreads(__tstate
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16361 resultobj
= SWIG_Py_Void();
16376 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16377 PyObject
*resultobj
= 0;
16378 wxLocale
*arg1
= (wxLocale
*) 0 ;
16379 wxString
*arg2
= 0 ;
16383 bool temp2
= false ;
16384 PyObject
* obj0
= 0 ;
16385 PyObject
* obj1
= 0 ;
16386 char * kwnames
[] = {
16387 (char *) "self",(char *) "szDomain", NULL
16390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16392 if (!SWIG_IsOK(res1
)) {
16393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16395 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16397 arg2
= wxString_in_helper(obj1
);
16398 if (arg2
== NULL
) SWIG_fail
;
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16404 wxPyEndAllowThreads(__tstate
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16424 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16425 PyObject
*resultobj
= 0;
16430 PyObject
* obj0
= 0 ;
16431 char * kwnames
[] = {
16432 (char *) "lang", NULL
16435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16436 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16437 if (!SWIG_IsOK(ecode1
)) {
16438 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16440 arg1
= static_cast< int >(val1
);
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 result
= (bool)wxLocale::IsAvailable(arg1
);
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16456 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
= 0;
16458 wxLocale
*arg1
= (wxLocale
*) 0 ;
16459 wxString
*arg2
= 0 ;
16463 bool temp2
= false ;
16464 PyObject
* obj0
= 0 ;
16465 PyObject
* obj1
= 0 ;
16466 char * kwnames
[] = {
16467 (char *) "self",(char *) "szDomain", NULL
16470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16472 if (!SWIG_IsOK(res1
)) {
16473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16475 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16477 arg2
= wxString_in_helper(obj1
);
16478 if (arg2
== NULL
) SWIG_fail
;
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16504 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16505 PyObject
*resultobj
= 0;
16507 wxLanguageInfo
*result
= 0 ;
16510 PyObject
* obj0
= 0 ;
16511 char * kwnames
[] = {
16512 (char *) "lang", NULL
16515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16516 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16517 if (!SWIG_IsOK(ecode1
)) {
16518 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16520 arg1
= static_cast< int >(val1
);
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16534 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16535 PyObject
*resultobj
= 0;
16540 PyObject
* obj0
= 0 ;
16541 char * kwnames
[] = {
16542 (char *) "lang", NULL
16545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16546 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16547 if (!SWIG_IsOK(ecode1
)) {
16548 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16550 arg1
= static_cast< int >(val1
);
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 result
= wxLocale::GetLanguageName(arg1
);
16554 wxPyEndAllowThreads(__tstate
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16559 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16561 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16570 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
= 0;
16572 wxString
*arg1
= 0 ;
16573 wxLanguageInfo
*result
= 0 ;
16574 bool temp1
= false ;
16575 PyObject
* obj0
= 0 ;
16576 char * kwnames
[] = {
16577 (char *) "locale", NULL
16580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16582 arg1
= wxString_in_helper(obj0
);
16583 if (arg1
== NULL
) SWIG_fail
;
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16607 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16608 PyObject
*resultobj
= 0;
16609 wxLanguageInfo
*arg1
= 0 ;
16612 PyObject
* obj0
= 0 ;
16613 char * kwnames
[] = {
16614 (char *) "info", NULL
16617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16618 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16619 if (!SWIG_IsOK(res1
)) {
16620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16625 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16628 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16629 wxPyEndAllowThreads(__tstate
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16632 resultobj
= SWIG_Py_Void();
16639 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16640 PyObject
*resultobj
= 0;
16641 wxLocale
*arg1
= (wxLocale
*) 0 ;
16642 wxString
*arg2
= 0 ;
16643 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16644 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16648 bool temp2
= false ;
16649 bool temp3
= false ;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 PyObject
* obj2
= 0 ;
16653 char * kwnames
[] = {
16654 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16659 if (!SWIG_IsOK(res1
)) {
16660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16662 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16664 arg2
= wxString_in_helper(obj1
);
16665 if (arg2
== NULL
) SWIG_fail
;
16670 arg3
= wxString_in_helper(obj2
);
16671 if (arg3
== NULL
) SWIG_fail
;
16676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16677 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16683 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16685 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16710 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16711 PyObject
*resultobj
= 0;
16712 wxLocale
*arg1
= (wxLocale
*) 0 ;
16713 wxString
*result
= 0 ;
16716 PyObject
*swig_obj
[1] ;
16718 if (!args
) SWIG_fail
;
16719 swig_obj
[0] = args
;
16720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16721 if (!SWIG_IsOK(res1
)) {
16722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16724 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16729 result
= (wxString
*) &_result_ref
;
16731 wxPyEndAllowThreads(__tstate
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16736 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16738 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16747 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16750 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16751 return SWIG_Py_Void();
16754 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16755 return SWIG_Python_InitShadowInstance(args
);
16758 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
= 0;
16760 int arg1
= (int) -1 ;
16761 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16762 wxPyLocale
*result
= 0 ;
16767 PyObject
* obj0
= 0 ;
16768 PyObject
* obj1
= 0 ;
16769 char * kwnames
[] = {
16770 (char *) "language",(char *) "flags", NULL
16773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16775 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16776 if (!SWIG_IsOK(ecode1
)) {
16777 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16779 arg1
= static_cast< int >(val1
);
16782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16783 if (!SWIG_IsOK(ecode2
)) {
16784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16786 arg2
= static_cast< int >(val2
);
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16801 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16802 PyObject
*resultobj
= 0;
16803 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16806 PyObject
*swig_obj
[1] ;
16808 if (!args
) SWIG_fail
;
16809 swig_obj
[0] = args
;
16810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16811 if (!SWIG_IsOK(res1
)) {
16812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16814 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 wxPyEndAllowThreads(__tstate
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16822 resultobj
= SWIG_Py_Void();
16829 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
= 0;
16831 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16832 PyObject
*arg2
= (PyObject
*) 0 ;
16833 PyObject
*arg3
= (PyObject
*) 0 ;
16836 PyObject
* obj0
= 0 ;
16837 PyObject
* obj1
= 0 ;
16838 PyObject
* obj2
= 0 ;
16839 char * kwnames
[] = {
16840 (char *) "self",(char *) "self",(char *) "_class", NULL
16843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16845 if (!SWIG_IsOK(res1
)) {
16846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16848 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16854 wxPyEndAllowThreads(__tstate
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16857 resultobj
= SWIG_Py_Void();
16864 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
= 0;
16866 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16867 wxChar
*arg2
= (wxChar
*) 0 ;
16868 wxChar
*arg3
= (wxChar
*) NULL
;
16869 wxChar
*result
= 0 ;
16876 PyObject
* obj0
= 0 ;
16877 PyObject
* obj1
= 0 ;
16878 PyObject
* obj2
= 0 ;
16879 char * kwnames
[] = {
16880 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16885 if (!SWIG_IsOK(res1
)) {
16886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16888 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16889 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16890 if (!SWIG_IsOK(res2
)) {
16891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16893 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16895 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16896 if (!SWIG_IsOK(res3
)) {
16897 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16899 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16904 wxPyEndAllowThreads(__tstate
);
16905 if (PyErr_Occurred()) SWIG_fail
;
16907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16914 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
= 0;
16916 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16917 wxChar
*arg2
= (wxChar
*) 0 ;
16918 wxChar
*arg3
= (wxChar
*) 0 ;
16920 wxChar
*arg5
= (wxChar
*) NULL
;
16921 wxChar
*result
= 0 ;
16932 PyObject
* obj0
= 0 ;
16933 PyObject
* obj1
= 0 ;
16934 PyObject
* obj2
= 0 ;
16935 PyObject
* obj3
= 0 ;
16936 PyObject
* obj4
= 0 ;
16937 char * kwnames
[] = {
16938 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16943 if (!SWIG_IsOK(res1
)) {
16944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16946 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16947 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16948 if (!SWIG_IsOK(res2
)) {
16949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16951 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16952 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16953 if (!SWIG_IsOK(res3
)) {
16954 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16956 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16957 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16958 if (!SWIG_IsOK(ecode4
)) {
16959 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16961 arg4
= static_cast< size_t >(val4
);
16963 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16964 if (!SWIG_IsOK(res5
)) {
16965 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16967 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16982 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16984 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16985 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16986 return SWIG_Py_Void();
16989 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16990 return SWIG_Python_InitShadowInstance(args
);
16993 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16994 PyObject
*resultobj
= 0;
16995 wxLocale
*result
= 0 ;
16997 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 result
= (wxLocale
*)wxGetLocale();
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17011 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17012 PyObject
*resultobj
= 0;
17013 wxString
*arg1
= 0 ;
17015 bool temp1
= false ;
17017 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17019 arg1
= wxString_in_helper(swig_obj
[0]);
17020 if (arg1
== NULL
) SWIG_fail
;
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 result
= wxGetTranslation((wxString
const &)*arg1
);
17026 wxPyEndAllowThreads(__tstate
);
17027 if (PyErr_Occurred()) SWIG_fail
;
17031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17050 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17051 PyObject
*resultobj
= 0;
17052 wxString
*arg1
= 0 ;
17053 wxString
*arg2
= 0 ;
17055 bool temp1
= false ;
17056 bool temp2
= false ;
17058 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17060 arg1
= wxString_in_helper(swig_obj
[0]);
17061 if (arg1
== NULL
) SWIG_fail
;
17065 arg2
= wxString_in_helper(swig_obj
[1]);
17066 if (arg2
== NULL
) SWIG_fail
;
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17072 wxPyEndAllowThreads(__tstate
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17104 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17105 PyObject
*resultobj
= 0;
17106 wxString
*arg1
= 0 ;
17107 wxString
*arg2
= 0 ;
17110 bool temp1
= false ;
17111 bool temp2
= false ;
17115 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17117 arg1
= wxString_in_helper(swig_obj
[0]);
17118 if (arg1
== NULL
) SWIG_fail
;
17122 arg2
= wxString_in_helper(swig_obj
[1]);
17123 if (arg2
== NULL
) SWIG_fail
;
17126 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17127 if (!SWIG_IsOK(ecode3
)) {
17128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17130 arg3
= static_cast< size_t >(val3
);
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17166 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17167 PyObject
*resultobj
= 0;
17168 wxString
*arg1
= 0 ;
17169 wxString
*arg2
= 0 ;
17171 wxString
*arg4
= 0 ;
17173 bool temp1
= false ;
17174 bool temp2
= false ;
17177 bool temp4
= false ;
17179 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17181 arg1
= wxString_in_helper(swig_obj
[0]);
17182 if (arg1
== NULL
) SWIG_fail
;
17186 arg2
= wxString_in_helper(swig_obj
[1]);
17187 if (arg2
== NULL
) SWIG_fail
;
17190 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17191 if (!SWIG_IsOK(ecode3
)) {
17192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17194 arg3
= static_cast< size_t >(val3
);
17196 arg4
= wxString_in_helper(swig_obj
[3]);
17197 if (arg4
== NULL
) SWIG_fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17243 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17247 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17250 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17253 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17256 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17259 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17263 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17268 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17269 PyObject
*resultobj
= 0;
17270 wxEncodingConverter
*result
= 0 ;
17272 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17275 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17276 wxPyEndAllowThreads(__tstate
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17286 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17287 PyObject
*resultobj
= 0;
17288 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17291 PyObject
*swig_obj
[1] ;
17293 if (!args
) SWIG_fail
;
17294 swig_obj
[0] = args
;
17295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17296 if (!SWIG_IsOK(res1
)) {
17297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17299 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 wxPyEndAllowThreads(__tstate
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17307 resultobj
= SWIG_Py_Void();
17314 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17315 PyObject
*resultobj
= 0;
17316 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17317 wxFontEncoding arg2
;
17318 wxFontEncoding arg3
;
17319 int arg4
= (int) wxCONVERT_STRICT
;
17329 PyObject
* obj0
= 0 ;
17330 PyObject
* obj1
= 0 ;
17331 PyObject
* obj2
= 0 ;
17332 PyObject
* obj3
= 0 ;
17333 char * kwnames
[] = {
17334 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17339 if (!SWIG_IsOK(res1
)) {
17340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17342 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17344 if (!SWIG_IsOK(ecode2
)) {
17345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17347 arg2
= static_cast< wxFontEncoding
>(val2
);
17348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17349 if (!SWIG_IsOK(ecode3
)) {
17350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17352 arg3
= static_cast< wxFontEncoding
>(val3
);
17354 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17355 if (!SWIG_IsOK(ecode4
)) {
17356 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17358 arg4
= static_cast< int >(val4
);
17361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17362 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17363 wxPyEndAllowThreads(__tstate
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17375 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17376 PyObject
*resultobj
= 0;
17377 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17378 wxString
*arg2
= 0 ;
17382 bool temp2
= false ;
17383 PyObject
* obj0
= 0 ;
17384 PyObject
* obj1
= 0 ;
17385 char * kwnames
[] = {
17386 (char *) "self",(char *) "input", NULL
17389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17391 if (!SWIG_IsOK(res1
)) {
17392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17394 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17396 arg2
= wxString_in_helper(obj1
);
17397 if (arg2
== NULL
) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17427 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17428 PyObject
*resultobj
= 0;
17429 wxFontEncoding arg1
;
17430 int arg2
= (int) wxPLATFORM_CURRENT
;
17431 wxFontEncodingArray result
;
17436 PyObject
* obj0
= 0 ;
17437 PyObject
* obj1
= 0 ;
17438 char * kwnames
[] = {
17439 (char *) "enc",(char *) "platform", NULL
17442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17443 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17444 if (!SWIG_IsOK(ecode1
)) {
17445 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17447 arg1
= static_cast< wxFontEncoding
>(val1
);
17449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17450 if (!SWIG_IsOK(ecode2
)) {
17451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17453 arg2
= static_cast< int >(val2
);
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17462 resultobj
= PyList_New(0);
17463 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17464 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17465 PyList_Append(resultobj
, number
);
17475 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
= 0;
17477 wxFontEncoding arg1
;
17478 wxFontEncodingArray result
;
17481 PyObject
* obj0
= 0 ;
17482 char * kwnames
[] = {
17483 (char *) "enc", NULL
17486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17487 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17488 if (!SWIG_IsOK(ecode1
)) {
17489 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17491 arg1
= static_cast< wxFontEncoding
>(val1
);
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17499 resultobj
= PyList_New(0);
17500 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17501 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17502 PyList_Append(resultobj
, number
);
17512 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17513 PyObject
*resultobj
= 0;
17514 wxFontEncoding arg1
;
17515 wxFontEncoding arg2
;
17521 PyObject
* obj0
= 0 ;
17522 PyObject
* obj1
= 0 ;
17523 char * kwnames
[] = {
17524 (char *) "encIn",(char *) "encOut", NULL
17527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17528 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17529 if (!SWIG_IsOK(ecode1
)) {
17530 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17532 arg1
= static_cast< wxFontEncoding
>(val1
);
17533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17534 if (!SWIG_IsOK(ecode2
)) {
17535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17537 arg2
= static_cast< wxFontEncoding
>(val2
);
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17541 wxPyEndAllowThreads(__tstate
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17553 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17555 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17556 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17557 return SWIG_Py_Void();
17560 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17561 return SWIG_Python_InitShadowInstance(args
);
17564 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17565 PyObject
*resultobj
= 0;
17566 wxDC
*arg1
= (wxDC
*) 0 ;
17569 PyObject
*swig_obj
[1] ;
17571 if (!args
) SWIG_fail
;
17572 swig_obj
[0] = args
;
17573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17574 if (!SWIG_IsOK(res1
)) {
17575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17577 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= SWIG_Py_Void();
17592 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
= 0;
17594 wxDC
*arg1
= (wxDC
*) 0 ;
17597 wxColour
*arg4
= 0 ;
17598 int arg5
= (int) wxFLOOD_SURFACE
;
17609 PyObject
* obj0
= 0 ;
17610 PyObject
* obj1
= 0 ;
17611 PyObject
* obj2
= 0 ;
17612 PyObject
* obj3
= 0 ;
17613 PyObject
* obj4
= 0 ;
17614 char * kwnames
[] = {
17615 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17620 if (!SWIG_IsOK(res1
)) {
17621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17623 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17625 if (!SWIG_IsOK(ecode2
)) {
17626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17628 arg2
= static_cast< int >(val2
);
17629 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17630 if (!SWIG_IsOK(ecode3
)) {
17631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17633 arg3
= static_cast< int >(val3
);
17636 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17639 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17640 if (!SWIG_IsOK(ecode5
)) {
17641 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17643 arg5
= static_cast< int >(val5
);
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17648 wxPyEndAllowThreads(__tstate
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17660 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
= 0;
17662 wxDC
*arg1
= (wxDC
*) 0 ;
17663 wxPoint
*arg2
= 0 ;
17664 wxColour
*arg3
= 0 ;
17665 int arg4
= (int) wxFLOOD_SURFACE
;
17673 PyObject
* obj0
= 0 ;
17674 PyObject
* obj1
= 0 ;
17675 PyObject
* obj2
= 0 ;
17676 PyObject
* obj3
= 0 ;
17677 char * kwnames
[] = {
17678 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17683 if (!SWIG_IsOK(res1
)) {
17684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17686 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17689 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17693 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17696 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17697 if (!SWIG_IsOK(ecode4
)) {
17698 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17700 arg4
= static_cast< int >(val4
);
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17705 wxPyEndAllowThreads(__tstate
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17717 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17718 PyObject
*resultobj
= 0;
17719 wxDC
*arg1
= (wxDC
*) 0 ;
17721 wxColour
*arg3
= 0 ;
17722 wxColour
*arg4
= 0 ;
17723 wxPoint
*arg5
= 0 ;
17730 PyObject
* obj0
= 0 ;
17731 PyObject
* obj1
= 0 ;
17732 PyObject
* obj2
= 0 ;
17733 PyObject
* obj3
= 0 ;
17734 PyObject
* obj4
= 0 ;
17735 char * kwnames
[] = {
17736 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17741 if (!SWIG_IsOK(res1
)) {
17742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17744 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17747 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17751 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17755 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17759 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17763 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17767 resultobj
= SWIG_Py_Void();
17774 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17775 PyObject
*resultobj
= 0;
17776 wxDC
*arg1
= (wxDC
*) 0 ;
17778 wxColour
*arg3
= 0 ;
17779 wxColour
*arg4
= 0 ;
17780 wxDirection arg5
= (wxDirection
) wxEAST
;
17788 PyObject
* obj0
= 0 ;
17789 PyObject
* obj1
= 0 ;
17790 PyObject
* obj2
= 0 ;
17791 PyObject
* obj3
= 0 ;
17792 PyObject
* obj4
= 0 ;
17793 char * kwnames
[] = {
17794 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17799 if (!SWIG_IsOK(res1
)) {
17800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17802 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17805 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17809 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17813 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17816 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17817 if (!SWIG_IsOK(ecode5
)) {
17818 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17820 arg5
= static_cast< wxDirection
>(val5
);
17823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17824 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= SWIG_Py_Void();
17835 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
= 0;
17837 wxDC
*arg1
= (wxDC
*) 0 ;
17847 PyObject
* obj0
= 0 ;
17848 PyObject
* obj1
= 0 ;
17849 PyObject
* obj2
= 0 ;
17850 char * kwnames
[] = {
17851 (char *) "self",(char *) "x",(char *) "y", NULL
17854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17856 if (!SWIG_IsOK(res1
)) {
17857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17859 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17861 if (!SWIG_IsOK(ecode2
)) {
17862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17864 arg2
= static_cast< int >(val2
);
17865 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17866 if (!SWIG_IsOK(ecode3
)) {
17867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17869 arg3
= static_cast< int >(val3
);
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17873 wxPyEndAllowThreads(__tstate
);
17874 if (PyErr_Occurred()) SWIG_fail
;
17876 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17883 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
= 0;
17885 wxDC
*arg1
= (wxDC
*) 0 ;
17886 wxPoint
*arg2
= 0 ;
17891 PyObject
* obj0
= 0 ;
17892 PyObject
* obj1
= 0 ;
17893 char * kwnames
[] = {
17894 (char *) "self",(char *) "pt", NULL
17897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17899 if (!SWIG_IsOK(res1
)) {
17900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17905 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17910 wxPyEndAllowThreads(__tstate
);
17911 if (PyErr_Occurred()) SWIG_fail
;
17913 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17920 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17921 PyObject
*resultobj
= 0;
17922 wxDC
*arg1
= (wxDC
*) 0 ;
17937 PyObject
* obj0
= 0 ;
17938 PyObject
* obj1
= 0 ;
17939 PyObject
* obj2
= 0 ;
17940 PyObject
* obj3
= 0 ;
17941 PyObject
* obj4
= 0 ;
17942 char * kwnames
[] = {
17943 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17948 if (!SWIG_IsOK(res1
)) {
17949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17951 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17953 if (!SWIG_IsOK(ecode2
)) {
17954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17956 arg2
= static_cast< int >(val2
);
17957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17958 if (!SWIG_IsOK(ecode3
)) {
17959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17961 arg3
= static_cast< int >(val3
);
17962 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17963 if (!SWIG_IsOK(ecode4
)) {
17964 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17966 arg4
= static_cast< int >(val4
);
17967 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17968 if (!SWIG_IsOK(ecode5
)) {
17969 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17971 arg5
= static_cast< int >(val5
);
17973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17974 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17978 resultobj
= SWIG_Py_Void();
17985 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17986 PyObject
*resultobj
= 0;
17987 wxDC
*arg1
= (wxDC
*) 0 ;
17988 wxPoint
*arg2
= 0 ;
17989 wxPoint
*arg3
= 0 ;
17994 PyObject
* obj0
= 0 ;
17995 PyObject
* obj1
= 0 ;
17996 PyObject
* obj2
= 0 ;
17997 char * kwnames
[] = {
17998 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18003 if (!SWIG_IsOK(res1
)) {
18004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18006 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18009 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18013 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18018 wxPyEndAllowThreads(__tstate
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18021 resultobj
= SWIG_Py_Void();
18028 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18029 PyObject
*resultobj
= 0;
18030 wxDC
*arg1
= (wxDC
*) 0 ;
18039 PyObject
* obj0
= 0 ;
18040 PyObject
* obj1
= 0 ;
18041 PyObject
* obj2
= 0 ;
18042 char * kwnames
[] = {
18043 (char *) "self",(char *) "x",(char *) "y", NULL
18046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18048 if (!SWIG_IsOK(res1
)) {
18049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18051 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18053 if (!SWIG_IsOK(ecode2
)) {
18054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18056 arg2
= static_cast< int >(val2
);
18057 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18058 if (!SWIG_IsOK(ecode3
)) {
18059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18061 arg3
= static_cast< int >(val3
);
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 (arg1
)->CrossHair(arg2
,arg3
);
18065 wxPyEndAllowThreads(__tstate
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18068 resultobj
= SWIG_Py_Void();
18075 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18076 PyObject
*resultobj
= 0;
18077 wxDC
*arg1
= (wxDC
*) 0 ;
18078 wxPoint
*arg2
= 0 ;
18082 PyObject
* obj0
= 0 ;
18083 PyObject
* obj1
= 0 ;
18084 char * kwnames
[] = {
18085 (char *) "self",(char *) "pt", NULL
18088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18090 if (!SWIG_IsOK(res1
)) {
18091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18093 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18096 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= SWIG_Py_Void();
18111 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
= 0;
18113 wxDC
*arg1
= (wxDC
*) 0 ;
18134 PyObject
* obj0
= 0 ;
18135 PyObject
* obj1
= 0 ;
18136 PyObject
* obj2
= 0 ;
18137 PyObject
* obj3
= 0 ;
18138 PyObject
* obj4
= 0 ;
18139 PyObject
* obj5
= 0 ;
18140 PyObject
* obj6
= 0 ;
18141 char * kwnames
[] = {
18142 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18147 if (!SWIG_IsOK(res1
)) {
18148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18150 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18152 if (!SWIG_IsOK(ecode2
)) {
18153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18155 arg2
= static_cast< int >(val2
);
18156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18157 if (!SWIG_IsOK(ecode3
)) {
18158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18160 arg3
= static_cast< int >(val3
);
18161 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18162 if (!SWIG_IsOK(ecode4
)) {
18163 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18165 arg4
= static_cast< int >(val4
);
18166 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18167 if (!SWIG_IsOK(ecode5
)) {
18168 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18170 arg5
= static_cast< int >(val5
);
18171 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18172 if (!SWIG_IsOK(ecode6
)) {
18173 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18175 arg6
= static_cast< int >(val6
);
18176 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18177 if (!SWIG_IsOK(ecode7
)) {
18178 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18180 arg7
= static_cast< int >(val7
);
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 resultobj
= SWIG_Py_Void();
18194 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
= 0;
18196 wxDC
*arg1
= (wxDC
*) 0 ;
18197 wxPoint
*arg2
= 0 ;
18198 wxPoint
*arg3
= 0 ;
18199 wxPoint
*arg4
= 0 ;
18205 PyObject
* obj0
= 0 ;
18206 PyObject
* obj1
= 0 ;
18207 PyObject
* obj2
= 0 ;
18208 PyObject
* obj3
= 0 ;
18209 char * kwnames
[] = {
18210 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18215 if (!SWIG_IsOK(res1
)) {
18216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18221 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18225 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18229 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18237 resultobj
= SWIG_Py_Void();
18244 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18245 PyObject
*resultobj
= 0;
18246 wxDC
*arg1
= (wxDC
*) 0 ;
18261 PyObject
* obj0
= 0 ;
18262 PyObject
* obj1
= 0 ;
18263 PyObject
* obj2
= 0 ;
18264 PyObject
* obj3
= 0 ;
18265 PyObject
* obj4
= 0 ;
18266 char * kwnames
[] = {
18267 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18272 if (!SWIG_IsOK(res1
)) {
18273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18275 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18277 if (!SWIG_IsOK(ecode2
)) {
18278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18280 arg2
= static_cast< int >(val2
);
18281 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18282 if (!SWIG_IsOK(ecode3
)) {
18283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18285 arg3
= static_cast< int >(val3
);
18286 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18287 if (!SWIG_IsOK(ecode4
)) {
18288 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18290 arg4
= static_cast< int >(val4
);
18291 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18292 if (!SWIG_IsOK(ecode5
)) {
18293 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18295 arg5
= static_cast< int >(val5
);
18297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18298 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18299 wxPyEndAllowThreads(__tstate
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18302 resultobj
= SWIG_Py_Void();
18309 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
= 0;
18311 wxDC
*arg1
= (wxDC
*) 0 ;
18316 PyObject
* obj0
= 0 ;
18317 PyObject
* obj1
= 0 ;
18318 char * kwnames
[] = {
18319 (char *) "self",(char *) "rect", NULL
18322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18324 if (!SWIG_IsOK(res1
)) {
18325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18327 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18330 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18338 resultobj
= SWIG_Py_Void();
18345 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18346 PyObject
*resultobj
= 0;
18347 wxDC
*arg1
= (wxDC
*) 0 ;
18368 PyObject
* obj0
= 0 ;
18369 PyObject
* obj1
= 0 ;
18370 PyObject
* obj2
= 0 ;
18371 PyObject
* obj3
= 0 ;
18372 PyObject
* obj4
= 0 ;
18373 PyObject
* obj5
= 0 ;
18374 PyObject
* obj6
= 0 ;
18375 char * kwnames
[] = {
18376 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18381 if (!SWIG_IsOK(res1
)) {
18382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18384 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18386 if (!SWIG_IsOK(ecode2
)) {
18387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18389 arg2
= static_cast< int >(val2
);
18390 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18391 if (!SWIG_IsOK(ecode3
)) {
18392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18394 arg3
= static_cast< int >(val3
);
18395 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18396 if (!SWIG_IsOK(ecode4
)) {
18397 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18399 arg4
= static_cast< int >(val4
);
18400 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18401 if (!SWIG_IsOK(ecode5
)) {
18402 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18404 arg5
= static_cast< int >(val5
);
18405 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18406 if (!SWIG_IsOK(ecode6
)) {
18407 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18409 arg6
= static_cast< double >(val6
);
18410 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18411 if (!SWIG_IsOK(ecode7
)) {
18412 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18414 arg7
= static_cast< double >(val7
);
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= SWIG_Py_Void();
18428 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
= 0;
18430 wxDC
*arg1
= (wxDC
*) 0 ;
18431 wxPoint
*arg2
= 0 ;
18443 PyObject
* obj0
= 0 ;
18444 PyObject
* obj1
= 0 ;
18445 PyObject
* obj2
= 0 ;
18446 PyObject
* obj3
= 0 ;
18447 PyObject
* obj4
= 0 ;
18448 char * kwnames
[] = {
18449 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18454 if (!SWIG_IsOK(res1
)) {
18455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18460 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18464 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18466 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18467 if (!SWIG_IsOK(ecode4
)) {
18468 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18470 arg4
= static_cast< double >(val4
);
18471 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18472 if (!SWIG_IsOK(ecode5
)) {
18473 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18475 arg5
= static_cast< double >(val5
);
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 resultobj
= SWIG_Py_Void();
18489 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
= 0;
18491 wxDC
*arg1
= (wxDC
*) 0 ;
18500 PyObject
* obj0
= 0 ;
18501 PyObject
* obj1
= 0 ;
18502 PyObject
* obj2
= 0 ;
18503 char * kwnames
[] = {
18504 (char *) "self",(char *) "x",(char *) "y", NULL
18507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18509 if (!SWIG_IsOK(res1
)) {
18510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18512 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18514 if (!SWIG_IsOK(ecode2
)) {
18515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18517 arg2
= static_cast< int >(val2
);
18518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18519 if (!SWIG_IsOK(ecode3
)) {
18520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18522 arg3
= static_cast< int >(val3
);
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 (arg1
)->DrawPoint(arg2
,arg3
);
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 resultobj
= SWIG_Py_Void();
18536 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
= 0;
18538 wxDC
*arg1
= (wxDC
*) 0 ;
18539 wxPoint
*arg2
= 0 ;
18543 PyObject
* obj0
= 0 ;
18544 PyObject
* obj1
= 0 ;
18545 char * kwnames
[] = {
18546 (char *) "self",(char *) "pt", NULL
18549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18551 if (!SWIG_IsOK(res1
)) {
18552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18554 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18557 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= SWIG_Py_Void();
18572 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
= 0;
18574 wxDC
*arg1
= (wxDC
*) 0 ;
18589 PyObject
* obj0
= 0 ;
18590 PyObject
* obj1
= 0 ;
18591 PyObject
* obj2
= 0 ;
18592 PyObject
* obj3
= 0 ;
18593 PyObject
* obj4
= 0 ;
18594 char * kwnames
[] = {
18595 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18600 if (!SWIG_IsOK(res1
)) {
18601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18603 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18605 if (!SWIG_IsOK(ecode2
)) {
18606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18608 arg2
= static_cast< int >(val2
);
18609 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18610 if (!SWIG_IsOK(ecode3
)) {
18611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18613 arg3
= static_cast< int >(val3
);
18614 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18615 if (!SWIG_IsOK(ecode4
)) {
18616 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18618 arg4
= static_cast< int >(val4
);
18619 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18620 if (!SWIG_IsOK(ecode5
)) {
18621 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18623 arg5
= static_cast< int >(val5
);
18625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18626 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18630 resultobj
= SWIG_Py_Void();
18637 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18638 PyObject
*resultobj
= 0;
18639 wxDC
*arg1
= (wxDC
*) 0 ;
18644 PyObject
* obj0
= 0 ;
18645 PyObject
* obj1
= 0 ;
18646 char * kwnames
[] = {
18647 (char *) "self",(char *) "rect", NULL
18650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18652 if (!SWIG_IsOK(res1
)) {
18653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18655 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18658 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= SWIG_Py_Void();
18673 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18674 PyObject
*resultobj
= 0;
18675 wxDC
*arg1
= (wxDC
*) 0 ;
18676 wxPoint
*arg2
= 0 ;
18682 PyObject
* obj0
= 0 ;
18683 PyObject
* obj1
= 0 ;
18684 PyObject
* obj2
= 0 ;
18685 char * kwnames
[] = {
18686 (char *) "self",(char *) "pt",(char *) "sz", NULL
18689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18691 if (!SWIG_IsOK(res1
)) {
18692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18697 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18701 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18709 resultobj
= SWIG_Py_Void();
18716 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
= 0;
18718 wxDC
*arg1
= (wxDC
*) 0 ;
18736 PyObject
* obj0
= 0 ;
18737 PyObject
* obj1
= 0 ;
18738 PyObject
* obj2
= 0 ;
18739 PyObject
* obj3
= 0 ;
18740 PyObject
* obj4
= 0 ;
18741 PyObject
* obj5
= 0 ;
18742 char * kwnames
[] = {
18743 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18748 if (!SWIG_IsOK(res1
)) {
18749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18751 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18753 if (!SWIG_IsOK(ecode2
)) {
18754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18756 arg2
= static_cast< int >(val2
);
18757 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18758 if (!SWIG_IsOK(ecode3
)) {
18759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18761 arg3
= static_cast< int >(val3
);
18762 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18763 if (!SWIG_IsOK(ecode4
)) {
18764 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18766 arg4
= static_cast< int >(val4
);
18767 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18768 if (!SWIG_IsOK(ecode5
)) {
18769 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18771 arg5
= static_cast< int >(val5
);
18772 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18773 if (!SWIG_IsOK(ecode6
)) {
18774 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18776 arg6
= static_cast< double >(val6
);
18778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18780 wxPyEndAllowThreads(__tstate
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18783 resultobj
= SWIG_Py_Void();
18790 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
= 0;
18792 wxDC
*arg1
= (wxDC
*) 0 ;
18800 PyObject
* obj0
= 0 ;
18801 PyObject
* obj1
= 0 ;
18802 PyObject
* obj2
= 0 ;
18803 char * kwnames
[] = {
18804 (char *) "self",(char *) "r",(char *) "radius", NULL
18807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18809 if (!SWIG_IsOK(res1
)) {
18810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18815 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18817 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18818 if (!SWIG_IsOK(ecode3
)) {
18819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18821 arg3
= static_cast< double >(val3
);
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= SWIG_Py_Void();
18835 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
= 0;
18837 wxDC
*arg1
= (wxDC
*) 0 ;
18838 wxPoint
*arg2
= 0 ;
18847 PyObject
* obj0
= 0 ;
18848 PyObject
* obj1
= 0 ;
18849 PyObject
* obj2
= 0 ;
18850 PyObject
* obj3
= 0 ;
18851 char * kwnames
[] = {
18852 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18857 if (!SWIG_IsOK(res1
)) {
18858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18860 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18863 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18867 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18869 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18870 if (!SWIG_IsOK(ecode4
)) {
18871 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18873 arg4
= static_cast< double >(val4
);
18875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18876 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18877 wxPyEndAllowThreads(__tstate
);
18878 if (PyErr_Occurred()) SWIG_fail
;
18880 resultobj
= SWIG_Py_Void();
18887 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18888 PyObject
*resultobj
= 0;
18889 wxDC
*arg1
= (wxDC
*) 0 ;
18901 PyObject
* obj0
= 0 ;
18902 PyObject
* obj1
= 0 ;
18903 PyObject
* obj2
= 0 ;
18904 PyObject
* obj3
= 0 ;
18905 char * kwnames
[] = {
18906 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18911 if (!SWIG_IsOK(res1
)) {
18912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18914 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18916 if (!SWIG_IsOK(ecode2
)) {
18917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18919 arg2
= static_cast< int >(val2
);
18920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18921 if (!SWIG_IsOK(ecode3
)) {
18922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18924 arg3
= static_cast< int >(val3
);
18925 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18926 if (!SWIG_IsOK(ecode4
)) {
18927 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18929 arg4
= static_cast< int >(val4
);
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18933 wxPyEndAllowThreads(__tstate
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18936 resultobj
= SWIG_Py_Void();
18943 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18944 PyObject
*resultobj
= 0;
18945 wxDC
*arg1
= (wxDC
*) 0 ;
18946 wxPoint
*arg2
= 0 ;
18953 PyObject
* obj0
= 0 ;
18954 PyObject
* obj1
= 0 ;
18955 PyObject
* obj2
= 0 ;
18956 char * kwnames
[] = {
18957 (char *) "self",(char *) "pt",(char *) "radius", NULL
18960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18962 if (!SWIG_IsOK(res1
)) {
18963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18965 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18968 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18971 if (!SWIG_IsOK(ecode3
)) {
18972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18974 arg3
= static_cast< int >(val3
);
18976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18977 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18978 wxPyEndAllowThreads(__tstate
);
18979 if (PyErr_Occurred()) SWIG_fail
;
18981 resultobj
= SWIG_Py_Void();
18988 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18989 PyObject
*resultobj
= 0;
18990 wxDC
*arg1
= (wxDC
*) 0 ;
19005 PyObject
* obj0
= 0 ;
19006 PyObject
* obj1
= 0 ;
19007 PyObject
* obj2
= 0 ;
19008 PyObject
* obj3
= 0 ;
19009 PyObject
* obj4
= 0 ;
19010 char * kwnames
[] = {
19011 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19016 if (!SWIG_IsOK(res1
)) {
19017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19019 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19021 if (!SWIG_IsOK(ecode2
)) {
19022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19024 arg2
= static_cast< int >(val2
);
19025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19026 if (!SWIG_IsOK(ecode3
)) {
19027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19029 arg3
= static_cast< int >(val3
);
19030 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19031 if (!SWIG_IsOK(ecode4
)) {
19032 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19034 arg4
= static_cast< int >(val4
);
19035 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19036 if (!SWIG_IsOK(ecode5
)) {
19037 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19039 arg5
= static_cast< int >(val5
);
19041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19042 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19043 wxPyEndAllowThreads(__tstate
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19046 resultobj
= SWIG_Py_Void();
19053 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19054 PyObject
*resultobj
= 0;
19055 wxDC
*arg1
= (wxDC
*) 0 ;
19060 PyObject
* obj0
= 0 ;
19061 PyObject
* obj1
= 0 ;
19062 char * kwnames
[] = {
19063 (char *) "self",(char *) "rect", NULL
19066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19068 if (!SWIG_IsOK(res1
)) {
19069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19074 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19078 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19079 wxPyEndAllowThreads(__tstate
);
19080 if (PyErr_Occurred()) SWIG_fail
;
19082 resultobj
= SWIG_Py_Void();
19089 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19090 PyObject
*resultobj
= 0;
19091 wxDC
*arg1
= (wxDC
*) 0 ;
19092 wxPoint
*arg2
= 0 ;
19098 PyObject
* obj0
= 0 ;
19099 PyObject
* obj1
= 0 ;
19100 PyObject
* obj2
= 0 ;
19101 char * kwnames
[] = {
19102 (char *) "self",(char *) "pt",(char *) "sz", NULL
19105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19107 if (!SWIG_IsOK(res1
)) {
19108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19110 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19113 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19117 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19125 resultobj
= SWIG_Py_Void();
19132 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
= 0;
19134 wxDC
*arg1
= (wxDC
*) 0 ;
19146 PyObject
* obj0
= 0 ;
19147 PyObject
* obj1
= 0 ;
19148 PyObject
* obj2
= 0 ;
19149 PyObject
* obj3
= 0 ;
19150 char * kwnames
[] = {
19151 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19156 if (!SWIG_IsOK(res1
)) {
19157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19161 if (!SWIG_IsOK(res2
)) {
19162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19167 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19169 if (!SWIG_IsOK(ecode3
)) {
19170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19172 arg3
= static_cast< int >(val3
);
19173 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19174 if (!SWIG_IsOK(ecode4
)) {
19175 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19177 arg4
= static_cast< int >(val4
);
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 resultobj
= SWIG_Py_Void();
19191 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
= 0;
19193 wxDC
*arg1
= (wxDC
*) 0 ;
19195 wxPoint
*arg3
= 0 ;
19201 PyObject
* obj0
= 0 ;
19202 PyObject
* obj1
= 0 ;
19203 PyObject
* obj2
= 0 ;
19204 char * kwnames
[] = {
19205 (char *) "self",(char *) "icon",(char *) "pt", NULL
19208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19210 if (!SWIG_IsOK(res1
)) {
19211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19213 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19215 if (!SWIG_IsOK(res2
)) {
19216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19221 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19224 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19228 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19229 wxPyEndAllowThreads(__tstate
);
19230 if (PyErr_Occurred()) SWIG_fail
;
19232 resultobj
= SWIG_Py_Void();
19239 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
= 0;
19241 wxDC
*arg1
= (wxDC
*) 0 ;
19242 wxBitmap
*arg2
= 0 ;
19245 bool arg5
= (bool) false ;
19256 PyObject
* obj0
= 0 ;
19257 PyObject
* obj1
= 0 ;
19258 PyObject
* obj2
= 0 ;
19259 PyObject
* obj3
= 0 ;
19260 PyObject
* obj4
= 0 ;
19261 char * kwnames
[] = {
19262 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19267 if (!SWIG_IsOK(res1
)) {
19268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19270 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19271 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19272 if (!SWIG_IsOK(res2
)) {
19273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19278 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19279 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19280 if (!SWIG_IsOK(ecode3
)) {
19281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19283 arg3
= static_cast< int >(val3
);
19284 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19285 if (!SWIG_IsOK(ecode4
)) {
19286 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19288 arg4
= static_cast< int >(val4
);
19290 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19291 if (!SWIG_IsOK(ecode5
)) {
19292 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19294 arg5
= static_cast< bool >(val5
);
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19299 wxPyEndAllowThreads(__tstate
);
19300 if (PyErr_Occurred()) SWIG_fail
;
19302 resultobj
= SWIG_Py_Void();
19309 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19310 PyObject
*resultobj
= 0;
19311 wxDC
*arg1
= (wxDC
*) 0 ;
19312 wxBitmap
*arg2
= 0 ;
19313 wxPoint
*arg3
= 0 ;
19314 bool arg4
= (bool) false ;
19322 PyObject
* obj0
= 0 ;
19323 PyObject
* obj1
= 0 ;
19324 PyObject
* obj2
= 0 ;
19325 PyObject
* obj3
= 0 ;
19326 char * kwnames
[] = {
19327 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19332 if (!SWIG_IsOK(res1
)) {
19333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19337 if (!SWIG_IsOK(res2
)) {
19338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19343 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19346 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19349 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19350 if (!SWIG_IsOK(ecode4
)) {
19351 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19353 arg4
= static_cast< bool >(val4
);
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19361 resultobj
= SWIG_Py_Void();
19368 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
= 0;
19370 wxDC
*arg1
= (wxDC
*) 0 ;
19371 wxString
*arg2
= 0 ;
19376 bool temp2
= false ;
19381 PyObject
* obj0
= 0 ;
19382 PyObject
* obj1
= 0 ;
19383 PyObject
* obj2
= 0 ;
19384 PyObject
* obj3
= 0 ;
19385 char * kwnames
[] = {
19386 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19391 if (!SWIG_IsOK(res1
)) {
19392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19394 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19396 arg2
= wxString_in_helper(obj1
);
19397 if (arg2
== NULL
) SWIG_fail
;
19400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19401 if (!SWIG_IsOK(ecode3
)) {
19402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19404 arg3
= static_cast< int >(val3
);
19405 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19406 if (!SWIG_IsOK(ecode4
)) {
19407 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19409 arg4
= static_cast< int >(val4
);
19411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19412 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 resultobj
= SWIG_Py_Void();
19431 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19432 PyObject
*resultobj
= 0;
19433 wxDC
*arg1
= (wxDC
*) 0 ;
19434 wxString
*arg2
= 0 ;
19435 wxPoint
*arg3
= 0 ;
19438 bool temp2
= false ;
19440 PyObject
* obj0
= 0 ;
19441 PyObject
* obj1
= 0 ;
19442 PyObject
* obj2
= 0 ;
19443 char * kwnames
[] = {
19444 (char *) "self",(char *) "text",(char *) "pt", NULL
19447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19449 if (!SWIG_IsOK(res1
)) {
19450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19452 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19454 arg2
= wxString_in_helper(obj1
);
19455 if (arg2
== NULL
) SWIG_fail
;
19460 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19468 resultobj
= SWIG_Py_Void();
19483 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19484 PyObject
*resultobj
= 0;
19485 wxDC
*arg1
= (wxDC
*) 0 ;
19486 wxString
*arg2
= 0 ;
19492 bool temp2
= false ;
19499 PyObject
* obj0
= 0 ;
19500 PyObject
* obj1
= 0 ;
19501 PyObject
* obj2
= 0 ;
19502 PyObject
* obj3
= 0 ;
19503 PyObject
* obj4
= 0 ;
19504 char * kwnames
[] = {
19505 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19510 if (!SWIG_IsOK(res1
)) {
19511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19513 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19515 arg2
= wxString_in_helper(obj1
);
19516 if (arg2
== NULL
) SWIG_fail
;
19519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19520 if (!SWIG_IsOK(ecode3
)) {
19521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19523 arg3
= static_cast< int >(val3
);
19524 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19525 if (!SWIG_IsOK(ecode4
)) {
19526 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19528 arg4
= static_cast< int >(val4
);
19529 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19530 if (!SWIG_IsOK(ecode5
)) {
19531 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19533 arg5
= static_cast< double >(val5
);
19535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19536 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 resultobj
= SWIG_Py_Void();
19555 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
= 0;
19557 wxDC
*arg1
= (wxDC
*) 0 ;
19558 wxString
*arg2
= 0 ;
19559 wxPoint
*arg3
= 0 ;
19563 bool temp2
= false ;
19567 PyObject
* obj0
= 0 ;
19568 PyObject
* obj1
= 0 ;
19569 PyObject
* obj2
= 0 ;
19570 PyObject
* obj3
= 0 ;
19571 char * kwnames
[] = {
19572 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19577 if (!SWIG_IsOK(res1
)) {
19578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19580 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19582 arg2
= wxString_in_helper(obj1
);
19583 if (arg2
== NULL
) SWIG_fail
;
19588 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19590 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19591 if (!SWIG_IsOK(ecode4
)) {
19592 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19594 arg4
= static_cast< double >(val4
);
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= SWIG_Py_Void();
19616 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
= 0;
19618 wxDC
*arg1
= (wxDC
*) 0 ;
19623 wxDC
*arg6
= (wxDC
*) 0 ;
19626 int arg9
= (int) wxCOPY
;
19627 bool arg10
= (bool) false ;
19628 int arg11
= (int) -1 ;
19629 int arg12
= (int) -1 ;
19655 PyObject
* obj0
= 0 ;
19656 PyObject
* obj1
= 0 ;
19657 PyObject
* obj2
= 0 ;
19658 PyObject
* obj3
= 0 ;
19659 PyObject
* obj4
= 0 ;
19660 PyObject
* obj5
= 0 ;
19661 PyObject
* obj6
= 0 ;
19662 PyObject
* obj7
= 0 ;
19663 PyObject
* obj8
= 0 ;
19664 PyObject
* obj9
= 0 ;
19665 PyObject
* obj10
= 0 ;
19666 PyObject
* obj11
= 0 ;
19667 char * kwnames
[] = {
19668 (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
19671 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
;
19672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19673 if (!SWIG_IsOK(res1
)) {
19674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19676 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19678 if (!SWIG_IsOK(ecode2
)) {
19679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19681 arg2
= static_cast< int >(val2
);
19682 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19683 if (!SWIG_IsOK(ecode3
)) {
19684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19686 arg3
= static_cast< int >(val3
);
19687 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19688 if (!SWIG_IsOK(ecode4
)) {
19689 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19691 arg4
= static_cast< int >(val4
);
19692 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19693 if (!SWIG_IsOK(ecode5
)) {
19694 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19696 arg5
= static_cast< int >(val5
);
19697 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19698 if (!SWIG_IsOK(res6
)) {
19699 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19701 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19702 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19703 if (!SWIG_IsOK(ecode7
)) {
19704 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19706 arg7
= static_cast< int >(val7
);
19707 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19708 if (!SWIG_IsOK(ecode8
)) {
19709 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19711 arg8
= static_cast< int >(val8
);
19713 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19714 if (!SWIG_IsOK(ecode9
)) {
19715 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19717 arg9
= static_cast< int >(val9
);
19720 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19721 if (!SWIG_IsOK(ecode10
)) {
19722 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19724 arg10
= static_cast< bool >(val10
);
19727 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19728 if (!SWIG_IsOK(ecode11
)) {
19729 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19731 arg11
= static_cast< int >(val11
);
19734 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19735 if (!SWIG_IsOK(ecode12
)) {
19736 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19738 arg12
= static_cast< int >(val12
);
19741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19755 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19756 PyObject
*resultobj
= 0;
19757 wxDC
*arg1
= (wxDC
*) 0 ;
19758 wxPoint
*arg2
= 0 ;
19760 wxDC
*arg4
= (wxDC
*) 0 ;
19761 wxPoint
*arg5
= 0 ;
19762 int arg6
= (int) wxCOPY
;
19763 bool arg7
= (bool) false ;
19764 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19765 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19779 PyObject
* obj0
= 0 ;
19780 PyObject
* obj1
= 0 ;
19781 PyObject
* obj2
= 0 ;
19782 PyObject
* obj3
= 0 ;
19783 PyObject
* obj4
= 0 ;
19784 PyObject
* obj5
= 0 ;
19785 PyObject
* obj6
= 0 ;
19786 PyObject
* obj7
= 0 ;
19787 char * kwnames
[] = {
19788 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19793 if (!SWIG_IsOK(res1
)) {
19794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19796 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19799 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19803 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19805 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19806 if (!SWIG_IsOK(res4
)) {
19807 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19809 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19812 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19815 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19816 if (!SWIG_IsOK(ecode6
)) {
19817 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19819 arg6
= static_cast< int >(val6
);
19822 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19823 if (!SWIG_IsOK(ecode7
)) {
19824 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19826 arg7
= static_cast< bool >(val7
);
19831 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19836 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19837 wxPyEndAllowThreads(__tstate
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19849 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
= 0;
19851 wxDC
*arg1
= (wxDC
*) 0 ;
19852 wxRect
*arg2
= (wxRect
*) NULL
;
19853 SwigValueWrapper
<wxBitmap
> result
;
19858 PyObject
* obj0
= 0 ;
19859 PyObject
* obj1
= 0 ;
19860 char * kwnames
[] = {
19861 (char *) "self",(char *) "subrect", NULL
19864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19866 if (!SWIG_IsOK(res1
)) {
19867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19869 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19871 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19872 if (!SWIG_IsOK(res2
)) {
19873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19875 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19879 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19880 wxPyEndAllowThreads(__tstate
);
19881 if (PyErr_Occurred()) SWIG_fail
;
19883 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19890 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19891 PyObject
*resultobj
= 0;
19892 wxDC
*arg1
= (wxDC
*) 0 ;
19907 PyObject
* obj0
= 0 ;
19908 PyObject
* obj1
= 0 ;
19909 PyObject
* obj2
= 0 ;
19910 PyObject
* obj3
= 0 ;
19911 PyObject
* obj4
= 0 ;
19912 char * kwnames
[] = {
19913 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19918 if (!SWIG_IsOK(res1
)) {
19919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19921 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19923 if (!SWIG_IsOK(ecode2
)) {
19924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19926 arg2
= static_cast< int >(val2
);
19927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19928 if (!SWIG_IsOK(ecode3
)) {
19929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19931 arg3
= static_cast< int >(val3
);
19932 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19933 if (!SWIG_IsOK(ecode4
)) {
19934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19936 arg4
= static_cast< int >(val4
);
19937 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19938 if (!SWIG_IsOK(ecode5
)) {
19939 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19941 arg5
= static_cast< int >(val5
);
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19945 wxPyEndAllowThreads(__tstate
);
19946 if (PyErr_Occurred()) SWIG_fail
;
19948 resultobj
= SWIG_Py_Void();
19955 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19956 PyObject
*resultobj
= 0;
19957 wxDC
*arg1
= (wxDC
*) 0 ;
19958 wxPoint
*arg2
= 0 ;
19964 PyObject
* obj0
= 0 ;
19965 PyObject
* obj1
= 0 ;
19966 PyObject
* obj2
= 0 ;
19967 char * kwnames
[] = {
19968 (char *) "self",(char *) "pt",(char *) "sz", NULL
19971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19973 if (!SWIG_IsOK(res1
)) {
19974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19976 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19979 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19983 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= SWIG_Py_Void();
19998 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
= 0;
20000 wxDC
*arg1
= (wxDC
*) 0 ;
20001 wxRegion
*arg2
= 0 ;
20006 PyObject
* obj0
= 0 ;
20007 PyObject
* obj1
= 0 ;
20008 char * kwnames
[] = {
20009 (char *) "self",(char *) "region", NULL
20012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20014 if (!SWIG_IsOK(res1
)) {
20015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20017 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20018 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20019 if (!SWIG_IsOK(res2
)) {
20020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20025 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20032 resultobj
= SWIG_Py_Void();
20039 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
= 0;
20041 wxDC
*arg1
= (wxDC
*) 0 ;
20046 PyObject
* obj0
= 0 ;
20047 PyObject
* obj1
= 0 ;
20048 char * kwnames
[] = {
20049 (char *) "self",(char *) "rect", NULL
20052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20054 if (!SWIG_IsOK(res1
)) {
20055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20060 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20064 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20065 wxPyEndAllowThreads(__tstate
);
20066 if (PyErr_Occurred()) SWIG_fail
;
20068 resultobj
= SWIG_Py_Void();
20075 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
= 0;
20077 wxDC
*arg1
= (wxDC
*) 0 ;
20079 wxPoint
*arg3
= (wxPoint
*) 0 ;
20080 int arg4
= (int) 0 ;
20081 int arg5
= (int) 0 ;
20088 PyObject
* obj0
= 0 ;
20089 PyObject
* obj1
= 0 ;
20090 PyObject
* obj2
= 0 ;
20091 PyObject
* obj3
= 0 ;
20092 char * kwnames
[] = {
20093 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20098 if (!SWIG_IsOK(res1
)) {
20099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20103 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20104 if (arg3
== NULL
) SWIG_fail
;
20107 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20108 if (!SWIG_IsOK(ecode4
)) {
20109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20111 arg4
= static_cast< int >(val4
);
20114 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20115 if (!SWIG_IsOK(ecode5
)) {
20116 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20118 arg5
= static_cast< int >(val5
);
20121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20122 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20123 wxPyEndAllowThreads(__tstate
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20126 resultobj
= SWIG_Py_Void();
20128 if (arg3
) delete [] arg3
;
20133 if (arg3
) delete [] arg3
;
20139 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20140 PyObject
*resultobj
= 0;
20141 wxDC
*arg1
= (wxDC
*) 0 ;
20143 wxPoint
*arg3
= (wxPoint
*) 0 ;
20144 int arg4
= (int) 0 ;
20145 int arg5
= (int) 0 ;
20146 int arg6
= (int) wxODDEVEN_RULE
;
20155 PyObject
* obj0
= 0 ;
20156 PyObject
* obj1
= 0 ;
20157 PyObject
* obj2
= 0 ;
20158 PyObject
* obj3
= 0 ;
20159 PyObject
* obj4
= 0 ;
20160 char * kwnames
[] = {
20161 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20166 if (!SWIG_IsOK(res1
)) {
20167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20169 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20171 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20172 if (arg3
== NULL
) SWIG_fail
;
20175 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20176 if (!SWIG_IsOK(ecode4
)) {
20177 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20179 arg4
= static_cast< int >(val4
);
20182 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20183 if (!SWIG_IsOK(ecode5
)) {
20184 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20186 arg5
= static_cast< int >(val5
);
20189 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20190 if (!SWIG_IsOK(ecode6
)) {
20191 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20193 arg6
= static_cast< int >(val6
);
20196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20198 wxPyEndAllowThreads(__tstate
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20201 resultobj
= SWIG_Py_Void();
20203 if (arg3
) delete [] arg3
;
20208 if (arg3
) delete [] arg3
;
20214 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20215 PyObject
*resultobj
= 0;
20216 wxDC
*arg1
= (wxDC
*) 0 ;
20217 wxString
*arg2
= 0 ;
20219 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20220 int arg5
= (int) -1 ;
20223 bool temp2
= false ;
20229 PyObject
* obj0
= 0 ;
20230 PyObject
* obj1
= 0 ;
20231 PyObject
* obj2
= 0 ;
20232 PyObject
* obj3
= 0 ;
20233 PyObject
* obj4
= 0 ;
20234 char * kwnames
[] = {
20235 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20240 if (!SWIG_IsOK(res1
)) {
20241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20245 arg2
= wxString_in_helper(obj1
);
20246 if (arg2
== NULL
) SWIG_fail
;
20251 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20254 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20255 if (!SWIG_IsOK(ecode4
)) {
20256 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20258 arg4
= static_cast< int >(val4
);
20261 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20262 if (!SWIG_IsOK(ecode5
)) {
20263 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20265 arg5
= static_cast< int >(val5
);
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 resultobj
= SWIG_Py_Void();
20288 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
= 0;
20290 wxDC
*arg1
= (wxDC
*) 0 ;
20291 wxString
*arg2
= 0 ;
20292 wxBitmap
*arg3
= 0 ;
20294 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20295 int arg6
= (int) -1 ;
20299 bool temp2
= false ;
20307 PyObject
* obj0
= 0 ;
20308 PyObject
* obj1
= 0 ;
20309 PyObject
* obj2
= 0 ;
20310 PyObject
* obj3
= 0 ;
20311 PyObject
* obj4
= 0 ;
20312 PyObject
* obj5
= 0 ;
20313 char * kwnames
[] = {
20314 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20319 if (!SWIG_IsOK(res1
)) {
20320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20322 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20324 arg2
= wxString_in_helper(obj1
);
20325 if (arg2
== NULL
) SWIG_fail
;
20328 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20329 if (!SWIG_IsOK(res3
)) {
20330 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20335 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20338 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20341 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20342 if (!SWIG_IsOK(ecode5
)) {
20343 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20345 arg5
= static_cast< int >(val5
);
20348 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20349 if (!SWIG_IsOK(ecode6
)) {
20350 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20352 arg6
= static_cast< int >(val6
);
20355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20356 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20357 wxPyEndAllowThreads(__tstate
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20360 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20375 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
= 0;
20377 wxDC
*arg1
= (wxDC
*) 0 ;
20379 wxPoint
*arg3
= (wxPoint
*) 0 ;
20382 PyObject
* obj0
= 0 ;
20383 PyObject
* obj1
= 0 ;
20384 char * kwnames
[] = {
20385 (char *) "self",(char *) "points", NULL
20388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20390 if (!SWIG_IsOK(res1
)) {
20391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20393 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20395 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20396 if (arg3
== NULL
) SWIG_fail
;
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 (arg1
)->DrawSpline(arg2
,arg3
);
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20404 resultobj
= SWIG_Py_Void();
20406 if (arg3
) delete [] arg3
;
20411 if (arg3
) delete [] arg3
;
20417 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20418 PyObject
*resultobj
= 0;
20419 wxDC
*arg1
= (wxDC
*) 0 ;
20422 PyObject
*swig_obj
[1] ;
20424 if (!args
) SWIG_fail
;
20425 swig_obj
[0] = args
;
20426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20427 if (!SWIG_IsOK(res1
)) {
20428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20430 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20437 resultobj
= SWIG_Py_Void();
20444 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20445 PyObject
*resultobj
= 0;
20446 wxDC
*arg1
= (wxDC
*) 0 ;
20447 wxString
*arg2
= 0 ;
20451 bool temp2
= false ;
20452 PyObject
* obj0
= 0 ;
20453 PyObject
* obj1
= 0 ;
20454 char * kwnames
[] = {
20455 (char *) "self",(char *) "message", NULL
20458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20460 if (!SWIG_IsOK(res1
)) {
20461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20463 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20465 arg2
= wxString_in_helper(obj1
);
20466 if (arg2
== NULL
) SWIG_fail
;
20470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20471 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20472 wxPyEndAllowThreads(__tstate
);
20473 if (PyErr_Occurred()) SWIG_fail
;
20476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20492 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20493 PyObject
*resultobj
= 0;
20494 wxDC
*arg1
= (wxDC
*) 0 ;
20497 PyObject
*swig_obj
[1] ;
20499 if (!args
) SWIG_fail
;
20500 swig_obj
[0] = args
;
20501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20502 if (!SWIG_IsOK(res1
)) {
20503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20505 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20512 resultobj
= SWIG_Py_Void();
20519 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20520 PyObject
*resultobj
= 0;
20521 wxDC
*arg1
= (wxDC
*) 0 ;
20524 PyObject
*swig_obj
[1] ;
20526 if (!args
) SWIG_fail
;
20527 swig_obj
[0] = args
;
20528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20529 if (!SWIG_IsOK(res1
)) {
20530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20532 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 (arg1
)->StartPage();
20536 wxPyEndAllowThreads(__tstate
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= SWIG_Py_Void();
20546 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20547 PyObject
*resultobj
= 0;
20548 wxDC
*arg1
= (wxDC
*) 0 ;
20551 PyObject
*swig_obj
[1] ;
20553 if (!args
) SWIG_fail
;
20554 swig_obj
[0] = args
;
20555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20556 if (!SWIG_IsOK(res1
)) {
20557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20559 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20566 resultobj
= SWIG_Py_Void();
20573 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
= 0;
20575 wxDC
*arg1
= (wxDC
*) 0 ;
20581 PyObject
* obj0
= 0 ;
20582 PyObject
* obj1
= 0 ;
20583 char * kwnames
[] = {
20584 (char *) "self",(char *) "font", NULL
20587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20589 if (!SWIG_IsOK(res1
)) {
20590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20592 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20594 if (!SWIG_IsOK(res2
)) {
20595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20600 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 (arg1
)->SetFont((wxFont
const &)*arg2
);
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20607 resultobj
= SWIG_Py_Void();
20614 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
= 0;
20616 wxDC
*arg1
= (wxDC
*) 0 ;
20622 PyObject
* obj0
= 0 ;
20623 PyObject
* obj1
= 0 ;
20624 char * kwnames
[] = {
20625 (char *) "self",(char *) "pen", NULL
20628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20630 if (!SWIG_IsOK(res1
)) {
20631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20633 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20634 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20635 if (!SWIG_IsOK(res2
)) {
20636 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20641 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20644 (arg1
)->SetPen((wxPen
const &)*arg2
);
20645 wxPyEndAllowThreads(__tstate
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20648 resultobj
= SWIG_Py_Void();
20655 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
= 0;
20657 wxDC
*arg1
= (wxDC
*) 0 ;
20658 wxBrush
*arg2
= 0 ;
20663 PyObject
* obj0
= 0 ;
20664 PyObject
* obj1
= 0 ;
20665 char * kwnames
[] = {
20666 (char *) "self",(char *) "brush", NULL
20669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20671 if (!SWIG_IsOK(res1
)) {
20672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20674 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20675 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20676 if (!SWIG_IsOK(res2
)) {
20677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20682 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20689 resultobj
= SWIG_Py_Void();
20696 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
= 0;
20698 wxDC
*arg1
= (wxDC
*) 0 ;
20699 wxBrush
*arg2
= 0 ;
20704 PyObject
* obj0
= 0 ;
20705 PyObject
* obj1
= 0 ;
20706 char * kwnames
[] = {
20707 (char *) "self",(char *) "brush", NULL
20710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20712 if (!SWIG_IsOK(res1
)) {
20713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20715 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20716 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20717 if (!SWIG_IsOK(res2
)) {
20718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20721 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20723 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20726 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20727 wxPyEndAllowThreads(__tstate
);
20728 if (PyErr_Occurred()) SWIG_fail
;
20730 resultobj
= SWIG_Py_Void();
20737 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20738 PyObject
*resultobj
= 0;
20739 wxDC
*arg1
= (wxDC
*) 0 ;
20745 PyObject
* obj0
= 0 ;
20746 PyObject
* obj1
= 0 ;
20747 char * kwnames
[] = {
20748 (char *) "self",(char *) "mode", NULL
20751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20753 if (!SWIG_IsOK(res1
)) {
20754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20758 if (!SWIG_IsOK(ecode2
)) {
20759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20761 arg2
= static_cast< int >(val2
);
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 (arg1
)->SetBackgroundMode(arg2
);
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20768 resultobj
= SWIG_Py_Void();
20775 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20776 PyObject
*resultobj
= 0;
20777 wxDC
*arg1
= (wxDC
*) 0 ;
20778 wxPalette
*arg2
= 0 ;
20783 PyObject
* obj0
= 0 ;
20784 PyObject
* obj1
= 0 ;
20785 char * kwnames
[] = {
20786 (char *) "self",(char *) "palette", NULL
20789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20791 if (!SWIG_IsOK(res1
)) {
20792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20794 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20795 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20796 if (!SWIG_IsOK(res2
)) {
20797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20802 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20809 resultobj
= SWIG_Py_Void();
20816 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20817 PyObject
*resultobj
= 0;
20818 wxDC
*arg1
= (wxDC
*) 0 ;
20821 PyObject
*swig_obj
[1] ;
20823 if (!args
) SWIG_fail
;
20824 swig_obj
[0] = args
;
20825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20826 if (!SWIG_IsOK(res1
)) {
20827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 (arg1
)->DestroyClippingRegion();
20833 wxPyEndAllowThreads(__tstate
);
20834 if (PyErr_Occurred()) SWIG_fail
;
20836 resultobj
= SWIG_Py_Void();
20843 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20844 PyObject
*resultobj
= 0;
20845 wxDC
*arg1
= (wxDC
*) 0 ;
20846 int *arg2
= (int *) 0 ;
20847 int *arg3
= (int *) 0 ;
20848 int *arg4
= (int *) 0 ;
20849 int *arg5
= (int *) 0 ;
20853 int res2
= SWIG_TMPOBJ
;
20855 int res3
= SWIG_TMPOBJ
;
20857 int res4
= SWIG_TMPOBJ
;
20859 int res5
= SWIG_TMPOBJ
;
20860 PyObject
*swig_obj
[1] ;
20866 if (!args
) SWIG_fail
;
20867 swig_obj
[0] = args
;
20868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20869 if (!SWIG_IsOK(res1
)) {
20870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 resultobj
= SWIG_Py_Void();
20880 if (SWIG_IsTmpObj(res2
)) {
20881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20883 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20886 if (SWIG_IsTmpObj(res3
)) {
20887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20889 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20892 if (SWIG_IsTmpObj(res4
)) {
20893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20895 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20898 if (SWIG_IsTmpObj(res5
)) {
20899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20901 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20910 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20911 PyObject
*resultobj
= 0;
20912 wxDC
*arg1
= (wxDC
*) 0 ;
20916 PyObject
*swig_obj
[1] ;
20918 if (!args
) SWIG_fail
;
20919 swig_obj
[0] = args
;
20920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20921 if (!SWIG_IsOK(res1
)) {
20922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 result
= wxDC_GetClippingRect(arg1
);
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20931 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20938 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20939 PyObject
*resultobj
= 0;
20940 wxDC
*arg1
= (wxDC
*) 0 ;
20944 PyObject
*swig_obj
[1] ;
20946 if (!args
) SWIG_fail
;
20947 swig_obj
[0] = args
;
20948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20949 if (!SWIG_IsOK(res1
)) {
20950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20955 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20956 wxPyEndAllowThreads(__tstate
);
20957 if (PyErr_Occurred()) SWIG_fail
;
20959 resultobj
= SWIG_From_int(static_cast< int >(result
));
20966 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20967 PyObject
*resultobj
= 0;
20968 wxDC
*arg1
= (wxDC
*) 0 ;
20972 PyObject
*swig_obj
[1] ;
20974 if (!args
) SWIG_fail
;
20975 swig_obj
[0] = args
;
20976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20977 if (!SWIG_IsOK(res1
)) {
20978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20980 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20983 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20984 wxPyEndAllowThreads(__tstate
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20987 resultobj
= SWIG_From_int(static_cast< int >(result
));
20994 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
= 0;
20996 wxDC
*arg1
= (wxDC
*) 0 ;
20997 wxString
*arg2
= 0 ;
20998 int *arg3
= (int *) 0 ;
20999 int *arg4
= (int *) 0 ;
21002 bool temp2
= false ;
21004 int res3
= SWIG_TMPOBJ
;
21006 int res4
= SWIG_TMPOBJ
;
21007 PyObject
* obj0
= 0 ;
21008 PyObject
* obj1
= 0 ;
21009 char * kwnames
[] = {
21010 (char *) "self",(char *) "string", NULL
21015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21017 if (!SWIG_IsOK(res1
)) {
21018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21020 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21022 arg2
= wxString_in_helper(obj1
);
21023 if (arg2
== NULL
) SWIG_fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 resultobj
= SWIG_Py_Void();
21033 if (SWIG_IsTmpObj(res3
)) {
21034 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21036 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21037 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21039 if (SWIG_IsTmpObj(res4
)) {
21040 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21042 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21059 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21060 PyObject
*resultobj
= 0;
21061 wxDC
*arg1
= (wxDC
*) 0 ;
21062 wxString
*arg2
= 0 ;
21063 int *arg3
= (int *) 0 ;
21064 int *arg4
= (int *) 0 ;
21065 int *arg5
= (int *) 0 ;
21066 int *arg6
= (int *) 0 ;
21067 wxFont
*arg7
= (wxFont
*) NULL
;
21070 bool temp2
= false ;
21072 int res3
= SWIG_TMPOBJ
;
21074 int res4
= SWIG_TMPOBJ
;
21076 int res5
= SWIG_TMPOBJ
;
21078 int res6
= SWIG_TMPOBJ
;
21081 PyObject
* obj0
= 0 ;
21082 PyObject
* obj1
= 0 ;
21083 PyObject
* obj2
= 0 ;
21084 char * kwnames
[] = {
21085 (char *) "self",(char *) "string",(char *) "font", NULL
21092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21094 if (!SWIG_IsOK(res1
)) {
21095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21099 arg2
= wxString_in_helper(obj1
);
21100 if (arg2
== NULL
) SWIG_fail
;
21104 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21105 if (!SWIG_IsOK(res7
)) {
21106 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21108 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21112 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21113 wxPyEndAllowThreads(__tstate
);
21114 if (PyErr_Occurred()) SWIG_fail
;
21116 resultobj
= SWIG_Py_Void();
21117 if (SWIG_IsTmpObj(res3
)) {
21118 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21120 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21121 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21123 if (SWIG_IsTmpObj(res4
)) {
21124 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21126 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21127 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21129 if (SWIG_IsTmpObj(res5
)) {
21130 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21132 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21135 if (SWIG_IsTmpObj(res6
)) {
21136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21138 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21155 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21156 PyObject
*resultobj
= 0;
21157 wxDC
*arg1
= (wxDC
*) 0 ;
21158 wxString
*arg2
= 0 ;
21159 int *arg3
= (int *) 0 ;
21160 int *arg4
= (int *) 0 ;
21161 int *arg5
= (int *) 0 ;
21162 wxFont
*arg6
= (wxFont
*) NULL
;
21165 bool temp2
= false ;
21167 int res3
= SWIG_TMPOBJ
;
21169 int res4
= SWIG_TMPOBJ
;
21171 int res5
= SWIG_TMPOBJ
;
21174 PyObject
* obj0
= 0 ;
21175 PyObject
* obj1
= 0 ;
21176 PyObject
* obj2
= 0 ;
21177 char * kwnames
[] = {
21178 (char *) "self",(char *) "text",(char *) "font", NULL
21184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21186 if (!SWIG_IsOK(res1
)) {
21187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21189 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21191 arg2
= wxString_in_helper(obj1
);
21192 if (arg2
== NULL
) SWIG_fail
;
21196 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21197 if (!SWIG_IsOK(res6
)) {
21198 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21200 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21208 resultobj
= SWIG_Py_Void();
21209 if (SWIG_IsTmpObj(res3
)) {
21210 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21212 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21213 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21215 if (SWIG_IsTmpObj(res4
)) {
21216 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21218 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21221 if (SWIG_IsTmpObj(res5
)) {
21222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21224 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21225 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21241 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21242 PyObject
*resultobj
= 0;
21243 wxDC
*arg1
= (wxDC
*) 0 ;
21244 wxString
*arg2
= 0 ;
21248 bool temp2
= false ;
21249 PyObject
* obj0
= 0 ;
21250 PyObject
* obj1
= 0 ;
21251 char * kwnames
[] = {
21252 (char *) "self",(char *) "text", NULL
21255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21257 if (!SWIG_IsOK(res1
)) {
21258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21260 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21262 arg2
= wxString_in_helper(obj1
);
21263 if (arg2
== NULL
) SWIG_fail
;
21267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21268 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21273 resultobj
= wxArrayInt2PyList_helper(result
);
21289 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21290 PyObject
*resultobj
= 0;
21291 wxDC
*arg1
= (wxDC
*) 0 ;
21295 PyObject
*swig_obj
[1] ;
21297 if (!args
) SWIG_fail
;
21298 swig_obj
[0] = args
;
21299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21300 if (!SWIG_IsOK(res1
)) {
21301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21303 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 result
= (arg1
)->GetSize();
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21310 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21317 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21318 PyObject
*resultobj
= 0;
21319 wxDC
*arg1
= (wxDC
*) 0 ;
21320 int *arg2
= (int *) 0 ;
21321 int *arg3
= (int *) 0 ;
21325 int res2
= SWIG_TMPOBJ
;
21327 int res3
= SWIG_TMPOBJ
;
21328 PyObject
*swig_obj
[1] ;
21332 if (!args
) SWIG_fail
;
21333 swig_obj
[0] = args
;
21334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21335 if (!SWIG_IsOK(res1
)) {
21336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 (arg1
)->GetSize(arg2
,arg3
);
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21345 resultobj
= SWIG_Py_Void();
21346 if (SWIG_IsTmpObj(res2
)) {
21347 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21349 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21350 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21352 if (SWIG_IsTmpObj(res3
)) {
21353 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21355 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21356 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21364 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21365 PyObject
*resultobj
= 0;
21366 wxDC
*arg1
= (wxDC
*) 0 ;
21370 PyObject
*swig_obj
[1] ;
21372 if (!args
) SWIG_fail
;
21373 swig_obj
[0] = args
;
21374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21375 if (!SWIG_IsOK(res1
)) {
21376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21378 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21385 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21392 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21393 PyObject
*resultobj
= 0;
21394 wxDC
*arg1
= (wxDC
*) 0 ;
21395 int *arg2
= (int *) 0 ;
21396 int *arg3
= (int *) 0 ;
21400 int res2
= SWIG_TMPOBJ
;
21402 int res3
= SWIG_TMPOBJ
;
21403 PyObject
*swig_obj
[1] ;
21407 if (!args
) SWIG_fail
;
21408 swig_obj
[0] = args
;
21409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21410 if (!SWIG_IsOK(res1
)) {
21411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21413 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21420 resultobj
= SWIG_Py_Void();
21421 if (SWIG_IsTmpObj(res2
)) {
21422 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21424 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21425 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21427 if (SWIG_IsTmpObj(res3
)) {
21428 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21430 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21431 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21439 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
= 0;
21441 wxDC
*arg1
= (wxDC
*) 0 ;
21448 PyObject
* obj0
= 0 ;
21449 PyObject
* obj1
= 0 ;
21450 char * kwnames
[] = {
21451 (char *) "self",(char *) "x", NULL
21454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21456 if (!SWIG_IsOK(res1
)) {
21457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21461 if (!SWIG_IsOK(ecode2
)) {
21462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21464 arg2
= static_cast< int >(val2
);
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21471 resultobj
= SWIG_From_int(static_cast< int >(result
));
21478 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21479 PyObject
*resultobj
= 0;
21480 wxDC
*arg1
= (wxDC
*) 0 ;
21487 PyObject
* obj0
= 0 ;
21488 PyObject
* obj1
= 0 ;
21489 char * kwnames
[] = {
21490 (char *) "self",(char *) "y", NULL
21493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21495 if (!SWIG_IsOK(res1
)) {
21496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21500 if (!SWIG_IsOK(ecode2
)) {
21501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21503 arg2
= static_cast< int >(val2
);
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= SWIG_From_int(static_cast< int >(result
));
21517 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
= 0;
21519 wxDC
*arg1
= (wxDC
*) 0 ;
21526 PyObject
* obj0
= 0 ;
21527 PyObject
* obj1
= 0 ;
21528 char * kwnames
[] = {
21529 (char *) "self",(char *) "x", NULL
21532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21534 if (!SWIG_IsOK(res1
)) {
21535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21537 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21539 if (!SWIG_IsOK(ecode2
)) {
21540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21542 arg2
= static_cast< int >(val2
);
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21549 resultobj
= SWIG_From_int(static_cast< int >(result
));
21556 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21557 PyObject
*resultobj
= 0;
21558 wxDC
*arg1
= (wxDC
*) 0 ;
21565 PyObject
* obj0
= 0 ;
21566 PyObject
* obj1
= 0 ;
21567 char * kwnames
[] = {
21568 (char *) "self",(char *) "y", NULL
21571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21573 if (!SWIG_IsOK(res1
)) {
21574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21578 if (!SWIG_IsOK(ecode2
)) {
21579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21581 arg2
= static_cast< int >(val2
);
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21588 resultobj
= SWIG_From_int(static_cast< int >(result
));
21595 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21596 PyObject
*resultobj
= 0;
21597 wxDC
*arg1
= (wxDC
*) 0 ;
21604 PyObject
* obj0
= 0 ;
21605 PyObject
* obj1
= 0 ;
21606 char * kwnames
[] = {
21607 (char *) "self",(char *) "x", NULL
21610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21612 if (!SWIG_IsOK(res1
)) {
21613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21615 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21617 if (!SWIG_IsOK(ecode2
)) {
21618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21620 arg2
= static_cast< int >(val2
);
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21627 resultobj
= SWIG_From_int(static_cast< int >(result
));
21634 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21635 PyObject
*resultobj
= 0;
21636 wxDC
*arg1
= (wxDC
*) 0 ;
21643 PyObject
* obj0
= 0 ;
21644 PyObject
* obj1
= 0 ;
21645 char * kwnames
[] = {
21646 (char *) "self",(char *) "y", NULL
21649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21651 if (!SWIG_IsOK(res1
)) {
21652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21654 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21656 if (!SWIG_IsOK(ecode2
)) {
21657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21659 arg2
= static_cast< int >(val2
);
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21666 resultobj
= SWIG_From_int(static_cast< int >(result
));
21673 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21674 PyObject
*resultobj
= 0;
21675 wxDC
*arg1
= (wxDC
*) 0 ;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 char * kwnames
[] = {
21685 (char *) "self",(char *) "x", NULL
21688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21690 if (!SWIG_IsOK(res1
)) {
21691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21693 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21695 if (!SWIG_IsOK(ecode2
)) {
21696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21698 arg2
= static_cast< int >(val2
);
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21702 wxPyEndAllowThreads(__tstate
);
21703 if (PyErr_Occurred()) SWIG_fail
;
21705 resultobj
= SWIG_From_int(static_cast< int >(result
));
21712 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21713 PyObject
*resultobj
= 0;
21714 wxDC
*arg1
= (wxDC
*) 0 ;
21721 PyObject
* obj0
= 0 ;
21722 PyObject
* obj1
= 0 ;
21723 char * kwnames
[] = {
21724 (char *) "self",(char *) "y", NULL
21727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21729 if (!SWIG_IsOK(res1
)) {
21730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21732 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21734 if (!SWIG_IsOK(ecode2
)) {
21735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21737 arg2
= static_cast< int >(val2
);
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21741 wxPyEndAllowThreads(__tstate
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21744 resultobj
= SWIG_From_int(static_cast< int >(result
));
21751 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21752 PyObject
*resultobj
= 0;
21753 wxDC
*arg1
= (wxDC
*) 0 ;
21757 PyObject
*swig_obj
[1] ;
21759 if (!args
) SWIG_fail
;
21760 swig_obj
[0] = args
;
21761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21762 if (!SWIG_IsOK(res1
)) {
21763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21765 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21781 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21782 PyObject
*resultobj
= 0;
21783 wxDC
*arg1
= (wxDC
*) 0 ;
21787 PyObject
*swig_obj
[1] ;
21789 if (!args
) SWIG_fail
;
21790 swig_obj
[0] = args
;
21791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21792 if (!SWIG_IsOK(res1
)) {
21793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21798 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21811 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21812 PyObject
*resultobj
= 0;
21813 wxDC
*arg1
= (wxDC
*) 0 ;
21817 PyObject
*swig_obj
[1] ;
21819 if (!args
) SWIG_fail
;
21820 swig_obj
[0] = args
;
21821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21822 if (!SWIG_IsOK(res1
)) {
21823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21825 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21832 resultobj
= SWIG_From_int(static_cast< int >(result
));
21839 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21840 PyObject
*resultobj
= 0;
21841 wxDC
*arg1
= (wxDC
*) 0 ;
21845 PyObject
*swig_obj
[1] ;
21847 if (!args
) SWIG_fail
;
21848 swig_obj
[0] = args
;
21849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21850 if (!SWIG_IsOK(res1
)) {
21851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21853 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 result
= ((wxDC
const *)arg1
)->GetPPI();
21857 wxPyEndAllowThreads(__tstate
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21867 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21868 PyObject
*resultobj
= 0;
21869 wxDC
*arg1
= (wxDC
*) 0 ;
21873 PyObject
*swig_obj
[1] ;
21875 if (!args
) SWIG_fail
;
21876 swig_obj
[0] = args
;
21877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21878 if (!SWIG_IsOK(res1
)) {
21879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21881 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21897 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21898 PyObject
*resultobj
= 0;
21899 wxDC
*arg1
= (wxDC
*) 0 ;
21903 PyObject
*swig_obj
[1] ;
21905 if (!args
) SWIG_fail
;
21906 swig_obj
[0] = args
;
21907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21908 if (!SWIG_IsOK(res1
)) {
21909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21918 resultobj
= SWIG_From_int(static_cast< int >(result
));
21925 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21926 PyObject
*resultobj
= 0;
21927 wxDC
*arg1
= (wxDC
*) 0 ;
21928 wxBrush
*result
= 0 ;
21931 PyObject
*swig_obj
[1] ;
21933 if (!args
) SWIG_fail
;
21934 swig_obj
[0] = args
;
21935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21936 if (!SWIG_IsOK(res1
)) {
21937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21939 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21944 result
= (wxBrush
*) &_result_ref
;
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21950 wxBrush
* resultptr
= new wxBrush(*result
);
21951 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21959 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21960 PyObject
*resultobj
= 0;
21961 wxDC
*arg1
= (wxDC
*) 0 ;
21962 wxBrush
*result
= 0 ;
21965 PyObject
*swig_obj
[1] ;
21967 if (!args
) SWIG_fail
;
21968 swig_obj
[0] = args
;
21969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21970 if (!SWIG_IsOK(res1
)) {
21971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21973 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21978 result
= (wxBrush
*) &_result_ref
;
21980 wxPyEndAllowThreads(__tstate
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21984 wxBrush
* resultptr
= new wxBrush(*result
);
21985 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21993 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21994 PyObject
*resultobj
= 0;
21995 wxDC
*arg1
= (wxDC
*) 0 ;
21996 wxFont
*result
= 0 ;
21999 PyObject
*swig_obj
[1] ;
22001 if (!args
) SWIG_fail
;
22002 swig_obj
[0] = args
;
22003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22004 if (!SWIG_IsOK(res1
)) {
22005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22007 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22012 result
= (wxFont
*) &_result_ref
;
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22018 wxFont
* resultptr
= new wxFont(*result
);
22019 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22027 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22028 PyObject
*resultobj
= 0;
22029 wxDC
*arg1
= (wxDC
*) 0 ;
22030 wxPen
*result
= 0 ;
22033 PyObject
*swig_obj
[1] ;
22035 if (!args
) SWIG_fail
;
22036 swig_obj
[0] = args
;
22037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22038 if (!SWIG_IsOK(res1
)) {
22039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22041 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22046 result
= (wxPen
*) &_result_ref
;
22048 wxPyEndAllowThreads(__tstate
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22052 wxPen
* resultptr
= new wxPen(*result
);
22053 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22061 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22062 PyObject
*resultobj
= 0;
22063 wxDC
*arg1
= (wxDC
*) 0 ;
22064 wxColour
*result
= 0 ;
22067 PyObject
*swig_obj
[1] ;
22069 if (!args
) SWIG_fail
;
22070 swig_obj
[0] = args
;
22071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22072 if (!SWIG_IsOK(res1
)) {
22073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22075 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22080 result
= (wxColour
*) &_result_ref
;
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22092 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22093 PyObject
*resultobj
= 0;
22094 wxDC
*arg1
= (wxDC
*) 0 ;
22095 wxColour
*result
= 0 ;
22098 PyObject
*swig_obj
[1] ;
22100 if (!args
) SWIG_fail
;
22101 swig_obj
[0] = args
;
22102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22103 if (!SWIG_IsOK(res1
)) {
22104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22106 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22110 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22111 result
= (wxColour
*) &_result_ref
;
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22123 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22124 PyObject
*resultobj
= 0;
22125 wxDC
*arg1
= (wxDC
*) 0 ;
22126 wxColour
*arg2
= 0 ;
22130 PyObject
* obj0
= 0 ;
22131 PyObject
* obj1
= 0 ;
22132 char * kwnames
[] = {
22133 (char *) "self",(char *) "colour", NULL
22136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22138 if (!SWIG_IsOK(res1
)) {
22139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22141 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22144 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22149 wxPyEndAllowThreads(__tstate
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22152 resultobj
= SWIG_Py_Void();
22159 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22160 PyObject
*resultobj
= 0;
22161 wxDC
*arg1
= (wxDC
*) 0 ;
22162 wxColour
*arg2
= 0 ;
22166 PyObject
* obj0
= 0 ;
22167 PyObject
* obj1
= 0 ;
22168 char * kwnames
[] = {
22169 (char *) "self",(char *) "colour", NULL
22172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22174 if (!SWIG_IsOK(res1
)) {
22175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22177 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22180 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22188 resultobj
= SWIG_Py_Void();
22195 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22196 PyObject
*resultobj
= 0;
22197 wxDC
*arg1
= (wxDC
*) 0 ;
22201 PyObject
*swig_obj
[1] ;
22203 if (!args
) SWIG_fail
;
22204 swig_obj
[0] = args
;
22205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22206 if (!SWIG_IsOK(res1
)) {
22207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22209 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22213 wxPyEndAllowThreads(__tstate
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22216 resultobj
= SWIG_From_int(static_cast< int >(result
));
22223 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22224 PyObject
*resultobj
= 0;
22225 wxDC
*arg1
= (wxDC
*) 0 ;
22231 PyObject
* obj0
= 0 ;
22232 PyObject
* obj1
= 0 ;
22233 char * kwnames
[] = {
22234 (char *) "self",(char *) "mode", NULL
22237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22239 if (!SWIG_IsOK(res1
)) {
22240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22244 if (!SWIG_IsOK(ecode2
)) {
22245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22247 arg2
= static_cast< int >(val2
);
22249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22250 (arg1
)->SetMapMode(arg2
);
22251 wxPyEndAllowThreads(__tstate
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22254 resultobj
= SWIG_Py_Void();
22261 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22262 PyObject
*resultobj
= 0;
22263 wxDC
*arg1
= (wxDC
*) 0 ;
22264 double *arg2
= (double *) 0 ;
22265 double *arg3
= (double *) 0 ;
22269 int res2
= SWIG_TMPOBJ
;
22271 int res3
= SWIG_TMPOBJ
;
22272 PyObject
*swig_obj
[1] ;
22276 if (!args
) SWIG_fail
;
22277 swig_obj
[0] = args
;
22278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22279 if (!SWIG_IsOK(res1
)) {
22280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22282 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 resultobj
= SWIG_Py_Void();
22290 if (SWIG_IsTmpObj(res2
)) {
22291 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22293 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22294 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22296 if (SWIG_IsTmpObj(res3
)) {
22297 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22299 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22300 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22308 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22309 PyObject
*resultobj
= 0;
22310 wxDC
*arg1
= (wxDC
*) 0 ;
22319 PyObject
* obj0
= 0 ;
22320 PyObject
* obj1
= 0 ;
22321 PyObject
* obj2
= 0 ;
22322 char * kwnames
[] = {
22323 (char *) "self",(char *) "x",(char *) "y", NULL
22326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22328 if (!SWIG_IsOK(res1
)) {
22329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22331 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22332 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22333 if (!SWIG_IsOK(ecode2
)) {
22334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22336 arg2
= static_cast< double >(val2
);
22337 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22338 if (!SWIG_IsOK(ecode3
)) {
22339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22341 arg3
= static_cast< double >(val3
);
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 (arg1
)->SetUserScale(arg2
,arg3
);
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22348 resultobj
= SWIG_Py_Void();
22355 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22356 PyObject
*resultobj
= 0;
22357 wxDC
*arg1
= (wxDC
*) 0 ;
22358 double *arg2
= (double *) 0 ;
22359 double *arg3
= (double *) 0 ;
22363 int res2
= SWIG_TMPOBJ
;
22365 int res3
= SWIG_TMPOBJ
;
22366 PyObject
*swig_obj
[1] ;
22370 if (!args
) SWIG_fail
;
22371 swig_obj
[0] = args
;
22372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22373 if (!SWIG_IsOK(res1
)) {
22374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22379 (arg1
)->GetLogicalScale(arg2
,arg3
);
22380 wxPyEndAllowThreads(__tstate
);
22381 if (PyErr_Occurred()) SWIG_fail
;
22383 resultobj
= SWIG_Py_Void();
22384 if (SWIG_IsTmpObj(res2
)) {
22385 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22387 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22388 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22390 if (SWIG_IsTmpObj(res3
)) {
22391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22393 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22402 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
= 0;
22404 wxDC
*arg1
= (wxDC
*) 0 ;
22413 PyObject
* obj0
= 0 ;
22414 PyObject
* obj1
= 0 ;
22415 PyObject
* obj2
= 0 ;
22416 char * kwnames
[] = {
22417 (char *) "self",(char *) "x",(char *) "y", NULL
22420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22422 if (!SWIG_IsOK(res1
)) {
22423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22425 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22426 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22427 if (!SWIG_IsOK(ecode2
)) {
22428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22430 arg2
= static_cast< double >(val2
);
22431 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22432 if (!SWIG_IsOK(ecode3
)) {
22433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22435 arg3
= static_cast< double >(val3
);
22437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22438 (arg1
)->SetLogicalScale(arg2
,arg3
);
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 resultobj
= SWIG_Py_Void();
22449 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22450 PyObject
*resultobj
= 0;
22451 wxDC
*arg1
= (wxDC
*) 0 ;
22455 PyObject
*swig_obj
[1] ;
22457 if (!args
) SWIG_fail
;
22458 swig_obj
[0] = args
;
22459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22460 if (!SWIG_IsOK(res1
)) {
22461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22463 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22466 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22470 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22477 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22478 PyObject
*resultobj
= 0;
22479 wxDC
*arg1
= (wxDC
*) 0 ;
22480 int *arg2
= (int *) 0 ;
22481 int *arg3
= (int *) 0 ;
22485 int res2
= SWIG_TMPOBJ
;
22487 int res3
= SWIG_TMPOBJ
;
22488 PyObject
*swig_obj
[1] ;
22492 if (!args
) SWIG_fail
;
22493 swig_obj
[0] = args
;
22494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22495 if (!SWIG_IsOK(res1
)) {
22496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22505 resultobj
= SWIG_Py_Void();
22506 if (SWIG_IsTmpObj(res2
)) {
22507 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22509 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22510 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22512 if (SWIG_IsTmpObj(res3
)) {
22513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22515 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22516 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22524 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22525 PyObject
*resultobj
= 0;
22526 wxDC
*arg1
= (wxDC
*) 0 ;
22535 PyObject
* obj0
= 0 ;
22536 PyObject
* obj1
= 0 ;
22537 PyObject
* obj2
= 0 ;
22538 char * kwnames
[] = {
22539 (char *) "self",(char *) "x",(char *) "y", NULL
22542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22544 if (!SWIG_IsOK(res1
)) {
22545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22547 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22549 if (!SWIG_IsOK(ecode2
)) {
22550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22552 arg2
= static_cast< int >(val2
);
22553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22554 if (!SWIG_IsOK(ecode3
)) {
22555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22557 arg3
= static_cast< int >(val3
);
22559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22560 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 resultobj
= SWIG_Py_Void();
22571 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
= 0;
22573 wxDC
*arg1
= (wxDC
*) 0 ;
22574 wxPoint
*arg2
= 0 ;
22578 PyObject
* obj0
= 0 ;
22579 PyObject
* obj1
= 0 ;
22580 char * kwnames
[] = {
22581 (char *) "self",(char *) "point", NULL
22584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22586 if (!SWIG_IsOK(res1
)) {
22587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22589 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22592 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22597 wxPyEndAllowThreads(__tstate
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22600 resultobj
= SWIG_Py_Void();
22607 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22608 PyObject
*resultobj
= 0;
22609 wxDC
*arg1
= (wxDC
*) 0 ;
22613 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_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22621 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22635 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22636 PyObject
*resultobj
= 0;
22637 wxDC
*arg1
= (wxDC
*) 0 ;
22638 int *arg2
= (int *) 0 ;
22639 int *arg3
= (int *) 0 ;
22643 int res2
= SWIG_TMPOBJ
;
22645 int res3
= SWIG_TMPOBJ
;
22646 PyObject
*swig_obj
[1] ;
22650 if (!args
) SWIG_fail
;
22651 swig_obj
[0] = args
;
22652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22653 if (!SWIG_IsOK(res1
)) {
22654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22656 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22663 resultobj
= SWIG_Py_Void();
22664 if (SWIG_IsTmpObj(res2
)) {
22665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22667 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22670 if (SWIG_IsTmpObj(res3
)) {
22671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22673 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22682 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
= 0;
22684 wxDC
*arg1
= (wxDC
*) 0 ;
22693 PyObject
* obj0
= 0 ;
22694 PyObject
* obj1
= 0 ;
22695 PyObject
* obj2
= 0 ;
22696 char * kwnames
[] = {
22697 (char *) "self",(char *) "x",(char *) "y", NULL
22700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22702 if (!SWIG_IsOK(res1
)) {
22703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22705 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22707 if (!SWIG_IsOK(ecode2
)) {
22708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22710 arg2
= static_cast< int >(val2
);
22711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22712 if (!SWIG_IsOK(ecode3
)) {
22713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22715 arg3
= static_cast< int >(val3
);
22717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22718 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22719 wxPyEndAllowThreads(__tstate
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22722 resultobj
= SWIG_Py_Void();
22729 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22730 PyObject
*resultobj
= 0;
22731 wxDC
*arg1
= (wxDC
*) 0 ;
22732 wxPoint
*arg2
= 0 ;
22736 PyObject
* obj0
= 0 ;
22737 PyObject
* obj1
= 0 ;
22738 char * kwnames
[] = {
22739 (char *) "self",(char *) "point", NULL
22742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22744 if (!SWIG_IsOK(res1
)) {
22745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22747 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22750 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22755 wxPyEndAllowThreads(__tstate
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22758 resultobj
= SWIG_Py_Void();
22765 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22766 PyObject
*resultobj
= 0;
22767 wxDC
*arg1
= (wxDC
*) 0 ;
22776 PyObject
* obj0
= 0 ;
22777 PyObject
* obj1
= 0 ;
22778 PyObject
* obj2
= 0 ;
22779 char * kwnames
[] = {
22780 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22785 if (!SWIG_IsOK(res1
)) {
22786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22788 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22789 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22790 if (!SWIG_IsOK(ecode2
)) {
22791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22793 arg2
= static_cast< bool >(val2
);
22794 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22795 if (!SWIG_IsOK(ecode3
)) {
22796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22798 arg3
= static_cast< bool >(val3
);
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 resultobj
= SWIG_Py_Void();
22812 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22813 PyObject
*resultobj
= 0;
22814 wxDC
*arg1
= (wxDC
*) 0 ;
22818 PyObject
*swig_obj
[1] ;
22820 if (!args
) SWIG_fail
;
22821 swig_obj
[0] = args
;
22822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22823 if (!SWIG_IsOK(res1
)) {
22824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= SWIG_From_int(static_cast< int >(result
));
22840 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22841 PyObject
*resultobj
= 0;
22842 wxDC
*arg1
= (wxDC
*) 0 ;
22848 PyObject
* obj0
= 0 ;
22849 PyObject
* obj1
= 0 ;
22850 char * kwnames
[] = {
22851 (char *) "self",(char *) "function", NULL
22854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22856 if (!SWIG_IsOK(res1
)) {
22857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22859 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22861 if (!SWIG_IsOK(ecode2
)) {
22862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22864 arg2
= static_cast< int >(val2
);
22866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22867 (arg1
)->SetLogicalFunction(arg2
);
22868 wxPyEndAllowThreads(__tstate
);
22869 if (PyErr_Occurred()) SWIG_fail
;
22871 resultobj
= SWIG_Py_Void();
22878 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22879 PyObject
*resultobj
= 0;
22880 wxDC
*arg1
= (wxDC
*) 0 ;
22883 PyObject
*swig_obj
[1] ;
22885 if (!args
) SWIG_fail
;
22886 swig_obj
[0] = args
;
22887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22888 if (!SWIG_IsOK(res1
)) {
22889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22891 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22894 (arg1
)->ComputeScaleAndOrigin();
22895 wxPyEndAllowThreads(__tstate
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22898 resultobj
= SWIG_Py_Void();
22905 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
= 0;
22907 wxDC
*arg1
= (wxDC
*) 0 ;
22916 PyObject
* obj0
= 0 ;
22917 PyObject
* obj1
= 0 ;
22918 PyObject
* obj2
= 0 ;
22919 char * kwnames
[] = {
22920 (char *) "self",(char *) "x",(char *) "y", NULL
22923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22925 if (!SWIG_IsOK(res1
)) {
22926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22928 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22930 if (!SWIG_IsOK(ecode2
)) {
22931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22933 arg2
= static_cast< int >(val2
);
22934 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22935 if (!SWIG_IsOK(ecode3
)) {
22936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22938 arg3
= static_cast< int >(val3
);
22940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22941 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22942 wxPyEndAllowThreads(__tstate
);
22943 if (PyErr_Occurred()) SWIG_fail
;
22945 resultobj
= SWIG_Py_Void();
22952 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22953 PyObject
*resultobj
= 0;
22954 wxDC
*arg1
= (wxDC
*) 0 ;
22955 wxPoint
*arg2
= 0 ;
22959 PyObject
* obj0
= 0 ;
22960 PyObject
* obj1
= 0 ;
22961 char * kwnames
[] = {
22962 (char *) "self",(char *) "point", NULL
22965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22967 if (!SWIG_IsOK(res1
)) {
22968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22970 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22973 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22977 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 resultobj
= SWIG_Py_Void();
22988 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22989 PyObject
*resultobj
= 0;
22990 wxDC
*arg1
= (wxDC
*) 0 ;
22993 PyObject
*swig_obj
[1] ;
22995 if (!args
) SWIG_fail
;
22996 swig_obj
[0] = args
;
22997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22998 if (!SWIG_IsOK(res1
)) {
22999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23001 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 (arg1
)->ResetBoundingBox();
23005 wxPyEndAllowThreads(__tstate
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23008 resultobj
= SWIG_Py_Void();
23015 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23016 PyObject
*resultobj
= 0;
23017 wxDC
*arg1
= (wxDC
*) 0 ;
23021 PyObject
*swig_obj
[1] ;
23023 if (!args
) SWIG_fail
;
23024 swig_obj
[0] = args
;
23025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23026 if (!SWIG_IsOK(res1
)) {
23027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23029 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 result
= (int)((wxDC
const *)arg1
)->MinX();
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 resultobj
= SWIG_From_int(static_cast< int >(result
));
23043 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23044 PyObject
*resultobj
= 0;
23045 wxDC
*arg1
= (wxDC
*) 0 ;
23049 PyObject
*swig_obj
[1] ;
23051 if (!args
) SWIG_fail
;
23052 swig_obj
[0] = args
;
23053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23054 if (!SWIG_IsOK(res1
)) {
23055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23060 result
= (int)((wxDC
const *)arg1
)->MaxX();
23061 wxPyEndAllowThreads(__tstate
);
23062 if (PyErr_Occurred()) SWIG_fail
;
23064 resultobj
= SWIG_From_int(static_cast< int >(result
));
23071 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23072 PyObject
*resultobj
= 0;
23073 wxDC
*arg1
= (wxDC
*) 0 ;
23077 PyObject
*swig_obj
[1] ;
23079 if (!args
) SWIG_fail
;
23080 swig_obj
[0] = args
;
23081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23082 if (!SWIG_IsOK(res1
)) {
23083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23085 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 result
= (int)((wxDC
const *)arg1
)->MinY();
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23092 resultobj
= SWIG_From_int(static_cast< int >(result
));
23099 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23100 PyObject
*resultobj
= 0;
23101 wxDC
*arg1
= (wxDC
*) 0 ;
23105 PyObject
*swig_obj
[1] ;
23107 if (!args
) SWIG_fail
;
23108 swig_obj
[0] = args
;
23109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23110 if (!SWIG_IsOK(res1
)) {
23111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 result
= (int)((wxDC
const *)arg1
)->MaxY();
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 resultobj
= SWIG_From_int(static_cast< int >(result
));
23127 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23128 PyObject
*resultobj
= 0;
23129 wxDC
*arg1
= (wxDC
*) 0 ;
23130 int *arg2
= (int *) 0 ;
23131 int *arg3
= (int *) 0 ;
23132 int *arg4
= (int *) 0 ;
23133 int *arg5
= (int *) 0 ;
23137 int res2
= SWIG_TMPOBJ
;
23139 int res3
= SWIG_TMPOBJ
;
23141 int res4
= SWIG_TMPOBJ
;
23143 int res5
= SWIG_TMPOBJ
;
23144 PyObject
*swig_obj
[1] ;
23150 if (!args
) SWIG_fail
;
23151 swig_obj
[0] = args
;
23152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23153 if (!SWIG_IsOK(res1
)) {
23154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23156 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23159 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 resultobj
= SWIG_Py_Void();
23164 if (SWIG_IsTmpObj(res2
)) {
23165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23167 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23170 if (SWIG_IsTmpObj(res3
)) {
23171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23173 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23176 if (SWIG_IsTmpObj(res4
)) {
23177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23179 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23182 if (SWIG_IsTmpObj(res5
)) {
23183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23185 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23194 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23195 PyObject
*resultobj
= 0;
23196 wxDC
*arg1
= (wxDC
*) 0 ;
23197 wxLayoutDirection result
;
23200 PyObject
*swig_obj
[1] ;
23202 if (!args
) SWIG_fail
;
23203 swig_obj
[0] = args
;
23204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23205 if (!SWIG_IsOK(res1
)) {
23206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23208 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= SWIG_From_int(static_cast< int >(result
));
23222 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
= 0;
23224 wxDC
*arg1
= (wxDC
*) 0 ;
23225 wxLayoutDirection arg2
;
23230 PyObject
* obj0
= 0 ;
23231 PyObject
* obj1
= 0 ;
23232 char * kwnames
[] = {
23233 (char *) "self",(char *) "dir", NULL
23236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23238 if (!SWIG_IsOK(res1
)) {
23239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23241 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23243 if (!SWIG_IsOK(ecode2
)) {
23244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23246 arg2
= static_cast< wxLayoutDirection
>(val2
);
23248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23249 (arg1
)->SetLayoutDirection(arg2
);
23250 wxPyEndAllowThreads(__tstate
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23253 resultobj
= SWIG_Py_Void();
23260 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23261 PyObject
*resultobj
= 0;
23262 wxDC
*arg1
= (wxDC
*) 0 ;
23263 PyObject
*arg2
= (PyObject
*) 0 ;
23264 PyObject
*arg3
= (PyObject
*) 0 ;
23265 PyObject
*arg4
= (PyObject
*) 0 ;
23266 PyObject
*result
= 0 ;
23269 PyObject
* obj0
= 0 ;
23270 PyObject
* obj1
= 0 ;
23271 PyObject
* obj2
= 0 ;
23272 PyObject
* obj3
= 0 ;
23273 char * kwnames
[] = {
23274 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23279 if (!SWIG_IsOK(res1
)) {
23280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23282 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23292 resultobj
= result
;
23299 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
= 0;
23301 wxDC
*arg1
= (wxDC
*) 0 ;
23302 PyObject
*arg2
= (PyObject
*) 0 ;
23303 PyObject
*arg3
= (PyObject
*) 0 ;
23304 PyObject
*arg4
= (PyObject
*) 0 ;
23305 PyObject
*result
= 0 ;
23308 PyObject
* obj0
= 0 ;
23309 PyObject
* obj1
= 0 ;
23310 PyObject
* obj2
= 0 ;
23311 PyObject
* obj3
= 0 ;
23312 char * kwnames
[] = {
23313 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23318 if (!SWIG_IsOK(res1
)) {
23319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23321 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23327 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 resultobj
= result
;
23338 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
= 0;
23340 wxDC
*arg1
= (wxDC
*) 0 ;
23341 PyObject
*arg2
= (PyObject
*) 0 ;
23342 PyObject
*arg3
= (PyObject
*) 0 ;
23343 PyObject
*arg4
= (PyObject
*) 0 ;
23344 PyObject
*result
= 0 ;
23347 PyObject
* obj0
= 0 ;
23348 PyObject
* obj1
= 0 ;
23349 PyObject
* obj2
= 0 ;
23350 PyObject
* obj3
= 0 ;
23351 char * kwnames
[] = {
23352 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23357 if (!SWIG_IsOK(res1
)) {
23358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23360 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 resultobj
= result
;
23377 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
= 0;
23379 wxDC
*arg1
= (wxDC
*) 0 ;
23380 PyObject
*arg2
= (PyObject
*) 0 ;
23381 PyObject
*arg3
= (PyObject
*) 0 ;
23382 PyObject
*arg4
= (PyObject
*) 0 ;
23383 PyObject
*result
= 0 ;
23386 PyObject
* obj0
= 0 ;
23387 PyObject
* obj1
= 0 ;
23388 PyObject
* obj2
= 0 ;
23389 PyObject
* obj3
= 0 ;
23390 char * kwnames
[] = {
23391 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23396 if (!SWIG_IsOK(res1
)) {
23397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23399 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23409 resultobj
= result
;
23416 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23417 PyObject
*resultobj
= 0;
23418 wxDC
*arg1
= (wxDC
*) 0 ;
23419 PyObject
*arg2
= (PyObject
*) 0 ;
23420 PyObject
*arg3
= (PyObject
*) 0 ;
23421 PyObject
*arg4
= (PyObject
*) 0 ;
23422 PyObject
*result
= 0 ;
23425 PyObject
* obj0
= 0 ;
23426 PyObject
* obj1
= 0 ;
23427 PyObject
* obj2
= 0 ;
23428 PyObject
* obj3
= 0 ;
23429 char * kwnames
[] = {
23430 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23435 if (!SWIG_IsOK(res1
)) {
23436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23438 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23448 resultobj
= result
;
23455 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23456 PyObject
*resultobj
= 0;
23457 wxDC
*arg1
= (wxDC
*) 0 ;
23458 PyObject
*arg2
= (PyObject
*) 0 ;
23459 PyObject
*arg3
= (PyObject
*) 0 ;
23460 PyObject
*arg4
= (PyObject
*) 0 ;
23461 PyObject
*arg5
= (PyObject
*) 0 ;
23462 PyObject
*result
= 0 ;
23465 PyObject
* obj0
= 0 ;
23466 PyObject
* obj1
= 0 ;
23467 PyObject
* obj2
= 0 ;
23468 PyObject
* obj3
= 0 ;
23469 PyObject
* obj4
= 0 ;
23470 char * kwnames
[] = {
23471 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23476 if (!SWIG_IsOK(res1
)) {
23477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23479 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23490 resultobj
= result
;
23497 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23500 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23501 return SWIG_Py_Void();
23504 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
= 0;
23507 wxColour
*arg2
= 0 ;
23508 wxDCTextColourChanger
*result
= 0 ;
23512 PyObject
* obj0
= 0 ;
23513 PyObject
* obj1
= 0 ;
23514 char * kwnames
[] = {
23515 (char *) "dc",(char *) "col", NULL
23518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23519 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23520 if (!SWIG_IsOK(res1
)) {
23521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23526 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23529 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23533 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23534 wxPyEndAllowThreads(__tstate
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23544 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23545 PyObject
*resultobj
= 0;
23546 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23549 PyObject
*swig_obj
[1] ;
23551 if (!args
) SWIG_fail
;
23552 swig_obj
[0] = args
;
23553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23554 if (!SWIG_IsOK(res1
)) {
23555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23557 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 wxPyEndAllowThreads(__tstate
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23565 resultobj
= SWIG_Py_Void();
23572 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23575 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23576 return SWIG_Py_Void();
23579 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23580 return SWIG_Python_InitShadowInstance(args
);
23583 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23584 PyObject
*resultobj
= 0;
23587 wxDCPenChanger
*result
= 0 ;
23592 PyObject
* obj0
= 0 ;
23593 PyObject
* obj1
= 0 ;
23594 char * kwnames
[] = {
23595 (char *) "dc",(char *) "pen", NULL
23598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23599 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23600 if (!SWIG_IsOK(res1
)) {
23601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23606 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23607 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23608 if (!SWIG_IsOK(res2
)) {
23609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23614 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23628 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23629 PyObject
*resultobj
= 0;
23630 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23633 PyObject
*swig_obj
[1] ;
23635 if (!args
) SWIG_fail
;
23636 swig_obj
[0] = args
;
23637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23638 if (!SWIG_IsOK(res1
)) {
23639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23641 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 wxPyEndAllowThreads(__tstate
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23649 resultobj
= SWIG_Py_Void();
23656 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23658 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23659 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23660 return SWIG_Py_Void();
23663 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23664 return SWIG_Python_InitShadowInstance(args
);
23667 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
= 0;
23670 wxBrush
*arg2
= 0 ;
23671 wxDCBrushChanger
*result
= 0 ;
23676 PyObject
* obj0
= 0 ;
23677 PyObject
* obj1
= 0 ;
23678 char * kwnames
[] = {
23679 (char *) "dc",(char *) "brush", NULL
23682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23683 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23684 if (!SWIG_IsOK(res1
)) {
23685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23691 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23692 if (!SWIG_IsOK(res2
)) {
23693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23698 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23712 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23713 PyObject
*resultobj
= 0;
23714 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23717 PyObject
*swig_obj
[1] ;
23719 if (!args
) SWIG_fail
;
23720 swig_obj
[0] = args
;
23721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23722 if (!SWIG_IsOK(res1
)) {
23723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23725 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23730 wxPyEndAllowThreads(__tstate
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23733 resultobj
= SWIG_Py_Void();
23740 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23743 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23744 return SWIG_Py_Void();
23747 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23748 return SWIG_Python_InitShadowInstance(args
);
23751 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23752 PyObject
*resultobj
= 0;
23754 wxRegion
*arg2
= 0 ;
23755 wxDCClipper
*result
= 0 ;
23761 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23763 if (!SWIG_IsOK(res1
)) {
23764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23769 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23770 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23771 if (!SWIG_IsOK(res2
)) {
23772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23777 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23780 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23791 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23792 PyObject
*resultobj
= 0;
23795 wxDCClipper
*result
= 0 ;
23800 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23802 if (!SWIG_IsOK(res1
)) {
23803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23808 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23811 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23816 wxPyEndAllowThreads(__tstate
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23826 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23827 PyObject
*resultobj
= 0;
23833 wxDCClipper
*result
= 0 ;
23845 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23847 if (!SWIG_IsOK(res1
)) {
23848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23853 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23854 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23855 if (!SWIG_IsOK(ecode2
)) {
23856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23858 arg2
= static_cast< int >(val2
);
23859 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23860 if (!SWIG_IsOK(ecode3
)) {
23861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23863 arg3
= static_cast< int >(val3
);
23864 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23865 if (!SWIG_IsOK(ecode4
)) {
23866 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23868 arg4
= static_cast< int >(val4
);
23869 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23870 if (!SWIG_IsOK(ecode5
)) {
23871 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23873 arg5
= static_cast< int >(val5
);
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23877 wxPyEndAllowThreads(__tstate
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23887 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23891 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23896 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23897 _v
= SWIG_CheckState(res
);
23899 if (!_v
) goto check_1
;
23900 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23905 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23908 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23912 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23917 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23918 PyObject
*resultobj
= 0;
23919 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23922 PyObject
*swig_obj
[1] ;
23924 if (!args
) SWIG_fail
;
23925 swig_obj
[0] = args
;
23926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23927 if (!SWIG_IsOK(res1
)) {
23928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23930 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 resultobj
= SWIG_Py_Void();
23945 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23947 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23948 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23949 return SWIG_Py_Void();
23952 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23953 return SWIG_Python_InitShadowInstance(args
);
23956 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23957 PyObject
*resultobj
= 0;
23958 wxScreenDC
*result
= 0 ;
23960 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23962 if (!wxPyCheckForApp()) SWIG_fail
;
23963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23964 result
= (wxScreenDC
*)new wxScreenDC();
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23975 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
= 0;
23977 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23978 wxWindow
*arg2
= (wxWindow
*) 0 ;
23984 PyObject
* obj0
= 0 ;
23985 PyObject
* obj1
= 0 ;
23986 char * kwnames
[] = {
23987 (char *) "self",(char *) "window", NULL
23990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23992 if (!SWIG_IsOK(res1
)) {
23993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23995 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23996 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23997 if (!SWIG_IsOK(res2
)) {
23998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24000 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24003 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24016 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24017 PyObject
*resultobj
= 0;
24018 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24019 wxRect
*arg2
= (wxRect
*) NULL
;
24025 PyObject
* obj0
= 0 ;
24026 PyObject
* obj1
= 0 ;
24027 char * kwnames
[] = {
24028 (char *) "self",(char *) "rect", NULL
24031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24033 if (!SWIG_IsOK(res1
)) {
24034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24036 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24038 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24039 if (!SWIG_IsOK(res2
)) {
24040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24042 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24046 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24047 wxPyEndAllowThreads(__tstate
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24059 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24060 PyObject
*resultobj
= 0;
24061 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24065 PyObject
*swig_obj
[1] ;
24067 if (!args
) SWIG_fail
;
24068 swig_obj
[0] = args
;
24069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24070 if (!SWIG_IsOK(res1
)) {
24071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24073 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24076 result
= (bool)(arg1
)->EndDrawingOnTop();
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24089 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24091 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24092 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24093 return SWIG_Py_Void();
24096 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24097 return SWIG_Python_InitShadowInstance(args
);
24100 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24101 PyObject
*resultobj
= 0;
24102 wxWindow
*arg1
= (wxWindow
*) 0 ;
24103 wxWindowDC
*result
= 0 ;
24106 PyObject
* obj0
= 0 ;
24107 char * kwnames
[] = {
24108 (char *) "win", NULL
24111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24113 if (!SWIG_IsOK(res1
)) {
24114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24116 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24118 if (!wxPyCheckForApp()) SWIG_fail
;
24119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24120 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24121 wxPyEndAllowThreads(__tstate
);
24122 if (PyErr_Occurred()) SWIG_fail
;
24124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24131 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24134 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24135 return SWIG_Py_Void();
24138 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24139 return SWIG_Python_InitShadowInstance(args
);
24142 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24143 PyObject
*resultobj
= 0;
24144 wxWindow
*arg1
= (wxWindow
*) 0 ;
24145 wxClientDC
*result
= 0 ;
24148 PyObject
* obj0
= 0 ;
24149 char * kwnames
[] = {
24150 (char *) "win", NULL
24153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24155 if (!SWIG_IsOK(res1
)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24158 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24160 if (!wxPyCheckForApp()) SWIG_fail
;
24161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24162 result
= (wxClientDC
*)new wxClientDC(arg1
);
24163 wxPyEndAllowThreads(__tstate
);
24164 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24173 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24176 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24177 return SWIG_Py_Void();
24180 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24181 return SWIG_Python_InitShadowInstance(args
);
24184 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
= 0;
24186 wxWindow
*arg1
= (wxWindow
*) 0 ;
24187 wxPaintDC
*result
= 0 ;
24190 PyObject
* obj0
= 0 ;
24191 char * kwnames
[] = {
24192 (char *) "win", NULL
24195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24197 if (!SWIG_IsOK(res1
)) {
24198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24200 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24202 if (!wxPyCheckForApp()) SWIG_fail
;
24203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24204 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24215 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24217 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24218 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24219 return SWIG_Py_Void();
24222 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24223 return SWIG_Python_InitShadowInstance(args
);
24226 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24227 PyObject
*resultobj
= 0;
24228 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24229 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24230 wxMemoryDC
*result
= 0 ;
24233 PyObject
* obj0
= 0 ;
24234 char * kwnames
[] = {
24235 (char *) "bitmap", NULL
24238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24240 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24241 if (!SWIG_IsOK(res1
)) {
24242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24247 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24250 if (!wxPyCheckForApp()) SWIG_fail
;
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24263 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
= 0;
24265 wxDC
*arg1
= (wxDC
*) 0 ;
24266 wxMemoryDC
*result
= 0 ;
24269 PyObject
* obj0
= 0 ;
24270 char * kwnames
[] = {
24271 (char *) "oldDC", NULL
24274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24276 if (!SWIG_IsOK(res1
)) {
24277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24279 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24281 if (!wxPyCheckForApp()) SWIG_fail
;
24282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24283 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24284 wxPyEndAllowThreads(__tstate
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24294 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24295 PyObject
*resultobj
= 0;
24296 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24297 wxBitmap
*arg2
= 0 ;
24302 PyObject
* obj0
= 0 ;
24303 PyObject
* obj1
= 0 ;
24304 char * kwnames
[] = {
24305 (char *) "self",(char *) "bitmap", NULL
24308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24310 if (!SWIG_IsOK(res1
)) {
24311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24313 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24314 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24315 if (!SWIG_IsOK(res2
)) {
24316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24321 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24324 (arg1
)->SelectObject(*arg2
);
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24328 resultobj
= SWIG_Py_Void();
24335 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
= 0;
24337 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24338 wxBitmap
*arg2
= 0 ;
24343 PyObject
* obj0
= 0 ;
24344 PyObject
* obj1
= 0 ;
24345 char * kwnames
[] = {
24346 (char *) "self",(char *) "bmp", NULL
24349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24351 if (!SWIG_IsOK(res1
)) {
24352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24354 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24355 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24356 if (!SWIG_IsOK(res2
)) {
24357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24360 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24362 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24365 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24366 wxPyEndAllowThreads(__tstate
);
24367 if (PyErr_Occurred()) SWIG_fail
;
24369 resultobj
= SWIG_Py_Void();
24376 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24378 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24379 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24380 return SWIG_Py_Void();
24383 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24384 return SWIG_Python_InitShadowInstance(args
);
24387 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24388 PyObject
*resultobj
= 0;
24389 wxDC
*arg1
= (wxDC
*) 0 ;
24390 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24391 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24392 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24393 wxBufferedDC
*result
= 0 ;
24401 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24403 if (!SWIG_IsOK(res1
)) {
24404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24406 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24408 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24409 if (!SWIG_IsOK(res2
)) {
24410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24415 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24418 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24419 if (!SWIG_IsOK(ecode3
)) {
24420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24422 arg3
= static_cast< int >(val3
);
24425 if (!wxPyCheckForApp()) SWIG_fail
;
24426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24427 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24428 wxPyEndAllowThreads(__tstate
);
24429 if (PyErr_Occurred()) SWIG_fail
;
24431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24438 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24439 PyObject
*resultobj
= 0;
24440 wxDC
*arg1
= (wxDC
*) 0 ;
24442 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24443 wxBufferedDC
*result
= 0 ;
24450 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24452 if (!SWIG_IsOK(res1
)) {
24453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24458 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24461 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24462 if (!SWIG_IsOK(ecode3
)) {
24463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24465 arg3
= static_cast< int >(val3
);
24468 if (!wxPyCheckForApp()) SWIG_fail
;
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24470 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24471 wxPyEndAllowThreads(__tstate
);
24472 if (PyErr_Occurred()) SWIG_fail
;
24474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24481 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24485 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24487 if ((argc
>= 1) && (argc
<= 3)) {
24492 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24493 _v
= SWIG_CheckState(res
);
24495 if (!_v
) goto check_1
;
24497 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24501 if ((argc
>= 2) && (argc
<= 3)) {
24502 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24506 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24511 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24512 PyObject
*resultobj
= 0;
24513 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24516 PyObject
*swig_obj
[1] ;
24518 if (!args
) SWIG_fail
;
24519 swig_obj
[0] = args
;
24520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24521 if (!SWIG_IsOK(res1
)) {
24522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24524 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 wxPyEndAllowThreads(__tstate
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24532 resultobj
= SWIG_Py_Void();
24539 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24540 PyObject
*resultobj
= 0;
24541 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24544 PyObject
*swig_obj
[1] ;
24546 if (!args
) SWIG_fail
;
24547 swig_obj
[0] = args
;
24548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24549 if (!SWIG_IsOK(res1
)) {
24550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24552 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24556 wxPyEndAllowThreads(__tstate
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24559 resultobj
= SWIG_Py_Void();
24566 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24567 PyObject
*resultobj
= 0;
24568 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24574 PyObject
* obj0
= 0 ;
24575 PyObject
* obj1
= 0 ;
24576 char * kwnames
[] = {
24577 (char *) "self",(char *) "style", NULL
24580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24582 if (!SWIG_IsOK(res1
)) {
24583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24585 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24587 if (!SWIG_IsOK(ecode2
)) {
24588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24590 arg2
= static_cast< int >(val2
);
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 (arg1
)->SetStyle(arg2
);
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24597 resultobj
= SWIG_Py_Void();
24604 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24605 PyObject
*resultobj
= 0;
24606 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24610 PyObject
*swig_obj
[1] ;
24612 if (!args
) SWIG_fail
;
24613 swig_obj
[0] = args
;
24614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24615 if (!SWIG_IsOK(res1
)) {
24616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24618 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24625 resultobj
= SWIG_From_int(static_cast< int >(result
));
24632 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24635 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24636 return SWIG_Py_Void();
24639 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24640 return SWIG_Python_InitShadowInstance(args
);
24643 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24644 PyObject
*resultobj
= 0;
24645 wxWindow
*arg1
= (wxWindow
*) 0 ;
24646 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24647 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24648 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24649 wxBufferedPaintDC
*result
= 0 ;
24656 PyObject
* obj0
= 0 ;
24657 PyObject
* obj1
= 0 ;
24658 PyObject
* obj2
= 0 ;
24659 char * kwnames
[] = {
24660 (char *) "window",(char *) "buffer",(char *) "style", NULL
24663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24665 if (!SWIG_IsOK(res1
)) {
24666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24668 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24671 if (!SWIG_IsOK(res2
)) {
24672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24677 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24681 if (!SWIG_IsOK(ecode3
)) {
24682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24684 arg3
= static_cast< int >(val3
);
24687 if (!wxPyCheckForApp()) SWIG_fail
;
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24700 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24702 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24703 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24704 return SWIG_Py_Void();
24707 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24708 return SWIG_Python_InitShadowInstance(args
);
24711 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24712 PyObject
*resultobj
= 0;
24713 wxWindow
*arg1
= (wxWindow
*) 0 ;
24714 wxAutoBufferedPaintDC
*result
= 0 ;
24717 PyObject
* obj0
= 0 ;
24718 char * kwnames
[] = {
24719 (char *) "win", NULL
24722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24724 if (!SWIG_IsOK(res1
)) {
24725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24727 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24730 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24741 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24743 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24744 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24745 return SWIG_Py_Void();
24748 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24749 return SWIG_Python_InitShadowInstance(args
);
24752 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24753 PyObject
*resultobj
= 0;
24754 wxWindow
*arg1
= (wxWindow
*) 0 ;
24758 PyObject
* obj0
= 0 ;
24759 char * kwnames
[] = {
24760 (char *) "window", NULL
24763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24765 if (!SWIG_IsOK(res1
)) {
24766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24768 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24771 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24772 wxPyEndAllowThreads(__tstate
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24776 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24784 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
= 0;
24788 wxMirrorDC
*result
= 0 ;
24793 PyObject
* obj0
= 0 ;
24794 PyObject
* obj1
= 0 ;
24795 char * kwnames
[] = {
24796 (char *) "dc",(char *) "mirror", NULL
24799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24800 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24801 if (!SWIG_IsOK(res1
)) {
24802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24807 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24808 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24809 if (!SWIG_IsOK(ecode2
)) {
24810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24812 arg2
= static_cast< bool >(val2
);
24814 if (!wxPyCheckForApp()) SWIG_fail
;
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24827 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24830 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24831 return SWIG_Py_Void();
24834 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24835 return SWIG_Python_InitShadowInstance(args
);
24838 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24839 PyObject
*resultobj
= 0;
24840 wxPrintData
*arg1
= 0 ;
24841 wxPostScriptDC
*result
= 0 ;
24844 PyObject
* obj0
= 0 ;
24845 char * kwnames
[] = {
24846 (char *) "printData", NULL
24849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24850 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24851 if (!SWIG_IsOK(res1
)) {
24852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24857 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24859 if (!wxPyCheckForApp()) SWIG_fail
;
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24872 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24873 PyObject
*resultobj
= 0;
24874 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24875 wxPrintData
*result
= 0 ;
24878 PyObject
*swig_obj
[1] ;
24880 if (!args
) SWIG_fail
;
24881 swig_obj
[0] = args
;
24882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24883 if (!SWIG_IsOK(res1
)) {
24884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24886 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24890 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24891 result
= (wxPrintData
*) &_result_ref
;
24893 wxPyEndAllowThreads(__tstate
);
24894 if (PyErr_Occurred()) SWIG_fail
;
24896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24903 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24904 PyObject
*resultobj
= 0;
24905 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24906 wxPrintData
*arg2
= 0 ;
24911 PyObject
* obj0
= 0 ;
24912 PyObject
* obj1
= 0 ;
24913 char * kwnames
[] = {
24914 (char *) "self",(char *) "data", NULL
24917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24919 if (!SWIG_IsOK(res1
)) {
24920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24922 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24923 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24924 if (!SWIG_IsOK(res2
)) {
24925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24930 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24933 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24934 wxPyEndAllowThreads(__tstate
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24937 resultobj
= SWIG_Py_Void();
24944 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24945 PyObject
*resultobj
= 0;
24949 PyObject
* obj0
= 0 ;
24950 char * kwnames
[] = {
24951 (char *) "ppi", NULL
24954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24955 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24956 if (!SWIG_IsOK(ecode1
)) {
24957 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24959 arg1
= static_cast< int >(val1
);
24961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24962 wxPostScriptDC::SetResolution(arg1
);
24963 wxPyEndAllowThreads(__tstate
);
24964 if (PyErr_Occurred()) SWIG_fail
;
24966 resultobj
= SWIG_Py_Void();
24973 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24974 PyObject
*resultobj
= 0;
24977 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24980 result
= (int)wxPostScriptDC::GetResolution();
24981 wxPyEndAllowThreads(__tstate
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24984 resultobj
= SWIG_From_int(static_cast< int >(result
));
24991 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24994 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24995 return SWIG_Py_Void();
24998 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24999 return SWIG_Python_InitShadowInstance(args
);
25002 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25003 PyObject
*resultobj
= 0;
25004 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25005 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25006 wxMetaFile
*result
= 0 ;
25007 bool temp1
= false ;
25008 PyObject
* obj0
= 0 ;
25009 char * kwnames
[] = {
25010 (char *) "filename", NULL
25013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25016 arg1
= wxString_in_helper(obj0
);
25017 if (arg1
== NULL
) SWIG_fail
;
25022 if (!wxPyCheckForApp()) SWIG_fail
;
25023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25024 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25043 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25045 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25046 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25047 return SWIG_Py_Void();
25050 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25051 return SWIG_Python_InitShadowInstance(args
);
25054 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
= 0;
25056 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25057 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25058 int arg2
= (int) 0 ;
25059 int arg3
= (int) 0 ;
25060 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25061 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25062 wxMetaFileDC
*result
= 0 ;
25063 bool temp1
= false ;
25068 bool temp4
= false ;
25069 PyObject
* obj0
= 0 ;
25070 PyObject
* obj1
= 0 ;
25071 PyObject
* obj2
= 0 ;
25072 PyObject
* obj3
= 0 ;
25073 char * kwnames
[] = {
25074 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25080 arg1
= wxString_in_helper(obj0
);
25081 if (arg1
== NULL
) SWIG_fail
;
25086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25087 if (!SWIG_IsOK(ecode2
)) {
25088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25090 arg2
= static_cast< int >(val2
);
25093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25094 if (!SWIG_IsOK(ecode3
)) {
25095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25097 arg3
= static_cast< int >(val3
);
25101 arg4
= wxString_in_helper(obj3
);
25102 if (arg4
== NULL
) SWIG_fail
;
25107 if (!wxPyCheckForApp()) SWIG_fail
;
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25109 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25110 wxPyEndAllowThreads(__tstate
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25136 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25138 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25139 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25140 return SWIG_Py_Void();
25143 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25144 return SWIG_Python_InitShadowInstance(args
);
25147 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25148 PyObject
*resultobj
= 0;
25149 wxPrintData
*arg1
= 0 ;
25150 wxPrinterDC
*result
= 0 ;
25153 PyObject
* obj0
= 0 ;
25154 char * kwnames
[] = {
25155 (char *) "printData", NULL
25158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25159 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25160 if (!SWIG_IsOK(res1
)) {
25161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25166 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25168 if (!wxPyCheckForApp()) SWIG_fail
;
25169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25170 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25171 wxPyEndAllowThreads(__tstate
);
25172 if (PyErr_Occurred()) SWIG_fail
;
25174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25181 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25183 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25184 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25185 return SWIG_Py_Void();
25188 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25189 return SWIG_Python_InitShadowInstance(args
);
25192 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25193 PyObject
*resultobj
= 0;
25194 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25195 wxGraphicsObject
*result
= 0 ;
25198 PyObject
* obj0
= 0 ;
25199 char * kwnames
[] = {
25200 (char *) "renderer", NULL
25203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25206 if (!SWIG_IsOK(res1
)) {
25207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25209 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25212 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25222 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25223 PyObject
*resultobj
= 0;
25224 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25227 PyObject
*swig_obj
[1] ;
25229 if (!args
) SWIG_fail
;
25230 swig_obj
[0] = args
;
25231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25232 if (!SWIG_IsOK(res1
)) {
25233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25235 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25239 if (PyErr_Occurred()) SWIG_fail
;
25241 resultobj
= SWIG_Py_Void();
25248 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25249 PyObject
*resultobj
= 0;
25250 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25254 PyObject
*swig_obj
[1] ;
25256 if (!args
) SWIG_fail
;
25257 swig_obj
[0] = args
;
25258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25259 if (!SWIG_IsOK(res1
)) {
25260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25262 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25264 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25265 if (PyErr_Occurred()) SWIG_fail
;
25268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25276 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25277 PyObject
*resultobj
= 0;
25278 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25279 wxGraphicsRenderer
*result
= 0 ;
25282 PyObject
*swig_obj
[1] ;
25284 if (!args
) SWIG_fail
;
25285 swig_obj
[0] = args
;
25286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25287 if (!SWIG_IsOK(res1
)) {
25288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25290 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25292 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25293 if (PyErr_Occurred()) SWIG_fail
;
25295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25302 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25305 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25306 return SWIG_Py_Void();
25309 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25310 return SWIG_Python_InitShadowInstance(args
);
25313 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25314 PyObject
*resultobj
= 0;
25315 wxGraphicsPen
*result
= 0 ;
25317 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25319 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25320 if (PyErr_Occurred()) SWIG_fail
;
25322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25329 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25330 PyObject
*resultobj
= 0;
25331 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25334 PyObject
*swig_obj
[1] ;
25336 if (!args
) SWIG_fail
;
25337 swig_obj
[0] = args
;
25338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25339 if (!SWIG_IsOK(res1
)) {
25340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25342 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25348 resultobj
= SWIG_Py_Void();
25355 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25358 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25359 return SWIG_Py_Void();
25362 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25363 return SWIG_Python_InitShadowInstance(args
);
25366 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25367 PyObject
*resultobj
= 0;
25368 wxGraphicsBrush
*result
= 0 ;
25370 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25372 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25382 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25383 PyObject
*resultobj
= 0;
25384 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25387 PyObject
*swig_obj
[1] ;
25389 if (!args
) SWIG_fail
;
25390 swig_obj
[0] = args
;
25391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25392 if (!SWIG_IsOK(res1
)) {
25393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25395 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25401 resultobj
= SWIG_Py_Void();
25408 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25410 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25411 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25412 return SWIG_Py_Void();
25415 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25416 return SWIG_Python_InitShadowInstance(args
);
25419 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25420 PyObject
*resultobj
= 0;
25421 wxGraphicsFont
*result
= 0 ;
25423 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25425 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25426 if (PyErr_Occurred()) SWIG_fail
;
25428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25435 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25436 PyObject
*resultobj
= 0;
25437 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25440 PyObject
*swig_obj
[1] ;
25442 if (!args
) SWIG_fail
;
25443 swig_obj
[0] = args
;
25444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25445 if (!SWIG_IsOK(res1
)) {
25446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25448 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25452 if (PyErr_Occurred()) SWIG_fail
;
25454 resultobj
= SWIG_Py_Void();
25461 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25464 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25465 return SWIG_Py_Void();
25468 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25469 return SWIG_Python_InitShadowInstance(args
);
25472 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25473 PyObject
*resultobj
= 0;
25474 wxGraphicsMatrix
*result
= 0 ;
25476 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25478 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25479 if (PyErr_Occurred()) SWIG_fail
;
25481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25488 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25489 PyObject
*resultobj
= 0;
25490 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25493 PyObject
*swig_obj
[1] ;
25495 if (!args
) SWIG_fail
;
25496 swig_obj
[0] = args
;
25497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25498 if (!SWIG_IsOK(res1
)) {
25499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25501 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 resultobj
= SWIG_Py_Void();
25514 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
= 0;
25516 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25517 wxGraphicsMatrix
*arg2
= 0 ;
25522 PyObject
* obj0
= 0 ;
25523 PyObject
* obj1
= 0 ;
25524 char * kwnames
[] = {
25525 (char *) "self",(char *) "t", NULL
25528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25530 if (!SWIG_IsOK(res1
)) {
25531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25533 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25534 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25535 if (!SWIG_IsOK(res2
)) {
25536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25541 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25543 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25546 resultobj
= SWIG_Py_Void();
25553 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25554 PyObject
*resultobj
= 0;
25555 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25556 wxDouble arg2
= (wxDouble
) 1.0 ;
25557 wxDouble arg3
= (wxDouble
) 0.0 ;
25558 wxDouble arg4
= (wxDouble
) 0.0 ;
25559 wxDouble arg5
= (wxDouble
) 1.0 ;
25560 wxDouble arg6
= (wxDouble
) 0.0 ;
25561 wxDouble arg7
= (wxDouble
) 0.0 ;
25576 PyObject
* obj0
= 0 ;
25577 PyObject
* obj1
= 0 ;
25578 PyObject
* obj2
= 0 ;
25579 PyObject
* obj3
= 0 ;
25580 PyObject
* obj4
= 0 ;
25581 PyObject
* obj5
= 0 ;
25582 PyObject
* obj6
= 0 ;
25583 char * kwnames
[] = {
25584 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25589 if (!SWIG_IsOK(res1
)) {
25590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25592 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25594 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25595 if (!SWIG_IsOK(ecode2
)) {
25596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25598 arg2
= static_cast< wxDouble
>(val2
);
25601 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25602 if (!SWIG_IsOK(ecode3
)) {
25603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25605 arg3
= static_cast< wxDouble
>(val3
);
25608 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25609 if (!SWIG_IsOK(ecode4
)) {
25610 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25612 arg4
= static_cast< wxDouble
>(val4
);
25615 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25616 if (!SWIG_IsOK(ecode5
)) {
25617 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25619 arg5
= static_cast< wxDouble
>(val5
);
25622 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25623 if (!SWIG_IsOK(ecode6
)) {
25624 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25626 arg6
= static_cast< wxDouble
>(val6
);
25629 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25630 if (!SWIG_IsOK(ecode7
)) {
25631 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25633 arg7
= static_cast< wxDouble
>(val7
);
25636 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25639 resultobj
= SWIG_Py_Void();
25646 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25647 PyObject
*resultobj
= 0;
25648 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25651 PyObject
*swig_obj
[1] ;
25653 if (!args
) SWIG_fail
;
25654 swig_obj
[0] = args
;
25655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25656 if (!SWIG_IsOK(res1
)) {
25657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25659 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25664 resultobj
= SWIG_Py_Void();
25671 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
= 0;
25673 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25674 wxGraphicsMatrix
*arg2
= 0 ;
25680 PyObject
* obj0
= 0 ;
25681 PyObject
* obj1
= 0 ;
25682 char * kwnames
[] = {
25683 (char *) "self",(char *) "t", NULL
25686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25688 if (!SWIG_IsOK(res1
)) {
25689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25691 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25692 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25693 if (!SWIG_IsOK(res2
)) {
25694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25699 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25701 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
25702 if (PyErr_Occurred()) SWIG_fail
;
25705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25713 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25714 PyObject
*resultobj
= 0;
25715 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25719 PyObject
*swig_obj
[1] ;
25721 if (!args
) SWIG_fail
;
25722 swig_obj
[0] = args
;
25723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25724 if (!SWIG_IsOK(res1
)) {
25725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25727 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25729 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
25730 if (PyErr_Occurred()) SWIG_fail
;
25733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25741 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25742 PyObject
*resultobj
= 0;
25743 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25752 PyObject
* obj0
= 0 ;
25753 PyObject
* obj1
= 0 ;
25754 PyObject
* obj2
= 0 ;
25755 char * kwnames
[] = {
25756 (char *) "self",(char *) "dx",(char *) "dy", NULL
25759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25761 if (!SWIG_IsOK(res1
)) {
25762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25764 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25765 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25766 if (!SWIG_IsOK(ecode2
)) {
25767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25769 arg2
= static_cast< wxDouble
>(val2
);
25770 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25771 if (!SWIG_IsOK(ecode3
)) {
25772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25774 arg3
= static_cast< wxDouble
>(val3
);
25776 (arg1
)->Translate(arg2
,arg3
);
25777 if (PyErr_Occurred()) SWIG_fail
;
25779 resultobj
= SWIG_Py_Void();
25786 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25787 PyObject
*resultobj
= 0;
25788 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25797 PyObject
* obj0
= 0 ;
25798 PyObject
* obj1
= 0 ;
25799 PyObject
* obj2
= 0 ;
25800 char * kwnames
[] = {
25801 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25806 if (!SWIG_IsOK(res1
)) {
25807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25809 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25810 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25811 if (!SWIG_IsOK(ecode2
)) {
25812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25814 arg2
= static_cast< wxDouble
>(val2
);
25815 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25816 if (!SWIG_IsOK(ecode3
)) {
25817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25819 arg3
= static_cast< wxDouble
>(val3
);
25821 (arg1
)->Scale(arg2
,arg3
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25824 resultobj
= SWIG_Py_Void();
25831 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25832 PyObject
*resultobj
= 0;
25833 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25839 PyObject
* obj0
= 0 ;
25840 PyObject
* obj1
= 0 ;
25841 char * kwnames
[] = {
25842 (char *) "self",(char *) "angle", NULL
25845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25847 if (!SWIG_IsOK(res1
)) {
25848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25850 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25851 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25852 if (!SWIG_IsOK(ecode2
)) {
25853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25855 arg2
= static_cast< wxDouble
>(val2
);
25857 (arg1
)->Rotate(arg2
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25860 resultobj
= SWIG_Py_Void();
25867 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25868 PyObject
*resultobj
= 0;
25869 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25870 wxDouble
*arg2
= (wxDouble
*) 0 ;
25871 wxDouble
*arg3
= (wxDouble
*) 0 ;
25878 PyObject
* obj0
= 0 ;
25879 PyObject
* obj1
= 0 ;
25880 PyObject
* obj2
= 0 ;
25881 char * kwnames
[] = {
25882 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25887 if (!SWIG_IsOK(res1
)) {
25888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25890 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25891 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25893 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25894 if (!SWIG_IsOK(ecode
)) {
25895 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25897 temp2
= static_cast< wxDouble
>(val
);
25899 res2
= SWIG_AddTmpMask(ecode
);
25901 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25903 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25904 if (!SWIG_IsOK(ecode
)) {
25905 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25907 temp3
= static_cast< wxDouble
>(val
);
25909 res3
= SWIG_AddTmpMask(ecode
);
25912 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
25913 if (PyErr_Occurred()) SWIG_fail
;
25915 resultobj
= SWIG_Py_Void();
25916 if (SWIG_IsTmpObj(res2
)) {
25917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25919 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25922 if (SWIG_IsTmpObj(res3
)) {
25923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25925 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25934 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25935 PyObject
*resultobj
= 0;
25936 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25937 wxDouble
*arg2
= (wxDouble
*) 0 ;
25938 wxDouble
*arg3
= (wxDouble
*) 0 ;
25945 PyObject
* obj0
= 0 ;
25946 PyObject
* obj1
= 0 ;
25947 PyObject
* obj2
= 0 ;
25948 char * kwnames
[] = {
25949 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
25952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25954 if (!SWIG_IsOK(res1
)) {
25955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25957 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25958 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
25960 int ecode
= SWIG_AsVal_double(obj1
, &val
);
25961 if (!SWIG_IsOK(ecode
)) {
25962 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
25964 temp2
= static_cast< wxDouble
>(val
);
25966 res2
= SWIG_AddTmpMask(ecode
);
25968 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
25970 int ecode
= SWIG_AsVal_double(obj2
, &val
);
25971 if (!SWIG_IsOK(ecode
)) {
25972 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
25974 temp3
= static_cast< wxDouble
>(val
);
25976 res3
= SWIG_AddTmpMask(ecode
);
25979 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25982 resultobj
= SWIG_Py_Void();
25983 if (SWIG_IsTmpObj(res2
)) {
25984 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25986 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25987 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25989 if (SWIG_IsTmpObj(res3
)) {
25990 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25992 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25993 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26001 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26002 PyObject
*resultobj
= 0;
26003 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26007 PyObject
*swig_obj
[1] ;
26009 if (!args
) SWIG_fail
;
26010 swig_obj
[0] = args
;
26011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26012 if (!SWIG_IsOK(res1
)) {
26013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26015 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26017 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26018 if (PyErr_Occurred()) SWIG_fail
;
26020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26027 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26030 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26031 return SWIG_Py_Void();
26034 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26035 return SWIG_Python_InitShadowInstance(args
);
26038 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26039 PyObject
*resultobj
= 0;
26040 wxGraphicsPath
*result
= 0 ;
26042 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26044 if (!wxPyCheckForApp()) SWIG_fail
;
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26057 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26058 PyObject
*resultobj
= 0;
26059 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26062 PyObject
*swig_obj
[1] ;
26064 if (!args
) SWIG_fail
;
26065 swig_obj
[0] = args
;
26066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26067 if (!SWIG_IsOK(res1
)) {
26068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26070 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26074 if (PyErr_Occurred()) SWIG_fail
;
26076 resultobj
= SWIG_Py_Void();
26083 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26084 PyObject
*resultobj
= 0;
26085 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26095 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26097 if (!SWIG_IsOK(res1
)) {
26098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26100 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26101 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26102 if (!SWIG_IsOK(ecode2
)) {
26103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26105 arg2
= static_cast< wxDouble
>(val2
);
26106 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26107 if (!SWIG_IsOK(ecode3
)) {
26108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26110 arg3
= static_cast< wxDouble
>(val3
);
26112 (arg1
)->MoveToPoint(arg2
,arg3
);
26113 if (PyErr_Occurred()) SWIG_fail
;
26115 resultobj
= SWIG_Py_Void();
26122 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26123 PyObject
*resultobj
= 0;
26124 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26125 wxPoint2D
*arg2
= 0 ;
26130 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26132 if (!SWIG_IsOK(res1
)) {
26133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26135 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26138 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26141 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26144 resultobj
= SWIG_Py_Void();
26151 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26155 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26158 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26161 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26165 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26170 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26171 PyObject
*resultobj
= 0;
26172 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26182 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26184 if (!SWIG_IsOK(res1
)) {
26185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26187 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26188 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26189 if (!SWIG_IsOK(ecode2
)) {
26190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26192 arg2
= static_cast< wxDouble
>(val2
);
26193 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26194 if (!SWIG_IsOK(ecode3
)) {
26195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26197 arg3
= static_cast< wxDouble
>(val3
);
26199 (arg1
)->AddLineToPoint(arg2
,arg3
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26202 resultobj
= SWIG_Py_Void();
26209 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26210 PyObject
*resultobj
= 0;
26211 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26212 wxPoint2D
*arg2
= 0 ;
26217 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26219 if (!SWIG_IsOK(res1
)) {
26220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26222 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26225 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26228 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26231 resultobj
= SWIG_Py_Void();
26238 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26242 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26245 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26248 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26252 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26257 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26258 PyObject
*resultobj
= 0;
26259 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26281 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26283 if (!SWIG_IsOK(res1
)) {
26284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26286 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26287 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26288 if (!SWIG_IsOK(ecode2
)) {
26289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26291 arg2
= static_cast< wxDouble
>(val2
);
26292 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26293 if (!SWIG_IsOK(ecode3
)) {
26294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26296 arg3
= static_cast< wxDouble
>(val3
);
26297 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26298 if (!SWIG_IsOK(ecode4
)) {
26299 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26301 arg4
= static_cast< wxDouble
>(val4
);
26302 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26303 if (!SWIG_IsOK(ecode5
)) {
26304 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26306 arg5
= static_cast< wxDouble
>(val5
);
26307 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26308 if (!SWIG_IsOK(ecode6
)) {
26309 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26311 arg6
= static_cast< wxDouble
>(val6
);
26312 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26313 if (!SWIG_IsOK(ecode7
)) {
26314 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26316 arg7
= static_cast< wxDouble
>(val7
);
26318 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26321 resultobj
= SWIG_Py_Void();
26328 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26329 PyObject
*resultobj
= 0;
26330 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26331 wxPoint2D
*arg2
= 0 ;
26332 wxPoint2D
*arg3
= 0 ;
26333 wxPoint2D
*arg4
= 0 ;
26340 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26342 if (!SWIG_IsOK(res1
)) {
26343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26345 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26348 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26352 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26356 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26359 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26362 resultobj
= SWIG_Py_Void();
26369 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26373 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26376 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26379 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26383 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26388 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26389 PyObject
*resultobj
= 0;
26390 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26391 wxGraphicsPath
*arg2
= 0 ;
26396 PyObject
* obj0
= 0 ;
26397 PyObject
* obj1
= 0 ;
26398 char * kwnames
[] = {
26399 (char *) "self",(char *) "path", NULL
26402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26404 if (!SWIG_IsOK(res1
)) {
26405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26407 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26408 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26409 if (!SWIG_IsOK(res2
)) {
26410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26415 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26417 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26418 if (PyErr_Occurred()) SWIG_fail
;
26420 resultobj
= SWIG_Py_Void();
26427 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26428 PyObject
*resultobj
= 0;
26429 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26432 PyObject
*swig_obj
[1] ;
26434 if (!args
) SWIG_fail
;
26435 swig_obj
[0] = args
;
26436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26437 if (!SWIG_IsOK(res1
)) {
26438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26440 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26442 (arg1
)->CloseSubpath();
26443 if (PyErr_Occurred()) SWIG_fail
;
26445 resultobj
= SWIG_Py_Void();
26452 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26453 PyObject
*resultobj
= 0;
26454 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26458 PyObject
*swig_obj
[1] ;
26460 if (!args
) SWIG_fail
;
26461 swig_obj
[0] = args
;
26462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26463 if (!SWIG_IsOK(res1
)) {
26464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26466 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26468 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26469 if (PyErr_Occurred()) SWIG_fail
;
26471 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26478 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26479 PyObject
*resultobj
= 0;
26480 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26502 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26504 if (!SWIG_IsOK(res1
)) {
26505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26507 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26508 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26509 if (!SWIG_IsOK(ecode2
)) {
26510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26512 arg2
= static_cast< wxDouble
>(val2
);
26513 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26514 if (!SWIG_IsOK(ecode3
)) {
26515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26517 arg3
= static_cast< wxDouble
>(val3
);
26518 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26519 if (!SWIG_IsOK(ecode4
)) {
26520 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26522 arg4
= static_cast< wxDouble
>(val4
);
26523 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26524 if (!SWIG_IsOK(ecode5
)) {
26525 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26527 arg5
= static_cast< wxDouble
>(val5
);
26528 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26529 if (!SWIG_IsOK(ecode6
)) {
26530 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26532 arg6
= static_cast< wxDouble
>(val6
);
26533 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26534 if (!SWIG_IsOK(ecode7
)) {
26535 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26537 arg7
= static_cast< bool >(val7
);
26539 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26542 resultobj
= SWIG_Py_Void();
26549 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26550 PyObject
*resultobj
= 0;
26551 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26552 wxPoint2D
*arg2
= 0 ;
26569 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26571 if (!SWIG_IsOK(res1
)) {
26572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26574 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26577 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26579 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26580 if (!SWIG_IsOK(ecode3
)) {
26581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26583 arg3
= static_cast< wxDouble
>(val3
);
26584 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26585 if (!SWIG_IsOK(ecode4
)) {
26586 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26588 arg4
= static_cast< wxDouble
>(val4
);
26589 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26590 if (!SWIG_IsOK(ecode5
)) {
26591 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26593 arg5
= static_cast< wxDouble
>(val5
);
26594 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26595 if (!SWIG_IsOK(ecode6
)) {
26596 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26598 arg6
= static_cast< bool >(val6
);
26600 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 resultobj
= SWIG_Py_Void();
26610 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26614 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26617 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26620 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26624 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26629 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26630 PyObject
*resultobj
= 0;
26631 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26646 PyObject
* obj0
= 0 ;
26647 PyObject
* obj1
= 0 ;
26648 PyObject
* obj2
= 0 ;
26649 PyObject
* obj3
= 0 ;
26650 PyObject
* obj4
= 0 ;
26651 char * kwnames
[] = {
26652 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26657 if (!SWIG_IsOK(res1
)) {
26658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26660 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26661 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26662 if (!SWIG_IsOK(ecode2
)) {
26663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26665 arg2
= static_cast< wxDouble
>(val2
);
26666 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26667 if (!SWIG_IsOK(ecode3
)) {
26668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26670 arg3
= static_cast< wxDouble
>(val3
);
26671 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26672 if (!SWIG_IsOK(ecode4
)) {
26673 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26675 arg4
= static_cast< wxDouble
>(val4
);
26676 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26677 if (!SWIG_IsOK(ecode5
)) {
26678 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26680 arg5
= static_cast< wxDouble
>(val5
);
26682 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26683 if (PyErr_Occurred()) SWIG_fail
;
26685 resultobj
= SWIG_Py_Void();
26692 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26693 PyObject
*resultobj
= 0;
26694 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26709 PyObject
* obj0
= 0 ;
26710 PyObject
* obj1
= 0 ;
26711 PyObject
* obj2
= 0 ;
26712 PyObject
* obj3
= 0 ;
26713 PyObject
* obj4
= 0 ;
26714 char * kwnames
[] = {
26715 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26720 if (!SWIG_IsOK(res1
)) {
26721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26723 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26724 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26725 if (!SWIG_IsOK(ecode2
)) {
26726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26728 arg2
= static_cast< wxDouble
>(val2
);
26729 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26730 if (!SWIG_IsOK(ecode3
)) {
26731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26733 arg3
= static_cast< wxDouble
>(val3
);
26734 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26735 if (!SWIG_IsOK(ecode4
)) {
26736 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26738 arg4
= static_cast< wxDouble
>(val4
);
26739 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26740 if (!SWIG_IsOK(ecode5
)) {
26741 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26743 arg5
= static_cast< wxDouble
>(val5
);
26745 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26748 resultobj
= SWIG_Py_Void();
26755 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
= 0;
26757 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26769 PyObject
* obj0
= 0 ;
26770 PyObject
* obj1
= 0 ;
26771 PyObject
* obj2
= 0 ;
26772 PyObject
* obj3
= 0 ;
26773 char * kwnames
[] = {
26774 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26779 if (!SWIG_IsOK(res1
)) {
26780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26782 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26783 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26784 if (!SWIG_IsOK(ecode2
)) {
26785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26787 arg2
= static_cast< wxDouble
>(val2
);
26788 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26789 if (!SWIG_IsOK(ecode3
)) {
26790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26792 arg3
= static_cast< wxDouble
>(val3
);
26793 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26794 if (!SWIG_IsOK(ecode4
)) {
26795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26797 arg4
= static_cast< wxDouble
>(val4
);
26799 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26800 if (PyErr_Occurred()) SWIG_fail
;
26802 resultobj
= SWIG_Py_Void();
26809 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26810 PyObject
*resultobj
= 0;
26811 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26829 PyObject
* obj0
= 0 ;
26830 PyObject
* obj1
= 0 ;
26831 PyObject
* obj2
= 0 ;
26832 PyObject
* obj3
= 0 ;
26833 PyObject
* obj4
= 0 ;
26834 PyObject
* obj5
= 0 ;
26835 char * kwnames
[] = {
26836 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
26839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26841 if (!SWIG_IsOK(res1
)) {
26842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26844 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26845 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26846 if (!SWIG_IsOK(ecode2
)) {
26847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26849 arg2
= static_cast< wxDouble
>(val2
);
26850 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26851 if (!SWIG_IsOK(ecode3
)) {
26852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26854 arg3
= static_cast< wxDouble
>(val3
);
26855 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26856 if (!SWIG_IsOK(ecode4
)) {
26857 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26859 arg4
= static_cast< wxDouble
>(val4
);
26860 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26861 if (!SWIG_IsOK(ecode5
)) {
26862 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26864 arg5
= static_cast< wxDouble
>(val5
);
26865 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26866 if (!SWIG_IsOK(ecode6
)) {
26867 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26869 arg6
= static_cast< wxDouble
>(val6
);
26871 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
26872 if (PyErr_Occurred()) SWIG_fail
;
26874 resultobj
= SWIG_Py_Void();
26881 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26882 PyObject
*resultobj
= 0;
26883 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26898 PyObject
* obj0
= 0 ;
26899 PyObject
* obj1
= 0 ;
26900 PyObject
* obj2
= 0 ;
26901 PyObject
* obj3
= 0 ;
26902 PyObject
* obj4
= 0 ;
26903 char * kwnames
[] = {
26904 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26909 if (!SWIG_IsOK(res1
)) {
26910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26912 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26913 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26914 if (!SWIG_IsOK(ecode2
)) {
26915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26917 arg2
= static_cast< wxDouble
>(val2
);
26918 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26919 if (!SWIG_IsOK(ecode3
)) {
26920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26922 arg3
= static_cast< wxDouble
>(val3
);
26923 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26924 if (!SWIG_IsOK(ecode4
)) {
26925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26927 arg4
= static_cast< wxDouble
>(val4
);
26928 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26929 if (!SWIG_IsOK(ecode5
)) {
26930 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26932 arg5
= static_cast< wxDouble
>(val5
);
26934 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26937 resultobj
= SWIG_Py_Void();
26944 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26945 PyObject
*resultobj
= 0;
26946 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26964 PyObject
* obj0
= 0 ;
26965 PyObject
* obj1
= 0 ;
26966 PyObject
* obj2
= 0 ;
26967 PyObject
* obj3
= 0 ;
26968 PyObject
* obj4
= 0 ;
26969 PyObject
* obj5
= 0 ;
26970 char * kwnames
[] = {
26971 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26976 if (!SWIG_IsOK(res1
)) {
26977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26979 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26980 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26981 if (!SWIG_IsOK(ecode2
)) {
26982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26984 arg2
= static_cast< wxDouble
>(val2
);
26985 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26986 if (!SWIG_IsOK(ecode3
)) {
26987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26989 arg3
= static_cast< wxDouble
>(val3
);
26990 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26991 if (!SWIG_IsOK(ecode4
)) {
26992 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26994 arg4
= static_cast< wxDouble
>(val4
);
26995 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26996 if (!SWIG_IsOK(ecode5
)) {
26997 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26999 arg5
= static_cast< wxDouble
>(val5
);
27000 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27001 if (!SWIG_IsOK(ecode6
)) {
27002 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27004 arg6
= static_cast< wxDouble
>(val6
);
27006 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27007 if (PyErr_Occurred()) SWIG_fail
;
27009 resultobj
= SWIG_Py_Void();
27016 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27017 PyObject
*resultobj
= 0;
27018 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27022 PyObject
*swig_obj
[1] ;
27024 if (!args
) SWIG_fail
;
27025 swig_obj
[0] = args
;
27026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27027 if (!SWIG_IsOK(res1
)) {
27028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27030 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27032 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27033 if (PyErr_Occurred()) SWIG_fail
;
27035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27042 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27043 PyObject
*resultobj
= 0;
27044 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27045 void *arg2
= (void *) 0 ;
27049 PyObject
* obj0
= 0 ;
27050 PyObject
* obj1
= 0 ;
27051 char * kwnames
[] = {
27052 (char *) "self",(char *) "p", NULL
27055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27057 if (!SWIG_IsOK(res1
)) {
27058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27060 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27061 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27062 if (!SWIG_IsOK(res2
)) {
27063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27066 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27067 if (PyErr_Occurred()) SWIG_fail
;
27069 resultobj
= SWIG_Py_Void();
27076 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27077 PyObject
*resultobj
= 0;
27078 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27079 wxGraphicsMatrix
*arg2
= 0 ;
27084 PyObject
* obj0
= 0 ;
27085 PyObject
* obj1
= 0 ;
27086 char * kwnames
[] = {
27087 (char *) "self",(char *) "matrix", NULL
27090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27092 if (!SWIG_IsOK(res1
)) {
27093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27095 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27096 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27097 if (!SWIG_IsOK(res2
)) {
27098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27103 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27105 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27108 resultobj
= SWIG_Py_Void();
27115 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27116 PyObject
*resultobj
= 0;
27117 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27118 wxRect2DDouble result
;
27121 PyObject
*swig_obj
[1] ;
27123 if (!args
) SWIG_fail
;
27124 swig_obj
[0] = args
;
27125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27126 if (!SWIG_IsOK(res1
)) {
27127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27129 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27131 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27132 if (PyErr_Occurred()) SWIG_fail
;
27134 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27141 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27142 PyObject
*resultobj
= 0;
27143 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27146 int arg4
= (int) wxODDEVEN_RULE
;
27157 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27159 if (!SWIG_IsOK(res1
)) {
27160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27162 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27163 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27164 if (!SWIG_IsOK(ecode2
)) {
27165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27167 arg2
= static_cast< wxDouble
>(val2
);
27168 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27169 if (!SWIG_IsOK(ecode3
)) {
27170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27172 arg3
= static_cast< wxDouble
>(val3
);
27174 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27175 if (!SWIG_IsOK(ecode4
)) {
27176 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27178 arg4
= static_cast< int >(val4
);
27181 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27182 if (PyErr_Occurred()) SWIG_fail
;
27185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27193 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27194 PyObject
*resultobj
= 0;
27195 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27196 wxPoint2DDouble
*arg2
= 0 ;
27197 int arg3
= (int) wxODDEVEN_RULE
;
27206 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27208 if (!SWIG_IsOK(res1
)) {
27209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27211 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27212 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27213 if (!SWIG_IsOK(res2
)) {
27214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27219 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27221 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27222 if (!SWIG_IsOK(ecode3
)) {
27223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27225 arg3
= static_cast< int >(val3
);
27228 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27229 if (PyErr_Occurred()) SWIG_fail
;
27232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27240 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27244 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27246 if ((argc
>= 2) && (argc
<= 3)) {
27249 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27250 _v
= SWIG_CheckState(res
);
27252 if (!_v
) goto check_1
;
27256 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27257 _v
= SWIG_CheckState(res
);
27260 if (!_v
) goto check_1
;
27262 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27266 if ((argc
>= 3) && (argc
<= 4)) {
27267 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27271 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27276 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27279 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27280 return SWIG_Py_Void();
27283 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27284 return SWIG_Python_InitShadowInstance(args
);
27287 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27288 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27293 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27294 PyObject
*pyobj
= 0;
27296 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27301 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27302 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27307 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27308 PyObject
*pyobj
= 0;
27310 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27315 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27316 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27321 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27322 PyObject
*pyobj
= 0;
27324 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27329 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27330 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27335 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27336 PyObject
*pyobj
= 0;
27338 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27343 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27344 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27349 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27350 PyObject
*pyobj
= 0;
27352 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27357 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27358 PyObject
*resultobj
= 0;
27359 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27362 PyObject
*swig_obj
[1] ;
27364 if (!args
) SWIG_fail
;
27365 swig_obj
[0] = args
;
27366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27367 if (!SWIG_IsOK(res1
)) {
27368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27370 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27376 resultobj
= SWIG_Py_Void();
27383 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27384 PyObject
*resultobj
= 0;
27385 wxWindowDC
*arg1
= 0 ;
27386 wxGraphicsContext
*result
= 0 ;
27390 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27392 if (!SWIG_IsOK(res1
)) {
27393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27398 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27400 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27401 if (PyErr_Occurred()) SWIG_fail
;
27403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27410 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27411 PyObject
*resultobj
= 0;
27412 wxWindow
*arg1
= (wxWindow
*) 0 ;
27413 wxGraphicsContext
*result
= 0 ;
27417 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27419 if (!SWIG_IsOK(res1
)) {
27420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27422 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27424 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27434 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27438 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27443 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27444 _v
= SWIG_CheckState(res
);
27446 if (!_v
) goto check_1
;
27447 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27452 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27456 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27461 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27462 PyObject
*resultobj
= 0;
27463 wxGraphicsContext
*result
= 0 ;
27465 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27467 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27468 if (PyErr_Occurred()) SWIG_fail
;
27470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27477 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27478 PyObject
*resultobj
= 0;
27479 void *arg1
= (void *) 0 ;
27480 wxGraphicsContext
*result
= 0 ;
27482 PyObject
* obj0
= 0 ;
27483 char * kwnames
[] = {
27484 (char *) "context", NULL
27487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27488 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27489 if (!SWIG_IsOK(res1
)) {
27490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27493 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27494 if (PyErr_Occurred()) SWIG_fail
;
27496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27503 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27504 PyObject
*resultobj
= 0;
27505 void *arg1
= (void *) 0 ;
27506 wxGraphicsContext
*result
= 0 ;
27508 PyObject
* obj0
= 0 ;
27509 char * kwnames
[] = {
27510 (char *) "window", NULL
27513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27514 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27515 if (!SWIG_IsOK(res1
)) {
27516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27519 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27529 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27530 PyObject
*resultobj
= 0;
27531 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27532 wxGraphicsPath result
;
27535 PyObject
*swig_obj
[1] ;
27537 if (!args
) SWIG_fail
;
27538 swig_obj
[0] = args
;
27539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27540 if (!SWIG_IsOK(res1
)) {
27541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27543 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27545 result
= (arg1
)->CreatePath();
27546 if (PyErr_Occurred()) SWIG_fail
;
27548 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27555 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27556 PyObject
*resultobj
= 0;
27557 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27559 wxGraphicsPen result
;
27564 PyObject
* obj0
= 0 ;
27565 PyObject
* obj1
= 0 ;
27566 char * kwnames
[] = {
27567 (char *) "self",(char *) "pen", NULL
27570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27572 if (!SWIG_IsOK(res1
)) {
27573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27575 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27576 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27577 if (!SWIG_IsOK(res2
)) {
27578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27583 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27585 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27586 if (PyErr_Occurred()) SWIG_fail
;
27588 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27595 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27596 PyObject
*resultobj
= 0;
27597 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27598 wxBrush
*arg2
= 0 ;
27599 wxGraphicsBrush result
;
27604 PyObject
* obj0
= 0 ;
27605 PyObject
* obj1
= 0 ;
27606 char * kwnames
[] = {
27607 (char *) "self",(char *) "brush", NULL
27610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27612 if (!SWIG_IsOK(res1
)) {
27613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27615 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27616 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27617 if (!SWIG_IsOK(res2
)) {
27618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27623 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27625 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27626 if (PyErr_Occurred()) SWIG_fail
;
27628 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27635 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27636 PyObject
*resultobj
= 0;
27637 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27642 wxColour
*arg6
= 0 ;
27643 wxColour
*arg7
= 0 ;
27644 wxGraphicsBrush result
;
27657 PyObject
* obj0
= 0 ;
27658 PyObject
* obj1
= 0 ;
27659 PyObject
* obj2
= 0 ;
27660 PyObject
* obj3
= 0 ;
27661 PyObject
* obj4
= 0 ;
27662 PyObject
* obj5
= 0 ;
27663 PyObject
* obj6
= 0 ;
27664 char * kwnames
[] = {
27665 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27670 if (!SWIG_IsOK(res1
)) {
27671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27673 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27674 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27675 if (!SWIG_IsOK(ecode2
)) {
27676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27678 arg2
= static_cast< wxDouble
>(val2
);
27679 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27680 if (!SWIG_IsOK(ecode3
)) {
27681 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27683 arg3
= static_cast< wxDouble
>(val3
);
27684 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27685 if (!SWIG_IsOK(ecode4
)) {
27686 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27688 arg4
= static_cast< wxDouble
>(val4
);
27689 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27690 if (!SWIG_IsOK(ecode5
)) {
27691 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27693 arg5
= static_cast< wxDouble
>(val5
);
27696 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27700 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27703 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
27704 if (PyErr_Occurred()) SWIG_fail
;
27706 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27713 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27714 PyObject
*resultobj
= 0;
27715 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27721 wxColour
*arg7
= 0 ;
27722 wxColour
*arg8
= 0 ;
27723 wxGraphicsBrush result
;
27738 PyObject
* obj0
= 0 ;
27739 PyObject
* obj1
= 0 ;
27740 PyObject
* obj2
= 0 ;
27741 PyObject
* obj3
= 0 ;
27742 PyObject
* obj4
= 0 ;
27743 PyObject
* obj5
= 0 ;
27744 PyObject
* obj6
= 0 ;
27745 PyObject
* obj7
= 0 ;
27746 char * kwnames
[] = {
27747 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
27750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
27751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27752 if (!SWIG_IsOK(res1
)) {
27753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27755 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27756 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27757 if (!SWIG_IsOK(ecode2
)) {
27758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27760 arg2
= static_cast< wxDouble
>(val2
);
27761 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27762 if (!SWIG_IsOK(ecode3
)) {
27763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27765 arg3
= static_cast< wxDouble
>(val3
);
27766 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27767 if (!SWIG_IsOK(ecode4
)) {
27768 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27770 arg4
= static_cast< wxDouble
>(val4
);
27771 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27772 if (!SWIG_IsOK(ecode5
)) {
27773 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27775 arg5
= static_cast< wxDouble
>(val5
);
27776 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27777 if (!SWIG_IsOK(ecode6
)) {
27778 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
27780 arg6
= static_cast< wxDouble
>(val6
);
27783 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
27787 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
27790 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27793 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27800 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27801 PyObject
*resultobj
= 0;
27802 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27804 wxColour
const &arg3_defvalue
= *wxBLACK
;
27805 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
27806 wxGraphicsFont result
;
27812 PyObject
* obj0
= 0 ;
27813 PyObject
* obj1
= 0 ;
27814 PyObject
* obj2
= 0 ;
27815 char * kwnames
[] = {
27816 (char *) "self",(char *) "font",(char *) "col", NULL
27819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27821 if (!SWIG_IsOK(res1
)) {
27822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27824 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27825 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27826 if (!SWIG_IsOK(res2
)) {
27827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27832 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27836 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27840 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
27841 if (PyErr_Occurred()) SWIG_fail
;
27843 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
27850 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27851 PyObject
*resultobj
= 0;
27852 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27853 wxDouble arg2
= (wxDouble
) 1.0 ;
27854 wxDouble arg3
= (wxDouble
) 0.0 ;
27855 wxDouble arg4
= (wxDouble
) 0.0 ;
27856 wxDouble arg5
= (wxDouble
) 1.0 ;
27857 wxDouble arg6
= (wxDouble
) 0.0 ;
27858 wxDouble arg7
= (wxDouble
) 0.0 ;
27859 wxGraphicsMatrix result
;
27874 PyObject
* obj0
= 0 ;
27875 PyObject
* obj1
= 0 ;
27876 PyObject
* obj2
= 0 ;
27877 PyObject
* obj3
= 0 ;
27878 PyObject
* obj4
= 0 ;
27879 PyObject
* obj5
= 0 ;
27880 PyObject
* obj6
= 0 ;
27881 char * kwnames
[] = {
27882 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
27885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27887 if (!SWIG_IsOK(res1
)) {
27888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27890 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27892 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27893 if (!SWIG_IsOK(ecode2
)) {
27894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
27896 arg2
= static_cast< wxDouble
>(val2
);
27899 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27900 if (!SWIG_IsOK(ecode3
)) {
27901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
27903 arg3
= static_cast< wxDouble
>(val3
);
27906 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27907 if (!SWIG_IsOK(ecode4
)) {
27908 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
27910 arg4
= static_cast< wxDouble
>(val4
);
27913 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27914 if (!SWIG_IsOK(ecode5
)) {
27915 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
27917 arg5
= static_cast< wxDouble
>(val5
);
27920 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27921 if (!SWIG_IsOK(ecode6
)) {
27922 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
27924 arg6
= static_cast< wxDouble
>(val6
);
27927 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
27928 if (!SWIG_IsOK(ecode7
)) {
27929 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
27931 arg7
= static_cast< wxDouble
>(val7
);
27934 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27935 if (PyErr_Occurred()) SWIG_fail
;
27937 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
27944 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27945 PyObject
*resultobj
= 0;
27946 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27949 PyObject
*swig_obj
[1] ;
27951 if (!args
) SWIG_fail
;
27952 swig_obj
[0] = args
;
27953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27954 if (!SWIG_IsOK(res1
)) {
27955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27957 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27959 (arg1
)->PushState();
27960 if (PyErr_Occurred()) SWIG_fail
;
27962 resultobj
= SWIG_Py_Void();
27969 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27970 PyObject
*resultobj
= 0;
27971 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27974 PyObject
*swig_obj
[1] ;
27976 if (!args
) SWIG_fail
;
27977 swig_obj
[0] = args
;
27978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27979 if (!SWIG_IsOK(res1
)) {
27980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27982 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27984 (arg1
)->PopState();
27985 if (PyErr_Occurred()) SWIG_fail
;
27987 resultobj
= SWIG_Py_Void();
27994 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27995 PyObject
*resultobj
= 0;
27996 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27997 wxRegion
*arg2
= 0 ;
28002 PyObject
* obj0
= 0 ;
28003 PyObject
* obj1
= 0 ;
28004 char * kwnames
[] = {
28005 (char *) "self",(char *) "region", NULL
28008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28010 if (!SWIG_IsOK(res1
)) {
28011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28013 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28014 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28015 if (!SWIG_IsOK(res2
)) {
28016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28021 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28023 (arg1
)->Clip((wxRegion
const &)*arg2
);
28024 if (PyErr_Occurred()) SWIG_fail
;
28026 resultobj
= SWIG_Py_Void();
28033 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28034 PyObject
*resultobj
= 0;
28035 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28050 PyObject
* obj0
= 0 ;
28051 PyObject
* obj1
= 0 ;
28052 PyObject
* obj2
= 0 ;
28053 PyObject
* obj3
= 0 ;
28054 PyObject
* obj4
= 0 ;
28055 char * kwnames
[] = {
28056 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28061 if (!SWIG_IsOK(res1
)) {
28062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28064 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28065 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28066 if (!SWIG_IsOK(ecode2
)) {
28067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28069 arg2
= static_cast< wxDouble
>(val2
);
28070 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28071 if (!SWIG_IsOK(ecode3
)) {
28072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28074 arg3
= static_cast< wxDouble
>(val3
);
28075 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28076 if (!SWIG_IsOK(ecode4
)) {
28077 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28079 arg4
= static_cast< wxDouble
>(val4
);
28080 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28081 if (!SWIG_IsOK(ecode5
)) {
28082 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28084 arg5
= static_cast< wxDouble
>(val5
);
28086 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28087 if (PyErr_Occurred()) SWIG_fail
;
28089 resultobj
= SWIG_Py_Void();
28096 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28097 PyObject
*resultobj
= 0;
28098 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28101 PyObject
*swig_obj
[1] ;
28103 if (!args
) SWIG_fail
;
28104 swig_obj
[0] = args
;
28105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28106 if (!SWIG_IsOK(res1
)) {
28107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28109 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28111 (arg1
)->ResetClip();
28112 if (PyErr_Occurred()) SWIG_fail
;
28114 resultobj
= SWIG_Py_Void();
28121 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28122 PyObject
*resultobj
= 0;
28123 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28127 PyObject
*swig_obj
[1] ;
28129 if (!args
) SWIG_fail
;
28130 swig_obj
[0] = args
;
28131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28132 if (!SWIG_IsOK(res1
)) {
28133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28135 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28137 result
= (void *)(arg1
)->GetNativeContext();
28138 if (PyErr_Occurred()) SWIG_fail
;
28140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28147 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28148 PyObject
*resultobj
= 0;
28149 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28158 PyObject
* obj0
= 0 ;
28159 PyObject
* obj1
= 0 ;
28160 PyObject
* obj2
= 0 ;
28161 char * kwnames
[] = {
28162 (char *) "self",(char *) "dx",(char *) "dy", NULL
28165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28167 if (!SWIG_IsOK(res1
)) {
28168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28170 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28171 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28172 if (!SWIG_IsOK(ecode2
)) {
28173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28175 arg2
= static_cast< wxDouble
>(val2
);
28176 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28177 if (!SWIG_IsOK(ecode3
)) {
28178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28180 arg3
= static_cast< wxDouble
>(val3
);
28182 (arg1
)->Translate(arg2
,arg3
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28185 resultobj
= SWIG_Py_Void();
28192 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28193 PyObject
*resultobj
= 0;
28194 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28203 PyObject
* obj0
= 0 ;
28204 PyObject
* obj1
= 0 ;
28205 PyObject
* obj2
= 0 ;
28206 char * kwnames
[] = {
28207 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28212 if (!SWIG_IsOK(res1
)) {
28213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28215 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28216 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28217 if (!SWIG_IsOK(ecode2
)) {
28218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28220 arg2
= static_cast< wxDouble
>(val2
);
28221 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28222 if (!SWIG_IsOK(ecode3
)) {
28223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28225 arg3
= static_cast< wxDouble
>(val3
);
28227 (arg1
)->Scale(arg2
,arg3
);
28228 if (PyErr_Occurred()) SWIG_fail
;
28230 resultobj
= SWIG_Py_Void();
28237 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28238 PyObject
*resultobj
= 0;
28239 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28245 PyObject
* obj0
= 0 ;
28246 PyObject
* obj1
= 0 ;
28247 char * kwnames
[] = {
28248 (char *) "self",(char *) "angle", NULL
28251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28253 if (!SWIG_IsOK(res1
)) {
28254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28256 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28257 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28258 if (!SWIG_IsOK(ecode2
)) {
28259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28261 arg2
= static_cast< wxDouble
>(val2
);
28263 (arg1
)->Rotate(arg2
);
28264 if (PyErr_Occurred()) SWIG_fail
;
28266 resultobj
= SWIG_Py_Void();
28273 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28274 PyObject
*resultobj
= 0;
28275 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28276 wxGraphicsMatrix
*arg2
= 0 ;
28281 PyObject
* obj0
= 0 ;
28282 PyObject
* obj1
= 0 ;
28283 char * kwnames
[] = {
28284 (char *) "self",(char *) "matrix", NULL
28287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28289 if (!SWIG_IsOK(res1
)) {
28290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28292 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28293 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28294 if (!SWIG_IsOK(res2
)) {
28295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28300 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28302 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28305 resultobj
= SWIG_Py_Void();
28312 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28313 PyObject
*resultobj
= 0;
28314 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28315 wxGraphicsMatrix
*arg2
= 0 ;
28320 PyObject
* obj0
= 0 ;
28321 PyObject
* obj1
= 0 ;
28322 char * kwnames
[] = {
28323 (char *) "self",(char *) "matrix", NULL
28326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28328 if (!SWIG_IsOK(res1
)) {
28329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28331 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28332 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28333 if (!SWIG_IsOK(res2
)) {
28334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28337 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28339 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28341 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28342 if (PyErr_Occurred()) SWIG_fail
;
28344 resultobj
= SWIG_Py_Void();
28351 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28352 PyObject
*resultobj
= 0;
28353 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28354 wxGraphicsMatrix result
;
28357 PyObject
*swig_obj
[1] ;
28359 if (!args
) SWIG_fail
;
28360 swig_obj
[0] = args
;
28361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28362 if (!SWIG_IsOK(res1
)) {
28363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28365 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28367 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28368 if (PyErr_Occurred()) SWIG_fail
;
28370 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28377 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28378 PyObject
*resultobj
= 0;
28379 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28380 wxGraphicsPen
*arg2
= 0 ;
28386 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28388 if (!SWIG_IsOK(res1
)) {
28389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28391 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28392 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28393 if (!SWIG_IsOK(res2
)) {
28394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28399 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28401 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28402 if (PyErr_Occurred()) SWIG_fail
;
28404 resultobj
= SWIG_Py_Void();
28411 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28412 PyObject
*resultobj
= 0;
28413 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28420 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28422 if (!SWIG_IsOK(res1
)) {
28423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28425 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28426 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28427 if (!SWIG_IsOK(res2
)) {
28428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28431 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28433 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28435 (arg1
)->SetPen((wxPen
const &)*arg2
);
28436 if (PyErr_Occurred()) SWIG_fail
;
28438 resultobj
= SWIG_Py_Void();
28445 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28449 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28454 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28455 _v
= SWIG_CheckState(res
);
28457 if (!_v
) goto check_1
;
28458 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28463 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28467 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28472 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28473 PyObject
*resultobj
= 0;
28474 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28475 wxGraphicsBrush
*arg2
= 0 ;
28481 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28483 if (!SWIG_IsOK(res1
)) {
28484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28486 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28487 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28488 if (!SWIG_IsOK(res2
)) {
28489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28494 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28496 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28497 if (PyErr_Occurred()) SWIG_fail
;
28499 resultobj
= SWIG_Py_Void();
28506 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28507 PyObject
*resultobj
= 0;
28508 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28509 wxBrush
*arg2
= 0 ;
28515 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28517 if (!SWIG_IsOK(res1
)) {
28518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28520 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28521 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28522 if (!SWIG_IsOK(res2
)) {
28523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28528 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28530 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28531 if (PyErr_Occurred()) SWIG_fail
;
28533 resultobj
= SWIG_Py_Void();
28540 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28544 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28549 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28550 _v
= SWIG_CheckState(res
);
28552 if (!_v
) goto check_1
;
28553 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28558 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28562 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28567 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28568 PyObject
*resultobj
= 0;
28569 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28570 wxGraphicsFont
*arg2
= 0 ;
28576 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28578 if (!SWIG_IsOK(res1
)) {
28579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28581 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28582 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28583 if (!SWIG_IsOK(res2
)) {
28584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28589 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28591 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28594 resultobj
= SWIG_Py_Void();
28601 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28602 PyObject
*resultobj
= 0;
28603 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28605 wxColour
const &arg3_defvalue
= *wxBLACK
;
28606 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28613 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28615 if (!SWIG_IsOK(res1
)) {
28616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28618 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28619 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28620 if (!SWIG_IsOK(res2
)) {
28621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28626 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28630 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28634 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28635 if (PyErr_Occurred()) SWIG_fail
;
28637 resultobj
= SWIG_Py_Void();
28644 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
28648 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
28653 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
28654 _v
= SWIG_CheckState(res
);
28656 if (!_v
) goto check_1
;
28657 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
28661 if ((argc
>= 2) && (argc
<= 3)) {
28662 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
28666 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
28671 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28672 PyObject
*resultobj
= 0;
28673 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28674 wxGraphicsPath
*arg2
= 0 ;
28679 PyObject
* obj0
= 0 ;
28680 PyObject
* obj1
= 0 ;
28681 char * kwnames
[] = {
28682 (char *) "self",(char *) "path", NULL
28685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28687 if (!SWIG_IsOK(res1
)) {
28688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28690 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28691 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28692 if (!SWIG_IsOK(res2
)) {
28693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28698 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28700 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28703 resultobj
= SWIG_Py_Void();
28710 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28711 PyObject
*resultobj
= 0;
28712 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28713 wxGraphicsPath
*arg2
= 0 ;
28714 int arg3
= (int) wxODDEVEN_RULE
;
28721 PyObject
* obj0
= 0 ;
28722 PyObject
* obj1
= 0 ;
28723 PyObject
* obj2
= 0 ;
28724 char * kwnames
[] = {
28725 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28730 if (!SWIG_IsOK(res1
)) {
28731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28733 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28734 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28735 if (!SWIG_IsOK(res2
)) {
28736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28741 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28744 if (!SWIG_IsOK(ecode3
)) {
28745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
28747 arg3
= static_cast< int >(val3
);
28750 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
28751 if (PyErr_Occurred()) SWIG_fail
;
28753 resultobj
= SWIG_Py_Void();
28760 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28761 PyObject
*resultobj
= 0;
28762 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28763 wxGraphicsPath
*arg2
= 0 ;
28764 int arg3
= (int) wxODDEVEN_RULE
;
28771 PyObject
* obj0
= 0 ;
28772 PyObject
* obj1
= 0 ;
28773 PyObject
* obj2
= 0 ;
28774 char * kwnames
[] = {
28775 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
28778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28780 if (!SWIG_IsOK(res1
)) {
28781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28783 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28784 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
28785 if (!SWIG_IsOK(res2
)) {
28786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
28791 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
28793 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28794 if (!SWIG_IsOK(ecode3
)) {
28795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
28797 arg3
= static_cast< int >(val3
);
28800 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
28801 if (PyErr_Occurred()) SWIG_fail
;
28803 resultobj
= SWIG_Py_Void();
28810 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28811 PyObject
*resultobj
= 0;
28812 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28813 wxString
*arg2
= 0 ;
28816 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
28817 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
28820 bool temp2
= false ;
28827 PyObject
* obj0
= 0 ;
28828 PyObject
* obj1
= 0 ;
28829 PyObject
* obj2
= 0 ;
28830 PyObject
* obj3
= 0 ;
28831 PyObject
* obj4
= 0 ;
28832 char * kwnames
[] = {
28833 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
28836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28838 if (!SWIG_IsOK(res1
)) {
28839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28841 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28843 arg2
= wxString_in_helper(obj1
);
28844 if (arg2
== NULL
) SWIG_fail
;
28847 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28848 if (!SWIG_IsOK(ecode3
)) {
28849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
28851 arg3
= static_cast< wxDouble
>(val3
);
28852 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28853 if (!SWIG_IsOK(ecode4
)) {
28854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
28856 arg4
= static_cast< wxDouble
>(val4
);
28858 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28859 if (!SWIG_IsOK(res5
)) {
28860 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
28863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
28865 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
28868 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28871 resultobj
= SWIG_Py_Void();
28886 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28887 PyObject
*resultobj
= 0;
28888 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28889 wxString
*arg2
= 0 ;
28893 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
28894 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
28897 bool temp2
= false ;
28906 PyObject
* obj0
= 0 ;
28907 PyObject
* obj1
= 0 ;
28908 PyObject
* obj2
= 0 ;
28909 PyObject
* obj3
= 0 ;
28910 PyObject
* obj4
= 0 ;
28911 PyObject
* obj5
= 0 ;
28912 char * kwnames
[] = {
28913 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
28916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28918 if (!SWIG_IsOK(res1
)) {
28919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28921 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28923 arg2
= wxString_in_helper(obj1
);
28924 if (arg2
== NULL
) SWIG_fail
;
28927 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28928 if (!SWIG_IsOK(ecode3
)) {
28929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
28931 arg3
= static_cast< wxDouble
>(val3
);
28932 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28933 if (!SWIG_IsOK(ecode4
)) {
28934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
28936 arg4
= static_cast< wxDouble
>(val4
);
28937 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28938 if (!SWIG_IsOK(ecode5
)) {
28939 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
28941 arg5
= static_cast< wxDouble
>(val5
);
28943 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28944 if (!SWIG_IsOK(res6
)) {
28945 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
28948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
28950 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
28953 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28956 resultobj
= SWIG_Py_Void();
28971 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28972 PyObject
*resultobj
= 0;
28973 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28974 wxString
*arg2
= 0 ;
28975 wxDouble
*arg3
= (wxDouble
*) 0 ;
28976 wxDouble
*arg4
= (wxDouble
*) 0 ;
28977 wxDouble
*arg5
= (wxDouble
*) 0 ;
28978 wxDouble
*arg6
= (wxDouble
*) 0 ;
28981 bool temp2
= false ;
28983 int res3
= SWIG_TMPOBJ
;
28985 int res4
= SWIG_TMPOBJ
;
28987 int res5
= SWIG_TMPOBJ
;
28989 int res6
= SWIG_TMPOBJ
;
28990 PyObject
* obj0
= 0 ;
28991 PyObject
* obj1
= 0 ;
28992 char * kwnames
[] = {
28993 (char *) "self",(char *) "text", NULL
29000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29002 if (!SWIG_IsOK(res1
)) {
29003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29005 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29007 arg2
= wxString_in_helper(obj1
);
29008 if (arg2
== NULL
) SWIG_fail
;
29012 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29013 if (PyErr_Occurred()) SWIG_fail
;
29015 resultobj
= SWIG_Py_Void();
29016 if (SWIG_IsTmpObj(res3
)) {
29017 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29019 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29020 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29022 if (SWIG_IsTmpObj(res4
)) {
29023 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29025 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29026 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29028 if (SWIG_IsTmpObj(res5
)) {
29029 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29031 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29032 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29034 if (SWIG_IsTmpObj(res6
)) {
29035 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29037 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29038 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29054 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29055 PyObject
*resultobj
= 0;
29056 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29057 wxString
*arg2
= 0 ;
29058 PyObject
*result
= 0 ;
29061 bool temp2
= false ;
29062 PyObject
* obj0
= 0 ;
29063 PyObject
* obj1
= 0 ;
29064 char * kwnames
[] = {
29065 (char *) "self",(char *) "text", NULL
29068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29070 if (!SWIG_IsOK(res1
)) {
29071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29073 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29075 arg2
= wxString_in_helper(obj1
);
29076 if (arg2
== NULL
) SWIG_fail
;
29080 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29083 resultobj
= result
;
29098 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29099 PyObject
*resultobj
= 0;
29100 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29101 wxString
*arg2
= 0 ;
29102 wxArrayDouble result
;
29105 bool temp2
= false ;
29106 PyObject
* obj0
= 0 ;
29107 PyObject
* obj1
= 0 ;
29108 char * kwnames
[] = {
29109 (char *) "self",(char *) "text", NULL
29112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29114 if (!SWIG_IsOK(res1
)) {
29115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29117 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29119 arg2
= wxString_in_helper(obj1
);
29120 if (arg2
== NULL
) SWIG_fail
;
29124 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29128 resultobj
= wxArrayDouble2PyList_helper(result
);
29144 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29145 PyObject
*resultobj
= 0;
29146 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29147 wxBitmap
*arg2
= 0 ;
29164 PyObject
* obj0
= 0 ;
29165 PyObject
* obj1
= 0 ;
29166 PyObject
* obj2
= 0 ;
29167 PyObject
* obj3
= 0 ;
29168 PyObject
* obj4
= 0 ;
29169 PyObject
* obj5
= 0 ;
29170 char * kwnames
[] = {
29171 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29176 if (!SWIG_IsOK(res1
)) {
29177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29179 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29180 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29181 if (!SWIG_IsOK(res2
)) {
29182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29187 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29188 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29189 if (!SWIG_IsOK(ecode3
)) {
29190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29192 arg3
= static_cast< wxDouble
>(val3
);
29193 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29194 if (!SWIG_IsOK(ecode4
)) {
29195 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29197 arg4
= static_cast< wxDouble
>(val4
);
29198 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29199 if (!SWIG_IsOK(ecode5
)) {
29200 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29202 arg5
= static_cast< wxDouble
>(val5
);
29203 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29204 if (!SWIG_IsOK(ecode6
)) {
29205 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29207 arg6
= static_cast< wxDouble
>(val6
);
29209 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29212 resultobj
= SWIG_Py_Void();
29219 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29220 PyObject
*resultobj
= 0;
29221 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29239 PyObject
* obj0
= 0 ;
29240 PyObject
* obj1
= 0 ;
29241 PyObject
* obj2
= 0 ;
29242 PyObject
* obj3
= 0 ;
29243 PyObject
* obj4
= 0 ;
29244 PyObject
* obj5
= 0 ;
29245 char * kwnames
[] = {
29246 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29251 if (!SWIG_IsOK(res1
)) {
29252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29254 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29256 if (!SWIG_IsOK(res2
)) {
29257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29262 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29263 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29264 if (!SWIG_IsOK(ecode3
)) {
29265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29267 arg3
= static_cast< wxDouble
>(val3
);
29268 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29269 if (!SWIG_IsOK(ecode4
)) {
29270 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29272 arg4
= static_cast< wxDouble
>(val4
);
29273 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29274 if (!SWIG_IsOK(ecode5
)) {
29275 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29277 arg5
= static_cast< wxDouble
>(val5
);
29278 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29279 if (!SWIG_IsOK(ecode6
)) {
29280 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29282 arg6
= static_cast< wxDouble
>(val6
);
29284 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29287 resultobj
= SWIG_Py_Void();
29294 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29295 PyObject
*resultobj
= 0;
29296 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29311 PyObject
* obj0
= 0 ;
29312 PyObject
* obj1
= 0 ;
29313 PyObject
* obj2
= 0 ;
29314 PyObject
* obj3
= 0 ;
29315 PyObject
* obj4
= 0 ;
29316 char * kwnames
[] = {
29317 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29322 if (!SWIG_IsOK(res1
)) {
29323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29325 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29326 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29327 if (!SWIG_IsOK(ecode2
)) {
29328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29330 arg2
= static_cast< wxDouble
>(val2
);
29331 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29332 if (!SWIG_IsOK(ecode3
)) {
29333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29335 arg3
= static_cast< wxDouble
>(val3
);
29336 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29337 if (!SWIG_IsOK(ecode4
)) {
29338 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29340 arg4
= static_cast< wxDouble
>(val4
);
29341 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29342 if (!SWIG_IsOK(ecode5
)) {
29343 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29345 arg5
= static_cast< wxDouble
>(val5
);
29347 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29348 if (PyErr_Occurred()) SWIG_fail
;
29350 resultobj
= SWIG_Py_Void();
29357 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29358 PyObject
*resultobj
= 0;
29359 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29361 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29364 PyObject
* obj0
= 0 ;
29365 PyObject
* obj1
= 0 ;
29366 char * kwnames
[] = {
29367 (char *) "self",(char *) "points", NULL
29370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29372 if (!SWIG_IsOK(res1
)) {
29373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29375 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29377 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29378 if (arg3
== NULL
) SWIG_fail
;
29381 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29382 if (PyErr_Occurred()) SWIG_fail
;
29384 resultobj
= SWIG_Py_Void();
29386 if (arg3
) delete [] arg3
;
29391 if (arg3
) delete [] arg3
;
29397 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29398 PyObject
*resultobj
= 0;
29399 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29400 PyObject
*arg2
= (PyObject
*) 0 ;
29401 PyObject
*arg3
= (PyObject
*) 0 ;
29404 PyObject
* obj0
= 0 ;
29405 PyObject
* obj1
= 0 ;
29406 PyObject
* obj2
= 0 ;
29407 char * kwnames
[] = {
29408 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29413 if (!SWIG_IsOK(res1
)) {
29414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29416 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29420 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29423 resultobj
= SWIG_Py_Void();
29430 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
= 0;
29432 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29434 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29435 int arg4
= (int) wxODDEVEN_RULE
;
29440 PyObject
* obj0
= 0 ;
29441 PyObject
* obj1
= 0 ;
29442 PyObject
* obj2
= 0 ;
29443 char * kwnames
[] = {
29444 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29449 if (!SWIG_IsOK(res1
)) {
29450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29452 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29454 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29455 if (arg3
== NULL
) SWIG_fail
;
29458 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29459 if (!SWIG_IsOK(ecode4
)) {
29460 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29462 arg4
= static_cast< int >(val4
);
29465 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29466 if (PyErr_Occurred()) SWIG_fail
;
29468 resultobj
= SWIG_Py_Void();
29470 if (arg3
) delete [] arg3
;
29475 if (arg3
) delete [] arg3
;
29481 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29482 PyObject
*resultobj
= 0;
29483 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29498 PyObject
* obj0
= 0 ;
29499 PyObject
* obj1
= 0 ;
29500 PyObject
* obj2
= 0 ;
29501 PyObject
* obj3
= 0 ;
29502 PyObject
* obj4
= 0 ;
29503 char * kwnames
[] = {
29504 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29509 if (!SWIG_IsOK(res1
)) {
29510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29512 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29513 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29514 if (!SWIG_IsOK(ecode2
)) {
29515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29517 arg2
= static_cast< wxDouble
>(val2
);
29518 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29519 if (!SWIG_IsOK(ecode3
)) {
29520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29522 arg3
= static_cast< wxDouble
>(val3
);
29523 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29524 if (!SWIG_IsOK(ecode4
)) {
29525 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29527 arg4
= static_cast< wxDouble
>(val4
);
29528 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29529 if (!SWIG_IsOK(ecode5
)) {
29530 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29532 arg5
= static_cast< wxDouble
>(val5
);
29534 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29535 if (PyErr_Occurred()) SWIG_fail
;
29537 resultobj
= SWIG_Py_Void();
29544 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29545 PyObject
*resultobj
= 0;
29546 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29561 PyObject
* obj0
= 0 ;
29562 PyObject
* obj1
= 0 ;
29563 PyObject
* obj2
= 0 ;
29564 PyObject
* obj3
= 0 ;
29565 PyObject
* obj4
= 0 ;
29566 char * kwnames
[] = {
29567 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29572 if (!SWIG_IsOK(res1
)) {
29573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29575 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29576 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29577 if (!SWIG_IsOK(ecode2
)) {
29578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29580 arg2
= static_cast< wxDouble
>(val2
);
29581 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29582 if (!SWIG_IsOK(ecode3
)) {
29583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29585 arg3
= static_cast< wxDouble
>(val3
);
29586 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29587 if (!SWIG_IsOK(ecode4
)) {
29588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29590 arg4
= static_cast< wxDouble
>(val4
);
29591 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29592 if (!SWIG_IsOK(ecode5
)) {
29593 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29595 arg5
= static_cast< wxDouble
>(val5
);
29597 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29600 resultobj
= SWIG_Py_Void();
29607 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29608 PyObject
*resultobj
= 0;
29609 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29627 PyObject
* obj0
= 0 ;
29628 PyObject
* obj1
= 0 ;
29629 PyObject
* obj2
= 0 ;
29630 PyObject
* obj3
= 0 ;
29631 PyObject
* obj4
= 0 ;
29632 PyObject
* obj5
= 0 ;
29633 char * kwnames
[] = {
29634 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
29637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29639 if (!SWIG_IsOK(res1
)) {
29640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29642 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29643 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29644 if (!SWIG_IsOK(ecode2
)) {
29645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29647 arg2
= static_cast< wxDouble
>(val2
);
29648 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29649 if (!SWIG_IsOK(ecode3
)) {
29650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29652 arg3
= static_cast< wxDouble
>(val3
);
29653 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29654 if (!SWIG_IsOK(ecode4
)) {
29655 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29657 arg4
= static_cast< wxDouble
>(val4
);
29658 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29659 if (!SWIG_IsOK(ecode5
)) {
29660 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29662 arg5
= static_cast< wxDouble
>(val5
);
29663 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29664 if (!SWIG_IsOK(ecode6
)) {
29665 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
29667 arg6
= static_cast< wxDouble
>(val6
);
29669 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29670 if (PyErr_Occurred()) SWIG_fail
;
29672 resultobj
= SWIG_Py_Void();
29679 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29680 PyObject
*resultobj
= 0;
29681 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29685 PyObject
*swig_obj
[1] ;
29687 if (!args
) SWIG_fail
;
29688 swig_obj
[0] = args
;
29689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29690 if (!SWIG_IsOK(res1
)) {
29691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29693 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29695 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
29696 if (PyErr_Occurred()) SWIG_fail
;
29699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29707 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29710 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
29711 return SWIG_Py_Void();
29714 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29715 PyObject
*resultobj
= 0;
29716 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29719 PyObject
*swig_obj
[1] ;
29721 if (!args
) SWIG_fail
;
29722 swig_obj
[0] = args
;
29723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
29724 if (!SWIG_IsOK(res1
)) {
29725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29727 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29731 if (PyErr_Occurred()) SWIG_fail
;
29733 resultobj
= SWIG_Py_Void();
29740 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29741 PyObject
*resultobj
= 0;
29742 wxGraphicsRenderer
*result
= 0 ;
29744 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
29746 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
29747 if (PyErr_Occurred()) SWIG_fail
;
29749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29756 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29757 PyObject
*resultobj
= 0;
29758 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29759 wxWindowDC
*arg2
= 0 ;
29760 wxGraphicsContext
*result
= 0 ;
29766 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29768 if (!SWIG_IsOK(res1
)) {
29769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29771 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29772 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
29773 if (!SWIG_IsOK(res2
)) {
29774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
29779 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
29781 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
29782 if (PyErr_Occurred()) SWIG_fail
;
29784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29791 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29792 PyObject
*resultobj
= 0;
29793 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29794 wxWindow
*arg2
= (wxWindow
*) 0 ;
29795 wxGraphicsContext
*result
= 0 ;
29801 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29803 if (!SWIG_IsOK(res1
)) {
29804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29806 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29807 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29808 if (!SWIG_IsOK(res2
)) {
29809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
29811 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29813 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
29814 if (PyErr_Occurred()) SWIG_fail
;
29816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29823 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
29827 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
29832 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
29833 _v
= SWIG_CheckState(res
);
29835 if (!_v
) goto check_1
;
29836 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
29841 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
29845 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
29850 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29851 PyObject
*resultobj
= 0;
29852 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29853 wxGraphicsContext
*result
= 0 ;
29856 PyObject
*swig_obj
[1] ;
29858 if (!args
) SWIG_fail
;
29859 swig_obj
[0] = args
;
29860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29861 if (!SWIG_IsOK(res1
)) {
29862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29864 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29866 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
29867 if (PyErr_Occurred()) SWIG_fail
;
29869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29876 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29877 PyObject
*resultobj
= 0;
29878 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29879 void *arg2
= (void *) 0 ;
29880 wxGraphicsContext
*result
= 0 ;
29884 PyObject
* obj0
= 0 ;
29885 PyObject
* obj1
= 0 ;
29886 char * kwnames
[] = {
29887 (char *) "self",(char *) "context", NULL
29890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29892 if (!SWIG_IsOK(res1
)) {
29893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29895 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29896 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29897 if (!SWIG_IsOK(res2
)) {
29898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
29901 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29911 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29912 PyObject
*resultobj
= 0;
29913 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29914 void *arg2
= (void *) 0 ;
29915 wxGraphicsContext
*result
= 0 ;
29919 PyObject
* obj0
= 0 ;
29920 PyObject
* obj1
= 0 ;
29921 char * kwnames
[] = {
29922 (char *) "self",(char *) "window", NULL
29925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29927 if (!SWIG_IsOK(res1
)) {
29928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29930 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29931 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
29932 if (!SWIG_IsOK(res2
)) {
29933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
29936 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
29937 if (PyErr_Occurred()) SWIG_fail
;
29939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
29946 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29947 PyObject
*resultobj
= 0;
29948 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29949 wxGraphicsPath result
;
29952 PyObject
*swig_obj
[1] ;
29954 if (!args
) SWIG_fail
;
29955 swig_obj
[0] = args
;
29956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
29957 if (!SWIG_IsOK(res1
)) {
29958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
29960 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
29962 result
= (arg1
)->CreatePath();
29963 if (PyErr_Occurred()) SWIG_fail
;
29965 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
29972 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29973 PyObject
*resultobj
= 0;
29974 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
29975 wxDouble arg2
= (wxDouble
) 1.0 ;
29976 wxDouble arg3
= (wxDouble
) 0.0 ;
29977 wxDouble arg4
= (wxDouble
) 0.0 ;
29978 wxDouble arg5
= (wxDouble
) 1.0 ;
29979 wxDouble arg6
= (wxDouble
) 0.0 ;
29980 wxDouble arg7
= (wxDouble
) 0.0 ;
29981 wxGraphicsMatrix result
;
29996 PyObject
* obj0
= 0 ;
29997 PyObject
* obj1
= 0 ;
29998 PyObject
* obj2
= 0 ;
29999 PyObject
* obj3
= 0 ;
30000 PyObject
* obj4
= 0 ;
30001 PyObject
* obj5
= 0 ;
30002 PyObject
* obj6
= 0 ;
30003 char * kwnames
[] = {
30004 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30009 if (!SWIG_IsOK(res1
)) {
30010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30012 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30014 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30015 if (!SWIG_IsOK(ecode2
)) {
30016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30018 arg2
= static_cast< wxDouble
>(val2
);
30021 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30022 if (!SWIG_IsOK(ecode3
)) {
30023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30025 arg3
= static_cast< wxDouble
>(val3
);
30028 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30029 if (!SWIG_IsOK(ecode4
)) {
30030 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30032 arg4
= static_cast< wxDouble
>(val4
);
30035 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30036 if (!SWIG_IsOK(ecode5
)) {
30037 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30039 arg5
= static_cast< wxDouble
>(val5
);
30042 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30043 if (!SWIG_IsOK(ecode6
)) {
30044 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30046 arg6
= static_cast< wxDouble
>(val6
);
30049 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30050 if (!SWIG_IsOK(ecode7
)) {
30051 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30053 arg7
= static_cast< wxDouble
>(val7
);
30056 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30057 if (PyErr_Occurred()) SWIG_fail
;
30059 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30066 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30067 PyObject
*resultobj
= 0;
30068 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30070 wxGraphicsPen result
;
30075 PyObject
* obj0
= 0 ;
30076 PyObject
* obj1
= 0 ;
30077 char * kwnames
[] = {
30078 (char *) "self",(char *) "pen", NULL
30081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30083 if (!SWIG_IsOK(res1
)) {
30084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30086 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30088 if (!SWIG_IsOK(res2
)) {
30089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30094 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30096 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30099 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30106 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30107 PyObject
*resultobj
= 0;
30108 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30109 wxBrush
*arg2
= 0 ;
30110 wxGraphicsBrush result
;
30115 PyObject
* obj0
= 0 ;
30116 PyObject
* obj1
= 0 ;
30117 char * kwnames
[] = {
30118 (char *) "self",(char *) "brush", NULL
30121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30123 if (!SWIG_IsOK(res1
)) {
30124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30126 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30127 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30128 if (!SWIG_IsOK(res2
)) {
30129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30134 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30136 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30137 if (PyErr_Occurred()) SWIG_fail
;
30139 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30146 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30147 PyObject
*resultobj
= 0;
30148 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30153 wxColour
*arg6
= 0 ;
30154 wxColour
*arg7
= 0 ;
30155 wxGraphicsBrush result
;
30168 PyObject
* obj0
= 0 ;
30169 PyObject
* obj1
= 0 ;
30170 PyObject
* obj2
= 0 ;
30171 PyObject
* obj3
= 0 ;
30172 PyObject
* obj4
= 0 ;
30173 PyObject
* obj5
= 0 ;
30174 PyObject
* obj6
= 0 ;
30175 char * kwnames
[] = {
30176 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30181 if (!SWIG_IsOK(res1
)) {
30182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30184 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30185 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30186 if (!SWIG_IsOK(ecode2
)) {
30187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30189 arg2
= static_cast< wxDouble
>(val2
);
30190 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30191 if (!SWIG_IsOK(ecode3
)) {
30192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30194 arg3
= static_cast< wxDouble
>(val3
);
30195 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30196 if (!SWIG_IsOK(ecode4
)) {
30197 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30199 arg4
= static_cast< wxDouble
>(val4
);
30200 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30201 if (!SWIG_IsOK(ecode5
)) {
30202 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30204 arg5
= static_cast< wxDouble
>(val5
);
30207 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30211 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30214 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30215 if (PyErr_Occurred()) SWIG_fail
;
30217 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30224 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30225 PyObject
*resultobj
= 0;
30226 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30232 wxColour
*arg7
= 0 ;
30233 wxColour
*arg8
= 0 ;
30234 wxGraphicsBrush result
;
30249 PyObject
* obj0
= 0 ;
30250 PyObject
* obj1
= 0 ;
30251 PyObject
* obj2
= 0 ;
30252 PyObject
* obj3
= 0 ;
30253 PyObject
* obj4
= 0 ;
30254 PyObject
* obj5
= 0 ;
30255 PyObject
* obj6
= 0 ;
30256 PyObject
* obj7
= 0 ;
30257 char * kwnames
[] = {
30258 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30263 if (!SWIG_IsOK(res1
)) {
30264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30266 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30267 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30268 if (!SWIG_IsOK(ecode2
)) {
30269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30271 arg2
= static_cast< wxDouble
>(val2
);
30272 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30273 if (!SWIG_IsOK(ecode3
)) {
30274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30276 arg3
= static_cast< wxDouble
>(val3
);
30277 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30278 if (!SWIG_IsOK(ecode4
)) {
30279 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30281 arg4
= static_cast< wxDouble
>(val4
);
30282 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30283 if (!SWIG_IsOK(ecode5
)) {
30284 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30286 arg5
= static_cast< wxDouble
>(val5
);
30287 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30288 if (!SWIG_IsOK(ecode6
)) {
30289 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30291 arg6
= static_cast< wxDouble
>(val6
);
30294 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30298 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30301 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30302 if (PyErr_Occurred()) SWIG_fail
;
30304 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30311 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30312 PyObject
*resultobj
= 0;
30313 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30315 wxColour
const &arg3_defvalue
= *wxBLACK
;
30316 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30317 wxGraphicsFont result
;
30323 PyObject
* obj0
= 0 ;
30324 PyObject
* obj1
= 0 ;
30325 PyObject
* obj2
= 0 ;
30326 char * kwnames
[] = {
30327 (char *) "self",(char *) "font",(char *) "col", NULL
30330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30332 if (!SWIG_IsOK(res1
)) {
30333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30335 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30337 if (!SWIG_IsOK(res2
)) {
30338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30343 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30347 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30351 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30352 if (PyErr_Occurred()) SWIG_fail
;
30354 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30361 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30364 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30365 return SWIG_Py_Void();
30368 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30369 PyObject
*resultobj
= 0;
30370 wxWindowDC
*arg1
= 0 ;
30371 wxGCDC
*result
= 0 ;
30375 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30377 if (!SWIG_IsOK(res1
)) {
30378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30383 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30385 if (!wxPyCheckForApp()) SWIG_fail
;
30386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30387 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30388 wxPyEndAllowThreads(__tstate
);
30389 if (PyErr_Occurred()) SWIG_fail
;
30391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30398 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30399 PyObject
*resultobj
= 0;
30400 wxWindow
*arg1
= (wxWindow
*) 0 ;
30401 wxGCDC
*result
= 0 ;
30405 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30407 if (!SWIG_IsOK(res1
)) {
30408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
30410 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30412 if (!wxPyCheckForApp()) SWIG_fail
;
30413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30414 result
= (wxGCDC
*)new wxGCDC(arg1
);
30415 wxPyEndAllowThreads(__tstate
);
30416 if (PyErr_Occurred()) SWIG_fail
;
30418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30425 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
30429 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
30434 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
30435 _v
= SWIG_CheckState(res
);
30437 if (!_v
) goto check_1
;
30438 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
30443 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
30447 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
30452 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30453 PyObject
*resultobj
= 0;
30454 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30457 PyObject
*swig_obj
[1] ;
30459 if (!args
) SWIG_fail
;
30460 swig_obj
[0] = args
;
30461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30462 if (!SWIG_IsOK(res1
)) {
30463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30465 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30469 if (PyErr_Occurred()) SWIG_fail
;
30471 resultobj
= SWIG_Py_Void();
30478 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30479 PyObject
*resultobj
= 0;
30480 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30481 wxGraphicsContext
*result
= 0 ;
30484 PyObject
*swig_obj
[1] ;
30486 if (!args
) SWIG_fail
;
30487 swig_obj
[0] = args
;
30488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30489 if (!SWIG_IsOK(res1
)) {
30490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30492 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30494 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30495 if (PyErr_Occurred()) SWIG_fail
;
30497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30504 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30505 PyObject
*resultobj
= 0;
30506 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30507 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30512 PyObject
* obj0
= 0 ;
30513 PyObject
* obj1
= 0 ;
30514 char * kwnames
[] = {
30515 (char *) "self",(char *) "ctx", NULL
30518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30520 if (!SWIG_IsOK(res1
)) {
30521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30523 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30524 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30525 if (!SWIG_IsOK(res2
)) {
30526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30528 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30530 (arg1
)->SetGraphicsContext(arg2
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30533 resultobj
= SWIG_Py_Void();
30540 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30543 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30544 return SWIG_Py_Void();
30547 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30548 return SWIG_Python_InitShadowInstance(args
);
30551 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30552 PyObject
*resultobj
= 0;
30553 wxOverlay
*result
= 0 ;
30555 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30558 result
= (wxOverlay
*)new wxOverlay();
30559 wxPyEndAllowThreads(__tstate
);
30560 if (PyErr_Occurred()) SWIG_fail
;
30562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30569 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30570 PyObject
*resultobj
= 0;
30571 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30574 PyObject
*swig_obj
[1] ;
30576 if (!args
) SWIG_fail
;
30577 swig_obj
[0] = args
;
30578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30579 if (!SWIG_IsOK(res1
)) {
30580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30582 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30587 wxPyEndAllowThreads(__tstate
);
30588 if (PyErr_Occurred()) SWIG_fail
;
30590 resultobj
= SWIG_Py_Void();
30597 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30598 PyObject
*resultobj
= 0;
30599 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30602 PyObject
*swig_obj
[1] ;
30604 if (!args
) SWIG_fail
;
30605 swig_obj
[0] = args
;
30606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30607 if (!SWIG_IsOK(res1
)) {
30608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30610 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30614 wxPyEndAllowThreads(__tstate
);
30615 if (PyErr_Occurred()) SWIG_fail
;
30617 resultobj
= SWIG_Py_Void();
30624 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30626 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30627 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30628 return SWIG_Py_Void();
30631 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30632 return SWIG_Python_InitShadowInstance(args
);
30635 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30636 PyObject
*resultobj
= 0;
30637 wxOverlay
*arg1
= 0 ;
30638 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30643 wxDCOverlay
*result
= 0 ;
30657 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
30658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30659 if (!SWIG_IsOK(res1
)) {
30660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30665 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30666 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30667 if (!SWIG_IsOK(res2
)) {
30668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30670 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30671 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
30672 if (!SWIG_IsOK(ecode3
)) {
30673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
30675 arg3
= static_cast< int >(val3
);
30676 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
30677 if (!SWIG_IsOK(ecode4
)) {
30678 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
30680 arg4
= static_cast< int >(val4
);
30681 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
30682 if (!SWIG_IsOK(ecode5
)) {
30683 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
30685 arg5
= static_cast< int >(val5
);
30686 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
30687 if (!SWIG_IsOK(ecode6
)) {
30688 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
30690 arg6
= static_cast< int >(val6
);
30692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30693 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30694 wxPyEndAllowThreads(__tstate
);
30695 if (PyErr_Occurred()) SWIG_fail
;
30697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30704 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30705 PyObject
*resultobj
= 0;
30706 wxOverlay
*arg1
= 0 ;
30707 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
30708 wxDCOverlay
*result
= 0 ;
30714 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
30716 if (!SWIG_IsOK(res1
)) {
30717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30720 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
30722 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30723 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
30724 if (!SWIG_IsOK(res2
)) {
30725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
30727 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30730 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
30731 wxPyEndAllowThreads(__tstate
);
30732 if (PyErr_Occurred()) SWIG_fail
;
30734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
30741 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
30745 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
30748 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
30751 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
30755 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
30760 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30761 PyObject
*resultobj
= 0;
30762 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30765 PyObject
*swig_obj
[1] ;
30767 if (!args
) SWIG_fail
;
30768 swig_obj
[0] = args
;
30769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
30770 if (!SWIG_IsOK(res1
)) {
30771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30773 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30778 wxPyEndAllowThreads(__tstate
);
30779 if (PyErr_Occurred()) SWIG_fail
;
30781 resultobj
= SWIG_Py_Void();
30788 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30789 PyObject
*resultobj
= 0;
30790 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
30793 PyObject
*swig_obj
[1] ;
30795 if (!args
) SWIG_fail
;
30796 swig_obj
[0] = args
;
30797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
30798 if (!SWIG_IsOK(res1
)) {
30799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
30801 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
30803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30805 wxPyEndAllowThreads(__tstate
);
30806 if (PyErr_Occurred()) SWIG_fail
;
30808 resultobj
= SWIG_Py_Void();
30815 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30817 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30818 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
30819 return SWIG_Py_Void();
30822 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30823 return SWIG_Python_InitShadowInstance(args
);
30826 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30827 PyObject
*resultobj
= 0;
30830 int arg3
= (int) true ;
30831 int arg4
= (int) 1 ;
30832 wxImageList
*result
= 0 ;
30841 PyObject
* obj0
= 0 ;
30842 PyObject
* obj1
= 0 ;
30843 PyObject
* obj2
= 0 ;
30844 PyObject
* obj3
= 0 ;
30845 char * kwnames
[] = {
30846 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
30849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30850 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30851 if (!SWIG_IsOK(ecode1
)) {
30852 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
30854 arg1
= static_cast< int >(val1
);
30855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30856 if (!SWIG_IsOK(ecode2
)) {
30857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
30859 arg2
= static_cast< int >(val2
);
30861 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30862 if (!SWIG_IsOK(ecode3
)) {
30863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
30865 arg3
= static_cast< int >(val3
);
30868 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30869 if (!SWIG_IsOK(ecode4
)) {
30870 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
30872 arg4
= static_cast< int >(val4
);
30875 if (!wxPyCheckForApp()) SWIG_fail
;
30876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30877 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
30878 wxPyEndAllowThreads(__tstate
);
30879 if (PyErr_Occurred()) SWIG_fail
;
30881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
30888 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30889 PyObject
*resultobj
= 0;
30890 wxImageList
*arg1
= (wxImageList
*) 0 ;
30893 PyObject
*swig_obj
[1] ;
30895 if (!args
) SWIG_fail
;
30896 swig_obj
[0] = args
;
30897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30898 if (!SWIG_IsOK(res1
)) {
30899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
30901 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30906 wxPyEndAllowThreads(__tstate
);
30907 if (PyErr_Occurred()) SWIG_fail
;
30909 resultobj
= SWIG_Py_Void();
30916 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30917 PyObject
*resultobj
= 0;
30918 wxImageList
*arg1
= (wxImageList
*) 0 ;
30919 wxBitmap
*arg2
= 0 ;
30920 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
30921 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
30929 PyObject
* obj0
= 0 ;
30930 PyObject
* obj1
= 0 ;
30931 PyObject
* obj2
= 0 ;
30932 char * kwnames
[] = {
30933 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
30936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30938 if (!SWIG_IsOK(res1
)) {
30939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
30941 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30943 if (!SWIG_IsOK(res2
)) {
30944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30949 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30951 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30952 if (!SWIG_IsOK(res3
)) {
30953 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30958 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30962 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
30963 wxPyEndAllowThreads(__tstate
);
30964 if (PyErr_Occurred()) SWIG_fail
;
30966 resultobj
= SWIG_From_int(static_cast< int >(result
));
30973 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30974 PyObject
*resultobj
= 0;
30975 wxImageList
*arg1
= (wxImageList
*) 0 ;
30976 wxBitmap
*arg2
= 0 ;
30977 wxColour
*arg3
= 0 ;
30984 PyObject
* obj0
= 0 ;
30985 PyObject
* obj1
= 0 ;
30986 PyObject
* obj2
= 0 ;
30987 char * kwnames
[] = {
30988 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
30991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30993 if (!SWIG_IsOK(res1
)) {
30994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
30996 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
30997 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30998 if (!SWIG_IsOK(res2
)) {
30999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31004 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31007 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31011 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31012 wxPyEndAllowThreads(__tstate
);
31013 if (PyErr_Occurred()) SWIG_fail
;
31015 resultobj
= SWIG_From_int(static_cast< int >(result
));
31022 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31023 PyObject
*resultobj
= 0;
31024 wxImageList
*arg1
= (wxImageList
*) 0 ;
31031 PyObject
* obj0
= 0 ;
31032 PyObject
* obj1
= 0 ;
31033 char * kwnames
[] = {
31034 (char *) "self",(char *) "icon", NULL
31037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31039 if (!SWIG_IsOK(res1
)) {
31040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31042 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31043 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31044 if (!SWIG_IsOK(res2
)) {
31045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31050 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31053 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31054 wxPyEndAllowThreads(__tstate
);
31055 if (PyErr_Occurred()) SWIG_fail
;
31057 resultobj
= SWIG_From_int(static_cast< int >(result
));
31064 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31065 PyObject
*resultobj
= 0;
31066 wxImageList
*arg1
= (wxImageList
*) 0 ;
31068 SwigValueWrapper
<wxBitmap
> result
;
31073 PyObject
* obj0
= 0 ;
31074 PyObject
* obj1
= 0 ;
31075 char * kwnames
[] = {
31076 (char *) "self",(char *) "index", NULL
31079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31081 if (!SWIG_IsOK(res1
)) {
31082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31084 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31086 if (!SWIG_IsOK(ecode2
)) {
31087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31089 arg2
= static_cast< int >(val2
);
31091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31092 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31093 wxPyEndAllowThreads(__tstate
);
31094 if (PyErr_Occurred()) SWIG_fail
;
31096 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31103 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31104 PyObject
*resultobj
= 0;
31105 wxImageList
*arg1
= (wxImageList
*) 0 ;
31112 PyObject
* obj0
= 0 ;
31113 PyObject
* obj1
= 0 ;
31114 char * kwnames
[] = {
31115 (char *) "self",(char *) "index", NULL
31118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31120 if (!SWIG_IsOK(res1
)) {
31121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31123 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31125 if (!SWIG_IsOK(ecode2
)) {
31126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31128 arg2
= static_cast< int >(val2
);
31130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31131 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31132 wxPyEndAllowThreads(__tstate
);
31133 if (PyErr_Occurred()) SWIG_fail
;
31135 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31142 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31143 PyObject
*resultobj
= 0;
31144 wxImageList
*arg1
= (wxImageList
*) 0 ;
31146 wxBitmap
*arg3
= 0 ;
31147 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31148 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31158 PyObject
* obj0
= 0 ;
31159 PyObject
* obj1
= 0 ;
31160 PyObject
* obj2
= 0 ;
31161 PyObject
* obj3
= 0 ;
31162 char * kwnames
[] = {
31163 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31168 if (!SWIG_IsOK(res1
)) {
31169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31171 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31173 if (!SWIG_IsOK(ecode2
)) {
31174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31176 arg2
= static_cast< int >(val2
);
31177 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31178 if (!SWIG_IsOK(res3
)) {
31179 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31184 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31186 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31187 if (!SWIG_IsOK(res4
)) {
31188 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31193 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31197 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31198 wxPyEndAllowThreads(__tstate
);
31199 if (PyErr_Occurred()) SWIG_fail
;
31202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31210 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31211 PyObject
*resultobj
= 0;
31212 wxImageList
*arg1
= (wxImageList
*) 0 ;
31217 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31218 bool arg7
= (bool) (bool)false ;
31234 PyObject
* obj0
= 0 ;
31235 PyObject
* obj1
= 0 ;
31236 PyObject
* obj2
= 0 ;
31237 PyObject
* obj3
= 0 ;
31238 PyObject
* obj4
= 0 ;
31239 PyObject
* obj5
= 0 ;
31240 PyObject
* obj6
= 0 ;
31241 char * kwnames
[] = {
31242 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31247 if (!SWIG_IsOK(res1
)) {
31248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31250 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31252 if (!SWIG_IsOK(ecode2
)) {
31253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31255 arg2
= static_cast< int >(val2
);
31256 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31257 if (!SWIG_IsOK(res3
)) {
31258 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31263 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31264 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31265 if (!SWIG_IsOK(ecode4
)) {
31266 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31268 arg4
= static_cast< int >(val4
);
31269 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31270 if (!SWIG_IsOK(ecode5
)) {
31271 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31273 arg5
= static_cast< int >(val5
);
31275 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31276 if (!SWIG_IsOK(ecode6
)) {
31277 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31279 arg6
= static_cast< int >(val6
);
31282 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31283 if (!SWIG_IsOK(ecode7
)) {
31284 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31286 arg7
= static_cast< bool >(val7
);
31289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31290 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31291 wxPyEndAllowThreads(__tstate
);
31292 if (PyErr_Occurred()) SWIG_fail
;
31295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31303 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31304 PyObject
*resultobj
= 0;
31305 wxImageList
*arg1
= (wxImageList
*) 0 ;
31309 PyObject
*swig_obj
[1] ;
31311 if (!args
) SWIG_fail
;
31312 swig_obj
[0] = args
;
31313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31314 if (!SWIG_IsOK(res1
)) {
31315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31317 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31320 result
= (int)(arg1
)->GetImageCount();
31321 wxPyEndAllowThreads(__tstate
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31324 resultobj
= SWIG_From_int(static_cast< int >(result
));
31331 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31332 PyObject
*resultobj
= 0;
31333 wxImageList
*arg1
= (wxImageList
*) 0 ;
31340 PyObject
* obj0
= 0 ;
31341 PyObject
* obj1
= 0 ;
31342 char * kwnames
[] = {
31343 (char *) "self",(char *) "index", NULL
31346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31348 if (!SWIG_IsOK(res1
)) {
31349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31351 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31353 if (!SWIG_IsOK(ecode2
)) {
31354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31356 arg2
= static_cast< int >(val2
);
31358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31359 result
= (bool)(arg1
)->Remove(arg2
);
31360 wxPyEndAllowThreads(__tstate
);
31361 if (PyErr_Occurred()) SWIG_fail
;
31364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31372 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31373 PyObject
*resultobj
= 0;
31374 wxImageList
*arg1
= (wxImageList
*) 0 ;
31378 PyObject
*swig_obj
[1] ;
31380 if (!args
) SWIG_fail
;
31381 swig_obj
[0] = args
;
31382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31383 if (!SWIG_IsOK(res1
)) {
31384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31386 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31389 result
= (bool)(arg1
)->RemoveAll();
31390 wxPyEndAllowThreads(__tstate
);
31391 if (PyErr_Occurred()) SWIG_fail
;
31394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31402 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31403 PyObject
*resultobj
= 0;
31404 wxImageList
*arg1
= (wxImageList
*) 0 ;
31413 int res3
= SWIG_TMPOBJ
;
31415 int res4
= SWIG_TMPOBJ
;
31416 PyObject
* obj0
= 0 ;
31417 PyObject
* obj1
= 0 ;
31418 char * kwnames
[] = {
31419 (char *) "self",(char *) "index", NULL
31424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31426 if (!SWIG_IsOK(res1
)) {
31427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31429 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31431 if (!SWIG_IsOK(ecode2
)) {
31432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31434 arg2
= static_cast< int >(val2
);
31436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31437 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31438 wxPyEndAllowThreads(__tstate
);
31439 if (PyErr_Occurred()) SWIG_fail
;
31441 resultobj
= SWIG_Py_Void();
31442 if (SWIG_IsTmpObj(res3
)) {
31443 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31445 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31446 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31448 if (SWIG_IsTmpObj(res4
)) {
31449 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31451 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31452 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31460 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31463 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31464 return SWIG_Py_Void();
31467 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31468 return SWIG_Python_InitShadowInstance(args
);
31471 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31472 PyObject
*resultobj
= 0;
31473 wxStockGDI
*result
= 0 ;
31475 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31478 result
= (wxStockGDI
*)new wxStockGDI();
31479 wxPyEndAllowThreads(__tstate
);
31480 if (PyErr_Occurred()) SWIG_fail
;
31482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31489 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31490 PyObject
*resultobj
= 0;
31491 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31494 PyObject
*swig_obj
[1] ;
31496 if (!args
) SWIG_fail
;
31497 swig_obj
[0] = args
;
31498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31499 if (!SWIG_IsOK(res1
)) {
31500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31502 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31507 wxPyEndAllowThreads(__tstate
);
31508 if (PyErr_Occurred()) SWIG_fail
;
31510 resultobj
= SWIG_Py_Void();
31517 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31518 PyObject
*resultobj
= 0;
31520 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31523 wxStockGDI::DeleteAll();
31524 wxPyEndAllowThreads(__tstate
);
31525 if (PyErr_Occurred()) SWIG_fail
;
31527 resultobj
= SWIG_Py_Void();
31534 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31535 PyObject
*resultobj
= 0;
31536 wxStockGDI
*result
= 0 ;
31538 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31542 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31543 result
= (wxStockGDI
*) &_result_ref
;
31545 wxPyEndAllowThreads(__tstate
);
31546 if (PyErr_Occurred()) SWIG_fail
;
31548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31555 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31556 PyObject
*resultobj
= 0;
31557 wxStockGDI::Item arg1
;
31558 wxBrush
*result
= 0 ;
31561 PyObject
* obj0
= 0 ;
31562 char * kwnames
[] = {
31563 (char *) "item", NULL
31566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31567 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31568 if (!SWIG_IsOK(ecode1
)) {
31569 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31571 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31574 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31575 wxPyEndAllowThreads(__tstate
);
31576 if (PyErr_Occurred()) SWIG_fail
;
31578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31585 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31586 PyObject
*resultobj
= 0;
31587 wxStockGDI::Item arg1
;
31588 wxColour
*result
= 0 ;
31591 PyObject
* obj0
= 0 ;
31592 char * kwnames
[] = {
31593 (char *) "item", NULL
31596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31597 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31598 if (!SWIG_IsOK(ecode1
)) {
31599 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31601 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31604 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31605 wxPyEndAllowThreads(__tstate
);
31606 if (PyErr_Occurred()) SWIG_fail
;
31608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31615 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31616 PyObject
*resultobj
= 0;
31617 wxStockGDI::Item arg1
;
31618 wxCursor
*result
= 0 ;
31621 PyObject
* obj0
= 0 ;
31622 char * kwnames
[] = {
31623 (char *) "item", NULL
31626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31627 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31628 if (!SWIG_IsOK(ecode1
)) {
31629 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31631 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31634 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31635 wxPyEndAllowThreads(__tstate
);
31636 if (PyErr_Occurred()) SWIG_fail
;
31638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
31645 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31646 PyObject
*resultobj
= 0;
31647 wxStockGDI::Item arg1
;
31648 wxPen
*result
= 0 ;
31651 PyObject
* obj0
= 0 ;
31652 char * kwnames
[] = {
31653 (char *) "item", NULL
31656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
31657 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31658 if (!SWIG_IsOK(ecode1
)) {
31659 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31661 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31664 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
31665 wxPyEndAllowThreads(__tstate
);
31666 if (PyErr_Occurred()) SWIG_fail
;
31668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31675 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31676 PyObject
*resultobj
= 0;
31677 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31678 wxStockGDI::Item arg2
;
31679 wxFont
*result
= 0 ;
31684 PyObject
* obj0
= 0 ;
31685 PyObject
* obj1
= 0 ;
31686 char * kwnames
[] = {
31687 (char *) "self",(char *) "item", NULL
31690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31692 if (!SWIG_IsOK(res1
)) {
31693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31695 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31697 if (!SWIG_IsOK(ecode2
)) {
31698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
31700 arg2
= static_cast< wxStockGDI::Item
>(val2
);
31702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31703 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
31714 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31716 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31717 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
31718 return SWIG_Py_Void();
31721 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31722 return SWIG_Python_InitShadowInstance(args
);
31725 SWIGINTERN
int NullBitmap_set(PyObject
*) {
31726 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
31731 SWIGINTERN PyObject
*NullBitmap_get(void) {
31732 PyObject
*pyobj
= 0;
31734 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
31739 SWIGINTERN
int NullIcon_set(PyObject
*) {
31740 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
31745 SWIGINTERN PyObject
*NullIcon_get(void) {
31746 PyObject
*pyobj
= 0;
31748 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
31753 SWIGINTERN
int NullCursor_set(PyObject
*) {
31754 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
31759 SWIGINTERN PyObject
*NullCursor_get(void) {
31760 PyObject
*pyobj
= 0;
31762 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
31767 SWIGINTERN
int NullPen_set(PyObject
*) {
31768 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
31773 SWIGINTERN PyObject
*NullPen_get(void) {
31774 PyObject
*pyobj
= 0;
31776 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
31781 SWIGINTERN
int NullBrush_set(PyObject
*) {
31782 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
31787 SWIGINTERN PyObject
*NullBrush_get(void) {
31788 PyObject
*pyobj
= 0;
31790 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
31795 SWIGINTERN
int NullPalette_set(PyObject
*) {
31796 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
31801 SWIGINTERN PyObject
*NullPalette_get(void) {
31802 PyObject
*pyobj
= 0;
31804 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
31809 SWIGINTERN
int NullFont_set(PyObject
*) {
31810 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
31815 SWIGINTERN PyObject
*NullFont_get(void) {
31816 PyObject
*pyobj
= 0;
31818 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
31823 SWIGINTERN
int NullColour_set(PyObject
*) {
31824 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
31829 SWIGINTERN PyObject
*NullColour_get(void) {
31830 PyObject
*pyobj
= 0;
31832 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
31837 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31838 PyObject
*resultobj
= 0;
31839 wxGDIObjListBase
*result
= 0 ;
31841 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
31843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31844 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
31845 wxPyEndAllowThreads(__tstate
);
31846 if (PyErr_Occurred()) SWIG_fail
;
31848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
31855 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31856 PyObject
*resultobj
= 0;
31857 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
31860 PyObject
*swig_obj
[1] ;
31862 if (!args
) SWIG_fail
;
31863 swig_obj
[0] = args
;
31864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
31865 if (!SWIG_IsOK(res1
)) {
31866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
31868 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
31870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31873 wxPyEndAllowThreads(__tstate
);
31874 if (PyErr_Occurred()) SWIG_fail
;
31876 resultobj
= SWIG_Py_Void();
31883 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31885 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31886 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
31887 return SWIG_Py_Void();
31890 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31891 return SWIG_Python_InitShadowInstance(args
);
31894 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31895 PyObject
*resultobj
= 0;
31896 wxPenList
*arg1
= (wxPenList
*) 0 ;
31897 wxColour
*arg2
= 0 ;
31900 wxPen
*result
= 0 ;
31908 PyObject
* obj0
= 0 ;
31909 PyObject
* obj1
= 0 ;
31910 PyObject
* obj2
= 0 ;
31911 PyObject
* obj3
= 0 ;
31912 char * kwnames
[] = {
31913 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
31916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31918 if (!SWIG_IsOK(res1
)) {
31919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
31921 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31924 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31926 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31927 if (!SWIG_IsOK(ecode3
)) {
31928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
31930 arg3
= static_cast< int >(val3
);
31931 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31932 if (!SWIG_IsOK(ecode4
)) {
31933 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
31935 arg4
= static_cast< int >(val4
);
31937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31938 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
31939 wxPyEndAllowThreads(__tstate
);
31940 if (PyErr_Occurred()) SWIG_fail
;
31942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
31949 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31950 PyObject
*resultobj
= 0;
31951 wxPenList
*arg1
= (wxPenList
*) 0 ;
31952 wxPen
*arg2
= (wxPen
*) 0 ;
31957 PyObject
* obj0
= 0 ;
31958 PyObject
* obj1
= 0 ;
31959 char * kwnames
[] = {
31960 (char *) "self",(char *) "pen", NULL
31963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
31965 if (!SWIG_IsOK(res1
)) {
31966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
31968 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
31969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
31970 if (!SWIG_IsOK(res2
)) {
31971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
31973 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31976 (arg1
)->AddPen(arg2
);
31977 wxPyEndAllowThreads(__tstate
);
31978 if (PyErr_Occurred()) SWIG_fail
;
31980 resultobj
= SWIG_Py_Void();
31987 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31988 PyObject
*resultobj
= 0;
31989 wxPenList
*arg1
= (wxPenList
*) 0 ;
31990 wxPen
*arg2
= (wxPen
*) 0 ;
31995 PyObject
* obj0
= 0 ;
31996 PyObject
* obj1
= 0 ;
31997 char * kwnames
[] = {
31998 (char *) "self",(char *) "pen", NULL
32001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32003 if (!SWIG_IsOK(res1
)) {
32004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32006 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32007 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32008 if (!SWIG_IsOK(res2
)) {
32009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32011 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32014 (arg1
)->RemovePen(arg2
);
32015 wxPyEndAllowThreads(__tstate
);
32016 if (PyErr_Occurred()) SWIG_fail
;
32018 resultobj
= SWIG_Py_Void();
32025 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32028 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32029 return SWIG_Py_Void();
32032 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32033 PyObject
*resultobj
= 0;
32034 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32035 wxColour
*arg2
= 0 ;
32036 int arg3
= (int) wxSOLID
;
32037 wxBrush
*result
= 0 ;
32043 PyObject
* obj0
= 0 ;
32044 PyObject
* obj1
= 0 ;
32045 PyObject
* obj2
= 0 ;
32046 char * kwnames
[] = {
32047 (char *) "self",(char *) "colour",(char *) "style", NULL
32050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32052 if (!SWIG_IsOK(res1
)) {
32053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32055 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32058 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32062 if (!SWIG_IsOK(ecode3
)) {
32063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32065 arg3
= static_cast< int >(val3
);
32068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32069 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32070 wxPyEndAllowThreads(__tstate
);
32071 if (PyErr_Occurred()) SWIG_fail
;
32073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32080 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32081 PyObject
*resultobj
= 0;
32082 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32083 wxBrush
*arg2
= (wxBrush
*) 0 ;
32088 PyObject
* obj0
= 0 ;
32089 PyObject
* obj1
= 0 ;
32090 char * kwnames
[] = {
32091 (char *) "self",(char *) "brush", NULL
32094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32096 if (!SWIG_IsOK(res1
)) {
32097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32099 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32100 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32101 if (!SWIG_IsOK(res2
)) {
32102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32104 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32107 (arg1
)->AddBrush(arg2
);
32108 wxPyEndAllowThreads(__tstate
);
32109 if (PyErr_Occurred()) SWIG_fail
;
32111 resultobj
= SWIG_Py_Void();
32118 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32119 PyObject
*resultobj
= 0;
32120 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32121 wxBrush
*arg2
= (wxBrush
*) 0 ;
32126 PyObject
* obj0
= 0 ;
32127 PyObject
* obj1
= 0 ;
32128 char * kwnames
[] = {
32129 (char *) "self",(char *) "brush", NULL
32132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32134 if (!SWIG_IsOK(res1
)) {
32135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32137 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32138 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32139 if (!SWIG_IsOK(res2
)) {
32140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32142 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32145 (arg1
)->RemoveBrush(arg2
);
32146 wxPyEndAllowThreads(__tstate
);
32147 if (PyErr_Occurred()) SWIG_fail
;
32149 resultobj
= SWIG_Py_Void();
32156 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32159 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32160 return SWIG_Py_Void();
32163 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32164 PyObject
*resultobj
= 0;
32165 wxFontList
*arg1
= (wxFontList
*) 0 ;
32170 bool arg6
= (bool) false ;
32171 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32172 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32173 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32174 wxFont
*result
= 0 ;
32187 bool temp7
= false ;
32190 PyObject
* obj0
= 0 ;
32191 PyObject
* obj1
= 0 ;
32192 PyObject
* obj2
= 0 ;
32193 PyObject
* obj3
= 0 ;
32194 PyObject
* obj4
= 0 ;
32195 PyObject
* obj5
= 0 ;
32196 PyObject
* obj6
= 0 ;
32197 PyObject
* obj7
= 0 ;
32198 char * kwnames
[] = {
32199 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32204 if (!SWIG_IsOK(res1
)) {
32205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32207 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32209 if (!SWIG_IsOK(ecode2
)) {
32210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32212 arg2
= static_cast< int >(val2
);
32213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32214 if (!SWIG_IsOK(ecode3
)) {
32215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32217 arg3
= static_cast< int >(val3
);
32218 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32219 if (!SWIG_IsOK(ecode4
)) {
32220 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32222 arg4
= static_cast< int >(val4
);
32223 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32224 if (!SWIG_IsOK(ecode5
)) {
32225 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32227 arg5
= static_cast< int >(val5
);
32229 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32230 if (!SWIG_IsOK(ecode6
)) {
32231 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32233 arg6
= static_cast< bool >(val6
);
32237 arg7
= wxString_in_helper(obj6
);
32238 if (arg7
== NULL
) SWIG_fail
;
32243 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32244 if (!SWIG_IsOK(ecode8
)) {
32245 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32247 arg8
= static_cast< wxFontEncoding
>(val8
);
32250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32251 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32252 wxPyEndAllowThreads(__tstate
);
32253 if (PyErr_Occurred()) SWIG_fail
;
32255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32270 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32271 PyObject
*resultobj
= 0;
32272 wxFontList
*arg1
= (wxFontList
*) 0 ;
32273 wxFont
*arg2
= (wxFont
*) 0 ;
32278 PyObject
* obj0
= 0 ;
32279 PyObject
* obj1
= 0 ;
32280 char * kwnames
[] = {
32281 (char *) "self",(char *) "font", NULL
32284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32286 if (!SWIG_IsOK(res1
)) {
32287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32289 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32290 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32291 if (!SWIG_IsOK(res2
)) {
32292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32294 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32297 (arg1
)->AddFont(arg2
);
32298 wxPyEndAllowThreads(__tstate
);
32299 if (PyErr_Occurred()) SWIG_fail
;
32301 resultobj
= SWIG_Py_Void();
32308 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32309 PyObject
*resultobj
= 0;
32310 wxFontList
*arg1
= (wxFontList
*) 0 ;
32311 wxFont
*arg2
= (wxFont
*) 0 ;
32316 PyObject
* obj0
= 0 ;
32317 PyObject
* obj1
= 0 ;
32318 char * kwnames
[] = {
32319 (char *) "self",(char *) "font", NULL
32322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32324 if (!SWIG_IsOK(res1
)) {
32325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32327 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32328 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32329 if (!SWIG_IsOK(res2
)) {
32330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32332 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32335 (arg1
)->RemoveFont(arg2
);
32336 wxPyEndAllowThreads(__tstate
);
32337 if (PyErr_Occurred()) SWIG_fail
;
32339 resultobj
= SWIG_Py_Void();
32346 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32348 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32349 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32350 return SWIG_Py_Void();
32353 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32354 PyObject
*resultobj
= 0;
32355 wxColourDatabase
*result
= 0 ;
32357 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32359 if (!wxPyCheckForApp()) SWIG_fail
;
32360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32361 result
= (wxColourDatabase
*)new wxColourDatabase();
32362 wxPyEndAllowThreads(__tstate
);
32363 if (PyErr_Occurred()) SWIG_fail
;
32365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32372 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32373 PyObject
*resultobj
= 0;
32374 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32377 PyObject
*swig_obj
[1] ;
32379 if (!args
) SWIG_fail
;
32380 swig_obj
[0] = args
;
32381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32382 if (!SWIG_IsOK(res1
)) {
32383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32385 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32390 wxPyEndAllowThreads(__tstate
);
32391 if (PyErr_Occurred()) SWIG_fail
;
32393 resultobj
= SWIG_Py_Void();
32400 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32401 PyObject
*resultobj
= 0;
32402 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32403 wxString
*arg2
= 0 ;
32407 bool temp2
= false ;
32408 PyObject
* obj0
= 0 ;
32409 PyObject
* obj1
= 0 ;
32410 char * kwnames
[] = {
32411 (char *) "self",(char *) "name", NULL
32414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32416 if (!SWIG_IsOK(res1
)) {
32417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32419 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32421 arg2
= wxString_in_helper(obj1
);
32422 if (arg2
== NULL
) SWIG_fail
;
32426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32427 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32428 wxPyEndAllowThreads(__tstate
);
32429 if (PyErr_Occurred()) SWIG_fail
;
32431 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32446 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32447 PyObject
*resultobj
= 0;
32448 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32449 wxColour
*arg2
= 0 ;
32454 PyObject
* obj0
= 0 ;
32455 PyObject
* obj1
= 0 ;
32456 char * kwnames
[] = {
32457 (char *) "self",(char *) "colour", NULL
32460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32462 if (!SWIG_IsOK(res1
)) {
32463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32465 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32468 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32472 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32473 wxPyEndAllowThreads(__tstate
);
32474 if (PyErr_Occurred()) SWIG_fail
;
32478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32489 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32490 PyObject
*resultobj
= 0;
32491 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32492 wxString
*arg2
= 0 ;
32493 wxColour
*arg3
= 0 ;
32496 bool temp2
= false ;
32498 PyObject
* obj0
= 0 ;
32499 PyObject
* obj1
= 0 ;
32500 PyObject
* obj2
= 0 ;
32501 char * kwnames
[] = {
32502 (char *) "self",(char *) "name",(char *) "colour", NULL
32505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32507 if (!SWIG_IsOK(res1
)) {
32508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32510 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32512 arg2
= wxString_in_helper(obj1
);
32513 if (arg2
== NULL
) SWIG_fail
;
32518 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32522 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32523 wxPyEndAllowThreads(__tstate
);
32524 if (PyErr_Occurred()) SWIG_fail
;
32526 resultobj
= SWIG_Py_Void();
32541 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32542 PyObject
*resultobj
= 0;
32543 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32544 wxString
*arg2
= 0 ;
32550 bool temp2
= false ;
32557 PyObject
* obj0
= 0 ;
32558 PyObject
* obj1
= 0 ;
32559 PyObject
* obj2
= 0 ;
32560 PyObject
* obj3
= 0 ;
32561 PyObject
* obj4
= 0 ;
32562 char * kwnames
[] = {
32563 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32568 if (!SWIG_IsOK(res1
)) {
32569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32571 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32573 arg2
= wxString_in_helper(obj1
);
32574 if (arg2
== NULL
) SWIG_fail
;
32577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32578 if (!SWIG_IsOK(ecode3
)) {
32579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32581 arg3
= static_cast< int >(val3
);
32582 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32583 if (!SWIG_IsOK(ecode4
)) {
32584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32586 arg4
= static_cast< int >(val4
);
32587 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32588 if (!SWIG_IsOK(ecode5
)) {
32589 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32591 arg5
= static_cast< int >(val5
);
32593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32594 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32595 wxPyEndAllowThreads(__tstate
);
32596 if (PyErr_Occurred()) SWIG_fail
;
32598 resultobj
= SWIG_Py_Void();
32613 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32616 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32617 return SWIG_Py_Void();
32620 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32621 return SWIG_Python_InitShadowInstance(args
);
32624 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32625 PyObject
*resultobj
= 0;
32626 wxFontList
*result
= 0 ;
32628 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32631 result
= (wxFontList
*)_wxPyInitTheFontList();
32632 wxPyEndAllowThreads(__tstate
);
32633 if (PyErr_Occurred()) SWIG_fail
;
32635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
32642 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32643 PyObject
*resultobj
= 0;
32644 wxPenList
*result
= 0 ;
32646 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
32648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32649 result
= (wxPenList
*)_wxPyInitThePenList();
32650 wxPyEndAllowThreads(__tstate
);
32651 if (PyErr_Occurred()) SWIG_fail
;
32653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
32660 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32661 PyObject
*resultobj
= 0;
32662 wxBrushList
*result
= 0 ;
32664 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
32666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32667 result
= (wxBrushList
*)_wxPyInitTheBrushList();
32668 wxPyEndAllowThreads(__tstate
);
32669 if (PyErr_Occurred()) SWIG_fail
;
32671 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
32678 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32679 PyObject
*resultobj
= 0;
32680 wxColourDatabase
*result
= 0 ;
32682 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
32684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32685 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
32686 wxPyEndAllowThreads(__tstate
);
32687 if (PyErr_Occurred()) SWIG_fail
;
32689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32696 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32697 PyObject
*resultobj
= 0;
32698 wxEffects
*result
= 0 ;
32700 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
32702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32703 result
= (wxEffects
*)new wxEffects();
32704 wxPyEndAllowThreads(__tstate
);
32705 if (PyErr_Occurred()) SWIG_fail
;
32707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
32714 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32715 PyObject
*resultobj
= 0;
32716 wxEffects
*arg1
= (wxEffects
*) 0 ;
32720 PyObject
*swig_obj
[1] ;
32722 if (!args
) SWIG_fail
;
32723 swig_obj
[0] = args
;
32724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32725 if (!SWIG_IsOK(res1
)) {
32726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32728 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32731 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
32732 wxPyEndAllowThreads(__tstate
);
32733 if (PyErr_Occurred()) SWIG_fail
;
32735 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32742 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32743 PyObject
*resultobj
= 0;
32744 wxEffects
*arg1
= (wxEffects
*) 0 ;
32748 PyObject
*swig_obj
[1] ;
32750 if (!args
) SWIG_fail
;
32751 swig_obj
[0] = args
;
32752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32753 if (!SWIG_IsOK(res1
)) {
32754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32756 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32759 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
32760 wxPyEndAllowThreads(__tstate
);
32761 if (PyErr_Occurred()) SWIG_fail
;
32763 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32770 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32771 PyObject
*resultobj
= 0;
32772 wxEffects
*arg1
= (wxEffects
*) 0 ;
32776 PyObject
*swig_obj
[1] ;
32778 if (!args
) SWIG_fail
;
32779 swig_obj
[0] = args
;
32780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32781 if (!SWIG_IsOK(res1
)) {
32782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
32784 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32787 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
32788 wxPyEndAllowThreads(__tstate
);
32789 if (PyErr_Occurred()) SWIG_fail
;
32791 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32798 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32799 PyObject
*resultobj
= 0;
32800 wxEffects
*arg1
= (wxEffects
*) 0 ;
32804 PyObject
*swig_obj
[1] ;
32806 if (!args
) SWIG_fail
;
32807 swig_obj
[0] = args
;
32808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32809 if (!SWIG_IsOK(res1
)) {
32810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32812 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32815 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
32816 wxPyEndAllowThreads(__tstate
);
32817 if (PyErr_Occurred()) SWIG_fail
;
32819 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32826 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32827 PyObject
*resultobj
= 0;
32828 wxEffects
*arg1
= (wxEffects
*) 0 ;
32832 PyObject
*swig_obj
[1] ;
32834 if (!args
) SWIG_fail
;
32835 swig_obj
[0] = args
;
32836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32837 if (!SWIG_IsOK(res1
)) {
32838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
32840 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32843 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
32844 wxPyEndAllowThreads(__tstate
);
32845 if (PyErr_Occurred()) SWIG_fail
;
32847 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32854 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32855 PyObject
*resultobj
= 0;
32856 wxEffects
*arg1
= (wxEffects
*) 0 ;
32857 wxColour
*arg2
= 0 ;
32861 PyObject
* obj0
= 0 ;
32862 PyObject
* obj1
= 0 ;
32863 char * kwnames
[] = {
32864 (char *) "self",(char *) "c", NULL
32867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32869 if (!SWIG_IsOK(res1
)) {
32870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32872 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32875 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32879 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
32880 wxPyEndAllowThreads(__tstate
);
32881 if (PyErr_Occurred()) SWIG_fail
;
32883 resultobj
= SWIG_Py_Void();
32890 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32891 PyObject
*resultobj
= 0;
32892 wxEffects
*arg1
= (wxEffects
*) 0 ;
32893 wxColour
*arg2
= 0 ;
32897 PyObject
* obj0
= 0 ;
32898 PyObject
* obj1
= 0 ;
32899 char * kwnames
[] = {
32900 (char *) "self",(char *) "c", NULL
32903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32905 if (!SWIG_IsOK(res1
)) {
32906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32908 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32911 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32915 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
32916 wxPyEndAllowThreads(__tstate
);
32917 if (PyErr_Occurred()) SWIG_fail
;
32919 resultobj
= SWIG_Py_Void();
32926 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32927 PyObject
*resultobj
= 0;
32928 wxEffects
*arg1
= (wxEffects
*) 0 ;
32929 wxColour
*arg2
= 0 ;
32933 PyObject
* obj0
= 0 ;
32934 PyObject
* obj1
= 0 ;
32935 char * kwnames
[] = {
32936 (char *) "self",(char *) "c", NULL
32939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32941 if (!SWIG_IsOK(res1
)) {
32942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
32944 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32947 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32951 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
32952 wxPyEndAllowThreads(__tstate
);
32953 if (PyErr_Occurred()) SWIG_fail
;
32955 resultobj
= SWIG_Py_Void();
32962 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32963 PyObject
*resultobj
= 0;
32964 wxEffects
*arg1
= (wxEffects
*) 0 ;
32965 wxColour
*arg2
= 0 ;
32969 PyObject
* obj0
= 0 ;
32970 PyObject
* obj1
= 0 ;
32971 char * kwnames
[] = {
32972 (char *) "self",(char *) "c", NULL
32975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
32977 if (!SWIG_IsOK(res1
)) {
32978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
32980 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
32983 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32987 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
32988 wxPyEndAllowThreads(__tstate
);
32989 if (PyErr_Occurred()) SWIG_fail
;
32991 resultobj
= SWIG_Py_Void();
32998 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32999 PyObject
*resultobj
= 0;
33000 wxEffects
*arg1
= (wxEffects
*) 0 ;
33001 wxColour
*arg2
= 0 ;
33005 PyObject
* obj0
= 0 ;
33006 PyObject
* obj1
= 0 ;
33007 char * kwnames
[] = {
33008 (char *) "self",(char *) "c", NULL
33011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33013 if (!SWIG_IsOK(res1
)) {
33014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33016 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33019 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33023 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33024 wxPyEndAllowThreads(__tstate
);
33025 if (PyErr_Occurred()) SWIG_fail
;
33027 resultobj
= SWIG_Py_Void();
33034 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33035 PyObject
*resultobj
= 0;
33036 wxEffects
*arg1
= (wxEffects
*) 0 ;
33037 wxColour
*arg2
= 0 ;
33038 wxColour
*arg3
= 0 ;
33039 wxColour
*arg4
= 0 ;
33040 wxColour
*arg5
= 0 ;
33041 wxColour
*arg6
= 0 ;
33049 PyObject
* obj0
= 0 ;
33050 PyObject
* obj1
= 0 ;
33051 PyObject
* obj2
= 0 ;
33052 PyObject
* obj3
= 0 ;
33053 PyObject
* obj4
= 0 ;
33054 PyObject
* obj5
= 0 ;
33055 char * kwnames
[] = {
33056 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33061 if (!SWIG_IsOK(res1
)) {
33062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33064 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33067 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33071 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33075 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33079 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33083 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33087 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33088 wxPyEndAllowThreads(__tstate
);
33089 if (PyErr_Occurred()) SWIG_fail
;
33091 resultobj
= SWIG_Py_Void();
33098 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33099 PyObject
*resultobj
= 0;
33100 wxEffects
*arg1
= (wxEffects
*) 0 ;
33103 int arg4
= (int) 1 ;
33111 PyObject
* obj0
= 0 ;
33112 PyObject
* obj1
= 0 ;
33113 PyObject
* obj2
= 0 ;
33114 PyObject
* obj3
= 0 ;
33115 char * kwnames
[] = {
33116 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33121 if (!SWIG_IsOK(res1
)) {
33122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33124 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33125 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33126 if (!SWIG_IsOK(res2
)) {
33127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33132 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33135 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33138 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33139 if (!SWIG_IsOK(ecode4
)) {
33140 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33142 arg4
= static_cast< int >(val4
);
33145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33146 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33147 wxPyEndAllowThreads(__tstate
);
33148 if (PyErr_Occurred()) SWIG_fail
;
33150 resultobj
= SWIG_Py_Void();
33157 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33158 PyObject
*resultobj
= 0;
33159 wxEffects
*arg1
= (wxEffects
*) 0 ;
33162 wxBitmap
*arg4
= 0 ;
33171 PyObject
* obj0
= 0 ;
33172 PyObject
* obj1
= 0 ;
33173 PyObject
* obj2
= 0 ;
33174 PyObject
* obj3
= 0 ;
33175 char * kwnames
[] = {
33176 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33181 if (!SWIG_IsOK(res1
)) {
33182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33184 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33187 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33189 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33190 if (!SWIG_IsOK(res3
)) {
33191 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33196 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33197 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33198 if (!SWIG_IsOK(res4
)) {
33199 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33204 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33207 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33208 wxPyEndAllowThreads(__tstate
);
33209 if (PyErr_Occurred()) SWIG_fail
;
33212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33220 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33223 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33224 return SWIG_Py_Void();
33227 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33228 return SWIG_Python_InitShadowInstance(args
);
33231 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33232 PyObject
*resultobj
= 0;
33236 wxSplitterRenderParams
*result
= 0 ;
33243 PyObject
* obj0
= 0 ;
33244 PyObject
* obj1
= 0 ;
33245 PyObject
* obj2
= 0 ;
33246 char * kwnames
[] = {
33247 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33251 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33252 if (!SWIG_IsOK(ecode1
)) {
33253 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33255 arg1
= static_cast< int >(val1
);
33256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33257 if (!SWIG_IsOK(ecode2
)) {
33258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33260 arg2
= static_cast< int >(val2
);
33261 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33262 if (!SWIG_IsOK(ecode3
)) {
33263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33265 arg3
= static_cast< bool >(val3
);
33267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33268 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33269 wxPyEndAllowThreads(__tstate
);
33270 if (PyErr_Occurred()) SWIG_fail
;
33272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33279 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33280 PyObject
*resultobj
= 0;
33281 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33284 PyObject
*swig_obj
[1] ;
33286 if (!args
) SWIG_fail
;
33287 swig_obj
[0] = args
;
33288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33289 if (!SWIG_IsOK(res1
)) {
33290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33292 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33297 wxPyEndAllowThreads(__tstate
);
33298 if (PyErr_Occurred()) SWIG_fail
;
33300 resultobj
= SWIG_Py_Void();
33307 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33308 PyObject
*resultobj
= 0;
33309 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33313 PyObject
*swig_obj
[1] ;
33315 if (!args
) SWIG_fail
;
33316 swig_obj
[0] = args
;
33317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33318 if (!SWIG_IsOK(res1
)) {
33319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33321 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33322 result
= (int)(int) ((arg1
)->widthSash
);
33323 resultobj
= SWIG_From_int(static_cast< int >(result
));
33330 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33331 PyObject
*resultobj
= 0;
33332 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33336 PyObject
*swig_obj
[1] ;
33338 if (!args
) SWIG_fail
;
33339 swig_obj
[0] = args
;
33340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33341 if (!SWIG_IsOK(res1
)) {
33342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33344 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33345 result
= (int)(int) ((arg1
)->border
);
33346 resultobj
= SWIG_From_int(static_cast< int >(result
));
33353 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33354 PyObject
*resultobj
= 0;
33355 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33359 PyObject
*swig_obj
[1] ;
33361 if (!args
) SWIG_fail
;
33362 swig_obj
[0] = args
;
33363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33364 if (!SWIG_IsOK(res1
)) {
33365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33367 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33368 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33369 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33376 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33378 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33379 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33380 return SWIG_Py_Void();
33383 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33384 return SWIG_Python_InitShadowInstance(args
);
33387 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33388 PyObject
*resultobj
= 0;
33389 wxHeaderButtonParams
*result
= 0 ;
33391 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33394 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33395 wxPyEndAllowThreads(__tstate
);
33396 if (PyErr_Occurred()) SWIG_fail
;
33398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33405 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33406 PyObject
*resultobj
= 0;
33407 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33410 PyObject
*swig_obj
[1] ;
33412 if (!args
) SWIG_fail
;
33413 swig_obj
[0] = args
;
33414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33415 if (!SWIG_IsOK(res1
)) {
33416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33418 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33423 wxPyEndAllowThreads(__tstate
);
33424 if (PyErr_Occurred()) SWIG_fail
;
33426 resultobj
= SWIG_Py_Void();
33433 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33434 PyObject
*resultobj
= 0;
33435 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33436 wxColour
*arg2
= (wxColour
*) 0 ;
33440 PyObject
*swig_obj
[2] ;
33442 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33444 if (!SWIG_IsOK(res1
)) {
33445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33447 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33450 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33452 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33454 resultobj
= SWIG_Py_Void();
33461 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33462 PyObject
*resultobj
= 0;
33463 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33464 wxColour
*result
= 0 ;
33467 PyObject
*swig_obj
[1] ;
33469 if (!args
) SWIG_fail
;
33470 swig_obj
[0] = args
;
33471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33472 if (!SWIG_IsOK(res1
)) {
33473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33475 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33476 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33484 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33485 PyObject
*resultobj
= 0;
33486 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33487 wxColour
*arg2
= (wxColour
*) 0 ;
33491 PyObject
*swig_obj
[2] ;
33493 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33495 if (!SWIG_IsOK(res1
)) {
33496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33498 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33501 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33503 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33505 resultobj
= SWIG_Py_Void();
33512 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33513 PyObject
*resultobj
= 0;
33514 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33515 wxColour
*result
= 0 ;
33518 PyObject
*swig_obj
[1] ;
33520 if (!args
) SWIG_fail
;
33521 swig_obj
[0] = args
;
33522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33523 if (!SWIG_IsOK(res1
)) {
33524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33526 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33527 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33535 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33536 PyObject
*resultobj
= 0;
33537 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33538 wxString
*arg2
= (wxString
*) 0 ;
33541 bool temp2
= false ;
33542 PyObject
*swig_obj
[2] ;
33544 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33546 if (!SWIG_IsOK(res1
)) {
33547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33549 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33551 arg2
= wxString_in_helper(swig_obj
[1]);
33552 if (arg2
== NULL
) SWIG_fail
;
33555 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33557 resultobj
= SWIG_Py_Void();
33572 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33573 PyObject
*resultobj
= 0;
33574 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33575 wxString
*result
= 0 ;
33578 PyObject
*swig_obj
[1] ;
33580 if (!args
) SWIG_fail
;
33581 swig_obj
[0] = args
;
33582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33583 if (!SWIG_IsOK(res1
)) {
33584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33586 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33587 result
= (wxString
*)& ((arg1
)->m_labelText
);
33590 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33592 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33601 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33602 PyObject
*resultobj
= 0;
33603 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33604 wxFont
*arg2
= (wxFont
*) 0 ;
33609 PyObject
*swig_obj
[2] ;
33611 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33613 if (!SWIG_IsOK(res1
)) {
33614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33616 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33617 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33618 if (!SWIG_IsOK(res2
)) {
33619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33621 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33622 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33624 resultobj
= SWIG_Py_Void();
33631 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33632 PyObject
*resultobj
= 0;
33633 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33634 wxFont
*result
= 0 ;
33637 PyObject
*swig_obj
[1] ;
33639 if (!args
) SWIG_fail
;
33640 swig_obj
[0] = args
;
33641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33642 if (!SWIG_IsOK(res1
)) {
33643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33645 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33646 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
33647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33654 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33655 PyObject
*resultobj
= 0;
33656 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33657 wxColour
*arg2
= (wxColour
*) 0 ;
33661 PyObject
*swig_obj
[2] ;
33663 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
33664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33665 if (!SWIG_IsOK(res1
)) {
33666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33668 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33671 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33673 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
33675 resultobj
= SWIG_Py_Void();
33682 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33683 PyObject
*resultobj
= 0;
33684 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33685 wxColour
*result
= 0 ;
33688 PyObject
*swig_obj
[1] ;
33690 if (!args
) SWIG_fail
;
33691 swig_obj
[0] = args
;
33692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33693 if (!SWIG_IsOK(res1
)) {
33694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33696 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33697 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
33698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33705 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33706 PyObject
*resultobj
= 0;
33707 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33708 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
33713 PyObject
*swig_obj
[2] ;
33715 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
33716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33717 if (!SWIG_IsOK(res1
)) {
33718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33720 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33721 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
33722 if (!SWIG_IsOK(res2
)) {
33723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
33725 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33726 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
33728 resultobj
= SWIG_Py_Void();
33735 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33736 PyObject
*resultobj
= 0;
33737 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33738 wxBitmap
*result
= 0 ;
33741 PyObject
*swig_obj
[1] ;
33743 if (!args
) SWIG_fail
;
33744 swig_obj
[0] = args
;
33745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33746 if (!SWIG_IsOK(res1
)) {
33747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33749 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33750 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
33751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
33758 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33759 PyObject
*resultobj
= 0;
33760 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33766 PyObject
*swig_obj
[2] ;
33768 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
33769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33770 if (!SWIG_IsOK(res1
)) {
33771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33773 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33774 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33775 if (!SWIG_IsOK(ecode2
)) {
33776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
33778 arg2
= static_cast< int >(val2
);
33779 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
33781 resultobj
= SWIG_Py_Void();
33788 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33789 PyObject
*resultobj
= 0;
33790 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33794 PyObject
*swig_obj
[1] ;
33796 if (!args
) SWIG_fail
;
33797 swig_obj
[0] = args
;
33798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33799 if (!SWIG_IsOK(res1
)) {
33800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33802 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33803 result
= (int) ((arg1
)->m_labelAlignment
);
33804 resultobj
= SWIG_From_int(static_cast< int >(result
));
33811 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33814 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
33815 return SWIG_Py_Void();
33818 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33819 return SWIG_Python_InitShadowInstance(args
);
33822 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33823 PyObject
*resultobj
= 0;
33826 wxRendererVersion
*result
= 0 ;
33831 PyObject
* obj0
= 0 ;
33832 PyObject
* obj1
= 0 ;
33833 char * kwnames
[] = {
33834 (char *) "version_",(char *) "age_", NULL
33837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33838 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33839 if (!SWIG_IsOK(ecode1
)) {
33840 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
33842 arg1
= static_cast< int >(val1
);
33843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33844 if (!SWIG_IsOK(ecode2
)) {
33845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
33847 arg2
= static_cast< int >(val2
);
33849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33850 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
33851 wxPyEndAllowThreads(__tstate
);
33852 if (PyErr_Occurred()) SWIG_fail
;
33854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
33861 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33862 PyObject
*resultobj
= 0;
33863 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33866 PyObject
*swig_obj
[1] ;
33868 if (!args
) SWIG_fail
;
33869 swig_obj
[0] = args
;
33870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
33871 if (!SWIG_IsOK(res1
)) {
33872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33874 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33879 wxPyEndAllowThreads(__tstate
);
33880 if (PyErr_Occurred()) SWIG_fail
;
33882 resultobj
= SWIG_Py_Void();
33889 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33890 PyObject
*resultobj
= 0;
33891 wxRendererVersion
*arg1
= 0 ;
33895 PyObject
* obj0
= 0 ;
33896 char * kwnames
[] = {
33897 (char *) "ver", NULL
33900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
33901 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
33902 if (!SWIG_IsOK(res1
)) {
33903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
33908 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33911 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
33912 wxPyEndAllowThreads(__tstate
);
33913 if (PyErr_Occurred()) SWIG_fail
;
33916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33924 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33925 PyObject
*resultobj
= 0;
33926 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33930 PyObject
*swig_obj
[1] ;
33932 if (!args
) SWIG_fail
;
33933 swig_obj
[0] = args
;
33934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33935 if (!SWIG_IsOK(res1
)) {
33936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33938 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33939 result
= (int)(int) ((arg1
)->version
);
33940 resultobj
= SWIG_From_int(static_cast< int >(result
));
33947 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33948 PyObject
*resultobj
= 0;
33949 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
33953 PyObject
*swig_obj
[1] ;
33955 if (!args
) SWIG_fail
;
33956 swig_obj
[0] = args
;
33957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
33958 if (!SWIG_IsOK(res1
)) {
33959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
33961 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
33962 result
= (int)(int) ((arg1
)->age
);
33963 resultobj
= SWIG_From_int(static_cast< int >(result
));
33970 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33973 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
33974 return SWIG_Py_Void();
33977 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33978 return SWIG_Python_InitShadowInstance(args
);
33981 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33982 PyObject
*resultobj
= 0;
33983 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
33984 wxWindow
*arg2
= (wxWindow
*) 0 ;
33987 int arg5
= (int) 0 ;
33988 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
33989 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34003 PyObject
* obj0
= 0 ;
34004 PyObject
* obj1
= 0 ;
34005 PyObject
* obj2
= 0 ;
34006 PyObject
* obj3
= 0 ;
34007 PyObject
* obj4
= 0 ;
34008 PyObject
* obj5
= 0 ;
34009 PyObject
* obj6
= 0 ;
34010 char * kwnames
[] = {
34011 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34016 if (!SWIG_IsOK(res1
)) {
34017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34019 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34020 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34021 if (!SWIG_IsOK(res2
)) {
34022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34024 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34025 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34026 if (!SWIG_IsOK(res3
)) {
34027 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34032 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34035 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34038 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34039 if (!SWIG_IsOK(ecode5
)) {
34040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34042 arg5
= static_cast< int >(val5
);
34045 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34046 if (!SWIG_IsOK(ecode6
)) {
34047 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34049 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34052 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34053 if (!SWIG_IsOK(res7
)) {
34054 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34056 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34060 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34061 wxPyEndAllowThreads(__tstate
);
34062 if (PyErr_Occurred()) SWIG_fail
;
34064 resultobj
= SWIG_Py_Void();
34071 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34072 PyObject
*resultobj
= 0;
34073 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34074 wxWindow
*arg2
= (wxWindow
*) 0 ;
34077 int arg5
= (int) 0 ;
34078 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34079 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34093 PyObject
* obj0
= 0 ;
34094 PyObject
* obj1
= 0 ;
34095 PyObject
* obj2
= 0 ;
34096 PyObject
* obj3
= 0 ;
34097 PyObject
* obj4
= 0 ;
34098 PyObject
* obj5
= 0 ;
34099 PyObject
* obj6
= 0 ;
34100 char * kwnames
[] = {
34101 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34106 if (!SWIG_IsOK(res1
)) {
34107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34109 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34110 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34111 if (!SWIG_IsOK(res2
)) {
34112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34114 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34115 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34116 if (!SWIG_IsOK(res3
)) {
34117 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34122 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34125 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34128 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34129 if (!SWIG_IsOK(ecode5
)) {
34130 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34132 arg5
= static_cast< int >(val5
);
34135 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34136 if (!SWIG_IsOK(ecode6
)) {
34137 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34139 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34142 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34143 if (!SWIG_IsOK(res7
)) {
34144 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34146 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34150 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34151 wxPyEndAllowThreads(__tstate
);
34152 if (PyErr_Occurred()) SWIG_fail
;
34154 resultobj
= SWIG_Py_Void();
34161 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34162 PyObject
*resultobj
= 0;
34163 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34164 wxWindow
*arg2
= (wxWindow
*) 0 ;
34170 PyObject
* obj0
= 0 ;
34171 PyObject
* obj1
= 0 ;
34172 char * kwnames
[] = {
34173 (char *) "self",(char *) "win", NULL
34176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34178 if (!SWIG_IsOK(res1
)) {
34179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34181 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34182 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34183 if (!SWIG_IsOK(res2
)) {
34184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34186 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34189 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34190 wxPyEndAllowThreads(__tstate
);
34191 if (PyErr_Occurred()) SWIG_fail
;
34193 resultobj
= SWIG_From_int(static_cast< int >(result
));
34200 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34201 PyObject
*resultobj
= 0;
34202 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34203 wxWindow
*arg2
= (wxWindow
*) 0 ;
34206 int arg5
= (int) 0 ;
34216 PyObject
* obj0
= 0 ;
34217 PyObject
* obj1
= 0 ;
34218 PyObject
* obj2
= 0 ;
34219 PyObject
* obj3
= 0 ;
34220 PyObject
* obj4
= 0 ;
34221 char * kwnames
[] = {
34222 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34227 if (!SWIG_IsOK(res1
)) {
34228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34230 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34231 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34232 if (!SWIG_IsOK(res2
)) {
34233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34235 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34236 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34237 if (!SWIG_IsOK(res3
)) {
34238 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34243 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34246 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34249 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34250 if (!SWIG_IsOK(ecode5
)) {
34251 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34253 arg5
= static_cast< int >(val5
);
34256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34257 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34258 wxPyEndAllowThreads(__tstate
);
34259 if (PyErr_Occurred()) SWIG_fail
;
34261 resultobj
= SWIG_Py_Void();
34268 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34269 PyObject
*resultobj
= 0;
34270 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34271 wxWindow
*arg2
= (wxWindow
*) 0 ;
34274 int arg5
= (int) 0 ;
34284 PyObject
* obj0
= 0 ;
34285 PyObject
* obj1
= 0 ;
34286 PyObject
* obj2
= 0 ;
34287 PyObject
* obj3
= 0 ;
34288 PyObject
* obj4
= 0 ;
34289 char * kwnames
[] = {
34290 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34295 if (!SWIG_IsOK(res1
)) {
34296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34298 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34299 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34300 if (!SWIG_IsOK(res2
)) {
34301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34303 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34304 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34305 if (!SWIG_IsOK(res3
)) {
34306 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34311 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34314 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34317 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34318 if (!SWIG_IsOK(ecode5
)) {
34319 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34321 arg5
= static_cast< int >(val5
);
34324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34325 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34326 wxPyEndAllowThreads(__tstate
);
34327 if (PyErr_Occurred()) SWIG_fail
;
34329 resultobj
= SWIG_Py_Void();
34336 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34337 PyObject
*resultobj
= 0;
34338 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34339 wxWindow
*arg2
= (wxWindow
*) 0 ;
34343 wxOrientation arg6
;
34344 int arg7
= (int) 0 ;
34358 PyObject
* obj0
= 0 ;
34359 PyObject
* obj1
= 0 ;
34360 PyObject
* obj2
= 0 ;
34361 PyObject
* obj3
= 0 ;
34362 PyObject
* obj4
= 0 ;
34363 PyObject
* obj5
= 0 ;
34364 PyObject
* obj6
= 0 ;
34365 char * kwnames
[] = {
34366 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34371 if (!SWIG_IsOK(res1
)) {
34372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34374 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34375 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34376 if (!SWIG_IsOK(res2
)) {
34377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34379 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34380 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34381 if (!SWIG_IsOK(res3
)) {
34382 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34387 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34390 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34392 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34393 if (!SWIG_IsOK(ecode5
)) {
34394 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34396 arg5
= static_cast< int >(val5
);
34397 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34398 if (!SWIG_IsOK(ecode6
)) {
34399 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34401 arg6
= static_cast< wxOrientation
>(val6
);
34403 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34404 if (!SWIG_IsOK(ecode7
)) {
34405 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34407 arg7
= static_cast< int >(val7
);
34410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34411 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34412 wxPyEndAllowThreads(__tstate
);
34413 if (PyErr_Occurred()) SWIG_fail
;
34415 resultobj
= SWIG_Py_Void();
34422 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34423 PyObject
*resultobj
= 0;
34424 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34425 wxWindow
*arg2
= (wxWindow
*) 0 ;
34428 int arg5
= (int) 0 ;
34438 PyObject
* obj0
= 0 ;
34439 PyObject
* obj1
= 0 ;
34440 PyObject
* obj2
= 0 ;
34441 PyObject
* obj3
= 0 ;
34442 PyObject
* obj4
= 0 ;
34443 char * kwnames
[] = {
34444 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34449 if (!SWIG_IsOK(res1
)) {
34450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34452 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34453 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34454 if (!SWIG_IsOK(res2
)) {
34455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34457 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34458 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34459 if (!SWIG_IsOK(res3
)) {
34460 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34465 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34468 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34471 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34472 if (!SWIG_IsOK(ecode5
)) {
34473 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34475 arg5
= static_cast< int >(val5
);
34478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34479 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34480 wxPyEndAllowThreads(__tstate
);
34481 if (PyErr_Occurred()) SWIG_fail
;
34483 resultobj
= SWIG_Py_Void();
34490 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34491 PyObject
*resultobj
= 0;
34492 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34493 wxWindow
*arg2
= (wxWindow
*) 0 ;
34496 int arg5
= (int) 0 ;
34506 PyObject
* obj0
= 0 ;
34507 PyObject
* obj1
= 0 ;
34508 PyObject
* obj2
= 0 ;
34509 PyObject
* obj3
= 0 ;
34510 PyObject
* obj4
= 0 ;
34511 char * kwnames
[] = {
34512 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34517 if (!SWIG_IsOK(res1
)) {
34518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34520 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34521 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34522 if (!SWIG_IsOK(res2
)) {
34523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34525 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34526 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34527 if (!SWIG_IsOK(res3
)) {
34528 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34531 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34533 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34536 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34539 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34540 if (!SWIG_IsOK(ecode5
)) {
34541 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34543 arg5
= static_cast< int >(val5
);
34546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34547 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34548 wxPyEndAllowThreads(__tstate
);
34549 if (PyErr_Occurred()) SWIG_fail
;
34551 resultobj
= SWIG_Py_Void();
34558 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34559 PyObject
*resultobj
= 0;
34560 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34561 wxWindow
*arg2
= (wxWindow
*) 0 ;
34564 int arg5
= (int) 0 ;
34574 PyObject
* obj0
= 0 ;
34575 PyObject
* obj1
= 0 ;
34576 PyObject
* obj2
= 0 ;
34577 PyObject
* obj3
= 0 ;
34578 PyObject
* obj4
= 0 ;
34579 char * kwnames
[] = {
34580 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34585 if (!SWIG_IsOK(res1
)) {
34586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34588 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34590 if (!SWIG_IsOK(res2
)) {
34591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34593 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34594 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34595 if (!SWIG_IsOK(res3
)) {
34596 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34601 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34604 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34607 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34608 if (!SWIG_IsOK(ecode5
)) {
34609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34611 arg5
= static_cast< int >(val5
);
34614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34615 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34616 wxPyEndAllowThreads(__tstate
);
34617 if (PyErr_Occurred()) SWIG_fail
;
34619 resultobj
= SWIG_Py_Void();
34626 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34627 PyObject
*resultobj
= 0;
34628 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34629 wxWindow
*arg2
= (wxWindow
*) 0 ;
34632 int arg5
= (int) 0 ;
34642 PyObject
* obj0
= 0 ;
34643 PyObject
* obj1
= 0 ;
34644 PyObject
* obj2
= 0 ;
34645 PyObject
* obj3
= 0 ;
34646 PyObject
* obj4
= 0 ;
34647 char * kwnames
[] = {
34648 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34653 if (!SWIG_IsOK(res1
)) {
34654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34656 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34657 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34658 if (!SWIG_IsOK(res2
)) {
34659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34661 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34662 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34663 if (!SWIG_IsOK(res3
)) {
34664 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
34669 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34672 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34675 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34676 if (!SWIG_IsOK(ecode5
)) {
34677 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
34679 arg5
= static_cast< int >(val5
);
34682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34683 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34684 wxPyEndAllowThreads(__tstate
);
34685 if (PyErr_Occurred()) SWIG_fail
;
34687 resultobj
= SWIG_Py_Void();
34694 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34695 PyObject
*resultobj
= 0;
34696 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34697 wxWindow
*arg2
= (wxWindow
*) 0 ;
34700 int arg5
= (int) 0 ;
34710 PyObject
* obj0
= 0 ;
34711 PyObject
* obj1
= 0 ;
34712 PyObject
* obj2
= 0 ;
34713 PyObject
* obj3
= 0 ;
34714 PyObject
* obj4
= 0 ;
34715 char * kwnames
[] = {
34716 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34721 if (!SWIG_IsOK(res1
)) {
34722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34724 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34725 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34726 if (!SWIG_IsOK(res2
)) {
34727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
34729 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34730 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34731 if (!SWIG_IsOK(res3
)) {
34732 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
34737 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34740 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34743 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34744 if (!SWIG_IsOK(ecode5
)) {
34745 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
34747 arg5
= static_cast< int >(val5
);
34750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34751 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34752 wxPyEndAllowThreads(__tstate
);
34753 if (PyErr_Occurred()) SWIG_fail
;
34755 resultobj
= SWIG_Py_Void();
34762 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34763 PyObject
*resultobj
= 0;
34764 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34765 wxWindow
*arg2
= (wxWindow
*) 0 ;
34766 SwigValueWrapper
<wxSplitterRenderParams
> result
;
34771 PyObject
* obj0
= 0 ;
34772 PyObject
* obj1
= 0 ;
34773 char * kwnames
[] = {
34774 (char *) "self",(char *) "win", NULL
34777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34779 if (!SWIG_IsOK(res1
)) {
34780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34782 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34783 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34784 if (!SWIG_IsOK(res2
)) {
34785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
34787 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34790 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
34791 wxPyEndAllowThreads(__tstate
);
34792 if (PyErr_Occurred()) SWIG_fail
;
34794 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
34801 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34802 PyObject
*resultobj
= 0;
34803 wxRendererNative
*result
= 0 ;
34805 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
34807 if (!wxPyCheckForApp()) SWIG_fail
;
34808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34810 wxRendererNative
&_result_ref
= wxRendererNative::Get();
34811 result
= (wxRendererNative
*) &_result_ref
;
34813 wxPyEndAllowThreads(__tstate
);
34814 if (PyErr_Occurred()) SWIG_fail
;
34816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34823 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34824 PyObject
*resultobj
= 0;
34825 wxRendererNative
*result
= 0 ;
34827 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
34829 if (!wxPyCheckForApp()) SWIG_fail
;
34830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34832 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
34833 result
= (wxRendererNative
*) &_result_ref
;
34835 wxPyEndAllowThreads(__tstate
);
34836 if (PyErr_Occurred()) SWIG_fail
;
34838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34845 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34846 PyObject
*resultobj
= 0;
34847 wxRendererNative
*result
= 0 ;
34849 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
34851 if (!wxPyCheckForApp()) SWIG_fail
;
34852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34854 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
34855 result
= (wxRendererNative
*) &_result_ref
;
34857 wxPyEndAllowThreads(__tstate
);
34858 if (PyErr_Occurred()) SWIG_fail
;
34860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34867 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34868 PyObject
*resultobj
= 0;
34869 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34870 wxRendererNative
*result
= 0 ;
34873 PyObject
* obj0
= 0 ;
34874 char * kwnames
[] = {
34875 (char *) "renderer", NULL
34878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
34879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34880 if (!SWIG_IsOK(res1
)) {
34881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34883 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34885 if (!wxPyCheckForApp()) SWIG_fail
;
34886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34887 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
34888 wxPyEndAllowThreads(__tstate
);
34889 if (PyErr_Occurred()) SWIG_fail
;
34891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34898 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34899 PyObject
*resultobj
= 0;
34900 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34901 SwigValueWrapper
<wxRendererVersion
> result
;
34904 PyObject
*swig_obj
[1] ;
34906 if (!args
) SWIG_fail
;
34907 swig_obj
[0] = args
;
34908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34909 if (!SWIG_IsOK(res1
)) {
34910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
34912 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34915 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
34916 wxPyEndAllowThreads(__tstate
);
34917 if (PyErr_Occurred()) SWIG_fail
;
34919 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
34926 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34928 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34929 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
34930 return SWIG_Py_Void();
34933 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34934 PyObject
*resultobj
= 0;
34935 wxPseudoDC
*result
= 0 ;
34937 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
34939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34940 result
= (wxPseudoDC
*)new wxPseudoDC();
34941 wxPyEndAllowThreads(__tstate
);
34942 if (PyErr_Occurred()) SWIG_fail
;
34944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
34951 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34952 PyObject
*resultobj
= 0;
34953 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34956 PyObject
*swig_obj
[1] ;
34958 if (!args
) SWIG_fail
;
34959 swig_obj
[0] = args
;
34960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34961 if (!SWIG_IsOK(res1
)) {
34962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34964 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34967 (arg1
)->BeginDrawing();
34968 wxPyEndAllowThreads(__tstate
);
34969 if (PyErr_Occurred()) SWIG_fail
;
34971 resultobj
= SWIG_Py_Void();
34978 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34979 PyObject
*resultobj
= 0;
34980 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34983 PyObject
*swig_obj
[1] ;
34985 if (!args
) SWIG_fail
;
34986 swig_obj
[0] = args
;
34987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34988 if (!SWIG_IsOK(res1
)) {
34989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34991 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34994 (arg1
)->EndDrawing();
34995 wxPyEndAllowThreads(__tstate
);
34996 if (PyErr_Occurred()) SWIG_fail
;
34998 resultobj
= SWIG_Py_Void();
35005 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35006 PyObject
*resultobj
= 0;
35007 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35010 PyObject
*swig_obj
[1] ;
35012 if (!args
) SWIG_fail
;
35013 swig_obj
[0] = args
;
35014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35015 if (!SWIG_IsOK(res1
)) {
35016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35018 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35023 wxPyEndAllowThreads(__tstate
);
35024 if (PyErr_Occurred()) SWIG_fail
;
35026 resultobj
= SWIG_Py_Void();
35033 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35034 PyObject
*resultobj
= 0;
35035 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35038 PyObject
*swig_obj
[1] ;
35040 if (!args
) SWIG_fail
;
35041 swig_obj
[0] = args
;
35042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35043 if (!SWIG_IsOK(res1
)) {
35044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35046 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35049 (arg1
)->RemoveAll();
35050 wxPyEndAllowThreads(__tstate
);
35051 if (PyErr_Occurred()) SWIG_fail
;
35053 resultobj
= SWIG_Py_Void();
35060 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35061 PyObject
*resultobj
= 0;
35062 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35066 PyObject
*swig_obj
[1] ;
35068 if (!args
) SWIG_fail
;
35069 swig_obj
[0] = args
;
35070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35071 if (!SWIG_IsOK(res1
)) {
35072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35074 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35077 result
= (int)(arg1
)->GetLen();
35078 wxPyEndAllowThreads(__tstate
);
35079 if (PyErr_Occurred()) SWIG_fail
;
35081 resultobj
= SWIG_From_int(static_cast< int >(result
));
35088 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35089 PyObject
*resultobj
= 0;
35090 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35096 PyObject
* obj0
= 0 ;
35097 PyObject
* obj1
= 0 ;
35098 char * kwnames
[] = {
35099 (char *) "self",(char *) "id", NULL
35102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35104 if (!SWIG_IsOK(res1
)) {
35105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35107 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35109 if (!SWIG_IsOK(ecode2
)) {
35110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35112 arg2
= static_cast< int >(val2
);
35114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35115 (arg1
)->SetId(arg2
);
35116 wxPyEndAllowThreads(__tstate
);
35117 if (PyErr_Occurred()) SWIG_fail
;
35119 resultobj
= SWIG_Py_Void();
35126 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35127 PyObject
*resultobj
= 0;
35128 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35134 PyObject
* obj0
= 0 ;
35135 PyObject
* obj1
= 0 ;
35136 char * kwnames
[] = {
35137 (char *) "self",(char *) "id", NULL
35140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35142 if (!SWIG_IsOK(res1
)) {
35143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35145 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35147 if (!SWIG_IsOK(ecode2
)) {
35148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35150 arg2
= static_cast< int >(val2
);
35152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35153 (arg1
)->ClearId(arg2
);
35154 wxPyEndAllowThreads(__tstate
);
35155 if (PyErr_Occurred()) SWIG_fail
;
35157 resultobj
= SWIG_Py_Void();
35164 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35165 PyObject
*resultobj
= 0;
35166 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35172 PyObject
* obj0
= 0 ;
35173 PyObject
* obj1
= 0 ;
35174 char * kwnames
[] = {
35175 (char *) "self",(char *) "id", NULL
35178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35180 if (!SWIG_IsOK(res1
)) {
35181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35183 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35185 if (!SWIG_IsOK(ecode2
)) {
35186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35188 arg2
= static_cast< int >(val2
);
35190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35191 (arg1
)->RemoveId(arg2
);
35192 wxPyEndAllowThreads(__tstate
);
35193 if (PyErr_Occurred()) SWIG_fail
;
35195 resultobj
= SWIG_Py_Void();
35202 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35203 PyObject
*resultobj
= 0;
35204 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35216 PyObject
* obj0
= 0 ;
35217 PyObject
* obj1
= 0 ;
35218 PyObject
* obj2
= 0 ;
35219 PyObject
* obj3
= 0 ;
35220 char * kwnames
[] = {
35221 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35226 if (!SWIG_IsOK(res1
)) {
35227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35229 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35231 if (!SWIG_IsOK(ecode2
)) {
35232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35234 arg2
= static_cast< int >(val2
);
35235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35236 if (!SWIG_IsOK(ecode3
)) {
35237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35239 arg3
= static_cast< int >(val3
);
35240 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35241 if (!SWIG_IsOK(ecode4
)) {
35242 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35244 arg4
= static_cast< int >(val4
);
35246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35247 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35248 wxPyEndAllowThreads(__tstate
);
35249 if (PyErr_Occurred()) SWIG_fail
;
35251 resultobj
= SWIG_Py_Void();
35258 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35259 PyObject
*resultobj
= 0;
35260 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35262 bool arg3
= (bool) true ;
35269 PyObject
* obj0
= 0 ;
35270 PyObject
* obj1
= 0 ;
35271 PyObject
* obj2
= 0 ;
35272 char * kwnames
[] = {
35273 (char *) "self",(char *) "id",(char *) "greyout", NULL
35276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35278 if (!SWIG_IsOK(res1
)) {
35279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35281 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35283 if (!SWIG_IsOK(ecode2
)) {
35284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35286 arg2
= static_cast< int >(val2
);
35288 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35289 if (!SWIG_IsOK(ecode3
)) {
35290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35292 arg3
= static_cast< bool >(val3
);
35295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35296 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35297 wxPyEndAllowThreads(__tstate
);
35298 if (PyErr_Occurred()) SWIG_fail
;
35300 resultobj
= SWIG_Py_Void();
35307 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35308 PyObject
*resultobj
= 0;
35309 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35316 PyObject
* obj0
= 0 ;
35317 PyObject
* obj1
= 0 ;
35318 char * kwnames
[] = {
35319 (char *) "self",(char *) "id", NULL
35322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35324 if (!SWIG_IsOK(res1
)) {
35325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35327 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35329 if (!SWIG_IsOK(ecode2
)) {
35330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35332 arg2
= static_cast< int >(val2
);
35334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35335 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35336 wxPyEndAllowThreads(__tstate
);
35337 if (PyErr_Occurred()) SWIG_fail
;
35340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35348 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35349 PyObject
*resultobj
= 0;
35350 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35353 int arg4
= (int) 1 ;
35354 wxColor
const &arg5_defvalue
= *wxWHITE
;
35355 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35356 PyObject
*result
= 0 ;
35367 PyObject
* obj0
= 0 ;
35368 PyObject
* obj1
= 0 ;
35369 PyObject
* obj2
= 0 ;
35370 PyObject
* obj3
= 0 ;
35371 PyObject
* obj4
= 0 ;
35372 char * kwnames
[] = {
35373 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35378 if (!SWIG_IsOK(res1
)) {
35379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35381 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35383 if (!SWIG_IsOK(ecode2
)) {
35384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35386 arg2
= static_cast< int >(val2
);
35387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35388 if (!SWIG_IsOK(ecode3
)) {
35389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35391 arg3
= static_cast< int >(val3
);
35393 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35394 if (!SWIG_IsOK(ecode4
)) {
35395 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35397 arg4
= static_cast< int >(val4
);
35400 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35401 if (!SWIG_IsOK(res5
)) {
35402 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35407 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35410 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35411 if (PyErr_Occurred()) SWIG_fail
;
35413 resultobj
= result
;
35420 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35421 PyObject
*resultobj
= 0;
35422 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35425 PyObject
*result
= 0 ;
35432 PyObject
* obj0
= 0 ;
35433 PyObject
* obj1
= 0 ;
35434 PyObject
* obj2
= 0 ;
35435 char * kwnames
[] = {
35436 (char *) "self",(char *) "x",(char *) "y", NULL
35439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35441 if (!SWIG_IsOK(res1
)) {
35442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35444 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35446 if (!SWIG_IsOK(ecode2
)) {
35447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35449 arg2
= static_cast< int >(val2
);
35450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35451 if (!SWIG_IsOK(ecode3
)) {
35452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35454 arg3
= static_cast< int >(val3
);
35456 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35457 if (PyErr_Occurred()) SWIG_fail
;
35459 resultobj
= result
;
35466 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35467 PyObject
*resultobj
= 0;
35468 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35470 wxDC
*arg3
= (wxDC
*) 0 ;
35477 PyObject
* obj0
= 0 ;
35478 PyObject
* obj1
= 0 ;
35479 PyObject
* obj2
= 0 ;
35480 char * kwnames
[] = {
35481 (char *) "self",(char *) "id",(char *) "dc", NULL
35484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35486 if (!SWIG_IsOK(res1
)) {
35487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35489 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35491 if (!SWIG_IsOK(ecode2
)) {
35492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35494 arg2
= static_cast< int >(val2
);
35495 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35496 if (!SWIG_IsOK(res3
)) {
35497 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35499 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35502 (arg1
)->DrawIdToDC(arg2
,arg3
);
35503 wxPyEndAllowThreads(__tstate
);
35504 if (PyErr_Occurred()) SWIG_fail
;
35506 resultobj
= SWIG_Py_Void();
35513 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35514 PyObject
*resultobj
= 0;
35515 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35523 PyObject
* obj0
= 0 ;
35524 PyObject
* obj1
= 0 ;
35525 PyObject
* obj2
= 0 ;
35526 char * kwnames
[] = {
35527 (char *) "self",(char *) "id",(char *) "rect", NULL
35530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35532 if (!SWIG_IsOK(res1
)) {
35533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35535 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35537 if (!SWIG_IsOK(ecode2
)) {
35538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35540 arg2
= static_cast< int >(val2
);
35543 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35547 (arg1
)->SetIdBounds(arg2
,*arg3
);
35548 wxPyEndAllowThreads(__tstate
);
35549 if (PyErr_Occurred()) SWIG_fail
;
35551 resultobj
= SWIG_Py_Void();
35558 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35559 PyObject
*resultobj
= 0;
35560 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35567 PyObject
* obj0
= 0 ;
35568 PyObject
* obj1
= 0 ;
35569 char * kwnames
[] = {
35570 (char *) "self",(char *) "id", NULL
35573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35575 if (!SWIG_IsOK(res1
)) {
35576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35578 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35580 if (!SWIG_IsOK(ecode2
)) {
35581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35583 arg2
= static_cast< int >(val2
);
35585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35586 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35587 wxPyEndAllowThreads(__tstate
);
35588 if (PyErr_Occurred()) SWIG_fail
;
35590 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35597 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35598 PyObject
*resultobj
= 0;
35599 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35600 wxDC
*arg2
= (wxDC
*) 0 ;
35607 PyObject
* obj0
= 0 ;
35608 PyObject
* obj1
= 0 ;
35609 PyObject
* obj2
= 0 ;
35610 char * kwnames
[] = {
35611 (char *) "self",(char *) "dc",(char *) "rect", NULL
35614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35616 if (!SWIG_IsOK(res1
)) {
35617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35619 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35620 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35621 if (!SWIG_IsOK(res2
)) {
35622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35624 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35627 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35631 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35632 wxPyEndAllowThreads(__tstate
);
35633 if (PyErr_Occurred()) SWIG_fail
;
35635 resultobj
= SWIG_Py_Void();
35642 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35643 PyObject
*resultobj
= 0;
35644 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35645 wxDC
*arg2
= (wxDC
*) 0 ;
35646 wxRegion
*arg3
= 0 ;
35653 PyObject
* obj0
= 0 ;
35654 PyObject
* obj1
= 0 ;
35655 PyObject
* obj2
= 0 ;
35656 char * kwnames
[] = {
35657 (char *) "self",(char *) "dc",(char *) "region", NULL
35660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35662 if (!SWIG_IsOK(res1
)) {
35663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35665 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35666 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35667 if (!SWIG_IsOK(res2
)) {
35668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
35670 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35671 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
35672 if (!SWIG_IsOK(res3
)) {
35673 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
35678 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
35680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35681 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
35682 wxPyEndAllowThreads(__tstate
);
35683 if (PyErr_Occurred()) SWIG_fail
;
35685 resultobj
= SWIG_Py_Void();
35692 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35693 PyObject
*resultobj
= 0;
35694 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35695 wxDC
*arg2
= (wxDC
*) 0 ;
35700 PyObject
* obj0
= 0 ;
35701 PyObject
* obj1
= 0 ;
35702 char * kwnames
[] = {
35703 (char *) "self",(char *) "dc", NULL
35706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35708 if (!SWIG_IsOK(res1
)) {
35709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35711 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35712 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35713 if (!SWIG_IsOK(res2
)) {
35714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
35716 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35719 (arg1
)->DrawToDC(arg2
);
35720 wxPyEndAllowThreads(__tstate
);
35721 if (PyErr_Occurred()) SWIG_fail
;
35723 resultobj
= SWIG_Py_Void();
35730 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35731 PyObject
*resultobj
= 0;
35732 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35735 wxColour
*arg4
= 0 ;
35736 int arg5
= (int) wxFLOOD_SURFACE
;
35746 PyObject
* obj0
= 0 ;
35747 PyObject
* obj1
= 0 ;
35748 PyObject
* obj2
= 0 ;
35749 PyObject
* obj3
= 0 ;
35750 PyObject
* obj4
= 0 ;
35751 char * kwnames
[] = {
35752 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
35755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35757 if (!SWIG_IsOK(res1
)) {
35758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35760 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35762 if (!SWIG_IsOK(ecode2
)) {
35763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
35765 arg2
= static_cast< int >(val2
);
35766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35767 if (!SWIG_IsOK(ecode3
)) {
35768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
35770 arg3
= static_cast< int >(val3
);
35773 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
35776 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35777 if (!SWIG_IsOK(ecode5
)) {
35778 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
35780 arg5
= static_cast< int >(val5
);
35783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35784 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
35785 wxPyEndAllowThreads(__tstate
);
35786 if (PyErr_Occurred()) SWIG_fail
;
35788 resultobj
= SWIG_Py_Void();
35795 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35796 PyObject
*resultobj
= 0;
35797 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35798 wxPoint
*arg2
= 0 ;
35799 wxColour
*arg3
= 0 ;
35800 int arg4
= (int) wxFLOOD_SURFACE
;
35807 PyObject
* obj0
= 0 ;
35808 PyObject
* obj1
= 0 ;
35809 PyObject
* obj2
= 0 ;
35810 PyObject
* obj3
= 0 ;
35811 char * kwnames
[] = {
35812 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
35815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35817 if (!SWIG_IsOK(res1
)) {
35818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35820 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35823 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35827 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35830 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35831 if (!SWIG_IsOK(ecode4
)) {
35832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
35834 arg4
= static_cast< int >(val4
);
35837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35838 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
35839 wxPyEndAllowThreads(__tstate
);
35840 if (PyErr_Occurred()) SWIG_fail
;
35842 resultobj
= SWIG_Py_Void();
35849 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35850 PyObject
*resultobj
= 0;
35851 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35866 PyObject
* obj0
= 0 ;
35867 PyObject
* obj1
= 0 ;
35868 PyObject
* obj2
= 0 ;
35869 PyObject
* obj3
= 0 ;
35870 PyObject
* obj4
= 0 ;
35871 char * kwnames
[] = {
35872 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
35875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35877 if (!SWIG_IsOK(res1
)) {
35878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35880 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35882 if (!SWIG_IsOK(ecode2
)) {
35883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
35885 arg2
= static_cast< int >(val2
);
35886 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35887 if (!SWIG_IsOK(ecode3
)) {
35888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
35890 arg3
= static_cast< int >(val3
);
35891 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35892 if (!SWIG_IsOK(ecode4
)) {
35893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
35895 arg4
= static_cast< int >(val4
);
35896 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35897 if (!SWIG_IsOK(ecode5
)) {
35898 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
35900 arg5
= static_cast< int >(val5
);
35902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35903 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
35904 wxPyEndAllowThreads(__tstate
);
35905 if (PyErr_Occurred()) SWIG_fail
;
35907 resultobj
= SWIG_Py_Void();
35914 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35915 PyObject
*resultobj
= 0;
35916 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35917 wxPoint
*arg2
= 0 ;
35918 wxPoint
*arg3
= 0 ;
35923 PyObject
* obj0
= 0 ;
35924 PyObject
* obj1
= 0 ;
35925 PyObject
* obj2
= 0 ;
35926 char * kwnames
[] = {
35927 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
35930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35932 if (!SWIG_IsOK(res1
)) {
35933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35935 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35938 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35942 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35946 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
35947 wxPyEndAllowThreads(__tstate
);
35948 if (PyErr_Occurred()) SWIG_fail
;
35950 resultobj
= SWIG_Py_Void();
35957 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35958 PyObject
*resultobj
= 0;
35959 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35968 PyObject
* obj0
= 0 ;
35969 PyObject
* obj1
= 0 ;
35970 PyObject
* obj2
= 0 ;
35971 char * kwnames
[] = {
35972 (char *) "self",(char *) "x",(char *) "y", NULL
35975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35977 if (!SWIG_IsOK(res1
)) {
35978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35980 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35982 if (!SWIG_IsOK(ecode2
)) {
35983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
35985 arg2
= static_cast< int >(val2
);
35986 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35987 if (!SWIG_IsOK(ecode3
)) {
35988 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
35990 arg3
= static_cast< int >(val3
);
35992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35993 (arg1
)->CrossHair(arg2
,arg3
);
35994 wxPyEndAllowThreads(__tstate
);
35995 if (PyErr_Occurred()) SWIG_fail
;
35997 resultobj
= SWIG_Py_Void();
36004 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36005 PyObject
*resultobj
= 0;
36006 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36007 wxPoint
*arg2
= 0 ;
36011 PyObject
* obj0
= 0 ;
36012 PyObject
* obj1
= 0 ;
36013 char * kwnames
[] = {
36014 (char *) "self",(char *) "pt", NULL
36017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36019 if (!SWIG_IsOK(res1
)) {
36020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36022 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36025 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36029 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36030 wxPyEndAllowThreads(__tstate
);
36031 if (PyErr_Occurred()) SWIG_fail
;
36033 resultobj
= SWIG_Py_Void();
36040 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36041 PyObject
*resultobj
= 0;
36042 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36063 PyObject
* obj0
= 0 ;
36064 PyObject
* obj1
= 0 ;
36065 PyObject
* obj2
= 0 ;
36066 PyObject
* obj3
= 0 ;
36067 PyObject
* obj4
= 0 ;
36068 PyObject
* obj5
= 0 ;
36069 PyObject
* obj6
= 0 ;
36070 char * kwnames
[] = {
36071 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36076 if (!SWIG_IsOK(res1
)) {
36077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36079 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36081 if (!SWIG_IsOK(ecode2
)) {
36082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36084 arg2
= static_cast< int >(val2
);
36085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36086 if (!SWIG_IsOK(ecode3
)) {
36087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36089 arg3
= static_cast< int >(val3
);
36090 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36091 if (!SWIG_IsOK(ecode4
)) {
36092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36094 arg4
= static_cast< int >(val4
);
36095 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36096 if (!SWIG_IsOK(ecode5
)) {
36097 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36099 arg5
= static_cast< int >(val5
);
36100 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36101 if (!SWIG_IsOK(ecode6
)) {
36102 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36104 arg6
= static_cast< int >(val6
);
36105 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36106 if (!SWIG_IsOK(ecode7
)) {
36107 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36109 arg7
= static_cast< int >(val7
);
36111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36112 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36113 wxPyEndAllowThreads(__tstate
);
36114 if (PyErr_Occurred()) SWIG_fail
;
36116 resultobj
= SWIG_Py_Void();
36123 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36124 PyObject
*resultobj
= 0;
36125 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36126 wxPoint
*arg2
= 0 ;
36127 wxPoint
*arg3
= 0 ;
36128 wxPoint
*arg4
= 0 ;
36134 PyObject
* obj0
= 0 ;
36135 PyObject
* obj1
= 0 ;
36136 PyObject
* obj2
= 0 ;
36137 PyObject
* obj3
= 0 ;
36138 char * kwnames
[] = {
36139 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36144 if (!SWIG_IsOK(res1
)) {
36145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36147 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36150 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36154 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36158 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36162 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36163 wxPyEndAllowThreads(__tstate
);
36164 if (PyErr_Occurred()) SWIG_fail
;
36166 resultobj
= SWIG_Py_Void();
36173 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36174 PyObject
*resultobj
= 0;
36175 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36190 PyObject
* obj0
= 0 ;
36191 PyObject
* obj1
= 0 ;
36192 PyObject
* obj2
= 0 ;
36193 PyObject
* obj3
= 0 ;
36194 PyObject
* obj4
= 0 ;
36195 char * kwnames
[] = {
36196 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36201 if (!SWIG_IsOK(res1
)) {
36202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36204 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36206 if (!SWIG_IsOK(ecode2
)) {
36207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36209 arg2
= static_cast< int >(val2
);
36210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36211 if (!SWIG_IsOK(ecode3
)) {
36212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36214 arg3
= static_cast< int >(val3
);
36215 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36216 if (!SWIG_IsOK(ecode4
)) {
36217 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36219 arg4
= static_cast< int >(val4
);
36220 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36221 if (!SWIG_IsOK(ecode5
)) {
36222 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36224 arg5
= static_cast< int >(val5
);
36226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36227 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36228 wxPyEndAllowThreads(__tstate
);
36229 if (PyErr_Occurred()) SWIG_fail
;
36231 resultobj
= SWIG_Py_Void();
36238 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36239 PyObject
*resultobj
= 0;
36240 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36245 PyObject
* obj0
= 0 ;
36246 PyObject
* obj1
= 0 ;
36247 char * kwnames
[] = {
36248 (char *) "self",(char *) "rect", NULL
36251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36253 if (!SWIG_IsOK(res1
)) {
36254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36256 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36259 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36263 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36264 wxPyEndAllowThreads(__tstate
);
36265 if (PyErr_Occurred()) SWIG_fail
;
36267 resultobj
= SWIG_Py_Void();
36274 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36275 PyObject
*resultobj
= 0;
36276 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36297 PyObject
* obj0
= 0 ;
36298 PyObject
* obj1
= 0 ;
36299 PyObject
* obj2
= 0 ;
36300 PyObject
* obj3
= 0 ;
36301 PyObject
* obj4
= 0 ;
36302 PyObject
* obj5
= 0 ;
36303 PyObject
* obj6
= 0 ;
36304 char * kwnames
[] = {
36305 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36310 if (!SWIG_IsOK(res1
)) {
36311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36313 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36315 if (!SWIG_IsOK(ecode2
)) {
36316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36318 arg2
= static_cast< int >(val2
);
36319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36320 if (!SWIG_IsOK(ecode3
)) {
36321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36323 arg3
= static_cast< int >(val3
);
36324 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36325 if (!SWIG_IsOK(ecode4
)) {
36326 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36328 arg4
= static_cast< int >(val4
);
36329 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36330 if (!SWIG_IsOK(ecode5
)) {
36331 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36333 arg5
= static_cast< int >(val5
);
36334 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36335 if (!SWIG_IsOK(ecode6
)) {
36336 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36338 arg6
= static_cast< double >(val6
);
36339 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36340 if (!SWIG_IsOK(ecode7
)) {
36341 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36343 arg7
= static_cast< double >(val7
);
36345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36346 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36347 wxPyEndAllowThreads(__tstate
);
36348 if (PyErr_Occurred()) SWIG_fail
;
36350 resultobj
= SWIG_Py_Void();
36357 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36358 PyObject
*resultobj
= 0;
36359 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36360 wxPoint
*arg2
= 0 ;
36372 PyObject
* obj0
= 0 ;
36373 PyObject
* obj1
= 0 ;
36374 PyObject
* obj2
= 0 ;
36375 PyObject
* obj3
= 0 ;
36376 PyObject
* obj4
= 0 ;
36377 char * kwnames
[] = {
36378 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36383 if (!SWIG_IsOK(res1
)) {
36384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36386 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36389 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36393 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36395 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36396 if (!SWIG_IsOK(ecode4
)) {
36397 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36399 arg4
= static_cast< double >(val4
);
36400 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36401 if (!SWIG_IsOK(ecode5
)) {
36402 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36404 arg5
= static_cast< double >(val5
);
36406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36407 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36408 wxPyEndAllowThreads(__tstate
);
36409 if (PyErr_Occurred()) SWIG_fail
;
36411 resultobj
= SWIG_Py_Void();
36418 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36419 PyObject
*resultobj
= 0;
36420 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36429 PyObject
* obj0
= 0 ;
36430 PyObject
* obj1
= 0 ;
36431 PyObject
* obj2
= 0 ;
36432 char * kwnames
[] = {
36433 (char *) "self",(char *) "x",(char *) "y", NULL
36436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36438 if (!SWIG_IsOK(res1
)) {
36439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36441 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36443 if (!SWIG_IsOK(ecode2
)) {
36444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36446 arg2
= static_cast< int >(val2
);
36447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36448 if (!SWIG_IsOK(ecode3
)) {
36449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36451 arg3
= static_cast< int >(val3
);
36453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36454 (arg1
)->DrawPoint(arg2
,arg3
);
36455 wxPyEndAllowThreads(__tstate
);
36456 if (PyErr_Occurred()) SWIG_fail
;
36458 resultobj
= SWIG_Py_Void();
36465 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36466 PyObject
*resultobj
= 0;
36467 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36468 wxPoint
*arg2
= 0 ;
36472 PyObject
* obj0
= 0 ;
36473 PyObject
* obj1
= 0 ;
36474 char * kwnames
[] = {
36475 (char *) "self",(char *) "pt", NULL
36478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36480 if (!SWIG_IsOK(res1
)) {
36481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36483 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36486 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36490 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36491 wxPyEndAllowThreads(__tstate
);
36492 if (PyErr_Occurred()) SWIG_fail
;
36494 resultobj
= SWIG_Py_Void();
36501 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36502 PyObject
*resultobj
= 0;
36503 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36518 PyObject
* obj0
= 0 ;
36519 PyObject
* obj1
= 0 ;
36520 PyObject
* obj2
= 0 ;
36521 PyObject
* obj3
= 0 ;
36522 PyObject
* obj4
= 0 ;
36523 char * kwnames
[] = {
36524 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36529 if (!SWIG_IsOK(res1
)) {
36530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36532 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36534 if (!SWIG_IsOK(ecode2
)) {
36535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36537 arg2
= static_cast< int >(val2
);
36538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36539 if (!SWIG_IsOK(ecode3
)) {
36540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36542 arg3
= static_cast< int >(val3
);
36543 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36544 if (!SWIG_IsOK(ecode4
)) {
36545 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36547 arg4
= static_cast< int >(val4
);
36548 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36549 if (!SWIG_IsOK(ecode5
)) {
36550 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36552 arg5
= static_cast< int >(val5
);
36554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36555 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36556 wxPyEndAllowThreads(__tstate
);
36557 if (PyErr_Occurred()) SWIG_fail
;
36559 resultobj
= SWIG_Py_Void();
36566 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36567 PyObject
*resultobj
= 0;
36568 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36573 PyObject
* obj0
= 0 ;
36574 PyObject
* obj1
= 0 ;
36575 char * kwnames
[] = {
36576 (char *) "self",(char *) "rect", NULL
36579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36581 if (!SWIG_IsOK(res1
)) {
36582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36584 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36587 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36591 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36592 wxPyEndAllowThreads(__tstate
);
36593 if (PyErr_Occurred()) SWIG_fail
;
36595 resultobj
= SWIG_Py_Void();
36602 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36603 PyObject
*resultobj
= 0;
36604 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36605 wxPoint
*arg2
= 0 ;
36611 PyObject
* obj0
= 0 ;
36612 PyObject
* obj1
= 0 ;
36613 PyObject
* obj2
= 0 ;
36614 char * kwnames
[] = {
36615 (char *) "self",(char *) "pt",(char *) "sz", NULL
36618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36620 if (!SWIG_IsOK(res1
)) {
36621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36623 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36626 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36630 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36634 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
36635 wxPyEndAllowThreads(__tstate
);
36636 if (PyErr_Occurred()) SWIG_fail
;
36638 resultobj
= SWIG_Py_Void();
36645 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36646 PyObject
*resultobj
= 0;
36647 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36665 PyObject
* obj0
= 0 ;
36666 PyObject
* obj1
= 0 ;
36667 PyObject
* obj2
= 0 ;
36668 PyObject
* obj3
= 0 ;
36669 PyObject
* obj4
= 0 ;
36670 PyObject
* obj5
= 0 ;
36671 char * kwnames
[] = {
36672 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
36675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36677 if (!SWIG_IsOK(res1
)) {
36678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36680 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36682 if (!SWIG_IsOK(ecode2
)) {
36683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
36685 arg2
= static_cast< int >(val2
);
36686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36687 if (!SWIG_IsOK(ecode3
)) {
36688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
36690 arg3
= static_cast< int >(val3
);
36691 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36692 if (!SWIG_IsOK(ecode4
)) {
36693 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
36695 arg4
= static_cast< int >(val4
);
36696 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36697 if (!SWIG_IsOK(ecode5
)) {
36698 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
36700 arg5
= static_cast< int >(val5
);
36701 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36702 if (!SWIG_IsOK(ecode6
)) {
36703 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
36705 arg6
= static_cast< double >(val6
);
36707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36708 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
36709 wxPyEndAllowThreads(__tstate
);
36710 if (PyErr_Occurred()) SWIG_fail
;
36712 resultobj
= SWIG_Py_Void();
36719 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36720 PyObject
*resultobj
= 0;
36721 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36729 PyObject
* obj0
= 0 ;
36730 PyObject
* obj1
= 0 ;
36731 PyObject
* obj2
= 0 ;
36732 char * kwnames
[] = {
36733 (char *) "self",(char *) "r",(char *) "radius", NULL
36736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36738 if (!SWIG_IsOK(res1
)) {
36739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36741 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36744 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36746 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
36747 if (!SWIG_IsOK(ecode3
)) {
36748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
36750 arg3
= static_cast< double >(val3
);
36752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36753 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
36754 wxPyEndAllowThreads(__tstate
);
36755 if (PyErr_Occurred()) SWIG_fail
;
36757 resultobj
= SWIG_Py_Void();
36764 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36765 PyObject
*resultobj
= 0;
36766 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36767 wxPoint
*arg2
= 0 ;
36776 PyObject
* obj0
= 0 ;
36777 PyObject
* obj1
= 0 ;
36778 PyObject
* obj2
= 0 ;
36779 PyObject
* obj3
= 0 ;
36780 char * kwnames
[] = {
36781 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
36784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36786 if (!SWIG_IsOK(res1
)) {
36787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36789 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36792 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36796 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36798 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36799 if (!SWIG_IsOK(ecode4
)) {
36800 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
36802 arg4
= static_cast< double >(val4
);
36804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36805 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
36806 wxPyEndAllowThreads(__tstate
);
36807 if (PyErr_Occurred()) SWIG_fail
;
36809 resultobj
= SWIG_Py_Void();
36816 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36817 PyObject
*resultobj
= 0;
36818 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36830 PyObject
* obj0
= 0 ;
36831 PyObject
* obj1
= 0 ;
36832 PyObject
* obj2
= 0 ;
36833 PyObject
* obj3
= 0 ;
36834 char * kwnames
[] = {
36835 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
36838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36840 if (!SWIG_IsOK(res1
)) {
36841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36843 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36845 if (!SWIG_IsOK(ecode2
)) {
36846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
36848 arg2
= static_cast< int >(val2
);
36849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36850 if (!SWIG_IsOK(ecode3
)) {
36851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
36853 arg3
= static_cast< int >(val3
);
36854 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36855 if (!SWIG_IsOK(ecode4
)) {
36856 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
36858 arg4
= static_cast< int >(val4
);
36860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36861 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
36862 wxPyEndAllowThreads(__tstate
);
36863 if (PyErr_Occurred()) SWIG_fail
;
36865 resultobj
= SWIG_Py_Void();
36872 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36873 PyObject
*resultobj
= 0;
36874 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36875 wxPoint
*arg2
= 0 ;
36882 PyObject
* obj0
= 0 ;
36883 PyObject
* obj1
= 0 ;
36884 PyObject
* obj2
= 0 ;
36885 char * kwnames
[] = {
36886 (char *) "self",(char *) "pt",(char *) "radius", NULL
36889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36891 if (!SWIG_IsOK(res1
)) {
36892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36894 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36897 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36899 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36900 if (!SWIG_IsOK(ecode3
)) {
36901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
36903 arg3
= static_cast< int >(val3
);
36905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36906 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
36907 wxPyEndAllowThreads(__tstate
);
36908 if (PyErr_Occurred()) SWIG_fail
;
36910 resultobj
= SWIG_Py_Void();
36917 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36918 PyObject
*resultobj
= 0;
36919 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36934 PyObject
* obj0
= 0 ;
36935 PyObject
* obj1
= 0 ;
36936 PyObject
* obj2
= 0 ;
36937 PyObject
* obj3
= 0 ;
36938 PyObject
* obj4
= 0 ;
36939 char * kwnames
[] = {
36940 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36945 if (!SWIG_IsOK(res1
)) {
36946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36948 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36950 if (!SWIG_IsOK(ecode2
)) {
36951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
36953 arg2
= static_cast< int >(val2
);
36954 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36955 if (!SWIG_IsOK(ecode3
)) {
36956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
36958 arg3
= static_cast< int >(val3
);
36959 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36960 if (!SWIG_IsOK(ecode4
)) {
36961 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
36963 arg4
= static_cast< int >(val4
);
36964 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36965 if (!SWIG_IsOK(ecode5
)) {
36966 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
36968 arg5
= static_cast< int >(val5
);
36970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36971 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
36972 wxPyEndAllowThreads(__tstate
);
36973 if (PyErr_Occurred()) SWIG_fail
;
36975 resultobj
= SWIG_Py_Void();
36982 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36983 PyObject
*resultobj
= 0;
36984 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36989 PyObject
* obj0
= 0 ;
36990 PyObject
* obj1
= 0 ;
36991 char * kwnames
[] = {
36992 (char *) "self",(char *) "rect", NULL
36995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36997 if (!SWIG_IsOK(res1
)) {
36998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37000 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37003 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37007 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37008 wxPyEndAllowThreads(__tstate
);
37009 if (PyErr_Occurred()) SWIG_fail
;
37011 resultobj
= SWIG_Py_Void();
37018 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37019 PyObject
*resultobj
= 0;
37020 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37021 wxPoint
*arg2
= 0 ;
37027 PyObject
* obj0
= 0 ;
37028 PyObject
* obj1
= 0 ;
37029 PyObject
* obj2
= 0 ;
37030 char * kwnames
[] = {
37031 (char *) "self",(char *) "pt",(char *) "sz", NULL
37034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37036 if (!SWIG_IsOK(res1
)) {
37037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37039 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37042 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37046 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37050 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37051 wxPyEndAllowThreads(__tstate
);
37052 if (PyErr_Occurred()) SWIG_fail
;
37054 resultobj
= SWIG_Py_Void();
37061 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37062 PyObject
*resultobj
= 0;
37063 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37075 PyObject
* obj0
= 0 ;
37076 PyObject
* obj1
= 0 ;
37077 PyObject
* obj2
= 0 ;
37078 PyObject
* obj3
= 0 ;
37079 char * kwnames
[] = {
37080 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37085 if (!SWIG_IsOK(res1
)) {
37086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37088 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37089 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37090 if (!SWIG_IsOK(res2
)) {
37091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37096 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37098 if (!SWIG_IsOK(ecode3
)) {
37099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37101 arg3
= static_cast< int >(val3
);
37102 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37103 if (!SWIG_IsOK(ecode4
)) {
37104 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37106 arg4
= static_cast< int >(val4
);
37108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37109 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37110 wxPyEndAllowThreads(__tstate
);
37111 if (PyErr_Occurred()) SWIG_fail
;
37113 resultobj
= SWIG_Py_Void();
37120 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37121 PyObject
*resultobj
= 0;
37122 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37124 wxPoint
*arg3
= 0 ;
37130 PyObject
* obj0
= 0 ;
37131 PyObject
* obj1
= 0 ;
37132 PyObject
* obj2
= 0 ;
37133 char * kwnames
[] = {
37134 (char *) "self",(char *) "icon",(char *) "pt", NULL
37137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37139 if (!SWIG_IsOK(res1
)) {
37140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37142 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37143 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37144 if (!SWIG_IsOK(res2
)) {
37145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37150 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37153 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37157 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37158 wxPyEndAllowThreads(__tstate
);
37159 if (PyErr_Occurred()) SWIG_fail
;
37161 resultobj
= SWIG_Py_Void();
37168 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37169 PyObject
*resultobj
= 0;
37170 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37171 wxBitmap
*arg2
= 0 ;
37174 bool arg5
= (bool) false ;
37185 PyObject
* obj0
= 0 ;
37186 PyObject
* obj1
= 0 ;
37187 PyObject
* obj2
= 0 ;
37188 PyObject
* obj3
= 0 ;
37189 PyObject
* obj4
= 0 ;
37190 char * kwnames
[] = {
37191 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37196 if (!SWIG_IsOK(res1
)) {
37197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37199 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37201 if (!SWIG_IsOK(res2
)) {
37202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37207 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37209 if (!SWIG_IsOK(ecode3
)) {
37210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37212 arg3
= static_cast< int >(val3
);
37213 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37214 if (!SWIG_IsOK(ecode4
)) {
37215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37217 arg4
= static_cast< int >(val4
);
37219 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37220 if (!SWIG_IsOK(ecode5
)) {
37221 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37223 arg5
= static_cast< bool >(val5
);
37226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37227 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37228 wxPyEndAllowThreads(__tstate
);
37229 if (PyErr_Occurred()) SWIG_fail
;
37231 resultobj
= SWIG_Py_Void();
37238 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37239 PyObject
*resultobj
= 0;
37240 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37241 wxBitmap
*arg2
= 0 ;
37242 wxPoint
*arg3
= 0 ;
37243 bool arg4
= (bool) false ;
37251 PyObject
* obj0
= 0 ;
37252 PyObject
* obj1
= 0 ;
37253 PyObject
* obj2
= 0 ;
37254 PyObject
* obj3
= 0 ;
37255 char * kwnames
[] = {
37256 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37261 if (!SWIG_IsOK(res1
)) {
37262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37264 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37265 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37266 if (!SWIG_IsOK(res2
)) {
37267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37272 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37275 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37278 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37279 if (!SWIG_IsOK(ecode4
)) {
37280 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37282 arg4
= static_cast< bool >(val4
);
37285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37286 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37287 wxPyEndAllowThreads(__tstate
);
37288 if (PyErr_Occurred()) SWIG_fail
;
37290 resultobj
= SWIG_Py_Void();
37297 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37298 PyObject
*resultobj
= 0;
37299 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37300 wxString
*arg2
= 0 ;
37305 bool temp2
= false ;
37310 PyObject
* obj0
= 0 ;
37311 PyObject
* obj1
= 0 ;
37312 PyObject
* obj2
= 0 ;
37313 PyObject
* obj3
= 0 ;
37314 char * kwnames
[] = {
37315 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37320 if (!SWIG_IsOK(res1
)) {
37321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37323 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37325 arg2
= wxString_in_helper(obj1
);
37326 if (arg2
== NULL
) SWIG_fail
;
37329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37330 if (!SWIG_IsOK(ecode3
)) {
37331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37333 arg3
= static_cast< int >(val3
);
37334 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37335 if (!SWIG_IsOK(ecode4
)) {
37336 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37338 arg4
= static_cast< int >(val4
);
37340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37341 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37342 wxPyEndAllowThreads(__tstate
);
37343 if (PyErr_Occurred()) SWIG_fail
;
37345 resultobj
= SWIG_Py_Void();
37360 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37361 PyObject
*resultobj
= 0;
37362 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37363 wxString
*arg2
= 0 ;
37364 wxPoint
*arg3
= 0 ;
37367 bool temp2
= false ;
37369 PyObject
* obj0
= 0 ;
37370 PyObject
* obj1
= 0 ;
37371 PyObject
* obj2
= 0 ;
37372 char * kwnames
[] = {
37373 (char *) "self",(char *) "text",(char *) "pt", NULL
37376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37378 if (!SWIG_IsOK(res1
)) {
37379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37381 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37383 arg2
= wxString_in_helper(obj1
);
37384 if (arg2
== NULL
) SWIG_fail
;
37389 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37393 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37394 wxPyEndAllowThreads(__tstate
);
37395 if (PyErr_Occurred()) SWIG_fail
;
37397 resultobj
= SWIG_Py_Void();
37412 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37413 PyObject
*resultobj
= 0;
37414 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37415 wxString
*arg2
= 0 ;
37421 bool temp2
= false ;
37428 PyObject
* obj0
= 0 ;
37429 PyObject
* obj1
= 0 ;
37430 PyObject
* obj2
= 0 ;
37431 PyObject
* obj3
= 0 ;
37432 PyObject
* obj4
= 0 ;
37433 char * kwnames
[] = {
37434 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37439 if (!SWIG_IsOK(res1
)) {
37440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37442 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37444 arg2
= wxString_in_helper(obj1
);
37445 if (arg2
== NULL
) SWIG_fail
;
37448 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37449 if (!SWIG_IsOK(ecode3
)) {
37450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37452 arg3
= static_cast< int >(val3
);
37453 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37454 if (!SWIG_IsOK(ecode4
)) {
37455 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37457 arg4
= static_cast< int >(val4
);
37458 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37459 if (!SWIG_IsOK(ecode5
)) {
37460 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37462 arg5
= static_cast< double >(val5
);
37464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37465 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37466 wxPyEndAllowThreads(__tstate
);
37467 if (PyErr_Occurred()) SWIG_fail
;
37469 resultobj
= SWIG_Py_Void();
37484 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37485 PyObject
*resultobj
= 0;
37486 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37487 wxString
*arg2
= 0 ;
37488 wxPoint
*arg3
= 0 ;
37492 bool temp2
= false ;
37496 PyObject
* obj0
= 0 ;
37497 PyObject
* obj1
= 0 ;
37498 PyObject
* obj2
= 0 ;
37499 PyObject
* obj3
= 0 ;
37500 char * kwnames
[] = {
37501 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37506 if (!SWIG_IsOK(res1
)) {
37507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37509 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37511 arg2
= wxString_in_helper(obj1
);
37512 if (arg2
== NULL
) SWIG_fail
;
37517 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37519 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37520 if (!SWIG_IsOK(ecode4
)) {
37521 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37523 arg4
= static_cast< double >(val4
);
37525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37526 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37527 wxPyEndAllowThreads(__tstate
);
37528 if (PyErr_Occurred()) SWIG_fail
;
37530 resultobj
= SWIG_Py_Void();
37545 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37546 PyObject
*resultobj
= 0;
37547 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37549 wxPoint
*arg3
= (wxPoint
*) 0 ;
37550 int arg4
= (int) 0 ;
37551 int arg5
= (int) 0 ;
37558 PyObject
* obj0
= 0 ;
37559 PyObject
* obj1
= 0 ;
37560 PyObject
* obj2
= 0 ;
37561 PyObject
* obj3
= 0 ;
37562 char * kwnames
[] = {
37563 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37568 if (!SWIG_IsOK(res1
)) {
37569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37571 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37573 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37574 if (arg3
== NULL
) SWIG_fail
;
37577 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37578 if (!SWIG_IsOK(ecode4
)) {
37579 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37581 arg4
= static_cast< int >(val4
);
37584 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37585 if (!SWIG_IsOK(ecode5
)) {
37586 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37588 arg5
= static_cast< int >(val5
);
37591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37592 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37593 wxPyEndAllowThreads(__tstate
);
37594 if (PyErr_Occurred()) SWIG_fail
;
37596 resultobj
= SWIG_Py_Void();
37598 if (arg3
) delete [] arg3
;
37603 if (arg3
) delete [] arg3
;
37609 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37610 PyObject
*resultobj
= 0;
37611 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37613 wxPoint
*arg3
= (wxPoint
*) 0 ;
37614 int arg4
= (int) 0 ;
37615 int arg5
= (int) 0 ;
37616 int arg6
= (int) wxODDEVEN_RULE
;
37625 PyObject
* obj0
= 0 ;
37626 PyObject
* obj1
= 0 ;
37627 PyObject
* obj2
= 0 ;
37628 PyObject
* obj3
= 0 ;
37629 PyObject
* obj4
= 0 ;
37630 char * kwnames
[] = {
37631 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37636 if (!SWIG_IsOK(res1
)) {
37637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37639 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37641 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37642 if (arg3
== NULL
) SWIG_fail
;
37645 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37646 if (!SWIG_IsOK(ecode4
)) {
37647 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
37649 arg4
= static_cast< int >(val4
);
37652 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37653 if (!SWIG_IsOK(ecode5
)) {
37654 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
37656 arg5
= static_cast< int >(val5
);
37659 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
37660 if (!SWIG_IsOK(ecode6
)) {
37661 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
37663 arg6
= static_cast< int >(val6
);
37666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37667 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
37668 wxPyEndAllowThreads(__tstate
);
37669 if (PyErr_Occurred()) SWIG_fail
;
37671 resultobj
= SWIG_Py_Void();
37673 if (arg3
) delete [] arg3
;
37678 if (arg3
) delete [] arg3
;
37684 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37685 PyObject
*resultobj
= 0;
37686 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37687 wxString
*arg2
= 0 ;
37689 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37690 int arg5
= (int) -1 ;
37693 bool temp2
= false ;
37699 PyObject
* obj0
= 0 ;
37700 PyObject
* obj1
= 0 ;
37701 PyObject
* obj2
= 0 ;
37702 PyObject
* obj3
= 0 ;
37703 PyObject
* obj4
= 0 ;
37704 char * kwnames
[] = {
37705 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37710 if (!SWIG_IsOK(res1
)) {
37711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37713 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37715 arg2
= wxString_in_helper(obj1
);
37716 if (arg2
== NULL
) SWIG_fail
;
37721 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
37724 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37725 if (!SWIG_IsOK(ecode4
)) {
37726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
37728 arg4
= static_cast< int >(val4
);
37731 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37732 if (!SWIG_IsOK(ecode5
)) {
37733 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
37735 arg5
= static_cast< int >(val5
);
37738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37739 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
37740 wxPyEndAllowThreads(__tstate
);
37741 if (PyErr_Occurred()) SWIG_fail
;
37743 resultobj
= SWIG_Py_Void();
37758 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37759 PyObject
*resultobj
= 0;
37760 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37761 wxString
*arg2
= 0 ;
37762 wxBitmap
*arg3
= 0 ;
37764 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
37765 int arg6
= (int) -1 ;
37768 bool temp2
= false ;
37776 PyObject
* obj0
= 0 ;
37777 PyObject
* obj1
= 0 ;
37778 PyObject
* obj2
= 0 ;
37779 PyObject
* obj3
= 0 ;
37780 PyObject
* obj4
= 0 ;
37781 PyObject
* obj5
= 0 ;
37782 char * kwnames
[] = {
37783 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
37786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37788 if (!SWIG_IsOK(res1
)) {
37789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37791 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37793 arg2
= wxString_in_helper(obj1
);
37794 if (arg2
== NULL
) SWIG_fail
;
37797 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37798 if (!SWIG_IsOK(res3
)) {
37799 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
37804 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
37807 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
37810 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37811 if (!SWIG_IsOK(ecode5
)) {
37812 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
37814 arg5
= static_cast< int >(val5
);
37817 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37818 if (!SWIG_IsOK(ecode6
)) {
37819 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
37821 arg6
= static_cast< int >(val6
);
37824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37825 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
37826 wxPyEndAllowThreads(__tstate
);
37827 if (PyErr_Occurred()) SWIG_fail
;
37829 resultobj
= SWIG_Py_Void();
37844 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37845 PyObject
*resultobj
= 0;
37846 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37848 wxPoint
*arg3
= (wxPoint
*) 0 ;
37851 PyObject
* obj0
= 0 ;
37852 PyObject
* obj1
= 0 ;
37853 char * kwnames
[] = {
37854 (char *) "self",(char *) "points", NULL
37857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37859 if (!SWIG_IsOK(res1
)) {
37860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37862 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37864 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37865 if (arg3
== NULL
) SWIG_fail
;
37868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37869 (arg1
)->DrawSpline(arg2
,arg3
);
37870 wxPyEndAllowThreads(__tstate
);
37871 if (PyErr_Occurred()) SWIG_fail
;
37873 resultobj
= SWIG_Py_Void();
37875 if (arg3
) delete [] arg3
;
37880 if (arg3
) delete [] arg3
;
37886 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37887 PyObject
*resultobj
= 0;
37888 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37891 PyObject
*swig_obj
[1] ;
37893 if (!args
) SWIG_fail
;
37894 swig_obj
[0] = args
;
37895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37896 if (!SWIG_IsOK(res1
)) {
37897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37899 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37903 wxPyEndAllowThreads(__tstate
);
37904 if (PyErr_Occurred()) SWIG_fail
;
37906 resultobj
= SWIG_Py_Void();
37913 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37914 PyObject
*resultobj
= 0;
37915 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37921 PyObject
* obj0
= 0 ;
37922 PyObject
* obj1
= 0 ;
37923 char * kwnames
[] = {
37924 (char *) "self",(char *) "font", NULL
37927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37929 if (!SWIG_IsOK(res1
)) {
37930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37932 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
37934 if (!SWIG_IsOK(res2
)) {
37935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
37940 arg2
= reinterpret_cast< wxFont
* >(argp2
);
37942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37943 (arg1
)->SetFont((wxFont
const &)*arg2
);
37944 wxPyEndAllowThreads(__tstate
);
37945 if (PyErr_Occurred()) SWIG_fail
;
37947 resultobj
= SWIG_Py_Void();
37954 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37955 PyObject
*resultobj
= 0;
37956 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37962 PyObject
* obj0
= 0 ;
37963 PyObject
* obj1
= 0 ;
37964 char * kwnames
[] = {
37965 (char *) "self",(char *) "pen", NULL
37968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37970 if (!SWIG_IsOK(res1
)) {
37971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37973 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37974 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
37975 if (!SWIG_IsOK(res2
)) {
37976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
37981 arg2
= reinterpret_cast< wxPen
* >(argp2
);
37983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37984 (arg1
)->SetPen((wxPen
const &)*arg2
);
37985 wxPyEndAllowThreads(__tstate
);
37986 if (PyErr_Occurred()) SWIG_fail
;
37988 resultobj
= SWIG_Py_Void();
37995 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37996 PyObject
*resultobj
= 0;
37997 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37998 wxBrush
*arg2
= 0 ;
38003 PyObject
* obj0
= 0 ;
38004 PyObject
* obj1
= 0 ;
38005 char * kwnames
[] = {
38006 (char *) "self",(char *) "brush", NULL
38009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38011 if (!SWIG_IsOK(res1
)) {
38012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38014 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38015 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38016 if (!SWIG_IsOK(res2
)) {
38017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38022 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38025 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38026 wxPyEndAllowThreads(__tstate
);
38027 if (PyErr_Occurred()) SWIG_fail
;
38029 resultobj
= SWIG_Py_Void();
38036 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38037 PyObject
*resultobj
= 0;
38038 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38039 wxBrush
*arg2
= 0 ;
38044 PyObject
* obj0
= 0 ;
38045 PyObject
* obj1
= 0 ;
38046 char * kwnames
[] = {
38047 (char *) "self",(char *) "brush", NULL
38050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38052 if (!SWIG_IsOK(res1
)) {
38053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38055 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38057 if (!SWIG_IsOK(res2
)) {
38058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38063 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38066 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38067 wxPyEndAllowThreads(__tstate
);
38068 if (PyErr_Occurred()) SWIG_fail
;
38070 resultobj
= SWIG_Py_Void();
38077 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38078 PyObject
*resultobj
= 0;
38079 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38085 PyObject
* obj0
= 0 ;
38086 PyObject
* obj1
= 0 ;
38087 char * kwnames
[] = {
38088 (char *) "self",(char *) "mode", NULL
38091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38093 if (!SWIG_IsOK(res1
)) {
38094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38096 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38098 if (!SWIG_IsOK(ecode2
)) {
38099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38101 arg2
= static_cast< int >(val2
);
38103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38104 (arg1
)->SetBackgroundMode(arg2
);
38105 wxPyEndAllowThreads(__tstate
);
38106 if (PyErr_Occurred()) SWIG_fail
;
38108 resultobj
= SWIG_Py_Void();
38115 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38116 PyObject
*resultobj
= 0;
38117 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38118 wxPalette
*arg2
= 0 ;
38123 PyObject
* obj0
= 0 ;
38124 PyObject
* obj1
= 0 ;
38125 char * kwnames
[] = {
38126 (char *) "self",(char *) "palette", NULL
38129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38131 if (!SWIG_IsOK(res1
)) {
38132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38134 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38135 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38136 if (!SWIG_IsOK(res2
)) {
38137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38142 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38145 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38146 wxPyEndAllowThreads(__tstate
);
38147 if (PyErr_Occurred()) SWIG_fail
;
38149 resultobj
= SWIG_Py_Void();
38156 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38157 PyObject
*resultobj
= 0;
38158 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38159 wxColour
*arg2
= 0 ;
38163 PyObject
* obj0
= 0 ;
38164 PyObject
* obj1
= 0 ;
38165 char * kwnames
[] = {
38166 (char *) "self",(char *) "colour", NULL
38169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38171 if (!SWIG_IsOK(res1
)) {
38172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38174 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38177 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38181 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38182 wxPyEndAllowThreads(__tstate
);
38183 if (PyErr_Occurred()) SWIG_fail
;
38185 resultobj
= SWIG_Py_Void();
38192 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38193 PyObject
*resultobj
= 0;
38194 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38195 wxColour
*arg2
= 0 ;
38199 PyObject
* obj0
= 0 ;
38200 PyObject
* obj1
= 0 ;
38201 char * kwnames
[] = {
38202 (char *) "self",(char *) "colour", NULL
38205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38207 if (!SWIG_IsOK(res1
)) {
38208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38210 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38213 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38217 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38218 wxPyEndAllowThreads(__tstate
);
38219 if (PyErr_Occurred()) SWIG_fail
;
38221 resultobj
= SWIG_Py_Void();
38228 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38229 PyObject
*resultobj
= 0;
38230 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38236 PyObject
* obj0
= 0 ;
38237 PyObject
* obj1
= 0 ;
38238 char * kwnames
[] = {
38239 (char *) "self",(char *) "function", NULL
38242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38244 if (!SWIG_IsOK(res1
)) {
38245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38247 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38249 if (!SWIG_IsOK(ecode2
)) {
38250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38252 arg2
= static_cast< int >(val2
);
38254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38255 (arg1
)->SetLogicalFunction(arg2
);
38256 wxPyEndAllowThreads(__tstate
);
38257 if (PyErr_Occurred()) SWIG_fail
;
38259 resultobj
= SWIG_Py_Void();
38266 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38268 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38269 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38270 return SWIG_Py_Void();
38273 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38274 return SWIG_Python_InitShadowInstance(args
);
38277 static PyMethodDef SwigMethods
[] = {
38278 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38279 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38280 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38281 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38282 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38283 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38284 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38285 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38286 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38287 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38288 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38289 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38290 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38291 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38292 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38293 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38294 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38295 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38296 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38297 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38298 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38299 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38300 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38301 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38302 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38303 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38304 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38305 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38306 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38307 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38308 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38309 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38310 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38311 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38312 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38313 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38314 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38315 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38316 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38317 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38318 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38319 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38320 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38321 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38322 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38323 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38324 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38325 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38326 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38327 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
38328 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38329 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38330 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38331 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38332 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38333 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38334 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38335 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38336 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38337 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38338 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38339 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38340 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38341 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38342 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38343 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38344 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38345 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38346 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38347 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38348 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38349 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38350 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38351 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38352 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38353 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38354 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38355 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38356 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38357 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38358 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38359 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38360 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38361 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38362 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38363 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38364 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38365 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38366 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38367 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38368 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38369 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38370 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38371 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38372 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38373 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38374 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38375 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38376 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38377 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38378 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38379 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38380 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38381 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38382 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38383 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38384 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38385 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38386 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38387 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38388 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38389 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38390 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38391 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38392 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38393 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38394 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38395 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38396 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38397 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38398 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38399 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38400 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38401 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38402 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38403 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38404 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38405 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38406 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38407 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38408 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38409 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38410 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38411 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38412 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38413 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38414 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38415 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38416 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38417 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38418 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38419 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38420 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38421 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38422 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38423 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38424 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38425 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38426 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38427 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38428 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38429 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38430 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38431 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38432 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38433 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38434 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38435 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38436 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38437 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38438 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38439 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38440 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38441 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38442 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38443 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38444 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38445 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38446 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38447 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38448 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38449 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38450 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38451 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38452 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38453 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38454 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38455 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38456 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38457 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38458 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38459 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38460 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38461 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38462 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38463 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38464 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38465 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38466 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38467 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38468 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38469 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38470 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38471 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38472 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38473 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38474 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38475 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38476 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38477 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38478 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38479 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38480 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38481 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38482 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38483 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38484 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38485 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38486 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38487 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38488 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38489 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38490 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38491 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38492 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38493 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38494 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38495 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38496 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38497 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38498 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38499 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38500 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38501 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38502 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38503 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38504 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38505 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38506 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38507 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38508 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38509 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38510 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38511 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38512 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38513 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38514 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38515 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38516 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38517 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38518 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38519 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38520 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38521 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38522 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38523 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38524 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38525 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38526 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38527 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38528 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38529 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38530 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38531 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38532 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38533 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38534 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38535 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38536 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38537 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38538 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38539 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38540 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38541 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38542 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38543 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38544 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38545 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38546 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38547 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38548 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38549 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38550 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38551 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38552 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38553 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38554 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38555 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38556 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38557 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38558 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38559 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38560 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38561 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38562 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38563 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38564 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38565 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38566 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38567 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38568 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38569 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38570 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38571 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38572 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38573 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38574 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38575 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38576 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38577 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38578 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38579 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38580 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38581 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38582 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38583 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38584 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38585 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38586 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38587 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38588 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38589 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38590 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38591 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38592 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38593 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38594 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38595 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38596 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38597 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38598 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38599 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38600 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38601 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38602 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38603 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38604 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38605 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38606 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38607 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38608 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38609 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38610 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38611 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38612 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38613 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38614 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38615 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38616 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38617 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38618 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38619 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38620 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38621 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38622 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38623 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38624 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38625 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38626 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38627 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38628 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38629 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38630 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38631 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38632 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38633 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38634 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38635 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38636 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
38637 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
38638 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
38639 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
38640 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
38641 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
38642 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
38643 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
38644 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38645 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38646 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38647 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38648 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38649 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38650 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38651 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38652 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38653 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
38654 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
38655 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
38656 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38657 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
38658 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38659 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38660 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38661 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
38662 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
38663 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
38664 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
38665 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
38666 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
38667 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38668 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38669 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38670 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38671 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38672 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
38673 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
38674 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
38675 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38676 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38677 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38678 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38679 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38680 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38681 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38682 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38683 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38684 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38686 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38687 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38688 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38690 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38691 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38692 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38693 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38694 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38695 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38697 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38698 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38699 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38701 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38708 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38709 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38711 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38713 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38714 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38715 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38716 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38717 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38718 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38719 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38720 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38721 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38722 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38723 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
38725 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38726 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
38727 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
38728 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
38729 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
38736 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
38737 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
38738 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
38739 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
38740 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38741 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38742 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38743 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38744 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
38745 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
38746 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
38747 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
38748 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38751 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38752 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38753 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38755 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38756 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
38757 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
38758 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
38759 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
38760 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
38761 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
38762 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
38763 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
38764 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
38765 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
38766 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
38767 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
38768 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38769 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
38771 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
38773 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
38775 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
38777 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
38778 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38779 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38780 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
38781 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
38782 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38783 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38784 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38785 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
38786 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38787 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
38788 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38790 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
38791 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
38792 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
38793 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
38794 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
38795 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
38796 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
38797 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38798 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38800 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38802 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38803 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
38805 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38806 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
38807 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
38808 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
38809 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38810 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
38811 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
38812 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
38813 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38814 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
38815 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
38816 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
38817 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
38818 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
38819 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
38820 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
38821 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
38822 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38824 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
38825 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
38826 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
38827 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38828 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
38829 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
38830 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38831 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
38832 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
38833 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
38835 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
38836 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38837 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38838 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38839 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38840 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
38841 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
38842 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
38843 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
38844 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
38845 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38846 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
38847 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
38848 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
38849 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38851 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38852 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
38854 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
38855 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38856 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
38858 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
38859 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
38861 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
38864 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
38865 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
38866 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38867 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
38868 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
38869 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
38871 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
38872 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
38874 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
38875 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38876 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
38877 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
38878 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
38879 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
38880 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
38881 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
38882 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
38883 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
38884 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
38885 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
38886 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
38887 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
38888 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
38889 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
38890 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
38891 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
38892 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
38893 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
38894 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
38895 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38896 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
38898 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38899 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
38900 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38903 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
38906 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
38907 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
38908 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
38909 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
38910 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
38911 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
38912 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
38913 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38914 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
38915 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
38916 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
38917 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38918 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38920 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38922 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
38924 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38925 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38926 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
38927 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
38928 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
38929 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
38930 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
38931 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
38932 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
38933 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38934 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
38936 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38937 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38938 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38941 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38942 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
38943 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
38944 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
38947 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
38948 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38952 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
38954 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
38955 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
38956 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
38957 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38960 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38961 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38964 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38965 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38967 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38968 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38969 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38971 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38972 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38973 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38974 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
38975 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
38976 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
38977 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
38978 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
38979 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
38980 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38981 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38982 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
38983 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38984 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38986 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
38990 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
38991 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
38992 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
38993 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
38995 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
38996 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
38997 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
38998 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
38999 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39000 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39001 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39002 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39003 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39004 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39005 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39006 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39007 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39008 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39014 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39015 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39016 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39018 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39019 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39020 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39021 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39022 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39023 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39024 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39025 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39026 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39027 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39028 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39029 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39030 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39031 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39032 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39033 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39034 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39035 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39036 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39037 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39038 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39039 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39040 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39041 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39042 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39043 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39044 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39045 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39046 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39047 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39048 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39049 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39050 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39055 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39056 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39057 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39058 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39059 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39060 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39061 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39062 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39063 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39064 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39065 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39066 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39067 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39068 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39072 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39073 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39074 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39075 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39076 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39078 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39079 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39080 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39081 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39082 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39083 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39084 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39085 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39086 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39087 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39088 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39089 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39090 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39091 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39092 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39093 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39094 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39095 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39096 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39097 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39098 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39099 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39100 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39101 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39103 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39104 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39105 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39106 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39107 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39108 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39121 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39122 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39123 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39125 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39126 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39127 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39128 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39129 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39130 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39131 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39132 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39142 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39145 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39146 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39147 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39152 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39153 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39154 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39155 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39159 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39171 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39172 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39185 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39188 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39190 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39195 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39196 { NULL
, NULL
, 0, NULL
}
39200 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39202 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39203 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39205 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39206 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39208 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39209 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39211 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39212 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39214 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39215 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39217 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39218 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39220 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39221 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39223 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39224 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39226 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39227 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39229 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39230 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39232 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39233 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39235 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39236 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39238 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39239 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39241 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39242 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39244 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39245 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39247 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39248 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39250 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39251 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39253 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39254 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39256 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39257 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39259 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39260 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39262 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39263 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39265 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39266 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39268 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39269 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39271 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39272 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39274 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39275 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39277 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39278 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39280 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39281 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39283 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39284 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39286 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39287 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39289 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39290 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39292 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39293 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39295 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39296 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39298 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39299 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39301 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39302 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39304 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39305 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39307 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39308 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39310 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39311 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39313 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39314 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39316 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39317 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39319 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39320 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39322 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39323 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39325 static void *_p_wxPenTo_p_wxObject(void *x
) {
39326 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39328 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39329 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39331 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39332 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39334 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39335 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39337 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39338 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39340 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39341 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39343 static void *_p_wxIconTo_p_wxObject(void *x
) {
39344 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39346 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39347 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39349 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39350 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39352 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39353 return (void *)((wxObject
*) ((wxSizer
*) x
));
39355 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39356 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39358 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39359 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39361 static void *_p_wxEventTo_p_wxObject(void *x
) {
39362 return (void *)((wxObject
*) ((wxEvent
*) x
));
39364 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39365 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39367 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39368 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39370 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39371 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39373 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39374 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39376 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39377 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39379 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39380 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39382 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39383 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39385 static void *_p_wxDCTo_p_wxObject(void *x
) {
39386 return (void *)((wxObject
*) ((wxDC
*) x
));
39388 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39389 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39391 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39392 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39394 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39395 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39397 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39398 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39400 static void *_p_wxControlTo_p_wxObject(void *x
) {
39401 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39403 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39404 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39406 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39407 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39409 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39410 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39412 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39413 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39415 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39416 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39418 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39419 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39421 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39422 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39424 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39425 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39427 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39428 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39430 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39431 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39433 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39434 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39436 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39437 return (void *)((wxObject
*) ((wxEffects
*) x
));
39439 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39440 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39442 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39443 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39445 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39446 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39448 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39449 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39451 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39452 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39454 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39455 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39457 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39458 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39460 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39461 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39463 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39464 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39466 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39467 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39469 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39470 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39472 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39473 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39475 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39476 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39478 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39479 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39481 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39482 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39484 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39485 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39487 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39488 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39490 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39491 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39493 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39494 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39496 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39497 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39499 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39500 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39502 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39503 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39505 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39506 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39508 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39509 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39511 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39512 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39514 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39515 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39517 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39518 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39520 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39521 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39523 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39524 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39526 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39527 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39529 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39530 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39532 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39533 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39535 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39536 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39538 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39539 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39541 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39542 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39544 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39545 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39547 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39548 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39550 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39551 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39553 static void *_p_wxImageTo_p_wxObject(void *x
) {
39554 return (void *)((wxObject
*) ((wxImage
*) x
));
39556 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39557 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39559 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39560 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39562 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39563 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39565 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39566 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39568 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39569 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39571 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39572 return (void *)((wxObject
*) ((wxImageList
*) x
));
39574 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39575 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39577 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39578 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39580 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39581 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39583 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39584 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39586 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39587 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39589 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39590 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39592 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39593 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39595 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39596 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39598 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39599 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39601 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39602 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39604 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39607 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39608 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39610 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39611 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39613 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39614 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39616 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39617 return (void *)((wxObject
*) ((wxMask
*) x
));
39619 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39620 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39622 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39623 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39625 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
39626 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
39628 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
39629 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
39631 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
39632 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
39634 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
39635 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
39637 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
39638 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
39640 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
39641 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
39643 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
39644 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
39646 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
39647 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
39649 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
39650 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
39652 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
39653 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
39655 static void *_p_wxFontTo_p_wxObject(void *x
) {
39656 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
39658 static void *_p_wxBrushTo_p_wxObject(void *x
) {
39659 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
39661 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
39662 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
39664 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
39665 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
39667 static void *_p_wxColourTo_p_wxObject(void *x
) {
39668 return (void *)((wxObject
*) ((wxColour
*) x
));
39670 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
39671 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
39673 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
39674 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
39676 static void *_p_wxControlTo_p_wxWindow(void *x
) {
39677 return (void *)((wxWindow
*) ((wxControl
*) x
));
39679 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
39680 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
39682 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
39683 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
39685 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
39686 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
39688 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
39689 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
39691 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
39692 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
39693 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
39694 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};
39695 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
39696 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
39697 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
39698 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
39699 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
39700 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
39701 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
39702 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
39703 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
39704 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
39705 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
39706 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
39707 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
39708 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
39709 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
39710 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
39711 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
39712 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
39713 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
39714 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
39715 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
39716 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
39717 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
39718 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
39719 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
39720 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
39721 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
39722 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
39723 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
39724 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
39725 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
39726 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
39727 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
39728 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
39729 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
39730 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
39731 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
39732 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
39733 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
39734 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
39735 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
39736 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
39737 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
39738 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
39739 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
39740 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
39741 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
39742 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
39743 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
39744 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
39745 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
39746 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
39747 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
39748 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
39749 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
39750 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
39751 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
39752 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
39753 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
39754 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
39755 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
39756 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
39757 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
39758 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
39759 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
39760 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
39761 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
39762 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
39763 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
39764 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
39765 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
39766 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
39767 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
39768 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
39769 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
39770 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
39771 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
39772 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
39773 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
39774 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
39775 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
39776 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
39777 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
39778 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
39779 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
39780 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
39781 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
39782 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
39783 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
39784 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
39785 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
39786 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
39787 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
39788 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
39789 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
39790 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
39791 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
39792 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
39793 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
39794 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
39795 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
39796 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
39797 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
39798 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
39799 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
39800 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
39801 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
39802 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
39803 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
39804 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
39805 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
39806 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
39807 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
39808 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
39809 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
39810 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
39811 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
39812 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
39813 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
39814 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
39815 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
39816 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
39817 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
39818 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
39819 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
39820 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
39821 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
39822 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
39823 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
39824 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
39825 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
39826 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
39827 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
39828 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
39829 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
39830 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
39831 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
39832 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
39833 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
39834 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
39835 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
39836 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
39837 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
39838 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
39839 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
39840 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
39841 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
39842 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
39843 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
39844 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
39845 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
39846 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
39847 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
39848 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
39849 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
39850 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
39851 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
39852 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
39853 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
39854 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
39855 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
39856 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
39857 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
39858 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
39859 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
39860 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
39861 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
39863 static swig_type_info
*swig_type_initial
[] = {
39867 &_swigt__p_form_ops_t
,
39869 &_swigt__p_unsigned_char
,
39870 &_swigt__p_unsigned_int
,
39871 &_swigt__p_unsigned_long
,
39873 &_swigt__p_wxANIHandler
,
39874 &_swigt__p_wxAcceleratorTable
,
39875 &_swigt__p_wxActivateEvent
,
39876 &_swigt__p_wxAlphaPixelData
,
39877 &_swigt__p_wxAlphaPixelData_Accessor
,
39878 &_swigt__p_wxAutoBufferedPaintDC
,
39879 &_swigt__p_wxBMPHandler
,
39880 &_swigt__p_wxBitmap
,
39881 &_swigt__p_wxBoxSizer
,
39882 &_swigt__p_wxBrush
,
39883 &_swigt__p_wxBrushList
,
39884 &_swigt__p_wxBufferedDC
,
39885 &_swigt__p_wxBufferedPaintDC
,
39886 &_swigt__p_wxCURHandler
,
39888 &_swigt__p_wxChildFocusEvent
,
39889 &_swigt__p_wxClientDC
,
39890 &_swigt__p_wxClipboardTextEvent
,
39891 &_swigt__p_wxCloseEvent
,
39892 &_swigt__p_wxColor
,
39893 &_swigt__p_wxColour
,
39894 &_swigt__p_wxColourDatabase
,
39895 &_swigt__p_wxCommandEvent
,
39896 &_swigt__p_wxContextMenuEvent
,
39897 &_swigt__p_wxControl
,
39898 &_swigt__p_wxControlWithItems
,
39899 &_swigt__p_wxCursor
,
39901 &_swigt__p_wxDCBrushChanger
,
39902 &_swigt__p_wxDCClipper
,
39903 &_swigt__p_wxDCOverlay
,
39904 &_swigt__p_wxDCPenChanger
,
39905 &_swigt__p_wxDCTextColourChanger
,
39907 &_swigt__p_wxDateEvent
,
39908 &_swigt__p_wxDisplayChangedEvent
,
39909 &_swigt__p_wxDropFilesEvent
,
39910 &_swigt__p_wxDuplexMode
,
39911 &_swigt__p_wxEffects
,
39912 &_swigt__p_wxEncodingConverter
,
39913 &_swigt__p_wxEraseEvent
,
39914 &_swigt__p_wxEvent
,
39915 &_swigt__p_wxEvtHandler
,
39916 &_swigt__p_wxFSFile
,
39917 &_swigt__p_wxFileSystem
,
39918 &_swigt__p_wxFlexGridSizer
,
39919 &_swigt__p_wxFocusEvent
,
39921 &_swigt__p_wxFontList
,
39922 &_swigt__p_wxFontMapper
,
39923 &_swigt__p_wxGBSizerItem
,
39925 &_swigt__p_wxGDIObjListBase
,
39926 &_swigt__p_wxGDIObject
,
39927 &_swigt__p_wxGIFHandler
,
39928 &_swigt__p_wxGraphicsBrush
,
39929 &_swigt__p_wxGraphicsContext
,
39930 &_swigt__p_wxGraphicsFont
,
39931 &_swigt__p_wxGraphicsMatrix
,
39932 &_swigt__p_wxGraphicsObject
,
39933 &_swigt__p_wxGraphicsPath
,
39934 &_swigt__p_wxGraphicsPen
,
39935 &_swigt__p_wxGraphicsRenderer
,
39936 &_swigt__p_wxGridBagSizer
,
39937 &_swigt__p_wxGridSizer
,
39938 &_swigt__p_wxHeaderButtonParams
,
39939 &_swigt__p_wxICOHandler
,
39941 &_swigt__p_wxIconBundle
,
39942 &_swigt__p_wxIconLocation
,
39943 &_swigt__p_wxIconizeEvent
,
39944 &_swigt__p_wxIdleEvent
,
39945 &_swigt__p_wxImage
,
39946 &_swigt__p_wxImageHandler
,
39947 &_swigt__p_wxImageList
,
39948 &_swigt__p_wxIndividualLayoutConstraint
,
39949 &_swigt__p_wxInitDialogEvent
,
39950 &_swigt__p_wxJPEGHandler
,
39951 &_swigt__p_wxKeyEvent
,
39952 &_swigt__p_wxLanguageInfo
,
39953 &_swigt__p_wxLayoutConstraints
,
39954 &_swigt__p_wxLocale
,
39956 &_swigt__p_wxMaximizeEvent
,
39957 &_swigt__p_wxMemoryDC
,
39959 &_swigt__p_wxMenuBar
,
39960 &_swigt__p_wxMenuEvent
,
39961 &_swigt__p_wxMenuItem
,
39962 &_swigt__p_wxMetaFile
,
39963 &_swigt__p_wxMetaFileDC
,
39964 &_swigt__p_wxMirrorDC
,
39965 &_swigt__p_wxMouseCaptureChangedEvent
,
39966 &_swigt__p_wxMouseCaptureLostEvent
,
39967 &_swigt__p_wxMouseEvent
,
39968 &_swigt__p_wxMoveEvent
,
39969 &_swigt__p_wxNativeEncodingInfo
,
39970 &_swigt__p_wxNativeFontInfo
,
39971 &_swigt__p_wxNativePixelData
,
39972 &_swigt__p_wxNativePixelData_Accessor
,
39973 &_swigt__p_wxNavigationKeyEvent
,
39974 &_swigt__p_wxNcPaintEvent
,
39975 &_swigt__p_wxNotifyEvent
,
39976 &_swigt__p_wxObject
,
39977 &_swigt__p_wxOverlay
,
39978 &_swigt__p_wxPCXHandler
,
39979 &_swigt__p_wxPNGHandler
,
39980 &_swigt__p_wxPNMHandler
,
39981 &_swigt__p_wxPaintDC
,
39982 &_swigt__p_wxPaintEvent
,
39983 &_swigt__p_wxPalette
,
39984 &_swigt__p_wxPaletteChangedEvent
,
39985 &_swigt__p_wxPaperSize
,
39987 &_swigt__p_wxPenList
,
39988 &_swigt__p_wxPixelDataBase
,
39989 &_swigt__p_wxPoint
,
39990 &_swigt__p_wxPoint2D
,
39991 &_swigt__p_wxPoint2DDouble
,
39992 &_swigt__p_wxPostScriptDC
,
39993 &_swigt__p_wxPrintData
,
39994 &_swigt__p_wxPrinterDC
,
39995 &_swigt__p_wxPseudoDC
,
39996 &_swigt__p_wxPyApp
,
39997 &_swigt__p_wxPyCommandEvent
,
39998 &_swigt__p_wxPyEvent
,
39999 &_swigt__p_wxPyFontEnumerator
,
40000 &_swigt__p_wxPyImageHandler
,
40001 &_swigt__p_wxPyLocale
,
40002 &_swigt__p_wxPySizer
,
40003 &_swigt__p_wxPyValidator
,
40004 &_swigt__p_wxQueryNewPaletteEvent
,
40006 &_swigt__p_wxRect2DDouble
,
40007 &_swigt__p_wxRegion
,
40008 &_swigt__p_wxRegionIterator
,
40009 &_swigt__p_wxRendererNative
,
40010 &_swigt__p_wxRendererVersion
,
40011 &_swigt__p_wxScreenDC
,
40012 &_swigt__p_wxScrollEvent
,
40013 &_swigt__p_wxScrollWinEvent
,
40014 &_swigt__p_wxSetCursorEvent
,
40015 &_swigt__p_wxShowEvent
,
40017 &_swigt__p_wxSizeEvent
,
40018 &_swigt__p_wxSizer
,
40019 &_swigt__p_wxSizerItem
,
40020 &_swigt__p_wxSplitterRenderParams
,
40021 &_swigt__p_wxStaticBoxSizer
,
40022 &_swigt__p_wxStdDialogButtonSizer
,
40023 &_swigt__p_wxStockGDI
,
40024 &_swigt__p_wxString
,
40025 &_swigt__p_wxSysColourChangedEvent
,
40026 &_swigt__p_wxTGAHandler
,
40027 &_swigt__p_wxTIFFHandler
,
40028 &_swigt__p_wxUpdateUIEvent
,
40029 &_swigt__p_wxValidator
,
40030 &_swigt__p_wxWindow
,
40031 &_swigt__p_wxWindowCreateEvent
,
40032 &_swigt__p_wxWindowDC
,
40033 &_swigt__p_wxWindowDestroyEvent
,
40034 &_swigt__p_wxXPMHandler
,
40037 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40038 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40039 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40040 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40041 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40042 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40043 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40044 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40045 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40046 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40047 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40048 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40049 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40050 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40051 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40052 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}};
40053 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40054 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40055 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}};
40056 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40057 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40058 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40059 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40060 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxDC
, 0, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxDC
, 0, 0},{0, 0, 0, 0}};
40061 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40062 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40063 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40064 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40065 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40066 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40067 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40068 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40069 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40070 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40071 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40072 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40073 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40074 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}};
40075 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}};
40076 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40077 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40078 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40079 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40080 static swig_cast_info _swigc__p_wxGraphicsObject
[] = { {&_swigt__p_wxGraphicsPen
, _p_wxGraphicsPenTo_p_wxGraphicsObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxGraphicsObject
, 0, 0}, {&_swigt__p_wxGraphicsObject
, 0, 0, 0}, {&_swigt__p_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_p_wxGraphicsObject
, 0, 0}, {&_swigt__p_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxGraphicsObject
, 0, 0}, {&_swigt__p_wxGraphicsContext
, _p_wxGraphicsContextTo_p_wxGraphicsObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_p_wxGraphicsObject
, 0, 0},{0, 0, 0, 0}};
40081 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40082 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40083 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40084 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40085 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40086 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40087 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40088 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40089 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40090 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40091 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}};
40092 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40093 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}};
40094 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40095 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40096 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40097 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40098 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40099 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40100 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40101 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40102 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40103 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40104 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40105 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40106 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40107 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40108 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40109 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40110 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40111 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40112 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40113 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40114 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40115 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40116 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40117 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40118 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40119 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40120 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40121 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40122 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40123 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40124 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40125 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40126 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40127 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40128 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40129 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40130 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40131 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40132 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40133 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40134 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40135 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40136 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40137 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40138 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40139 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40140 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40141 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40142 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40143 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40144 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40145 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40146 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40147 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40148 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40149 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40150 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40151 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40152 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40153 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40154 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40155 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40156 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40157 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40158 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40159 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40160 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40161 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40162 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40163 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40164 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40165 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40166 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40167 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40168 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40169 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40170 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40171 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40172 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40173 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40174 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40175 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40176 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40177 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40178 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_wxGraphicsPen
, _p_wxGraphicsPenTo_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_wxGraphicsObject
, _p_wxGraphicsObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_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_wxGraphicsContext
, _p_wxGraphicsContextTo_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_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_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_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_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_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsRenderer
, _p_wxGraphicsRendererTo_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_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxObject
, 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_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_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}};
40179 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40180 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40181 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40182 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40183 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40184 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40185 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}};
40186 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40187 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40188 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40189 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40190 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40191 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40192 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40193 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40194 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40195 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40196 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40197 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40198 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40199 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40200 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40201 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40202 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40203 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40204 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40205 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40206 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}};
40207 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
40209 static swig_cast_info
*swig_cast_initial
[] = {
40213 _swigc__p_form_ops_t
,
40215 _swigc__p_unsigned_char
,
40216 _swigc__p_unsigned_int
,
40217 _swigc__p_unsigned_long
,
40219 _swigc__p_wxANIHandler
,
40220 _swigc__p_wxAcceleratorTable
,
40221 _swigc__p_wxActivateEvent
,
40222 _swigc__p_wxAlphaPixelData
,
40223 _swigc__p_wxAlphaPixelData_Accessor
,
40224 _swigc__p_wxAutoBufferedPaintDC
,
40225 _swigc__p_wxBMPHandler
,
40226 _swigc__p_wxBitmap
,
40227 _swigc__p_wxBoxSizer
,
40229 _swigc__p_wxBrushList
,
40230 _swigc__p_wxBufferedDC
,
40231 _swigc__p_wxBufferedPaintDC
,
40232 _swigc__p_wxCURHandler
,
40234 _swigc__p_wxChildFocusEvent
,
40235 _swigc__p_wxClientDC
,
40236 _swigc__p_wxClipboardTextEvent
,
40237 _swigc__p_wxCloseEvent
,
40239 _swigc__p_wxColour
,
40240 _swigc__p_wxColourDatabase
,
40241 _swigc__p_wxCommandEvent
,
40242 _swigc__p_wxContextMenuEvent
,
40243 _swigc__p_wxControl
,
40244 _swigc__p_wxControlWithItems
,
40245 _swigc__p_wxCursor
,
40247 _swigc__p_wxDCBrushChanger
,
40248 _swigc__p_wxDCClipper
,
40249 _swigc__p_wxDCOverlay
,
40250 _swigc__p_wxDCPenChanger
,
40251 _swigc__p_wxDCTextColourChanger
,
40253 _swigc__p_wxDateEvent
,
40254 _swigc__p_wxDisplayChangedEvent
,
40255 _swigc__p_wxDropFilesEvent
,
40256 _swigc__p_wxDuplexMode
,
40257 _swigc__p_wxEffects
,
40258 _swigc__p_wxEncodingConverter
,
40259 _swigc__p_wxEraseEvent
,
40261 _swigc__p_wxEvtHandler
,
40262 _swigc__p_wxFSFile
,
40263 _swigc__p_wxFileSystem
,
40264 _swigc__p_wxFlexGridSizer
,
40265 _swigc__p_wxFocusEvent
,
40267 _swigc__p_wxFontList
,
40268 _swigc__p_wxFontMapper
,
40269 _swigc__p_wxGBSizerItem
,
40271 _swigc__p_wxGDIObjListBase
,
40272 _swigc__p_wxGDIObject
,
40273 _swigc__p_wxGIFHandler
,
40274 _swigc__p_wxGraphicsBrush
,
40275 _swigc__p_wxGraphicsContext
,
40276 _swigc__p_wxGraphicsFont
,
40277 _swigc__p_wxGraphicsMatrix
,
40278 _swigc__p_wxGraphicsObject
,
40279 _swigc__p_wxGraphicsPath
,
40280 _swigc__p_wxGraphicsPen
,
40281 _swigc__p_wxGraphicsRenderer
,
40282 _swigc__p_wxGridBagSizer
,
40283 _swigc__p_wxGridSizer
,
40284 _swigc__p_wxHeaderButtonParams
,
40285 _swigc__p_wxICOHandler
,
40287 _swigc__p_wxIconBundle
,
40288 _swigc__p_wxIconLocation
,
40289 _swigc__p_wxIconizeEvent
,
40290 _swigc__p_wxIdleEvent
,
40292 _swigc__p_wxImageHandler
,
40293 _swigc__p_wxImageList
,
40294 _swigc__p_wxIndividualLayoutConstraint
,
40295 _swigc__p_wxInitDialogEvent
,
40296 _swigc__p_wxJPEGHandler
,
40297 _swigc__p_wxKeyEvent
,
40298 _swigc__p_wxLanguageInfo
,
40299 _swigc__p_wxLayoutConstraints
,
40300 _swigc__p_wxLocale
,
40302 _swigc__p_wxMaximizeEvent
,
40303 _swigc__p_wxMemoryDC
,
40305 _swigc__p_wxMenuBar
,
40306 _swigc__p_wxMenuEvent
,
40307 _swigc__p_wxMenuItem
,
40308 _swigc__p_wxMetaFile
,
40309 _swigc__p_wxMetaFileDC
,
40310 _swigc__p_wxMirrorDC
,
40311 _swigc__p_wxMouseCaptureChangedEvent
,
40312 _swigc__p_wxMouseCaptureLostEvent
,
40313 _swigc__p_wxMouseEvent
,
40314 _swigc__p_wxMoveEvent
,
40315 _swigc__p_wxNativeEncodingInfo
,
40316 _swigc__p_wxNativeFontInfo
,
40317 _swigc__p_wxNativePixelData
,
40318 _swigc__p_wxNativePixelData_Accessor
,
40319 _swigc__p_wxNavigationKeyEvent
,
40320 _swigc__p_wxNcPaintEvent
,
40321 _swigc__p_wxNotifyEvent
,
40322 _swigc__p_wxObject
,
40323 _swigc__p_wxOverlay
,
40324 _swigc__p_wxPCXHandler
,
40325 _swigc__p_wxPNGHandler
,
40326 _swigc__p_wxPNMHandler
,
40327 _swigc__p_wxPaintDC
,
40328 _swigc__p_wxPaintEvent
,
40329 _swigc__p_wxPalette
,
40330 _swigc__p_wxPaletteChangedEvent
,
40331 _swigc__p_wxPaperSize
,
40333 _swigc__p_wxPenList
,
40334 _swigc__p_wxPixelDataBase
,
40336 _swigc__p_wxPoint2D
,
40337 _swigc__p_wxPoint2DDouble
,
40338 _swigc__p_wxPostScriptDC
,
40339 _swigc__p_wxPrintData
,
40340 _swigc__p_wxPrinterDC
,
40341 _swigc__p_wxPseudoDC
,
40343 _swigc__p_wxPyCommandEvent
,
40344 _swigc__p_wxPyEvent
,
40345 _swigc__p_wxPyFontEnumerator
,
40346 _swigc__p_wxPyImageHandler
,
40347 _swigc__p_wxPyLocale
,
40348 _swigc__p_wxPySizer
,
40349 _swigc__p_wxPyValidator
,
40350 _swigc__p_wxQueryNewPaletteEvent
,
40352 _swigc__p_wxRect2DDouble
,
40353 _swigc__p_wxRegion
,
40354 _swigc__p_wxRegionIterator
,
40355 _swigc__p_wxRendererNative
,
40356 _swigc__p_wxRendererVersion
,
40357 _swigc__p_wxScreenDC
,
40358 _swigc__p_wxScrollEvent
,
40359 _swigc__p_wxScrollWinEvent
,
40360 _swigc__p_wxSetCursorEvent
,
40361 _swigc__p_wxShowEvent
,
40363 _swigc__p_wxSizeEvent
,
40365 _swigc__p_wxSizerItem
,
40366 _swigc__p_wxSplitterRenderParams
,
40367 _swigc__p_wxStaticBoxSizer
,
40368 _swigc__p_wxStdDialogButtonSizer
,
40369 _swigc__p_wxStockGDI
,
40370 _swigc__p_wxString
,
40371 _swigc__p_wxSysColourChangedEvent
,
40372 _swigc__p_wxTGAHandler
,
40373 _swigc__p_wxTIFFHandler
,
40374 _swigc__p_wxUpdateUIEvent
,
40375 _swigc__p_wxValidator
,
40376 _swigc__p_wxWindow
,
40377 _swigc__p_wxWindowCreateEvent
,
40378 _swigc__p_wxWindowDC
,
40379 _swigc__p_wxWindowDestroyEvent
,
40380 _swigc__p_wxXPMHandler
,
40384 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40386 static swig_const_info swig_const_table
[] = {
40387 {0, 0, 0, 0.0, 0, 0}};
40392 /* -----------------------------------------------------------------------------
40393 * Type initialization:
40394 * This problem is tough by the requirement that no dynamic
40395 * memory is used. Also, since swig_type_info structures store pointers to
40396 * swig_cast_info structures and swig_cast_info structures store pointers back
40397 * to swig_type_info structures, we need some lookup code at initialization.
40398 * The idea is that swig generates all the structures that are needed.
40399 * The runtime then collects these partially filled structures.
40400 * The SWIG_InitializeModule function takes these initial arrays out of
40401 * swig_module, and does all the lookup, filling in the swig_module.types
40402 * array with the correct data and linking the correct swig_cast_info
40403 * structures together.
40405 * The generated swig_type_info structures are assigned staticly to an initial
40406 * array. We just loop though that array, and handle each type individually.
40407 * First we lookup if this type has been already loaded, and if so, use the
40408 * loaded structure instead of the generated one. Then we have to fill in the
40409 * cast linked list. The cast data is initially stored in something like a
40410 * two-dimensional array. Each row corresponds to a type (there are the same
40411 * number of rows as there are in the swig_type_initial array). Each entry in
40412 * a column is one of the swig_cast_info structures for that type.
40413 * The cast_initial array is actually an array of arrays, because each row has
40414 * a variable number of columns. So to actually build the cast linked list,
40415 * we find the array of casts associated with the type, and loop through it
40416 * adding the casts to the list. The one last trick we need to do is making
40417 * sure the type pointer in the swig_cast_info struct is correct.
40419 * First off, we lookup the cast->type name to see if it is already loaded.
40420 * There are three cases to handle:
40421 * 1) If the cast->type has already been loaded AND the type we are adding
40422 * casting info to has not been loaded (it is in this module), THEN we
40423 * replace the cast->type pointer with the type pointer that has already
40425 * 2) If BOTH types (the one we are adding casting info to, and the
40426 * cast->type) are loaded, THEN the cast info has already been loaded by
40427 * the previous module so we just ignore it.
40428 * 3) Finally, if cast->type has not already been loaded, then we add that
40429 * swig_cast_info to the linked list (because the cast->type) pointer will
40431 * ----------------------------------------------------------------------------- */
40441 #define SWIGRUNTIME_DEBUG
40445 SWIG_InitializeModule(void *clientdata
) {
40447 swig_module_info
*module_head
;
40448 static int init_run
= 0;
40450 clientdata
= clientdata
;
40452 if (init_run
) return;
40455 /* Initialize the swig_module */
40456 swig_module
.type_initial
= swig_type_initial
;
40457 swig_module
.cast_initial
= swig_cast_initial
;
40459 /* Try and load any already created modules */
40460 module_head
= SWIG_GetModule(clientdata
);
40462 swig_module
.next
= module_head
->next
;
40463 module_head
->next
= &swig_module
;
40465 /* This is the first module loaded */
40466 swig_module
.next
= &swig_module
;
40467 SWIG_SetModule(clientdata
, &swig_module
);
40470 /* Now work on filling in swig_module.types */
40471 #ifdef SWIGRUNTIME_DEBUG
40472 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40474 for (i
= 0; i
< swig_module
.size
; ++i
) {
40475 swig_type_info
*type
= 0;
40476 swig_type_info
*ret
;
40477 swig_cast_info
*cast
;
40479 #ifdef SWIGRUNTIME_DEBUG
40480 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40483 /* if there is another module already loaded */
40484 if (swig_module
.next
!= &swig_module
) {
40485 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40488 /* Overwrite clientdata field */
40489 #ifdef SWIGRUNTIME_DEBUG
40490 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40492 if (swig_module
.type_initial
[i
]->clientdata
) {
40493 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40494 #ifdef SWIGRUNTIME_DEBUG
40495 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40499 type
= swig_module
.type_initial
[i
];
40502 /* Insert casting types */
40503 cast
= swig_module
.cast_initial
[i
];
40504 while (cast
->type
) {
40505 /* Don't need to add information already in the list */
40507 #ifdef SWIGRUNTIME_DEBUG
40508 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40510 if (swig_module
.next
!= &swig_module
) {
40511 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40512 #ifdef SWIGRUNTIME_DEBUG
40513 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40517 if (type
== swig_module
.type_initial
[i
]) {
40518 #ifdef SWIGRUNTIME_DEBUG
40519 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40524 /* Check for casting already in the list */
40525 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40526 #ifdef SWIGRUNTIME_DEBUG
40527 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40529 if (!ocast
) ret
= 0;
40534 #ifdef SWIGRUNTIME_DEBUG
40535 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40538 type
->cast
->prev
= cast
;
40539 cast
->next
= type
->cast
;
40545 /* Set entry in modules->types array equal to the type */
40546 swig_module
.types
[i
] = type
;
40548 swig_module
.types
[i
] = 0;
40550 #ifdef SWIGRUNTIME_DEBUG
40551 printf("**** SWIG_InitializeModule: Cast List ******\n");
40552 for (i
= 0; i
< swig_module
.size
; ++i
) {
40554 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40555 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40556 while (cast
->type
) {
40557 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40561 printf("---- Total casts: %d\n",j
);
40563 printf("**** SWIG_InitializeModule: Cast List ******\n");
40567 /* This function will propagate the clientdata field of type to
40568 * any new swig_type_info structures that have been added into the list
40569 * of equivalent types. It is like calling
40570 * SWIG_TypeClientData(type, clientdata) a second time.
40573 SWIG_PropagateClientData(void) {
40575 swig_cast_info
*equiv
;
40576 static int init_run
= 0;
40578 if (init_run
) return;
40581 for (i
= 0; i
< swig_module
.size
; i
++) {
40582 if (swig_module
.types
[i
]->clientdata
) {
40583 equiv
= swig_module
.types
[i
]->cast
;
40585 if (!equiv
->converter
) {
40586 if (equiv
->type
&& !equiv
->type
->clientdata
)
40587 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40589 equiv
= equiv
->next
;
40609 /* Python-specific SWIG API */
40610 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40611 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40612 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40614 /* -----------------------------------------------------------------------------
40615 * global variable support code.
40616 * ----------------------------------------------------------------------------- */
40618 typedef struct swig_globalvar
{
40619 char *name
; /* Name of global variable */
40620 PyObject
*(*get_attr
)(void); /* Return the current value */
40621 int (*set_attr
)(PyObject
*); /* Set the value */
40622 struct swig_globalvar
*next
;
40625 typedef struct swig_varlinkobject
{
40627 swig_globalvar
*vars
;
40628 } swig_varlinkobject
;
40630 SWIGINTERN PyObject
*
40631 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
40632 return PyString_FromString("<Swig global variables>");
40635 SWIGINTERN PyObject
*
40636 swig_varlink_str(swig_varlinkobject
*v
) {
40637 PyObject
*str
= PyString_FromString("(");
40638 swig_globalvar
*var
;
40639 for (var
= v
->vars
; var
; var
=var
->next
) {
40640 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
40641 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
40643 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
40648 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
40649 PyObject
*str
= swig_varlink_str(v
);
40650 fprintf(fp
,"Swig global variables ");
40651 fprintf(fp
,"%s\n", PyString_AsString(str
));
40657 swig_varlink_dealloc(swig_varlinkobject
*v
) {
40658 swig_globalvar
*var
= v
->vars
;
40660 swig_globalvar
*n
= var
->next
;
40667 SWIGINTERN PyObject
*
40668 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
40669 PyObject
*res
= NULL
;
40670 swig_globalvar
*var
= v
->vars
;
40672 if (strcmp(var
->name
,n
) == 0) {
40673 res
= (*var
->get_attr
)();
40678 if (res
== NULL
&& !PyErr_Occurred()) {
40679 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40685 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
40687 swig_globalvar
*var
= v
->vars
;
40689 if (strcmp(var
->name
,n
) == 0) {
40690 res
= (*var
->set_attr
)(p
);
40695 if (res
== 1 && !PyErr_Occurred()) {
40696 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
40701 SWIGINTERN PyTypeObject
*
40702 swig_varlink_type(void) {
40703 static char varlink__doc__
[] = "Swig var link object";
40704 static PyTypeObject varlink_type
;
40705 static int type_init
= 0;
40707 const PyTypeObject tmp
40709 PyObject_HEAD_INIT(NULL
)
40710 0, /* Number of items in variable part (ob_size) */
40711 (char *)"swigvarlink", /* Type name (tp_name) */
40712 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
40713 0, /* Itemsize (tp_itemsize) */
40714 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
40715 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
40716 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
40717 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
40718 0, /* tp_compare */
40719 (reprfunc
) swig_varlink_repr
, /* tp_repr */
40720 0, /* tp_as_number */
40721 0, /* tp_as_sequence */
40722 0, /* tp_as_mapping */
40725 (reprfunc
)swig_varlink_str
, /* tp_str */
40726 0, /* tp_getattro */
40727 0, /* tp_setattro */
40728 0, /* tp_as_buffer */
40730 varlink__doc__
, /* tp_doc */
40731 0, /* tp_traverse */
40733 0, /* tp_richcompare */
40734 0, /* tp_weaklistoffset */
40735 #if PY_VERSION_HEX >= 0x02020000
40736 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
40738 #if PY_VERSION_HEX >= 0x02030000
40741 #ifdef COUNT_ALLOCS
40742 0,0,0,0 /* tp_alloc -> tp_next */
40745 varlink_type
= tmp
;
40746 varlink_type
.ob_type
= &PyType_Type
;
40749 return &varlink_type
;
40752 /* Create a variable linking object for use later */
40753 SWIGINTERN PyObject
*
40754 SWIG_Python_newvarlink(void) {
40755 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
40759 return ((PyObject
*) result
);
40763 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
40764 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
40765 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
40767 size_t size
= strlen(name
)+1;
40768 gv
->name
= (char *)malloc(size
);
40770 strncpy(gv
->name
,name
,size
);
40771 gv
->get_attr
= get_attr
;
40772 gv
->set_attr
= set_attr
;
40773 gv
->next
= v
->vars
;
40779 SWIGINTERN PyObject
*
40781 static PyObject
*_SWIG_globals
= 0;
40782 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
40783 return _SWIG_globals
;
40786 /* -----------------------------------------------------------------------------
40787 * constants/methods manipulation
40788 * ----------------------------------------------------------------------------- */
40790 /* Install Constants */
40792 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
40795 for (i
= 0; constants
[i
].type
; ++i
) {
40796 switch(constants
[i
].type
) {
40797 case SWIG_PY_POINTER
:
40798 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
40800 case SWIG_PY_BINARY
:
40801 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
40808 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
40814 /* -----------------------------------------------------------------------------*/
40815 /* Fix SwigMethods to carry the callback ptrs when needed */
40816 /* -----------------------------------------------------------------------------*/
40819 SWIG_Python_FixMethods(PyMethodDef
*methods
,
40820 swig_const_info
*const_table
,
40821 swig_type_info
**types
,
40822 swig_type_info
**types_initial
) {
40824 for (i
= 0; methods
[i
].ml_name
; ++i
) {
40825 const char *c
= methods
[i
].ml_doc
;
40826 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
40828 swig_const_info
*ci
= 0;
40829 const char *name
= c
+ 10;
40830 for (j
= 0; const_table
[j
].type
; ++j
) {
40831 if (strncmp(const_table
[j
].name
, name
,
40832 strlen(const_table
[j
].name
)) == 0) {
40833 ci
= &(const_table
[j
]);
40838 size_t shift
= (ci
->ptype
) - types
;
40839 swig_type_info
*ty
= types_initial
[shift
];
40840 size_t ldoc
= (c
- methods
[i
].ml_doc
);
40841 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
40842 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
40845 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
40847 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
40849 strncpy(buff
, "swig_ptr: ", 10);
40851 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
40852 methods
[i
].ml_doc
= ndoc
;
40864 /* -----------------------------------------------------------------------------*
40865 * Partial Init method
40866 * -----------------------------------------------------------------------------*/
40871 SWIGEXPORT
void SWIG_init(void) {
40874 /* Fix SwigMethods to carry the callback ptrs when needed */
40875 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
40877 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40878 d
= PyModule_GetDict(m
);
40880 SWIG_InitializeModule(0);
40881 SWIG_InstallConstants(d
,swig_const_table
);
40884 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
40885 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
40886 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
40887 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
40888 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
40889 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
40890 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
40891 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
40892 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
40893 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
40894 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
40895 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
40896 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
40897 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
40898 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
40899 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
40900 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
40901 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
40902 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
40903 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
40904 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
40905 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
40906 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
40907 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
40908 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
40909 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
40910 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
40911 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
40912 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
40913 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
40914 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
40915 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
40916 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
40917 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
40918 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
40919 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
40920 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
40921 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
40922 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
40923 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
40924 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
40925 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
40926 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
40927 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
40928 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
40929 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
40930 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
40931 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
40932 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
40933 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
40934 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
40935 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
40936 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
40937 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
40938 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
40939 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
40940 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
40941 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
40942 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
40943 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
40944 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
40945 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
40946 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
40947 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
40948 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
40949 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
40950 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
40951 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
40952 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
40953 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
40954 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
40955 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
40956 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
40957 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
40958 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
40959 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
40960 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
40961 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
40962 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
40963 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
40964 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
40965 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
40966 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
40967 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
40968 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
40969 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
40970 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
40971 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
40972 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
40973 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
40974 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
40975 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
40976 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
40977 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
40978 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
40979 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
40980 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
40981 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
40982 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
40983 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
40984 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
40985 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
40986 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
40987 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
40988 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
40989 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
40990 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
40991 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
40992 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
40993 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
40994 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
40995 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
40996 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
40997 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
40998 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
40999 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41000 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41001 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41002 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41003 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41004 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41005 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41006 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41007 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41008 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41009 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41010 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41011 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41012 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41013 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41014 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41015 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41017 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41019 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41020 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41021 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41022 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41023 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41024 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41025 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41026 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41027 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41028 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41029 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41030 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41031 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41032 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41033 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41034 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41035 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41036 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41037 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41038 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41039 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41040 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41041 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41042 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41043 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41044 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41045 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41046 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41047 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41048 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41049 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41050 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41051 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41052 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41053 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41054 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41055 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41056 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41057 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41058 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41059 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41060 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41061 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41062 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41063 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41064 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41065 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41066 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41067 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41068 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41069 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41070 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41071 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41072 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41073 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41074 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41075 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41076 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41077 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41078 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41079 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41080 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41081 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41082 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41083 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41084 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41085 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41086 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41087 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41088 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41089 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41090 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41091 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41092 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41093 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41094 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41095 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41096 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41097 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41098 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41099 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41100 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41101 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41102 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41103 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41104 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41105 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41106 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41107 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41108 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41109 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41110 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41111 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41112 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41113 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41114 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41115 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41116 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41117 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41118 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41119 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41120 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41121 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41122 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41123 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41124 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41125 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41126 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41127 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41128 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41129 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41130 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41131 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41132 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41133 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41134 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41135 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41136 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41137 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41138 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41139 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41140 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41141 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41142 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41143 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41144 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41145 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41146 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41147 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41148 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41149 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41150 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41151 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41152 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41153 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41154 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41155 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41156 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41157 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41158 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41159 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41160 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41161 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41162 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41163 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41164 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41165 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41166 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41167 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41168 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41169 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41170 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41171 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41172 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41173 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41174 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41175 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41176 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41177 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41178 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41179 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41180 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41181 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41182 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41183 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41184 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41185 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41186 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41187 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41188 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41189 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41190 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41191 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41192 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41193 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41194 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41195 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41196 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41197 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41198 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41199 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41200 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41201 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41202 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41203 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41204 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41205 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41206 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41207 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41208 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41209 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41210 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41211 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41212 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41213 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41214 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41215 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41216 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41217 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41218 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41219 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41220 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41221 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41222 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41223 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41224 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41225 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41226 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41227 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41228 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41229 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41230 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41231 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41232 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41233 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41234 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41235 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41236 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41237 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41238 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41239 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41240 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41241 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41242 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41243 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41244 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41245 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41246 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41247 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41248 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41249 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41250 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41251 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41252 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41253 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41254 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41255 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41256 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41257 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41258 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41259 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41260 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41261 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41262 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41263 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41264 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41265 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41266 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41267 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41268 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41269 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41270 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41271 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41272 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41273 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41274 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41275 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41276 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41277 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41278 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41279 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41280 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41281 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41282 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41283 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41284 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41285 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41286 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41287 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41288 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41289 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41290 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41291 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41292 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41293 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41294 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41295 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41296 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41297 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41298 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41299 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41300 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41301 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41302 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41303 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41304 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41305 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41306 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41307 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41308 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41309 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41310 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41311 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41312 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41313 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41314 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41315 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41316 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41317 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41318 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41319 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41320 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41321 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41322 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41323 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41324 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41325 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41326 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41327 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41328 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41329 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41330 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41331 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41332 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41333 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41334 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41335 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41336 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41337 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41338 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41339 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41340 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41341 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41342 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41344 // Work around a chicken/egg problem in drawlist.cpp
41345 wxPyDrawList_SetAPIPtr();