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_wxChildFocusEvent swig_types[23]
2490 #define SWIGTYPE_p_wxClientDC swig_types[24]
2491 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[25]
2492 #define SWIGTYPE_p_wxCloseEvent swig_types[26]
2493 #define SWIGTYPE_p_wxColour swig_types[27]
2494 #define SWIGTYPE_p_wxColourDatabase swig_types[28]
2495 #define SWIGTYPE_p_wxCommandEvent swig_types[29]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2497 #define SWIGTYPE_p_wxControl swig_types[31]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2499 #define SWIGTYPE_p_wxCursor swig_types[33]
2500 #define SWIGTYPE_p_wxDC swig_types[34]
2501 #define SWIGTYPE_p_wxDCBrushChanger swig_types[35]
2502 #define SWIGTYPE_p_wxDCClipper swig_types[36]
2503 #define SWIGTYPE_p_wxDCOverlay swig_types[37]
2504 #define SWIGTYPE_p_wxDCPenChanger swig_types[38]
2505 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[39]
2506 #define SWIGTYPE_p_wxDash swig_types[40]
2507 #define SWIGTYPE_p_wxDateEvent swig_types[41]
2508 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDropFilesEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
2511 #define SWIGTYPE_p_wxEffects swig_types[45]
2512 #define SWIGTYPE_p_wxEncodingConverter swig_types[46]
2513 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
2514 #define SWIGTYPE_p_wxEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEventBlocker swig_types[49]
2516 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2517 #define SWIGTYPE_p_wxFSFile swig_types[51]
2518 #define SWIGTYPE_p_wxFileSystem swig_types[52]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFont swig_types[55]
2522 #define SWIGTYPE_p_wxFontList swig_types[56]
2523 #define SWIGTYPE_p_wxFontMapper swig_types[57]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[58]
2525 #define SWIGTYPE_p_wxGCDC swig_types[59]
2526 #define SWIGTYPE_p_wxGDIObjListBase swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObject swig_types[61]
2528 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
2529 #define SWIGTYPE_p_wxGraphicsBrush swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsContext swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsFont swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsObject swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsPath swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPen swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[70]
2537 #define SWIGTYPE_p_wxGridBagSizer swig_types[71]
2538 #define SWIGTYPE_p_wxGridSizer swig_types[72]
2539 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[73]
2540 #define SWIGTYPE_p_wxICOHandler swig_types[74]
2541 #define SWIGTYPE_p_wxIcon swig_types[75]
2542 #define SWIGTYPE_p_wxIconBundle swig_types[76]
2543 #define SWIGTYPE_p_wxIconLocation swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLanguageInfo swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxLocale swig_types[89]
2556 #define SWIGTYPE_p_wxMask swig_types[90]
2557 #define SWIGTYPE_p_wxMaximizeEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMemoryDC swig_types[92]
2559 #define SWIGTYPE_p_wxMenu swig_types[93]
2560 #define SWIGTYPE_p_wxMenuBar swig_types[94]
2561 #define SWIGTYPE_p_wxMenuEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMenuItem swig_types[96]
2563 #define SWIGTYPE_p_wxMetaFile swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFileDC swig_types[98]
2565 #define SWIGTYPE_p_wxMirrorDC swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMoveEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[104]
2571 #define SWIGTYPE_p_wxNativeFontInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativePixelData swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[107]
2574 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNcPaintEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxOverlay swig_types[112]
2579 #define SWIGTYPE_p_wxPCXHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNGHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNMHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPaintDC swig_types[116]
2583 #define SWIGTYPE_p_wxPaintEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPalette swig_types[118]
2585 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPaperSize swig_types[120]
2587 #define SWIGTYPE_p_wxPen swig_types[121]
2588 #define SWIGTYPE_p_wxPenList swig_types[122]
2589 #define SWIGTYPE_p_wxPixelDataBase swig_types[123]
2590 #define SWIGTYPE_p_wxPoint swig_types[124]
2591 #define SWIGTYPE_p_wxPoint2D swig_types[125]
2592 #define SWIGTYPE_p_wxPostScriptDC swig_types[126]
2593 #define SWIGTYPE_p_wxPrintData swig_types[127]
2594 #define SWIGTYPE_p_wxPrinterDC swig_types[128]
2595 #define SWIGTYPE_p_wxPseudoDC swig_types[129]
2596 #define SWIGTYPE_p_wxPyApp swig_types[130]
2597 #define SWIGTYPE_p_wxPyCommandEvent swig_types[131]
2598 #define SWIGTYPE_p_wxPyEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[133]
2600 #define SWIGTYPE_p_wxPyImageHandler swig_types[134]
2601 #define SWIGTYPE_p_wxPyLocale swig_types[135]
2602 #define SWIGTYPE_p_wxPySizer swig_types[136]
2603 #define SWIGTYPE_p_wxPyValidator swig_types[137]
2604 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[138]
2605 #define SWIGTYPE_p_wxRect swig_types[139]
2606 #define SWIGTYPE_p_wxRect2D swig_types[140]
2607 #define SWIGTYPE_p_wxRegion swig_types[141]
2608 #define SWIGTYPE_p_wxRegionIterator swig_types[142]
2609 #define SWIGTYPE_p_wxRendererNative swig_types[143]
2610 #define SWIGTYPE_p_wxRendererVersion swig_types[144]
2611 #define SWIGTYPE_p_wxScreenDC swig_types[145]
2612 #define SWIGTYPE_p_wxScrollEvent swig_types[146]
2613 #define SWIGTYPE_p_wxScrollWinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxSetCursorEvent swig_types[148]
2615 #define SWIGTYPE_p_wxShowEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSize swig_types[150]
2617 #define SWIGTYPE_p_wxSizeEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSizer swig_types[152]
2619 #define SWIGTYPE_p_wxSizerItem swig_types[153]
2620 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[154]
2621 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[155]
2622 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStockGDI swig_types[157]
2624 #define SWIGTYPE_p_wxString swig_types[158]
2625 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[159]
2626 #define SWIGTYPE_p_wxTGAHandler swig_types[160]
2627 #define SWIGTYPE_p_wxTIFFHandler swig_types[161]
2628 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629 #define SWIGTYPE_p_wxValidator swig_types[163]
2630 #define SWIGTYPE_p_wxWindow swig_types[164]
2631 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[165]
2632 #define SWIGTYPE_p_wxWindowDC swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
2635 static swig_type_info
*swig_types
[170];
2636 static swig_module_info swig_module
= {swig_types
, 169, 0, 0, 0, 0};
2637 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2638 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640 /* -------- TYPES TABLE (END) -------- */
2642 #if (PY_VERSION_HEX <= 0x02000000)
2643 # if !defined(SWIG_PYTHON_CLASSIC)
2644 # error "This python version requires to use swig with the '-classic' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodern' option"
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodernargs' option"
2654 # error "This python version requires to use swig with the '-nofastunpack' option"
2657 /*-----------------------------------------------
2658 @(target):= _gdi_.so
2659 ------------------------------------------------*/
2660 #define SWIG_init init_gdi_
2662 #define SWIG_name "_gdi_"
2664 #define SWIGVERSION 0x010329
2667 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2668 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2671 #include <stdexcept>
2675 class PyObject_ptr
{
2680 PyObject_ptr() :_obj(0)
2684 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2689 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2691 if (initial_ref
) Py_XINCREF(_obj
);
2694 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2696 Py_XINCREF(item
._obj
);
2707 operator PyObject
*() const
2712 PyObject
*operator->() const
2721 struct PyObject_var
: PyObject_ptr
{
2722 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2724 PyObject_var
& operator = (PyObject
* obj
)
2734 #include "wx/wxPython/wxPython.h"
2735 #include "wx/wxPython/pyclasses.h"
2738 static const wxString
wxPyEmptyString(wxEmptyString
);
2740 #define SWIG_From_long PyInt_FromLong
2743 SWIGINTERNINLINE PyObject
*
2744 SWIG_From_int (int value
)
2746 return SWIG_From_long (value
);
2752 # define LLONG_MIN LONG_LONG_MIN
2755 # define LLONG_MAX LONG_LONG_MAX
2758 # define ULLONG_MAX ULONG_LONG_MAX
2763 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2765 if (PyNumber_Check(obj
)) {
2766 if (val
) *val
= PyInt_AsLong(obj
);
2769 return SWIG_TypeError
;
2774 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2777 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2778 return SWIG_TypeError
;
2781 *val
= (unsigned long)v
;
2787 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2790 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2791 if (SWIG_IsOK(res
)) {
2792 if ((v
> UCHAR_MAX
)) {
2793 return SWIG_OverflowError
;
2795 if (val
) *val
= static_cast< unsigned char >(v
);
2802 SWIGINTERNINLINE PyObject
*
2803 SWIG_From_unsigned_SS_long (unsigned long value
)
2805 return (value
> LONG_MAX
) ?
2806 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2810 SWIGINTERNINLINE PyObject
*
2811 SWIG_From_unsigned_SS_char (unsigned char value
)
2813 return SWIG_From_unsigned_SS_long (value
);
2816 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2817 wxColour temp
, *obj
= &temp
;
2818 if ( other
== Py_None
) return false;
2819 if ( ! wxColour_helper(other
, &obj
) ) {
2823 return self
->operator==(*obj
);
2825 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2826 wxColour temp
, *obj
= &temp
;
2827 if ( other
== Py_None
) return true;
2828 if ( ! wxColour_helper(other
, &obj
)) {
2832 return self
->operator!=(*obj
);
2836 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2838 if (obj
== Py_True
) {
2839 if (val
) *val
= true;
2841 } else if (obj
== Py_False
) {
2842 if (val
) *val
= false;
2846 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2847 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2852 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2853 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2857 int alpha
= wxALPHA_OPAQUE
;
2860 green
= self
->Green();
2861 blue
= self
->Blue();
2862 alpha
= self
->Alpha();
2864 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2865 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2866 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2868 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2871 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2872 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2876 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2879 int res
= SWIG_AsVal_long (obj
, &v
);
2880 if (SWIG_IsOK(res
)) {
2881 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2882 return SWIG_OverflowError
;
2884 if (val
) *val
= static_cast< int >(v
);
2890 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2892 int count
= self
->GetDashes(&dashes
);
2893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2894 PyObject
* retval
= PyList_New(0);
2895 for (int x
=0; x
<count
; x
++) {
2896 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2897 PyList_Append(retval
, pyint
);
2900 wxPyEndBlockThreads(blocked
);
2903 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2904 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2905 int size
= PyList_Size(pyDashes
);
2906 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2908 // black magic warning! The array of wxDashes needs to exist as
2909 // long as the pen does because wxPen does not copy the array. So
2910 // stick a copy in a Python string object and attach it to _self,
2911 // and then call SetDashes with a pointer to that array. Then
2912 // when the Python pen object is destroyed the array will be
2914 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2915 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2917 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2919 Py_DECREF(strDashes
);
2920 wxPyEndBlockThreads(blocked
);
2922 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2923 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2925 SWIGINTERNINLINE PyObject
*
2926 SWIG_From_short (short value
)
2928 return SWIG_From_long (value
);
2933 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2936 int res
= SWIG_AsVal_long (obj
, &v
);
2937 if (SWIG_IsOK(res
)) {
2938 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2939 return SWIG_OverflowError
;
2941 if (val
) *val
= static_cast< short >(v
);
2948 #include <wx/rawbmp.h>
2951 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2952 // appears to me that the other platforms are already doing it, so I'll just
2953 // automatically do it for wxMSW here.
2955 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2956 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2958 #define wxPy_premultiply(p, a) (p)
2959 #define wxPy_unpremultiply(p, a) (p)
2963 #include <wx/image.h>
2965 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2966 char** cArray
= NULL
;
2969 if (!PyList_Check(listOfStrings
)) {
2970 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2973 count
= PyList_Size(listOfStrings
);
2974 cArray
= new char*[count
];
2976 for(int x
=0; x
<count
; x
++) {
2977 // TODO: Need some validation and error checking here
2978 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2984 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2985 char** cArray
= NULL
;
2988 cArray
= ConvertListOfStrings(listOfStrings
);
2991 bmp
= new wxBitmap(cArray
);
2995 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2998 PyString_AsStringAndSize(bits
, &buf
, &length
);
2999 return new wxBitmap(buf
, width
, height
, depth
);
3001 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
3002 wxSize
size(self
->GetWidth(), self
->GetHeight());
3005 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
3006 wxMask
*mask
= new wxMask(*self
, colour
);
3007 self
->SetMask(mask
);
3009 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
3010 self
->SetWidth(size
.x
);
3011 self
->SetHeight(size
.y
);
3013 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
3014 int height
=self
->GetHeight();
3015 int width
=self
->GetWidth();
3017 if (DATASIZE
!= width
* height
* 3) {
3018 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3020 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3022 // raise an exception...
3023 wxPyErr_SetString(PyExc_RuntimeError
,
3024 "Failed to gain raw access to bitmap data.");
3028 wxNativePixelData::Iterator
p(pixData
);
3029 for (int y
=0; y
<height
; y
++) {
3030 wxNativePixelData::Iterator rowStart
= p
;
3031 for (int x
=0; x
<width
; x
++) {
3032 p
.Red() = *(data
++);
3033 p
.Green() = *(data
++);
3034 p
.Blue() = *(data
++);
3038 p
.OffsetY(pixData
, 1);
3041 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3042 int height
=self
->GetHeight();
3043 int width
=self
->GetWidth();
3045 if (DATASIZE
!= width
* height
* 4) {
3046 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3048 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3050 // raise an exception...
3051 wxPyErr_SetString(PyExc_RuntimeError
,
3052 "Failed to gain raw access to bitmap data.");
3057 wxAlphaPixelData::Iterator
p(pixData
);
3058 for (int y
=0; y
<height
; y
++) {
3059 wxAlphaPixelData::Iterator rowStart
= p
;
3060 for (int x
=0; x
<width
; x
++) {
3062 p
.Red() = wxPy_premultiply(*(data
++), a
);
3063 p
.Green() = wxPy_premultiply(*(data
++), a
);
3064 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3065 p
.Alpha() = a
; data
++;
3069 p
.OffsetY(pixData
, 1);
3072 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3073 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3075 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3076 buffer data
, int DATASIZE
,
3077 buffer alpha
, int ALPHASIZE
)
3079 if (DATASIZE
!= width
*height
*3) {
3080 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3084 if (ALPHASIZE
!= width
*height
) {
3085 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3089 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3090 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3092 // raise an exception...
3093 wxPyErr_SetString(PyExc_RuntimeError
,
3094 "Failed to gain raw access to bitmap data.");
3099 wxAlphaPixelData::Iterator
p(pixData
);
3100 for (int y
=0; y
<height
; y
++) {
3101 wxAlphaPixelData::Iterator rowStart
= p
;
3102 for (int x
=0; x
<width
; x
++) {
3103 byte a
= *(alpha
++);
3104 p
.Red() = wxPy_premultiply(*(data
++), a
);
3105 p
.Green() = wxPy_premultiply(*(data
++), a
);
3106 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3111 p
.OffsetY(pixData
, 1);
3116 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3118 if (DATASIZE
!= width
*height
*3) {
3119 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3123 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3124 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3126 // raise an exception...
3127 wxPyErr_SetString(PyExc_RuntimeError
,
3128 "Failed to gain raw access to bitmap data.");
3132 wxNativePixelData::Iterator
p(pixData
);
3133 for (int y
=0; y
<height
; y
++) {
3134 wxNativePixelData::Iterator rowStart
= p
;
3135 for (int x
=0; x
<width
; x
++) {
3136 p
.Red() = *(data
++);
3137 p
.Green() = *(data
++);
3138 p
.Blue() = *(data
++);
3142 p
.OffsetY(pixData
, 1);
3148 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3150 if (DATASIZE
!= width
*height
*4) {
3151 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3155 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3156 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3158 // raise an exception...
3159 wxPyErr_SetString(PyExc_RuntimeError
,
3160 "Failed to gain raw access to bitmap data.");
3165 wxAlphaPixelData::Iterator
p(pixData
);
3166 for (int y
=0; y
<height
; y
++) {
3167 wxAlphaPixelData::Iterator rowStart
= p
;
3168 for (int x
=0; x
<width
; x
++) {
3170 p
.Red() = wxPy_premultiply(*(data
++), a
);
3171 p
.Green() = wxPy_premultiply(*(data
++), a
);
3172 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3173 p
.Alpha() = a
; data
++;
3177 p
.OffsetY(pixData
, 1);
3183 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3185 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3186 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3187 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3189 self
->Green() = green
;
3190 self
->Blue() = blue
;
3192 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3193 PyObject
* rv
= PyTuple_New(3);
3194 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3195 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3196 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3200 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3202 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3203 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3204 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3205 self
->Red() = wxPy_premultiply(red
, alpha
);
3206 self
->Green() = wxPy_premultiply(green
, alpha
);
3207 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3208 self
->Alpha() = alpha
;
3210 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3211 PyObject
* rv
= PyTuple_New(4);
3212 int red
= self
->Red();
3213 int green
= self
->Green();
3214 int blue
= self
->Blue();
3215 int alpha
= self
->Alpha();
3217 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3218 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3219 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3220 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3223 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3224 if ( !colour
.IsOk() )
3225 return new wxMask(bitmap
, *wxBLACK
);
3227 return new wxMask(bitmap
, colour
);
3230 #include <wx/iconbndl.h>
3232 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3233 wxIcon
* icon
= new wxIcon();
3234 icon
->CopyFromBitmap(bmp
);
3237 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3238 char** cArray
= NULL
;
3241 cArray
= ConvertListOfStrings(listOfStrings
);
3244 icon
= new wxIcon(cArray
);
3248 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3252 return new wxIconLocation(*filename
);
3255 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3262 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3270 SWIGINTERNINLINE PyObject
*
3271 SWIG_From_size_t (size_t value
)
3273 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3277 SWIGINTERNINLINE
int
3278 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3281 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3282 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3286 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3288 wxImage
img(cursorName
, type
);
3289 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3290 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3291 return new wxCursor(img
);
3293 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3298 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3301 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3302 return self
->operator bool();
3305 #include <wx/fontutil.h>
3306 #include <wx/fontmap.h>
3307 #include <wx/fontenum.h>
3309 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3310 return self
->ToString();
3313 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3314 static wxNativeEncodingInfo info
;
3315 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3321 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3322 wxFontEncoding alt_enc
;
3323 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3324 return PyInt_FromLong(alt_enc
);
3330 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3331 wxNativeFontInfo nfi
;
3332 nfi
.FromString(info
);
3333 return new wxFont(nfi
);
3335 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3336 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3338 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3339 return wxFontBase::New(pixelSize
, family
,
3340 style
, weight
, underlined
,
3343 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3344 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3346 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3347 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3349 class wxPyFontEnumerator
: public wxFontEnumerator
{
3351 wxPyFontEnumerator() {}
3352 ~wxPyFontEnumerator() {}
3354 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3355 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3360 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3361 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3364 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3366 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3367 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3368 ret
= wxArrayString2PyList_helper(arr
);
3369 wxPyEndBlockThreads(blocked
);
3372 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3374 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3375 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3376 ret
= wxArrayString2PyList_helper(arr
);
3377 wxPyEndBlockThreads(blocked
);
3383 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3386 loc
= new wxLocale();
3388 loc
= new wxLocale(language
, flags
);
3389 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3390 // for the floating point conversions and such to work right.
3391 #if PY_VERSION_HEX < 0x02040000
3392 setlocale(LC_NUMERIC
, "C");
3396 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &name
,wxString
const &shortName
=wxPyEmptyString
,wxString
const &locale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3397 bool rc
= self
->Init(name
, shortName
, locale
, bLoadDefault
, bConvertEncoding
);
3398 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3399 // for the floating point conversions and such to work right.
3400 #if PY_VERSION_HEX < 0x02040000
3401 setlocale(LC_NUMERIC
, "C");
3405 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3406 bool rc
= self
->Init(language
, flags
);
3407 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3408 // for the floating point conversions and such to work right.
3409 #if PY_VERSION_HEX < 0x02040000
3410 setlocale(LC_NUMERIC
, "C");
3415 class wxPyLocale
: public wxLocale
3420 wxPyLocale(const wxString
& name
, // name (for messages)
3421 const wxString
& shortName
= wxPyEmptyString
, // dir prefix (for msg files)
3422 const wxString
& locale
= wxPyEmptyString
, // locale (for setlocale)
3423 bool bLoadDefault
= true, // preload wxstd.mo?
3424 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3426 wxPyLocale(int language
, // wxLanguage id or custom language
3427 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3431 virtual const wxString
& GetString(const wxString
& origString
,
3432 const wxString
& domain
= wxPyEmptyString
) const;
3433 virtual const wxString
& GetString(const wxString
& origString
,
3434 const wxString
& origString2
,
3436 const wxString
& domain
= wxPyEmptyString
) const;
3438 virtual const wxString
& GetSingularString(const wxString
& origString
,
3439 const wxString
& domain
= wxPyEmptyString
) const;
3440 virtual const wxString
& GetPluralString(const wxString
& origString
,
3441 const wxString
& origString2
,
3443 const wxString
& domain
= wxPyEmptyString
) const;
3448 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3451 wxPyLocale::wxPyLocale() : wxLocale()
3455 wxPyLocale::wxPyLocale(const wxString
& name
, // name (for messages)
3456 const wxString
& shortName
, // dir prefix (for msg files)
3457 const wxString
& locale
, // locale (for setlocale)
3458 bool bLoadDefault
, // preload wxstd.mo?
3459 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3460 : wxLocale(name
, shortName
, locale
, bLoadDefault
, bConvertEncoding
)
3464 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3465 int flags
) : wxLocale(language
, flags
)
3469 wxPyLocale::~wxPyLocale()
3473 const wxString
& wxPyLocale::GetString(const wxString
& origString
,
3474 const wxString
& domain
) const
3476 return GetSingularString(origString
, domain
);
3479 const wxString
& wxPyLocale::GetString(const wxString
& origString
,
3480 const wxString
& origString2
,
3482 const wxString
& domain
) const
3484 return GetPluralString(origString
, origString2
, n
, domain
);
3487 const wxString
& wxPyLocale::GetSingularString(const wxString
& origString
,
3488 const wxString
& domain
) const
3491 wxString
str( _T("error in translation"));
3492 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3493 if ((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3494 PyObject
* param1
= wx2PyString(origString
);
3495 PyObject
* param2
= wx2PyString(domain
);
3496 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3500 str
= Py2wxString(ret
);
3504 wxPyEndBlockThreads(blocked
);
3505 return (found
? str
: wxLocale::GetString(origString
, domain
));
3508 const wxString
& wxPyLocale::GetPluralString(const wxString
& origString
,
3509 const wxString
& origString2
, size_t n
,
3510 const wxString
& domain
) const
3513 wxString
str( _T("error in translation"));
3514 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3515 if ((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3516 PyObject
* param1
= wx2PyString(origString
);
3517 PyObject
* param2
= wx2PyString(origString2
);
3518 PyObject
* param4
= wx2PyString(domain
);
3519 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
,
3520 Py_BuildValue("(OOiO)",
3527 str
= Py2wxString(ret
);
3531 wxPyEndBlockThreads(blocked
);
3532 return (found
? str
: wxLocale::GetString(origString
, origString2
, n
, domain
) );
3535 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3538 loc
= new wxPyLocale();
3540 loc
= new wxPyLocale(language
, flags
);
3541 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3542 // for the floating point conversions and such to work right.
3543 #if PY_VERSION_HEX < 0x02040000
3544 setlocale(LC_NUMERIC
, "C");
3549 #include "wx/wxPython/pydrawxxx.h"
3551 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3553 self
->GetPixel(x
, y
, &col
);
3556 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3558 self
->GetPixel(pt
, &col
);
3563 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3565 if (PyNumber_Check(obj
)) {
3566 if (val
) *val
= PyFloat_AsDouble(obj
);
3569 return SWIG_TypeError
;
3572 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3574 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3577 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3579 self
->GetClippingBox(rect
);
3582 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3584 self
->GetPartialTextExtents(text
, widths
);
3588 #define SWIG_From_double PyFloat_FromDouble
3590 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3591 self
->SetLogicalOrigin(point
.x
, point
.y
);
3593 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3594 self
->SetDeviceOrigin(point
.x
, point
.y
);
3596 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3597 self
->CalcBoundingBox(point
.x
, point
.y
);
3599 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3600 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3602 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3603 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3605 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3606 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3608 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3609 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3611 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3612 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3614 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3615 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3618 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3626 #include <wx/dcbuffer.h>
3629 #include <wx/dcps.h>
3632 #include <wx/metafile.h>
3635 #include <wx/graphics.h>
3638 #if !wxUSE_GRAPHICS_CONTEXT
3639 // C++ stub classes for platforms or build configurations that don't have
3640 // wxGraphicsContext yet.
3642 class wxGraphicsRenderer
;
3643 class wxGraphicsMatrix
;
3646 class wxGraphicsObject
: public wxObject
3649 wxGraphicsObject() {}
3650 wxGraphicsObject( wxGraphicsRenderer
* ) {
3651 PyErr_SetString(PyExc_NotImplementedError
,
3652 "wx.GraphicsObject is not available on this platform.");
3654 wxGraphicsObject( const wxGraphicsObject
& ) {}
3655 virtual ~wxGraphicsObject() {}
3656 bool IsNull() const { return false; }
3657 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3662 class wxGraphicsPen
: public wxGraphicsObject
3666 virtual ~wxGraphicsPen() {}
3668 wxGraphicsPen wxNullGraphicsPen
;
3672 class wxGraphicsBrush
: public wxGraphicsObject
3675 wxGraphicsBrush() {}
3676 virtual ~wxGraphicsBrush() {}
3678 wxGraphicsBrush wxNullGraphicsBrush
;
3682 class wxGraphicsFont
: public wxGraphicsObject
3686 virtual ~wxGraphicsFont() {}
3688 wxGraphicsFont wxNullGraphicsFont
;
3692 class wxGraphicsPath
: public wxGraphicsObject
3695 wxGraphicsPath() { }
3696 wxGraphicsPath(wxGraphicsRenderer
* ) {
3697 PyErr_SetString(PyExc_NotImplementedError
,
3698 "wx.GraphicsPath is not available on this platform.");
3700 virtual ~wxGraphicsPath() {}
3702 void MoveToPoint( wxDouble
, wxDouble
) {}
3703 void MoveToPoint( const wxPoint2DDouble
& ) {}
3704 void AddLineToPoint( wxDouble
, wxDouble
) {}
3705 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3706 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3707 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3708 void AddPath( const wxGraphicsPath
& ) {}
3709 void CloseSubpath() {}
3710 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3711 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3712 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3713 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3715 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3716 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3717 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3718 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3720 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3721 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3722 void * GetNativePath() const { return NULL
; }
3723 void UnGetNativePath(void *) const {}
3724 void Transform( const wxGraphicsMatrix
& ) {}
3725 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3726 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3728 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3729 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3731 wxGraphicsPath wxNullGraphicsPath
;
3734 class wxGraphicsMatrix
: public wxGraphicsObject
3737 wxGraphicsMatrix() { }
3738 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3739 PyErr_SetString(PyExc_NotImplementedError
,
3740 "wx.GraphicsMatrix is not available on this platform.");
3742 virtual ~wxGraphicsMatrix() {}
3743 virtual void Concat( const wxGraphicsMatrix
& ) {}
3744 virtual void Copy( const wxGraphicsMatrix
& ) {}
3745 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3746 wxDouble
, wxDouble
) {}
3747 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3748 wxDouble
*, wxDouble
*, wxDouble
*) {}
3749 virtual void Invert() {}
3750 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3751 virtual bool IsIdentity() const { return false; }
3752 virtual void Translate( wxDouble
, wxDouble
) {}
3753 virtual void Scale( wxDouble
, wxDouble
) {}
3754 virtual void Rotate( wxDouble
) {}
3755 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3756 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3757 virtual void * GetNativeMatrix() const { return NULL
; }
3759 wxGraphicsMatrix wxNullGraphicsMatrix
;
3762 class wxGraphicsContext
: public wxGraphicsObject
3766 wxGraphicsContext(wxGraphicsRenderer
* ) {
3767 PyErr_SetString(PyExc_NotImplementedError
,
3768 "wx.GraphicsContext is not available on this platform.");
3771 virtual ~wxGraphicsContext() {}
3773 static wxGraphicsContext
* Create() {
3774 PyErr_SetString(PyExc_NotImplementedError
,
3775 "wx.GraphicsContext is not available on this platform.");
3778 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3779 PyErr_SetString(PyExc_NotImplementedError
,
3780 "wx.GraphicsContext is not available on this platform.");
3784 static wxGraphicsContext
* CreateFromNative( void * ) {
3785 PyErr_SetString(PyExc_NotImplementedError
,
3786 "wx.GraphicsContext is not available on this platform.");
3790 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3791 PyErr_SetString(PyExc_NotImplementedError
,
3792 "wx.GraphicsContext is not available on this platform.");
3796 static wxGraphicsContext
* Create( wxWindow
* ) {
3797 PyErr_SetString(PyExc_NotImplementedError
,
3798 "wx.GraphicsContext is not available on this platform.");
3802 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3804 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3806 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3808 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3809 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3811 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3812 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3813 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3815 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3817 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3818 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3820 virtual void PushState() {}
3821 virtual void PopState() {}
3822 virtual void Clip( const wxRegion
& ) {}
3823 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3824 virtual void ResetClip() {}
3825 virtual void * GetNativeContext() { return NULL
; }
3826 virtual int GetLogicalFunction() const { return 0; }
3827 virtual bool SetLogicalFunction(int ) {}
3828 virtual void Translate( wxDouble
, wxDouble
) {}
3829 virtual void Scale( wxDouble
, wxDouble
) {}
3830 virtual void Rotate( wxDouble
) {}
3831 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3832 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3833 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3835 virtual void SetPen( const wxGraphicsPen
& ) {}
3836 void SetPen( const wxPen
& ) {}
3838 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3839 void SetBrush( const wxBrush
& ) {}
3841 virtual void SetFont( const wxGraphicsFont
& ) {}
3842 void SetFont( const wxFont
&, const wxColour
& ) {}
3844 virtual void StrokePath( const wxGraphicsPath
& ) {}
3845 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3846 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3848 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3849 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3850 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3851 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3852 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3853 wxDouble
*, wxDouble
* ) const {}
3854 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3856 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3857 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3859 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3860 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3861 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3862 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3863 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3864 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3865 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3866 virtual bool ShouldOffset() const { return false; }
3870 class wxGraphicsRenderer
: public wxObject
3873 wxGraphicsRenderer() {
3874 PyErr_SetString(PyExc_NotImplementedError
,
3875 "wx.GraphicsRenderer is not available on this platform.");
3878 virtual ~wxGraphicsRenderer() {}
3880 static wxGraphicsRenderer
* GetDefaultRenderer() {
3881 PyErr_SetString(PyExc_NotImplementedError
,
3882 "wx.GraphicsRenderer is not available on this platform.");
3886 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3887 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3888 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3889 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3890 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3892 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3894 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3895 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3897 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3898 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3899 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3900 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3901 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3902 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3903 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3908 class wxGCDC
: public wxWindowDC
3911 wxGCDC(const wxWindowDC
&) {
3912 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3913 PyErr_SetString(PyExc_NotImplementedError
,
3914 "wxGCDC is not available on this platform.");
3915 wxPyEndBlockThreads(blocked
);
3918 wxGCDC(const wxWindow
*) {
3919 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3920 PyErr_SetString(PyExc_NotImplementedError
,
3921 "wxGCDC is not available on this platform.");
3922 wxPyEndBlockThreads(blocked
);
3926 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3927 PyErr_SetString(PyExc_NotImplementedError
,
3928 "wxGCDC is not available on this platform.");
3929 wxPyEndBlockThreads(blocked
);
3932 virtual ~wxGCDC() {}
3934 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3935 void SetGraphicsContext( wxGraphicsContext
* ) {}
3940 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3941 if ( !backgroundBrush
.IsNull() )
3942 self
->DrawText(str
, x
, y
, backgroundBrush
);
3944 self
->DrawText(str
, x
, y
);
3946 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3947 if ( !backgroundBrush
.IsNull() )
3948 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3950 self
->DrawText(str
, x
, y
, angle
);
3952 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3953 wxDouble width
= 0.0,
3955 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3956 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3957 PyObject
* rv
= PyTuple_New(2);
3958 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3959 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3962 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3963 wxArrayDouble widths
;
3964 self
->GetPartialTextExtents(text
, widths
);
3967 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3968 size_t c1
, c2
, count
;
3969 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3970 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3972 if ( beginP
!= NULL
&& endP
!= NULL
)
3974 count
= wxMin(c1
, c2
);
3975 self
->StrokeLines(count
, beginP
, endP
);
3981 #include "wx/dcgraph.h"
3984 #include <wx/overlay.h>
3988 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3989 self
->AddColour(name
, wxColour(red
, green
, blue
));
3992 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3993 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3994 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3995 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3998 #include <wx/effects.h>
4001 #include "wx/renderer.h"
4004 SWIGINTERNINLINE PyObject
*
4005 SWIG_From_bool (bool value
)
4007 return PyBool_FromLong(value
? 1 : 0);
4011 #include "wx/wxPython/pseudodc.h"
4013 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
4015 self
->GetIdBounds(id
, rect
);
4021 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4022 PyObject
*resultobj
= 0;
4023 wxGDIObject
*result
= 0 ;
4025 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4027 if (!wxPyCheckForApp()) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 result
= (wxGDIObject
*)new wxGDIObject();
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4040 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4041 PyObject
*resultobj
= 0;
4042 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4045 PyObject
*swig_obj
[1] ;
4047 if (!args
) SWIG_fail
;
4049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4050 if (!SWIG_IsOK(res1
)) {
4051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4053 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_Py_Void();
4068 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4069 PyObject
*resultobj
= 0;
4070 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4074 PyObject
*swig_obj
[1] ;
4076 if (!args
) SWIG_fail
;
4078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4079 if (!SWIG_IsOK(res1
)) {
4080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4082 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= (bool)(arg1
)->IsNull();
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4098 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4101 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4102 return SWIG_Py_Void();
4105 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4106 return SWIG_Python_InitShadowInstance(args
);
4109 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
= 0;
4111 byte arg1
= (byte
) 0 ;
4112 byte arg2
= (byte
) 0 ;
4113 byte arg3
= (byte
) 0 ;
4114 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4115 wxColour
*result
= 0 ;
4116 unsigned char val1
;
4118 unsigned char val2
;
4120 unsigned char val3
;
4122 unsigned char val4
;
4124 PyObject
* obj0
= 0 ;
4125 PyObject
* obj1
= 0 ;
4126 PyObject
* obj2
= 0 ;
4127 PyObject
* obj3
= 0 ;
4128 char * kwnames
[] = {
4129 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4134 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4135 if (!SWIG_IsOK(ecode1
)) {
4136 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4138 arg1
= static_cast< byte
>(val1
);
4141 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4142 if (!SWIG_IsOK(ecode2
)) {
4143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4145 arg2
= static_cast< byte
>(val2
);
4148 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4149 if (!SWIG_IsOK(ecode3
)) {
4150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4152 arg3
= static_cast< byte
>(val3
);
4155 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4156 if (!SWIG_IsOK(ecode4
)) {
4157 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4159 arg4
= static_cast< byte
>(val4
);
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4174 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
= 0;
4176 wxString
*arg1
= 0 ;
4177 wxColour
*result
= 0 ;
4178 bool temp1
= false ;
4179 PyObject
* obj0
= 0 ;
4180 char * kwnames
[] = {
4181 (char *) "colorName", NULL
4184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4186 arg1
= wxString_in_helper(obj0
);
4187 if (arg1
== NULL
) SWIG_fail
;
4191 if (!wxPyCheckForApp()) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4212 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
= 0;
4214 unsigned long arg1
;
4215 wxColour
*result
= 0 ;
4216 unsigned long val1
;
4218 PyObject
* obj0
= 0 ;
4219 char * kwnames
[] = {
4220 (char *) "colRGB", NULL
4223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4224 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4225 if (!SWIG_IsOK(ecode1
)) {
4226 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4228 arg1
= static_cast< unsigned long >(val1
);
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 result
= (wxColour
*)new wxColour(arg1
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4242 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4243 PyObject
*resultobj
= 0;
4244 wxColour
*arg1
= (wxColour
*) 0 ;
4247 PyObject
*swig_obj
[1] ;
4249 if (!args
) SWIG_fail
;
4251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4252 if (!SWIG_IsOK(res1
)) {
4253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4255 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4263 resultobj
= SWIG_Py_Void();
4270 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4271 PyObject
*resultobj
= 0;
4272 wxColour
*arg1
= (wxColour
*) 0 ;
4276 PyObject
*swig_obj
[1] ;
4278 if (!args
) SWIG_fail
;
4280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4281 if (!SWIG_IsOK(res1
)) {
4282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4284 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 result
= (byte
)(arg1
)->Red();
4288 wxPyEndAllowThreads(__tstate
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4291 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4298 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4299 PyObject
*resultobj
= 0;
4300 wxColour
*arg1
= (wxColour
*) 0 ;
4304 PyObject
*swig_obj
[1] ;
4306 if (!args
) SWIG_fail
;
4308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4309 if (!SWIG_IsOK(res1
)) {
4310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4312 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 result
= (byte
)(arg1
)->Green();
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4326 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4327 PyObject
*resultobj
= 0;
4328 wxColour
*arg1
= (wxColour
*) 0 ;
4332 PyObject
*swig_obj
[1] ;
4334 if (!args
) SWIG_fail
;
4336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4337 if (!SWIG_IsOK(res1
)) {
4338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4340 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 result
= (byte
)(arg1
)->Blue();
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4354 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4355 PyObject
*resultobj
= 0;
4356 wxColour
*arg1
= (wxColour
*) 0 ;
4360 PyObject
*swig_obj
[1] ;
4362 if (!args
) SWIG_fail
;
4364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4365 if (!SWIG_IsOK(res1
)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4368 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 result
= (byte
)(arg1
)->Alpha();
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4382 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4383 PyObject
*resultobj
= 0;
4384 wxColour
*arg1
= (wxColour
*) 0 ;
4388 PyObject
*swig_obj
[1] ;
4390 if (!args
) SWIG_fail
;
4392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4393 if (!SWIG_IsOK(res1
)) {
4394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4396 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 result
= (bool)(arg1
)->IsOk();
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4412 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
= 0;
4414 wxColour
*arg1
= (wxColour
*) 0 ;
4418 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4421 unsigned char val2
;
4423 unsigned char val3
;
4425 unsigned char val4
;
4427 unsigned char val5
;
4429 PyObject
* obj0
= 0 ;
4430 PyObject
* obj1
= 0 ;
4431 PyObject
* obj2
= 0 ;
4432 PyObject
* obj3
= 0 ;
4433 PyObject
* obj4
= 0 ;
4434 char * kwnames
[] = {
4435 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4440 if (!SWIG_IsOK(res1
)) {
4441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4443 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4444 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4445 if (!SWIG_IsOK(ecode2
)) {
4446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4448 arg2
= static_cast< byte
>(val2
);
4449 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4450 if (!SWIG_IsOK(ecode3
)) {
4451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4453 arg3
= static_cast< byte
>(val3
);
4454 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4455 if (!SWIG_IsOK(ecode4
)) {
4456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4458 arg4
= static_cast< byte
>(val4
);
4460 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4461 if (!SWIG_IsOK(ecode5
)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4464 arg5
= static_cast< byte
>(val5
);
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 resultobj
= SWIG_Py_Void();
4479 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
= 0;
4481 wxColour
*arg1
= (wxColour
*) 0 ;
4482 unsigned long arg2
;
4485 unsigned long val2
;
4487 PyObject
* obj0
= 0 ;
4488 PyObject
* obj1
= 0 ;
4489 char * kwnames
[] = {
4490 (char *) "self",(char *) "colRGB", NULL
4493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4495 if (!SWIG_IsOK(res1
)) {
4496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4498 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4499 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4500 if (!SWIG_IsOK(ecode2
)) {
4501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4503 arg2
= static_cast< unsigned long >(val2
);
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= SWIG_Py_Void();
4517 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
= 0;
4519 wxColour
*arg1
= (wxColour
*) 0 ;
4520 wxString
*arg2
= 0 ;
4523 bool temp2
= false ;
4524 PyObject
* obj0
= 0 ;
4525 PyObject
* obj1
= 0 ;
4526 char * kwnames
[] = {
4527 (char *) "self",(char *) "colourName", NULL
4530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4532 if (!SWIG_IsOK(res1
)) {
4533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4535 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4537 arg2
= wxString_in_helper(obj1
);
4538 if (arg2
== NULL
) SWIG_fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 (arg1
)->Set((wxString
const &)*arg2
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4547 resultobj
= SWIG_Py_Void();
4562 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
= 0;
4564 wxColour
*arg1
= (wxColour
*) 0 ;
4565 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4571 PyObject
* obj0
= 0 ;
4572 PyObject
* obj1
= 0 ;
4573 char * kwnames
[] = {
4574 (char *) "self",(char *) "flags", NULL
4577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4579 if (!SWIG_IsOK(res1
)) {
4580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4582 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4584 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4585 if (!SWIG_IsOK(ecode2
)) {
4586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4588 arg2
= static_cast< long >(val2
);
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4609 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4610 PyObject
*resultobj
= 0;
4611 wxColour
*arg1
= (wxColour
*) 0 ;
4615 PyObject
*swig_obj
[1] ;
4617 if (!args
) SWIG_fail
;
4619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4620 if (!SWIG_IsOK(res1
)) {
4621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4623 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= SWIG_From_long(static_cast< long >(result
));
4637 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
= 0;
4639 wxColour
*arg1
= (wxColour
*) 0 ;
4640 PyObject
*arg2
= (PyObject
*) 0 ;
4644 PyObject
* obj0
= 0 ;
4645 PyObject
* obj1
= 0 ;
4646 char * kwnames
[] = {
4647 (char *) "self",(char *) "other", NULL
4650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4652 if (!SWIG_IsOK(res1
)) {
4653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4655 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4658 result
= (bool)wxColour___eq__(arg1
,arg2
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4670 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
*resultobj
= 0;
4672 wxColour
*arg1
= (wxColour
*) 0 ;
4673 PyObject
*arg2
= (PyObject
*) 0 ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4679 char * kwnames
[] = {
4680 (char *) "self",(char *) "other", NULL
4683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4685 if (!SWIG_IsOK(res1
)) {
4686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4688 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4691 result
= (bool)wxColour___ne__(arg1
,arg2
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4703 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
*resultobj
= 0;
4705 wxColour
*arg1
= (wxColour
*) 0 ;
4706 bool arg2
= (bool) false ;
4707 PyObject
*result
= 0 ;
4712 PyObject
* obj0
= 0 ;
4713 PyObject
* obj1
= 0 ;
4714 char * kwnames
[] = {
4715 (char *) "self",(char *) "includeAlpha", NULL
4718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4720 if (!SWIG_IsOK(res1
)) {
4721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4723 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4725 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4726 if (!SWIG_IsOK(ecode2
)) {
4727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4729 arg2
= static_cast< bool >(val2
);
4732 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4742 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4743 PyObject
*resultobj
= 0;
4744 wxColour
*arg1
= (wxColour
*) 0 ;
4745 unsigned long result
;
4748 PyObject
*swig_obj
[1] ;
4750 if (!args
) SWIG_fail
;
4752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4753 if (!SWIG_IsOK(res1
)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4756 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4758 result
= (unsigned long)wxColour_GetRGB(arg1
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4768 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4771 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4772 return SWIG_Py_Void();
4775 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4776 return SWIG_Python_InitShadowInstance(args
);
4779 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
*resultobj
= 0;
4782 unsigned char *arg2
= (unsigned char *) 0 ;
4783 unsigned char *arg3
= (unsigned char *) 0 ;
4784 unsigned char *arg4
= (unsigned char *) 0 ;
4785 wxPalette
*result
= 0 ;
4794 PyObject
* obj0
= 0 ;
4795 PyObject
* obj1
= 0 ;
4796 PyObject
* obj2
= 0 ;
4797 PyObject
* obj3
= 0 ;
4798 char * kwnames
[] = {
4799 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4803 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4804 if (!SWIG_IsOK(ecode1
)) {
4805 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4807 arg1
= static_cast< int >(val1
);
4808 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4809 if (!SWIG_IsOK(res2
)) {
4810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4812 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4813 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4814 if (!SWIG_IsOK(res3
)) {
4815 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4817 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4818 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4819 if (!SWIG_IsOK(res4
)) {
4820 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4822 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4824 if (!wxPyCheckForApp()) SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4837 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4838 PyObject
*resultobj
= 0;
4839 wxPalette
*arg1
= (wxPalette
*) 0 ;
4842 PyObject
*swig_obj
[1] ;
4844 if (!args
) SWIG_fail
;
4846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4847 if (!SWIG_IsOK(res1
)) {
4848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4850 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= SWIG_Py_Void();
4865 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
= 0;
4867 wxPalette
*arg1
= (wxPalette
*) 0 ;
4874 unsigned char val2
;
4876 unsigned char val3
;
4878 unsigned char val4
;
4880 PyObject
* obj0
= 0 ;
4881 PyObject
* obj1
= 0 ;
4882 PyObject
* obj2
= 0 ;
4883 PyObject
* obj3
= 0 ;
4884 char * kwnames
[] = {
4885 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4890 if (!SWIG_IsOK(res1
)) {
4891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4893 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4894 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4895 if (!SWIG_IsOK(ecode2
)) {
4896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4898 arg2
= static_cast< byte
>(val2
);
4899 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4900 if (!SWIG_IsOK(ecode3
)) {
4901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4903 arg3
= static_cast< byte
>(val3
);
4904 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4905 if (!SWIG_IsOK(ecode4
)) {
4906 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4908 arg4
= static_cast< byte
>(val4
);
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 resultobj
= SWIG_From_int(static_cast< int >(result
));
4922 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
= 0;
4924 wxPalette
*arg1
= (wxPalette
*) 0 ;
4926 byte
*arg3
= (byte
*) 0 ;
4927 byte
*arg4
= (byte
*) 0 ;
4928 byte
*arg5
= (byte
*) 0 ;
4935 int res3
= SWIG_TMPOBJ
;
4937 int res4
= SWIG_TMPOBJ
;
4939 int res5
= SWIG_TMPOBJ
;
4940 PyObject
* obj0
= 0 ;
4941 PyObject
* obj1
= 0 ;
4942 char * kwnames
[] = {
4943 (char *) "self",(char *) "pixel", NULL
4949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4951 if (!SWIG_IsOK(res1
)) {
4952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4954 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4956 if (!SWIG_IsOK(ecode2
)) {
4957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4959 arg2
= static_cast< int >(val2
);
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4969 if (SWIG_IsTmpObj(res3
)) {
4970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4972 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4975 if (SWIG_IsTmpObj(res4
)) {
4976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4978 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4981 if (SWIG_IsTmpObj(res5
)) {
4982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4984 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4993 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4994 PyObject
*resultobj
= 0;
4995 wxPalette
*arg1
= (wxPalette
*) 0 ;
4999 PyObject
*swig_obj
[1] ;
5001 if (!args
) SWIG_fail
;
5003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5004 if (!SWIG_IsOK(res1
)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
5007 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_From_int(static_cast< int >(result
));
5021 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5022 PyObject
*resultobj
= 0;
5023 wxPalette
*arg1
= (wxPalette
*) 0 ;
5027 PyObject
*swig_obj
[1] ;
5029 if (!args
) SWIG_fail
;
5031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5032 if (!SWIG_IsOK(res1
)) {
5033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5035 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= (bool)(arg1
)->IsOk();
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5051 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5054 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5055 return SWIG_Py_Void();
5058 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5059 return SWIG_Python_InitShadowInstance(args
);
5062 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
= 0;
5064 wxColour
*arg1
= 0 ;
5065 int arg2
= (int) 1 ;
5066 int arg3
= (int) wxSOLID
;
5073 PyObject
* obj0
= 0 ;
5074 PyObject
* obj1
= 0 ;
5075 PyObject
* obj2
= 0 ;
5076 char * kwnames
[] = {
5077 (char *) "colour",(char *) "width",(char *) "style", NULL
5080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5083 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5087 if (!SWIG_IsOK(ecode2
)) {
5088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5090 arg2
= static_cast< int >(val2
);
5093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5094 if (!SWIG_IsOK(ecode3
)) {
5095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5097 arg3
= static_cast< int >(val3
);
5100 if (!wxPyCheckForApp()) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5113 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5114 PyObject
*resultobj
= 0;
5115 wxPen
*arg1
= (wxPen
*) 0 ;
5118 PyObject
*swig_obj
[1] ;
5120 if (!args
) SWIG_fail
;
5122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5123 if (!SWIG_IsOK(res1
)) {
5124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5126 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5134 resultobj
= SWIG_Py_Void();
5141 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5142 PyObject
*resultobj
= 0;
5143 wxPen
*arg1
= (wxPen
*) 0 ;
5147 PyObject
*swig_obj
[1] ;
5149 if (!args
) SWIG_fail
;
5151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5152 if (!SWIG_IsOK(res1
)) {
5153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5155 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 result
= (int)(arg1
)->GetCap();
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= SWIG_From_int(static_cast< int >(result
));
5169 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5170 PyObject
*resultobj
= 0;
5171 wxPen
*arg1
= (wxPen
*) 0 ;
5175 PyObject
*swig_obj
[1] ;
5177 if (!args
) SWIG_fail
;
5179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5180 if (!SWIG_IsOK(res1
)) {
5181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5183 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 result
= (arg1
)->GetColour();
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5197 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5198 PyObject
*resultobj
= 0;
5199 wxPen
*arg1
= (wxPen
*) 0 ;
5203 PyObject
*swig_obj
[1] ;
5205 if (!args
) SWIG_fail
;
5207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5208 if (!SWIG_IsOK(res1
)) {
5209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5211 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 result
= (int)(arg1
)->GetJoin();
5215 wxPyEndAllowThreads(__tstate
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5218 resultobj
= SWIG_From_int(static_cast< int >(result
));
5225 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5226 PyObject
*resultobj
= 0;
5227 wxPen
*arg1
= (wxPen
*) 0 ;
5231 PyObject
*swig_obj
[1] ;
5233 if (!args
) SWIG_fail
;
5235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5236 if (!SWIG_IsOK(res1
)) {
5237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5239 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 result
= (int)(arg1
)->GetStyle();
5243 wxPyEndAllowThreads(__tstate
);
5244 if (PyErr_Occurred()) SWIG_fail
;
5246 resultobj
= SWIG_From_int(static_cast< int >(result
));
5253 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5254 PyObject
*resultobj
= 0;
5255 wxPen
*arg1
= (wxPen
*) 0 ;
5259 PyObject
*swig_obj
[1] ;
5261 if (!args
) SWIG_fail
;
5263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5264 if (!SWIG_IsOK(res1
)) {
5265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5267 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= (int)(arg1
)->GetWidth();
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 resultobj
= SWIG_From_int(static_cast< int >(result
));
5281 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5282 PyObject
*resultobj
= 0;
5283 wxPen
*arg1
= (wxPen
*) 0 ;
5287 PyObject
*swig_obj
[1] ;
5289 if (!args
) SWIG_fail
;
5291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5292 if (!SWIG_IsOK(res1
)) {
5293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5295 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 result
= (bool)(arg1
)->IsOk();
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5311 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
= 0;
5313 wxPen
*arg1
= (wxPen
*) 0 ;
5319 PyObject
* obj0
= 0 ;
5320 PyObject
* obj1
= 0 ;
5321 char * kwnames
[] = {
5322 (char *) "self",(char *) "cap_style", NULL
5325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5327 if (!SWIG_IsOK(res1
)) {
5328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5330 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5332 if (!SWIG_IsOK(ecode2
)) {
5333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5335 arg2
= static_cast< int >(val2
);
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 (arg1
)->SetCap(arg2
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= SWIG_Py_Void();
5349 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
= 0;
5351 wxPen
*arg1
= (wxPen
*) 0 ;
5352 wxColour
*arg2
= 0 ;
5356 PyObject
* obj0
= 0 ;
5357 PyObject
* obj1
= 0 ;
5358 char * kwnames
[] = {
5359 (char *) "self",(char *) "colour", NULL
5362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5364 if (!SWIG_IsOK(res1
)) {
5365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5367 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5370 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 (arg1
)->SetColour(*arg2
);
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5378 resultobj
= SWIG_Py_Void();
5385 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
= 0;
5387 wxPen
*arg1
= (wxPen
*) 0 ;
5393 PyObject
* obj0
= 0 ;
5394 PyObject
* obj1
= 0 ;
5395 char * kwnames
[] = {
5396 (char *) "self",(char *) "join_style", NULL
5399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5401 if (!SWIG_IsOK(res1
)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5404 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5406 if (!SWIG_IsOK(ecode2
)) {
5407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5409 arg2
= static_cast< int >(val2
);
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 (arg1
)->SetJoin(arg2
);
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5416 resultobj
= SWIG_Py_Void();
5423 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
*resultobj
= 0;
5425 wxPen
*arg1
= (wxPen
*) 0 ;
5431 PyObject
* obj0
= 0 ;
5432 PyObject
* obj1
= 0 ;
5433 char * kwnames
[] = {
5434 (char *) "self",(char *) "style", NULL
5437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5439 if (!SWIG_IsOK(res1
)) {
5440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5442 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5444 if (!SWIG_IsOK(ecode2
)) {
5445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5447 arg2
= static_cast< int >(val2
);
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 (arg1
)->SetStyle(arg2
);
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5454 resultobj
= SWIG_Py_Void();
5461 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
*resultobj
= 0;
5463 wxPen
*arg1
= (wxPen
*) 0 ;
5469 PyObject
* obj0
= 0 ;
5470 PyObject
* obj1
= 0 ;
5471 char * kwnames
[] = {
5472 (char *) "self",(char *) "width", NULL
5475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5477 if (!SWIG_IsOK(res1
)) {
5478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5480 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5482 if (!SWIG_IsOK(ecode2
)) {
5483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5485 arg2
= static_cast< int >(val2
);
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 (arg1
)->SetWidth(arg2
);
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5492 resultobj
= SWIG_Py_Void();
5499 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
*resultobj
= 0;
5501 wxPen
*arg1
= (wxPen
*) 0 ;
5503 wxDash
*arg3
= (wxDash
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5507 PyObject
* obj1
= 0 ;
5508 char * kwnames
[] = {
5509 (char *) "self",(char *) "dashes", NULL
5512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5514 if (!SWIG_IsOK(res1
)) {
5515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5517 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5519 arg2
= PyList_Size(obj1
);
5520 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5521 if (arg3
== NULL
) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 (arg1
)->SetDashes(arg2
,arg3
);
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5529 resultobj
= SWIG_Py_Void();
5531 if (arg3
) delete [] arg3
;
5536 if (arg3
) delete [] arg3
;
5542 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5543 PyObject
*resultobj
= 0;
5544 wxPen
*arg1
= (wxPen
*) 0 ;
5545 PyObject
*result
= 0 ;
5548 PyObject
*swig_obj
[1] ;
5550 if (!args
) SWIG_fail
;
5552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5553 if (!SWIG_IsOK(res1
)) {
5554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5556 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5570 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
*resultobj
= 0;
5572 wxPen
*arg1
= (wxPen
*) 0 ;
5573 PyObject
*arg2
= (PyObject
*) 0 ;
5574 PyObject
*arg3
= (PyObject
*) 0 ;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5579 PyObject
* obj2
= 0 ;
5580 char * kwnames
[] = {
5581 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5586 if (!SWIG_IsOK(res1
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5589 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 wxPen__SetDashes(arg1
,arg2
,arg3
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= SWIG_Py_Void();
5605 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
= 0;
5607 wxPen
*arg1
= (wxPen
*) 0 ;
5608 wxPen
*arg2
= (wxPen
*) 0 ;
5614 PyObject
* obj0
= 0 ;
5615 PyObject
* obj1
= 0 ;
5616 char * kwnames
[] = {
5617 (char *) "self",(char *) "other", NULL
5620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5622 if (!SWIG_IsOK(res1
)) {
5623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5625 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5627 if (!SWIG_IsOK(res2
)) {
5628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5630 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5646 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
*resultobj
= 0;
5648 wxPen
*arg1
= (wxPen
*) 0 ;
5649 wxPen
*arg2
= (wxPen
*) 0 ;
5655 PyObject
* obj0
= 0 ;
5656 PyObject
* obj1
= 0 ;
5657 char * kwnames
[] = {
5658 (char *) "self",(char *) "other", NULL
5661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5663 if (!SWIG_IsOK(res1
)) {
5664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5666 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5667 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5668 if (!SWIG_IsOK(res2
)) {
5669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5671 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5675 wxPyEndAllowThreads(__tstate
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5687 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5690 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5691 return SWIG_Py_Void();
5694 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5695 return SWIG_Python_InitShadowInstance(args
);
5698 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
= 0;
5700 wxColour
*arg1
= 0 ;
5701 int arg2
= (int) wxSOLID
;
5702 wxBrush
*result
= 0 ;
5706 PyObject
* obj0
= 0 ;
5707 PyObject
* obj1
= 0 ;
5708 char * kwnames
[] = {
5709 (char *) "colour",(char *) "style", NULL
5712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5715 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5719 if (!SWIG_IsOK(ecode2
)) {
5720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5722 arg2
= static_cast< int >(val2
);
5725 if (!wxPyCheckForApp()) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5738 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
*resultobj
= 0;
5740 wxBitmap
*arg1
= 0 ;
5741 wxBrush
*result
= 0 ;
5744 PyObject
* obj0
= 0 ;
5745 char * kwnames
[] = {
5746 (char *) "stippleBitmap", NULL
5749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5750 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5751 if (!SWIG_IsOK(res1
)) {
5752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5757 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5759 if (!wxPyCheckForApp()) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5772 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5773 PyObject
*resultobj
= 0;
5774 wxBrush
*arg1
= (wxBrush
*) 0 ;
5777 PyObject
*swig_obj
[1] ;
5779 if (!args
) SWIG_fail
;
5781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5782 if (!SWIG_IsOK(res1
)) {
5783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5785 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5793 resultobj
= SWIG_Py_Void();
5800 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
*resultobj
= 0;
5802 wxBrush
*arg1
= (wxBrush
*) 0 ;
5803 wxColour
*arg2
= 0 ;
5807 PyObject
* obj0
= 0 ;
5808 PyObject
* obj1
= 0 ;
5809 char * kwnames
[] = {
5810 (char *) "self",(char *) "col", NULL
5813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5815 if (!SWIG_IsOK(res1
)) {
5816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5818 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5821 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 (arg1
)->SetColour((wxColour
const &)*arg2
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 resultobj
= SWIG_Py_Void();
5836 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
= 0;
5838 wxBrush
*arg1
= (wxBrush
*) 0 ;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5846 char * kwnames
[] = {
5847 (char *) "self",(char *) "style", NULL
5850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5852 if (!SWIG_IsOK(res1
)) {
5853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5855 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5857 if (!SWIG_IsOK(ecode2
)) {
5858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5860 arg2
= static_cast< int >(val2
);
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 (arg1
)->SetStyle(arg2
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 resultobj
= SWIG_Py_Void();
5874 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
= 0;
5876 wxBrush
*arg1
= (wxBrush
*) 0 ;
5877 wxBitmap
*arg2
= 0 ;
5882 PyObject
* obj0
= 0 ;
5883 PyObject
* obj1
= 0 ;
5884 char * kwnames
[] = {
5885 (char *) "self",(char *) "stipple", NULL
5888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5890 if (!SWIG_IsOK(res1
)) {
5891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5893 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5895 if (!SWIG_IsOK(res2
)) {
5896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5901 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5908 resultobj
= SWIG_Py_Void();
5915 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5916 PyObject
*resultobj
= 0;
5917 wxBrush
*arg1
= (wxBrush
*) 0 ;
5921 PyObject
*swig_obj
[1] ;
5923 if (!args
) SWIG_fail
;
5925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5926 if (!SWIG_IsOK(res1
)) {
5927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5929 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= ((wxBrush
const *)arg1
)->GetColour();
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5943 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5944 PyObject
*resultobj
= 0;
5945 wxBrush
*arg1
= (wxBrush
*) 0 ;
5949 PyObject
*swig_obj
[1] ;
5951 if (!args
) SWIG_fail
;
5953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5954 if (!SWIG_IsOK(res1
)) {
5955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5957 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5961 wxPyEndAllowThreads(__tstate
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5964 resultobj
= SWIG_From_int(static_cast< int >(result
));
5971 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5972 PyObject
*resultobj
= 0;
5973 wxBrush
*arg1
= (wxBrush
*) 0 ;
5974 wxBitmap
*result
= 0 ;
5977 PyObject
*swig_obj
[1] ;
5979 if (!args
) SWIG_fail
;
5981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5982 if (!SWIG_IsOK(res1
)) {
5983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5985 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5988 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5989 wxPyEndAllowThreads(__tstate
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5999 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6000 PyObject
*resultobj
= 0;
6001 wxBrush
*arg1
= (wxBrush
*) 0 ;
6005 PyObject
*swig_obj
[1] ;
6007 if (!args
) SWIG_fail
;
6009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6010 if (!SWIG_IsOK(res1
)) {
6011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6013 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6029 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6030 PyObject
*resultobj
= 0;
6031 wxBrush
*arg1
= (wxBrush
*) 0 ;
6035 PyObject
*swig_obj
[1] ;
6037 if (!args
) SWIG_fail
;
6039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6040 if (!SWIG_IsOK(res1
)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6043 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (bool)(arg1
)->IsOk();
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6059 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6060 PyObject
*resultobj
= 0;
6061 wxBrush
*arg1
= (wxBrush
*) 0 ;
6065 PyObject
*swig_obj
[1] ;
6067 if (!args
) SWIG_fail
;
6069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6070 if (!SWIG_IsOK(res1
)) {
6071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6073 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 result
= (short)(arg1
)->MacGetTheme();
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6080 resultobj
= SWIG_From_short(static_cast< short >(result
));
6087 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
= 0;
6089 wxBrush
*arg1
= (wxBrush
*) 0 ;
6095 PyObject
* obj0
= 0 ;
6096 PyObject
* obj1
= 0 ;
6097 char * kwnames
[] = {
6098 (char *) "self",(char *) "macThemeBrush", NULL
6101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6103 if (!SWIG_IsOK(res1
)) {
6104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6106 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6107 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
6108 if (!SWIG_IsOK(ecode2
)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
6111 arg2
= static_cast< short >(val2
);
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 (arg1
)->MacSetTheme(arg2
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6118 resultobj
= SWIG_Py_Void();
6125 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6127 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6128 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6129 return SWIG_Py_Void();
6132 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6133 return SWIG_Python_InitShadowInstance(args
);
6136 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
= 0;
6138 wxString
*arg1
= 0 ;
6139 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6140 wxBitmap
*result
= 0 ;
6141 bool temp1
= false ;
6144 PyObject
* obj0
= 0 ;
6145 PyObject
* obj1
= 0 ;
6146 char * kwnames
[] = {
6147 (char *) "name",(char *) "type", NULL
6150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6152 arg1
= wxString_in_helper(obj0
);
6153 if (arg1
== NULL
) SWIG_fail
;
6157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6158 if (!SWIG_IsOK(ecode2
)) {
6159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6161 arg2
= static_cast< wxBitmapType
>(val2
);
6164 if (!wxPyCheckForApp()) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6185 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6186 PyObject
*resultobj
= 0;
6187 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6190 PyObject
*swig_obj
[1] ;
6192 if (!args
) SWIG_fail
;
6194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6195 if (!SWIG_IsOK(res1
)) {
6196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6198 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6204 resultobj
= SWIG_Py_Void();
6211 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
= 0;
6215 int arg3
= (int) -1 ;
6216 wxBitmap
*result
= 0 ;
6223 PyObject
* obj0
= 0 ;
6224 PyObject
* obj1
= 0 ;
6225 PyObject
* obj2
= 0 ;
6226 char * kwnames
[] = {
6227 (char *) "width",(char *) "height",(char *) "depth", NULL
6230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6231 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6232 if (!SWIG_IsOK(ecode1
)) {
6233 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6235 arg1
= static_cast< int >(val1
);
6236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6237 if (!SWIG_IsOK(ecode2
)) {
6238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6240 arg2
= static_cast< int >(val2
);
6242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6243 if (!SWIG_IsOK(ecode3
)) {
6244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6246 arg3
= static_cast< int >(val3
);
6249 if (!wxPyCheckForApp()) SWIG_fail
;
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6262 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
= 0;
6265 wxBitmap
*result
= 0 ;
6268 PyObject
* obj0
= 0 ;
6269 char * kwnames
[] = {
6270 (char *) "icon", NULL
6273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6274 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6275 if (!SWIG_IsOK(res1
)) {
6276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6281 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6283 if (!wxPyCheckForApp()) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6296 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
*resultobj
= 0;
6299 int arg2
= (int) -1 ;
6300 wxBitmap
*result
= 0 ;
6305 PyObject
* obj0
= 0 ;
6306 PyObject
* obj1
= 0 ;
6307 char * kwnames
[] = {
6308 (char *) "image",(char *) "depth", NULL
6311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6312 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6313 if (!SWIG_IsOK(res1
)) {
6314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6319 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6322 if (!SWIG_IsOK(ecode2
)) {
6323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6325 arg2
= static_cast< int >(val2
);
6328 if (!wxPyCheckForApp()) SWIG_fail
;
6329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6330 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6341 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
*resultobj
= 0;
6343 PyObject
*arg1
= (PyObject
*) 0 ;
6344 wxBitmap
*result
= 0 ;
6345 PyObject
* obj0
= 0 ;
6346 char * kwnames
[] = {
6347 (char *) "listOfStrings", NULL
6350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6353 if (!wxPyCheckForApp()) SWIG_fail
;
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6366 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
= 0;
6368 PyObject
*arg1
= (PyObject
*) 0 ;
6371 int arg4
= (int) 1 ;
6372 wxBitmap
*result
= 0 ;
6379 PyObject
* obj0
= 0 ;
6380 PyObject
* obj1
= 0 ;
6381 PyObject
* obj2
= 0 ;
6382 PyObject
* obj3
= 0 ;
6383 char * kwnames
[] = {
6384 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6390 if (!SWIG_IsOK(ecode2
)) {
6391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6393 arg2
= static_cast< int >(val2
);
6394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6395 if (!SWIG_IsOK(ecode3
)) {
6396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6398 arg3
= static_cast< int >(val3
);
6400 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6401 if (!SWIG_IsOK(ecode4
)) {
6402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6404 arg4
= static_cast< int >(val4
);
6407 if (!wxPyCheckForApp()) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6420 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6421 PyObject
*resultobj
= 0;
6422 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6426 PyObject
*swig_obj
[1] ;
6428 if (!args
) SWIG_fail
;
6430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6431 if (!SWIG_IsOK(res1
)) {
6432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6434 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6436 result
= (bool)(arg1
)->IsOk();
6437 if (PyErr_Occurred()) SWIG_fail
;
6440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6448 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6449 PyObject
*resultobj
= 0;
6450 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6454 PyObject
*swig_obj
[1] ;
6456 if (!args
) SWIG_fail
;
6458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6459 if (!SWIG_IsOK(res1
)) {
6460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6462 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6464 result
= (int)(arg1
)->GetWidth();
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= SWIG_From_int(static_cast< int >(result
));
6474 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6475 PyObject
*resultobj
= 0;
6476 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6480 PyObject
*swig_obj
[1] ;
6482 if (!args
) SWIG_fail
;
6484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6485 if (!SWIG_IsOK(res1
)) {
6486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6488 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6490 result
= (int)(arg1
)->GetHeight();
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 resultobj
= SWIG_From_int(static_cast< int >(result
));
6500 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6501 PyObject
*resultobj
= 0;
6502 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6506 PyObject
*swig_obj
[1] ;
6508 if (!args
) SWIG_fail
;
6510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6511 if (!SWIG_IsOK(res1
)) {
6512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6514 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6516 result
= (int)(arg1
)->GetDepth();
6517 if (PyErr_Occurred()) SWIG_fail
;
6519 resultobj
= SWIG_From_int(static_cast< int >(result
));
6526 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6527 PyObject
*resultobj
= 0;
6528 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6532 PyObject
*swig_obj
[1] ;
6534 if (!args
) SWIG_fail
;
6536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6537 if (!SWIG_IsOK(res1
)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6540 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6542 result
= wxBitmap_GetSize(arg1
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6545 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6552 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6553 PyObject
*resultobj
= 0;
6554 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6555 SwigValueWrapper
<wxImage
> result
;
6558 PyObject
*swig_obj
[1] ;
6560 if (!args
) SWIG_fail
;
6562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6563 if (!SWIG_IsOK(res1
)) {
6564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6566 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6568 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6578 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6579 PyObject
*resultobj
= 0;
6580 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6581 wxMask
*result
= 0 ;
6584 PyObject
*swig_obj
[1] ;
6586 if (!args
) SWIG_fail
;
6588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6589 if (!SWIG_IsOK(res1
)) {
6590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6592 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6594 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6604 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
= 0;
6606 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6607 wxMask
*arg2
= (wxMask
*) 0 ;
6611 PyObject
* obj0
= 0 ;
6612 PyObject
* obj1
= 0 ;
6613 char * kwnames
[] = {
6614 (char *) "self",(char *) "mask", NULL
6617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6619 if (!SWIG_IsOK(res1
)) {
6620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6622 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6623 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6624 if (!SWIG_IsOK(res2
)) {
6625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6628 (arg1
)->SetMask(arg2
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= SWIG_Py_Void();
6638 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
= 0;
6640 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6641 wxColour
*arg2
= 0 ;
6645 PyObject
* obj0
= 0 ;
6646 PyObject
* obj1
= 0 ;
6647 char * kwnames
[] = {
6648 (char *) "self",(char *) "colour", NULL
6651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6653 if (!SWIG_IsOK(res1
)) {
6654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6656 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6659 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6662 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= SWIG_Py_Void();
6672 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
= 0;
6674 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6676 SwigValueWrapper
<wxBitmap
> result
;
6680 PyObject
* obj0
= 0 ;
6681 PyObject
* obj1
= 0 ;
6682 char * kwnames
[] = {
6683 (char *) "self",(char *) "rect", NULL
6686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6688 if (!SWIG_IsOK(res1
)) {
6689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6691 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6694 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6697 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6707 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
= 0;
6709 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6710 wxString
*arg2
= 0 ;
6712 wxPalette
*arg4
= (wxPalette
*) NULL
;
6716 bool temp2
= false ;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6723 PyObject
* obj2
= 0 ;
6724 PyObject
* obj3
= 0 ;
6725 char * kwnames
[] = {
6726 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6731 if (!SWIG_IsOK(res1
)) {
6732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6734 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6736 arg2
= wxString_in_helper(obj1
);
6737 if (arg2
== NULL
) SWIG_fail
;
6740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6741 if (!SWIG_IsOK(ecode3
)) {
6742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6744 arg3
= static_cast< wxBitmapType
>(val3
);
6746 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6747 if (!SWIG_IsOK(res4
)) {
6748 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6750 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6753 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6773 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
= 0;
6775 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6776 wxString
*arg2
= 0 ;
6781 bool temp2
= false ;
6784 PyObject
* obj0
= 0 ;
6785 PyObject
* obj1
= 0 ;
6786 PyObject
* obj2
= 0 ;
6787 char * kwnames
[] = {
6788 (char *) "self",(char *) "name",(char *) "type", NULL
6791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6793 if (!SWIG_IsOK(res1
)) {
6794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6796 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6798 arg2
= wxString_in_helper(obj1
);
6799 if (arg2
== NULL
) SWIG_fail
;
6802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6803 if (!SWIG_IsOK(ecode3
)) {
6804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6806 arg3
= static_cast< wxBitmapType
>(val3
);
6808 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6828 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6829 PyObject
*resultobj
= 0;
6830 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6831 wxPalette
*result
= 0 ;
6834 PyObject
*swig_obj
[1] ;
6836 if (!args
) SWIG_fail
;
6838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6839 if (!SWIG_IsOK(res1
)) {
6840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6842 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6844 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6845 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6854 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
= 0;
6856 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6863 PyObject
* obj0
= 0 ;
6864 PyObject
* obj1
= 0 ;
6865 char * kwnames
[] = {
6866 (char *) "self",(char *) "icon", NULL
6869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6871 if (!SWIG_IsOK(res1
)) {
6872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6874 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6875 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6876 if (!SWIG_IsOK(res2
)) {
6877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6882 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6884 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6896 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
*resultobj
= 0;
6898 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6904 PyObject
* obj0
= 0 ;
6905 PyObject
* obj1
= 0 ;
6906 char * kwnames
[] = {
6907 (char *) "self",(char *) "height", NULL
6910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6912 if (!SWIG_IsOK(res1
)) {
6913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6915 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6917 if (!SWIG_IsOK(ecode2
)) {
6918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6920 arg2
= static_cast< int >(val2
);
6922 (arg1
)->SetHeight(arg2
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= SWIG_Py_Void();
6932 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
= 0;
6934 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6940 PyObject
* obj0
= 0 ;
6941 PyObject
* obj1
= 0 ;
6942 char * kwnames
[] = {
6943 (char *) "self",(char *) "width", NULL
6946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6948 if (!SWIG_IsOK(res1
)) {
6949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6951 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6953 if (!SWIG_IsOK(ecode2
)) {
6954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6956 arg2
= static_cast< int >(val2
);
6958 (arg1
)->SetWidth(arg2
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= SWIG_Py_Void();
6968 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
*resultobj
= 0;
6970 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6976 PyObject
* obj0
= 0 ;
6977 PyObject
* obj1
= 0 ;
6978 char * kwnames
[] = {
6979 (char *) "self",(char *) "depth", NULL
6982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6984 if (!SWIG_IsOK(res1
)) {
6985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6987 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6989 if (!SWIG_IsOK(ecode2
)) {
6990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6992 arg2
= static_cast< int >(val2
);
6994 (arg1
)->SetDepth(arg2
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6997 resultobj
= SWIG_Py_Void();
7004 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
*resultobj
= 0;
7006 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7011 PyObject
* obj0
= 0 ;
7012 PyObject
* obj1
= 0 ;
7013 char * kwnames
[] = {
7014 (char *) "self",(char *) "size", NULL
7017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7019 if (!SWIG_IsOK(res1
)) {
7020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7022 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7025 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7028 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= SWIG_Py_Void();
7038 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
= 0;
7040 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7047 PyObject
* obj1
= 0 ;
7048 char * kwnames
[] = {
7049 (char *) "self",(char *) "data", NULL
7052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7054 if (!SWIG_IsOK(res1
)) {
7055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7057 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7059 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7063 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= SWIG_Py_Void();
7073 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
= 0;
7075 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7081 PyObject
* obj0
= 0 ;
7082 PyObject
* obj1
= 0 ;
7083 char * kwnames
[] = {
7084 (char *) "self",(char *) "data", NULL
7087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7089 if (!SWIG_IsOK(res1
)) {
7090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7092 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7094 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7098 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 resultobj
= SWIG_Py_Void();
7108 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
= 0;
7110 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7111 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7117 PyObject
* obj0
= 0 ;
7118 PyObject
* obj1
= 0 ;
7119 char * kwnames
[] = {
7120 (char *) "self",(char *) "other", NULL
7123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7125 if (!SWIG_IsOK(res1
)) {
7126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7128 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7129 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7130 if (!SWIG_IsOK(res2
)) {
7131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7133 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7135 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7147 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
= 0;
7149 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7150 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7156 PyObject
* obj0
= 0 ;
7157 PyObject
* obj1
= 0 ;
7158 char * kwnames
[] = {
7159 (char *) "self",(char *) "other", NULL
7162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7164 if (!SWIG_IsOK(res1
)) {
7165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7167 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7168 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7169 if (!SWIG_IsOK(res2
)) {
7170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7172 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7174 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7186 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7189 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7190 return SWIG_Py_Void();
7193 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7194 return SWIG_Python_InitShadowInstance(args
);
7197 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
= 0;
7205 wxBitmap
*result
= 0 ;
7212 PyObject
* obj0
= 0 ;
7213 PyObject
* obj1
= 0 ;
7214 PyObject
* obj2
= 0 ;
7215 PyObject
* obj3
= 0 ;
7216 char * kwnames
[] = {
7217 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7221 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7222 if (!SWIG_IsOK(ecode1
)) {
7223 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7225 arg1
= static_cast< int >(val1
);
7226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7227 if (!SWIG_IsOK(ecode2
)) {
7228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7230 arg2
= static_cast< int >(val2
);
7232 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7236 if (obj3
!= Py_None
) {
7237 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7242 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7252 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
= 0;
7258 wxBitmap
*result
= 0 ;
7264 PyObject
* obj0
= 0 ;
7265 PyObject
* obj1
= 0 ;
7266 PyObject
* obj2
= 0 ;
7267 char * kwnames
[] = {
7268 (char *) "width",(char *) "height",(char *) "data", NULL
7271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7272 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7273 if (!SWIG_IsOK(ecode1
)) {
7274 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7276 arg1
= static_cast< int >(val1
);
7277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7278 if (!SWIG_IsOK(ecode2
)) {
7279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7281 arg2
= static_cast< int >(val2
);
7283 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7287 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7297 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
= 0;
7303 wxBitmap
*result
= 0 ;
7309 PyObject
* obj0
= 0 ;
7310 PyObject
* obj1
= 0 ;
7311 PyObject
* obj2
= 0 ;
7312 char * kwnames
[] = {
7313 (char *) "width",(char *) "height",(char *) "data", NULL
7316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7317 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7318 if (!SWIG_IsOK(ecode1
)) {
7319 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7321 arg1
= static_cast< int >(val1
);
7322 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7323 if (!SWIG_IsOK(ecode2
)) {
7324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7326 arg2
= static_cast< int >(val2
);
7328 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7332 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7342 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7343 PyObject
*resultobj
= 0;
7344 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7348 PyObject
*swig_obj
[1] ;
7350 if (!args
) SWIG_fail
;
7352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7353 if (!SWIG_IsOK(res1
)) {
7354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7356 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7358 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7368 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7369 PyObject
*resultobj
= 0;
7370 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7374 PyObject
*swig_obj
[1] ;
7376 if (!args
) SWIG_fail
;
7378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7379 if (!SWIG_IsOK(res1
)) {
7380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7382 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7384 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= SWIG_From_int(static_cast< int >(result
));
7394 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7395 PyObject
*resultobj
= 0;
7396 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7400 PyObject
*swig_obj
[1] ;
7402 if (!args
) SWIG_fail
;
7404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7405 if (!SWIG_IsOK(res1
)) {
7406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7408 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7410 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7411 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= SWIG_From_int(static_cast< int >(result
));
7420 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7421 PyObject
*resultobj
= 0;
7422 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7426 PyObject
*swig_obj
[1] ;
7428 if (!args
) SWIG_fail
;
7430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7431 if (!SWIG_IsOK(res1
)) {
7432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7434 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7436 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7446 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7447 PyObject
*resultobj
= 0;
7448 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7452 PyObject
*swig_obj
[1] ;
7454 if (!args
) SWIG_fail
;
7456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7457 if (!SWIG_IsOK(res1
)) {
7458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7460 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7462 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 resultobj
= SWIG_From_int(static_cast< int >(result
));
7472 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7474 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7475 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7476 return SWIG_Py_Void();
7479 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7480 PyObject
*resultobj
= 0;
7481 wxBitmap
*arg1
= 0 ;
7482 wxNativePixelData
*result
= 0 ;
7486 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7488 if (!SWIG_IsOK(res1
)) {
7489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7494 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7496 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7506 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7507 PyObject
*resultobj
= 0;
7508 wxBitmap
*arg1
= 0 ;
7510 wxNativePixelData
*result
= 0 ;
7515 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7517 if (!SWIG_IsOK(res1
)) {
7518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7523 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7526 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7529 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7539 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7540 PyObject
*resultobj
= 0;
7541 wxBitmap
*arg1
= 0 ;
7544 wxNativePixelData
*result
= 0 ;
7550 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7552 if (!SWIG_IsOK(res1
)) {
7553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7558 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7561 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7565 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7568 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7578 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7582 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7585 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7588 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7591 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7595 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7600 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7601 PyObject
*resultobj
= 0;
7602 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7605 PyObject
*swig_obj
[1] ;
7607 if (!args
) SWIG_fail
;
7609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7610 if (!SWIG_IsOK(res1
)) {
7611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7613 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= SWIG_Py_Void();
7626 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7627 PyObject
*resultobj
= 0;
7628 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7629 wxNativePixelData_Accessor result
;
7632 PyObject
*swig_obj
[1] ;
7634 if (!args
) SWIG_fail
;
7636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7637 if (!SWIG_IsOK(res1
)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7640 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7642 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7643 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7652 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7653 PyObject
*resultobj
= 0;
7654 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7657 PyObject
*swig_obj
[1] ;
7659 if (!args
) SWIG_fail
;
7661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7662 if (!SWIG_IsOK(res1
)) {
7663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7665 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7670 resultobj
= SWIG_Py_Void();
7677 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7678 PyObject
*resultobj
= 0;
7679 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7683 PyObject
*swig_obj
[1] ;
7685 if (!args
) SWIG_fail
;
7687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7688 if (!SWIG_IsOK(res1
)) {
7689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7691 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7693 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7705 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7708 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7709 return SWIG_Py_Void();
7712 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7713 return SWIG_Python_InitShadowInstance(args
);
7716 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7717 PyObject
*resultobj
= 0;
7718 wxNativePixelData
*arg1
= 0 ;
7719 wxNativePixelData_Accessor
*result
= 0 ;
7723 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7725 if (!SWIG_IsOK(res1
)) {
7726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7731 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7733 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7743 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7744 PyObject
*resultobj
= 0;
7745 wxBitmap
*arg1
= 0 ;
7746 wxNativePixelData
*arg2
= 0 ;
7747 wxNativePixelData_Accessor
*result
= 0 ;
7753 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7755 if (!SWIG_IsOK(res1
)) {
7756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7761 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7762 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7763 if (!SWIG_IsOK(res2
)) {
7764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7769 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7771 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7781 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7782 PyObject
*resultobj
= 0;
7783 wxNativePixelData_Accessor
*result
= 0 ;
7785 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7787 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7797 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7801 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7804 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7807 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7810 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7814 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7819 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7820 PyObject
*resultobj
= 0;
7821 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7824 PyObject
*swig_obj
[1] ;
7826 if (!args
) SWIG_fail
;
7828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7829 if (!SWIG_IsOK(res1
)) {
7830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7832 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_Py_Void();
7845 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
= 0;
7847 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7848 wxNativePixelData
*arg2
= 0 ;
7853 PyObject
* obj0
= 0 ;
7854 PyObject
* obj1
= 0 ;
7855 char * kwnames
[] = {
7856 (char *) "self",(char *) "data", NULL
7859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7861 if (!SWIG_IsOK(res1
)) {
7862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7864 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7865 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7866 if (!SWIG_IsOK(res2
)) {
7867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7872 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7874 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 resultobj
= SWIG_Py_Void();
7884 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7885 PyObject
*resultobj
= 0;
7886 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7890 PyObject
*swig_obj
[1] ;
7892 if (!args
) SWIG_fail
;
7894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7895 if (!SWIG_IsOK(res1
)) {
7896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7898 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7900 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7901 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7912 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7913 PyObject
*resultobj
= 0;
7914 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7917 PyObject
*swig_obj
[1] ;
7919 if (!args
) SWIG_fail
;
7921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7922 if (!SWIG_IsOK(res1
)) {
7923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7925 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7927 wxNativePixelData_Accessor_nextPixel(arg1
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 resultobj
= SWIG_Py_Void();
7937 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
= 0;
7939 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7940 wxNativePixelData
*arg2
= 0 ;
7951 PyObject
* obj0
= 0 ;
7952 PyObject
* obj1
= 0 ;
7953 PyObject
* obj2
= 0 ;
7954 PyObject
* obj3
= 0 ;
7955 char * kwnames
[] = {
7956 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7961 if (!SWIG_IsOK(res1
)) {
7962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7964 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7965 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7966 if (!SWIG_IsOK(res2
)) {
7967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7972 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7974 if (!SWIG_IsOK(ecode3
)) {
7975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7977 arg3
= static_cast< int >(val3
);
7978 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7979 if (!SWIG_IsOK(ecode4
)) {
7980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7982 arg4
= static_cast< int >(val4
);
7984 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= SWIG_Py_Void();
7994 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
= 0;
7996 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7997 wxNativePixelData
*arg2
= 0 ;
8005 PyObject
* obj0
= 0 ;
8006 PyObject
* obj1
= 0 ;
8007 PyObject
* obj2
= 0 ;
8008 char * kwnames
[] = {
8009 (char *) "self",(char *) "data",(char *) "x", NULL
8012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8014 if (!SWIG_IsOK(res1
)) {
8015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8017 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8018 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8019 if (!SWIG_IsOK(res2
)) {
8020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8025 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8026 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8027 if (!SWIG_IsOK(ecode3
)) {
8028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8030 arg3
= static_cast< int >(val3
);
8032 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8035 resultobj
= SWIG_Py_Void();
8042 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
= 0;
8044 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8045 wxNativePixelData
*arg2
= 0 ;
8053 PyObject
* obj0
= 0 ;
8054 PyObject
* obj1
= 0 ;
8055 PyObject
* obj2
= 0 ;
8056 char * kwnames
[] = {
8057 (char *) "self",(char *) "data",(char *) "y", NULL
8060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8062 if (!SWIG_IsOK(res1
)) {
8063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8065 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8067 if (!SWIG_IsOK(res2
)) {
8068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8073 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8074 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8075 if (!SWIG_IsOK(ecode3
)) {
8076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8078 arg3
= static_cast< int >(val3
);
8080 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8081 if (PyErr_Occurred()) SWIG_fail
;
8083 resultobj
= SWIG_Py_Void();
8090 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8091 PyObject
*resultobj
= 0;
8092 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8093 wxNativePixelData
*arg2
= 0 ;
8104 PyObject
* obj0
= 0 ;
8105 PyObject
* obj1
= 0 ;
8106 PyObject
* obj2
= 0 ;
8107 PyObject
* obj3
= 0 ;
8108 char * kwnames
[] = {
8109 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8114 if (!SWIG_IsOK(res1
)) {
8115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8117 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8118 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8119 if (!SWIG_IsOK(res2
)) {
8120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8125 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8127 if (!SWIG_IsOK(ecode3
)) {
8128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8130 arg3
= static_cast< int >(val3
);
8131 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8132 if (!SWIG_IsOK(ecode4
)) {
8133 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8135 arg4
= static_cast< int >(val4
);
8137 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= SWIG_Py_Void();
8147 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
*resultobj
= 0;
8149 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8155 unsigned char val2
;
8157 unsigned char val3
;
8159 unsigned char val4
;
8161 PyObject
* obj0
= 0 ;
8162 PyObject
* obj1
= 0 ;
8163 PyObject
* obj2
= 0 ;
8164 PyObject
* obj3
= 0 ;
8165 char * kwnames
[] = {
8166 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8171 if (!SWIG_IsOK(res1
)) {
8172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8174 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8175 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8176 if (!SWIG_IsOK(ecode2
)) {
8177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8179 arg2
= static_cast< byte
>(val2
);
8180 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8181 if (!SWIG_IsOK(ecode3
)) {
8182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8184 arg3
= static_cast< byte
>(val3
);
8185 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8186 if (!SWIG_IsOK(ecode4
)) {
8187 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8189 arg4
= static_cast< byte
>(val4
);
8191 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 resultobj
= SWIG_Py_Void();
8201 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8202 PyObject
*resultobj
= 0;
8203 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8204 PyObject
*result
= 0 ;
8207 PyObject
*swig_obj
[1] ;
8209 if (!args
) SWIG_fail
;
8211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8212 if (!SWIG_IsOK(res1
)) {
8213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8215 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8217 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8227 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8229 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8230 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8231 return SWIG_Py_Void();
8234 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8235 return SWIG_Python_InitShadowInstance(args
);
8238 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8239 PyObject
*resultobj
= 0;
8240 wxBitmap
*arg1
= 0 ;
8241 wxAlphaPixelData
*result
= 0 ;
8245 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8247 if (!SWIG_IsOK(res1
)) {
8248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8253 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8255 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8265 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8266 PyObject
*resultobj
= 0;
8267 wxBitmap
*arg1
= 0 ;
8269 wxAlphaPixelData
*result
= 0 ;
8274 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8276 if (!SWIG_IsOK(res1
)) {
8277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8282 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8285 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8288 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8298 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8299 PyObject
*resultobj
= 0;
8300 wxBitmap
*arg1
= 0 ;
8303 wxAlphaPixelData
*result
= 0 ;
8309 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8311 if (!SWIG_IsOK(res1
)) {
8312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8317 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8320 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8324 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8327 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8337 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8341 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8344 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8347 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8350 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8354 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8359 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8360 PyObject
*resultobj
= 0;
8361 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8364 PyObject
*swig_obj
[1] ;
8366 if (!args
) SWIG_fail
;
8368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8369 if (!SWIG_IsOK(res1
)) {
8370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8372 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 resultobj
= SWIG_Py_Void();
8385 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8386 PyObject
*resultobj
= 0;
8387 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8388 wxAlphaPixelData_Accessor result
;
8391 PyObject
*swig_obj
[1] ;
8393 if (!args
) SWIG_fail
;
8395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8396 if (!SWIG_IsOK(res1
)) {
8397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8399 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8401 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8411 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8412 PyObject
*resultobj
= 0;
8413 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8416 PyObject
*swig_obj
[1] ;
8418 if (!args
) SWIG_fail
;
8420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8421 if (!SWIG_IsOK(res1
)) {
8422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8424 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 resultobj
= SWIG_Py_Void();
8436 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8437 PyObject
*resultobj
= 0;
8438 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8442 PyObject
*swig_obj
[1] ;
8444 if (!args
) SWIG_fail
;
8446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8447 if (!SWIG_IsOK(res1
)) {
8448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8450 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8452 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8464 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8467 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8468 return SWIG_Py_Void();
8471 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8472 return SWIG_Python_InitShadowInstance(args
);
8475 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8476 PyObject
*resultobj
= 0;
8477 wxAlphaPixelData
*arg1
= 0 ;
8478 wxAlphaPixelData_Accessor
*result
= 0 ;
8482 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8484 if (!SWIG_IsOK(res1
)) {
8485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8490 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8492 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8502 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8503 PyObject
*resultobj
= 0;
8504 wxBitmap
*arg1
= 0 ;
8505 wxAlphaPixelData
*arg2
= 0 ;
8506 wxAlphaPixelData_Accessor
*result
= 0 ;
8512 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8514 if (!SWIG_IsOK(res1
)) {
8515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8520 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8521 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8522 if (!SWIG_IsOK(res2
)) {
8523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8528 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8530 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8540 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8541 PyObject
*resultobj
= 0;
8542 wxAlphaPixelData_Accessor
*result
= 0 ;
8544 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8546 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8547 if (PyErr_Occurred()) SWIG_fail
;
8549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8556 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8560 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8563 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8566 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8569 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8573 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8578 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8579 PyObject
*resultobj
= 0;
8580 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8583 PyObject
*swig_obj
[1] ;
8585 if (!args
) SWIG_fail
;
8587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8588 if (!SWIG_IsOK(res1
)) {
8589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8591 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8597 resultobj
= SWIG_Py_Void();
8604 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
*resultobj
= 0;
8606 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8607 wxAlphaPixelData
*arg2
= 0 ;
8612 PyObject
* obj0
= 0 ;
8613 PyObject
* obj1
= 0 ;
8614 char * kwnames
[] = {
8615 (char *) "self",(char *) "data", NULL
8618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8620 if (!SWIG_IsOK(res1
)) {
8621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8623 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8624 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8625 if (!SWIG_IsOK(res2
)) {
8626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8631 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8633 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= SWIG_Py_Void();
8643 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8644 PyObject
*resultobj
= 0;
8645 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8649 PyObject
*swig_obj
[1] ;
8651 if (!args
) SWIG_fail
;
8653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8654 if (!SWIG_IsOK(res1
)) {
8655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8657 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8659 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8660 if (PyErr_Occurred()) SWIG_fail
;
8663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8671 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8672 PyObject
*resultobj
= 0;
8673 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8676 PyObject
*swig_obj
[1] ;
8678 if (!args
) SWIG_fail
;
8680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8681 if (!SWIG_IsOK(res1
)) {
8682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8684 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8686 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 resultobj
= SWIG_Py_Void();
8696 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
= 0;
8698 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8699 wxAlphaPixelData
*arg2
= 0 ;
8710 PyObject
* obj0
= 0 ;
8711 PyObject
* obj1
= 0 ;
8712 PyObject
* obj2
= 0 ;
8713 PyObject
* obj3
= 0 ;
8714 char * kwnames
[] = {
8715 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8720 if (!SWIG_IsOK(res1
)) {
8721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8723 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8725 if (!SWIG_IsOK(res2
)) {
8726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8731 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8732 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8733 if (!SWIG_IsOK(ecode3
)) {
8734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8736 arg3
= static_cast< int >(val3
);
8737 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8738 if (!SWIG_IsOK(ecode4
)) {
8739 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8741 arg4
= static_cast< int >(val4
);
8743 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 resultobj
= SWIG_Py_Void();
8753 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
= 0;
8755 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8756 wxAlphaPixelData
*arg2
= 0 ;
8764 PyObject
* obj0
= 0 ;
8765 PyObject
* obj1
= 0 ;
8766 PyObject
* obj2
= 0 ;
8767 char * kwnames
[] = {
8768 (char *) "self",(char *) "data",(char *) "x", NULL
8771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8773 if (!SWIG_IsOK(res1
)) {
8774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8776 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8777 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8778 if (!SWIG_IsOK(res2
)) {
8779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8784 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8785 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8786 if (!SWIG_IsOK(ecode3
)) {
8787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8789 arg3
= static_cast< int >(val3
);
8791 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 resultobj
= SWIG_Py_Void();
8801 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
= 0;
8803 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8804 wxAlphaPixelData
*arg2
= 0 ;
8812 PyObject
* obj0
= 0 ;
8813 PyObject
* obj1
= 0 ;
8814 PyObject
* obj2
= 0 ;
8815 char * kwnames
[] = {
8816 (char *) "self",(char *) "data",(char *) "y", NULL
8819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8821 if (!SWIG_IsOK(res1
)) {
8822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8824 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8825 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8826 if (!SWIG_IsOK(res2
)) {
8827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8832 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8834 if (!SWIG_IsOK(ecode3
)) {
8835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8837 arg3
= static_cast< int >(val3
);
8839 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= SWIG_Py_Void();
8849 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
*resultobj
= 0;
8851 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8852 wxAlphaPixelData
*arg2
= 0 ;
8863 PyObject
* obj0
= 0 ;
8864 PyObject
* obj1
= 0 ;
8865 PyObject
* obj2
= 0 ;
8866 PyObject
* obj3
= 0 ;
8867 char * kwnames
[] = {
8868 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8873 if (!SWIG_IsOK(res1
)) {
8874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8876 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8878 if (!SWIG_IsOK(res2
)) {
8879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8884 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8885 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8886 if (!SWIG_IsOK(ecode3
)) {
8887 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8889 arg3
= static_cast< int >(val3
);
8890 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8891 if (!SWIG_IsOK(ecode4
)) {
8892 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8894 arg4
= static_cast< int >(val4
);
8896 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8899 resultobj
= SWIG_Py_Void();
8906 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
= 0;
8908 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8915 unsigned char val2
;
8917 unsigned char val3
;
8919 unsigned char val4
;
8921 unsigned char val5
;
8923 PyObject
* obj0
= 0 ;
8924 PyObject
* obj1
= 0 ;
8925 PyObject
* obj2
= 0 ;
8926 PyObject
* obj3
= 0 ;
8927 PyObject
* obj4
= 0 ;
8928 char * kwnames
[] = {
8929 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8934 if (!SWIG_IsOK(res1
)) {
8935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8937 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8938 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8939 if (!SWIG_IsOK(ecode2
)) {
8940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8942 arg2
= static_cast< byte
>(val2
);
8943 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8944 if (!SWIG_IsOK(ecode3
)) {
8945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8947 arg3
= static_cast< byte
>(val3
);
8948 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8949 if (!SWIG_IsOK(ecode4
)) {
8950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8952 arg4
= static_cast< byte
>(val4
);
8953 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8954 if (!SWIG_IsOK(ecode5
)) {
8955 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8957 arg5
= static_cast< byte
>(val5
);
8959 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= SWIG_Py_Void();
8969 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8970 PyObject
*resultobj
= 0;
8971 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8972 PyObject
*result
= 0 ;
8975 PyObject
*swig_obj
[1] ;
8977 if (!args
) SWIG_fail
;
8979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8980 if (!SWIG_IsOK(res1
)) {
8981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8983 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8985 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8995 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8997 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8998 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8999 return SWIG_Py_Void();
9002 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9003 return SWIG_Python_InitShadowInstance(args
);
9006 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9007 PyObject
*resultobj
= 0;
9008 wxBitmap
*arg1
= 0 ;
9009 wxColour
const &arg2_defvalue
= wxNullColour
;
9010 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9011 wxMask
*result
= 0 ;
9015 PyObject
* obj0
= 0 ;
9016 PyObject
* obj1
= 0 ;
9017 char * kwnames
[] = {
9018 (char *) "bitmap",(char *) "colour", NULL
9021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9022 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9023 if (!SWIG_IsOK(res1
)) {
9024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9029 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9033 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9037 if (!wxPyCheckForApp()) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9050 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9051 PyObject
*resultobj
= 0;
9052 wxMask
*arg1
= (wxMask
*) 0 ;
9055 PyObject
*swig_obj
[1] ;
9057 if (!args
) SWIG_fail
;
9059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9060 if (!SWIG_IsOK(res1
)) {
9061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9063 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9069 resultobj
= SWIG_Py_Void();
9076 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9079 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9080 return SWIG_Py_Void();
9083 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9084 return SWIG_Python_InitShadowInstance(args
);
9087 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
= 0;
9089 wxString
*arg1
= 0 ;
9091 int arg3
= (int) -1 ;
9092 int arg4
= (int) -1 ;
9093 wxIcon
*result
= 0 ;
9094 bool temp1
= false ;
9101 PyObject
* obj0
= 0 ;
9102 PyObject
* obj1
= 0 ;
9103 PyObject
* obj2
= 0 ;
9104 PyObject
* obj3
= 0 ;
9105 char * kwnames
[] = {
9106 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9111 arg1
= wxString_in_helper(obj0
);
9112 if (arg1
== NULL
) SWIG_fail
;
9115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9116 if (!SWIG_IsOK(ecode2
)) {
9117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9119 arg2
= static_cast< wxBitmapType
>(val2
);
9121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9122 if (!SWIG_IsOK(ecode3
)) {
9123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9125 arg3
= static_cast< int >(val3
);
9128 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9129 if (!SWIG_IsOK(ecode4
)) {
9130 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9132 arg4
= static_cast< int >(val4
);
9135 if (!wxPyCheckForApp()) SWIG_fail
;
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9137 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9156 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9157 PyObject
*resultobj
= 0;
9158 wxIcon
*arg1
= (wxIcon
*) 0 ;
9161 PyObject
*swig_obj
[1] ;
9163 if (!args
) SWIG_fail
;
9165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9166 if (!SWIG_IsOK(res1
)) {
9167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9169 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 resultobj
= SWIG_Py_Void();
9184 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9185 PyObject
*resultobj
= 0;
9186 wxIcon
*result
= 0 ;
9188 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9190 if (!wxPyCheckForApp()) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 result
= (wxIcon
*)new wxIcon();
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9203 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
= 0;
9205 wxIconLocation
*arg1
= 0 ;
9206 wxIcon
*result
= 0 ;
9209 PyObject
* obj0
= 0 ;
9210 char * kwnames
[] = {
9211 (char *) "loc", NULL
9214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9215 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9216 if (!SWIG_IsOK(res1
)) {
9217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9222 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9224 if (!wxPyCheckForApp()) SWIG_fail
;
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9237 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
= 0;
9239 wxBitmap
*arg1
= 0 ;
9240 wxIcon
*result
= 0 ;
9243 PyObject
* obj0
= 0 ;
9244 char * kwnames
[] = {
9245 (char *) "bmp", NULL
9248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9249 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9250 if (!SWIG_IsOK(res1
)) {
9251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9256 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9258 if (!wxPyCheckForApp()) SWIG_fail
;
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9271 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
= 0;
9273 PyObject
*arg1
= (PyObject
*) 0 ;
9274 wxIcon
*result
= 0 ;
9275 PyObject
* obj0
= 0 ;
9276 char * kwnames
[] = {
9277 (char *) "listOfStrings", NULL
9280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9283 if (!wxPyCheckForApp()) SWIG_fail
;
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 result
= (wxIcon
*)new_wxIcon(arg1
);
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9296 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9297 PyObject
*resultobj
= 0;
9298 wxIcon
*arg1
= (wxIcon
*) 0 ;
9302 PyObject
*swig_obj
[1] ;
9304 if (!args
) SWIG_fail
;
9306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9307 if (!SWIG_IsOK(res1
)) {
9308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9310 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 result
= (bool)(arg1
)->IsOk();
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9326 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9327 PyObject
*resultobj
= 0;
9328 wxIcon
*arg1
= (wxIcon
*) 0 ;
9332 PyObject
*swig_obj
[1] ;
9334 if (!args
) SWIG_fail
;
9336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9337 if (!SWIG_IsOK(res1
)) {
9338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9340 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 result
= (int)(arg1
)->GetWidth();
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 resultobj
= SWIG_From_int(static_cast< int >(result
));
9354 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9355 PyObject
*resultobj
= 0;
9356 wxIcon
*arg1
= (wxIcon
*) 0 ;
9360 PyObject
*swig_obj
[1] ;
9362 if (!args
) SWIG_fail
;
9364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9365 if (!SWIG_IsOK(res1
)) {
9366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9368 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 result
= (int)(arg1
)->GetHeight();
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 resultobj
= SWIG_From_int(static_cast< int >(result
));
9382 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9383 PyObject
*resultobj
= 0;
9384 wxIcon
*arg1
= (wxIcon
*) 0 ;
9388 PyObject
*swig_obj
[1] ;
9390 if (!args
) SWIG_fail
;
9392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9393 if (!SWIG_IsOK(res1
)) {
9394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9396 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 result
= (int)(arg1
)->GetDepth();
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= SWIG_From_int(static_cast< int >(result
));
9410 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
= 0;
9412 wxIcon
*arg1
= (wxIcon
*) 0 ;
9418 PyObject
* obj0
= 0 ;
9419 PyObject
* obj1
= 0 ;
9420 char * kwnames
[] = {
9421 (char *) "self",(char *) "w", NULL
9424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9426 if (!SWIG_IsOK(res1
)) {
9427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9429 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9431 if (!SWIG_IsOK(ecode2
)) {
9432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9434 arg2
= static_cast< int >(val2
);
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 (arg1
)->SetWidth(arg2
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= SWIG_Py_Void();
9448 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
*resultobj
= 0;
9450 wxIcon
*arg1
= (wxIcon
*) 0 ;
9456 PyObject
* obj0
= 0 ;
9457 PyObject
* obj1
= 0 ;
9458 char * kwnames
[] = {
9459 (char *) "self",(char *) "h", NULL
9462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9464 if (!SWIG_IsOK(res1
)) {
9465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9467 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9469 if (!SWIG_IsOK(ecode2
)) {
9470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9472 arg2
= static_cast< int >(val2
);
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 (arg1
)->SetHeight(arg2
);
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9479 resultobj
= SWIG_Py_Void();
9486 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9487 PyObject
*resultobj
= 0;
9488 wxIcon
*arg1
= (wxIcon
*) 0 ;
9494 PyObject
* obj0
= 0 ;
9495 PyObject
* obj1
= 0 ;
9496 char * kwnames
[] = {
9497 (char *) "self",(char *) "d", NULL
9500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9502 if (!SWIG_IsOK(res1
)) {
9503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9505 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9507 if (!SWIG_IsOK(ecode2
)) {
9508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9510 arg2
= static_cast< int >(val2
);
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 (arg1
)->SetDepth(arg2
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= SWIG_Py_Void();
9524 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9525 PyObject
*resultobj
= 0;
9526 wxIcon
*arg1
= (wxIcon
*) 0 ;
9527 wxBitmap
*arg2
= 0 ;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9534 char * kwnames
[] = {
9535 (char *) "self",(char *) "bmp", NULL
9538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9540 if (!SWIG_IsOK(res1
)) {
9541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9543 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9544 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9545 if (!SWIG_IsOK(res2
)) {
9546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9551 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= SWIG_Py_Void();
9565 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9568 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9569 return SWIG_Py_Void();
9572 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9573 return SWIG_Python_InitShadowInstance(args
);
9576 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
= 0;
9578 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9579 int arg2
= (int) 0 ;
9580 wxIconLocation
*result
= 0 ;
9581 bool temp1
= false ;
9584 PyObject
* obj0
= 0 ;
9585 PyObject
* obj1
= 0 ;
9586 char * kwnames
[] = {
9587 (char *) "filename",(char *) "num", NULL
9590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9593 arg1
= wxString_in_helper(obj0
);
9594 if (arg1
== NULL
) SWIG_fail
;
9599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9600 if (!SWIG_IsOK(ecode2
)) {
9601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9603 arg2
= static_cast< int >(val2
);
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9626 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9627 PyObject
*resultobj
= 0;
9628 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9631 PyObject
*swig_obj
[1] ;
9633 if (!args
) SWIG_fail
;
9635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9636 if (!SWIG_IsOK(res1
)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9639 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= SWIG_Py_Void();
9654 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9655 PyObject
*resultobj
= 0;
9656 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9660 PyObject
*swig_obj
[1] ;
9662 if (!args
) SWIG_fail
;
9664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9665 if (!SWIG_IsOK(res1
)) {
9666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9668 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9684 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
= 0;
9686 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9687 wxString
*arg2
= 0 ;
9690 bool temp2
= false ;
9691 PyObject
* obj0
= 0 ;
9692 PyObject
* obj1
= 0 ;
9693 char * kwnames
[] = {
9694 (char *) "self",(char *) "filename", NULL
9697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9699 if (!SWIG_IsOK(res1
)) {
9700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9702 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9704 arg2
= wxString_in_helper(obj1
);
9705 if (arg2
== NULL
) SWIG_fail
;
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 (arg1
)->SetFileName((wxString
const &)*arg2
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9714 resultobj
= SWIG_Py_Void();
9729 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9730 PyObject
*resultobj
= 0;
9731 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9732 wxString
*result
= 0 ;
9735 PyObject
*swig_obj
[1] ;
9737 if (!args
) SWIG_fail
;
9739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9740 if (!SWIG_IsOK(res1
)) {
9741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9743 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9748 result
= (wxString
*) &_result_ref
;
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9755 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9757 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9766 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
= 0;
9768 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9774 PyObject
* obj0
= 0 ;
9775 PyObject
* obj1
= 0 ;
9776 char * kwnames
[] = {
9777 (char *) "self",(char *) "num", NULL
9780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9782 if (!SWIG_IsOK(res1
)) {
9783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9785 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9787 if (!SWIG_IsOK(ecode2
)) {
9788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9790 arg2
= static_cast< int >(val2
);
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 wxIconLocation_SetIndex(arg1
,arg2
);
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= SWIG_Py_Void();
9804 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9805 PyObject
*resultobj
= 0;
9806 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9810 PyObject
*swig_obj
[1] ;
9812 if (!args
) SWIG_fail
;
9814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9815 if (!SWIG_IsOK(res1
)) {
9816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9818 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 result
= (int)wxIconLocation_GetIndex(arg1
);
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 resultobj
= SWIG_From_int(static_cast< int >(result
));
9832 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9835 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9836 return SWIG_Py_Void();
9839 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9840 return SWIG_Python_InitShadowInstance(args
);
9843 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9844 PyObject
*resultobj
= 0;
9845 wxIconBundle
*result
= 0 ;
9847 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 result
= (wxIconBundle
*)new wxIconBundle();
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9861 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
= 0;
9863 wxString
*arg1
= 0 ;
9865 wxIconBundle
*result
= 0 ;
9866 bool temp1
= false ;
9869 PyObject
* obj0
= 0 ;
9870 PyObject
* obj1
= 0 ;
9871 char * kwnames
[] = {
9872 (char *) "file",(char *) "type", NULL
9875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9877 arg1
= wxString_in_helper(obj0
);
9878 if (arg1
== NULL
) SWIG_fail
;
9881 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9882 if (!SWIG_IsOK(ecode2
)) {
9883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9885 arg2
= static_cast< long >(val2
);
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9907 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
= 0;
9910 wxIconBundle
*result
= 0 ;
9913 PyObject
* obj0
= 0 ;
9914 char * kwnames
[] = {
9915 (char *) "icon", NULL
9918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9919 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9920 if (!SWIG_IsOK(res1
)) {
9921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9924 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9926 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9940 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9941 PyObject
*resultobj
= 0;
9942 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9945 PyObject
*swig_obj
[1] ;
9947 if (!args
) SWIG_fail
;
9949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9950 if (!SWIG_IsOK(res1
)) {
9951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9953 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= SWIG_Py_Void();
9968 SWIGINTERN PyObject
*_wrap_IconBundle_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9969 PyObject
*resultobj
= 0;
9970 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9974 PyObject
*swig_obj
[1] ;
9976 if (!args
) SWIG_fail
;
9978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9979 if (!SWIG_IsOK(res1
)) {
9980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_IsOk" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9982 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 result
= (bool)((wxIconBundle
const *)arg1
)->IsOk();
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9998 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
*resultobj
= 0;
10000 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10006 PyObject
* obj0
= 0 ;
10007 PyObject
* obj1
= 0 ;
10008 char * kwnames
[] = {
10009 (char *) "self",(char *) "icon", NULL
10012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10014 if (!SWIG_IsOK(res1
)) {
10015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10017 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10018 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10019 if (!SWIG_IsOK(res2
)) {
10020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10025 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 resultobj
= SWIG_Py_Void();
10039 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
= 0;
10041 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10042 wxString
*arg2
= 0 ;
10046 bool temp2
= false ;
10049 PyObject
* obj0
= 0 ;
10050 PyObject
* obj1
= 0 ;
10051 PyObject
* obj2
= 0 ;
10052 char * kwnames
[] = {
10053 (char *) "self",(char *) "file",(char *) "type", NULL
10056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10058 if (!SWIG_IsOK(res1
)) {
10059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10061 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10063 arg2
= wxString_in_helper(obj1
);
10064 if (arg2
== NULL
) SWIG_fail
;
10067 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10068 if (!SWIG_IsOK(ecode3
)) {
10069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10071 arg3
= static_cast< long >(val3
);
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= SWIG_Py_Void();
10093 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10094 PyObject
*resultobj
= 0;
10095 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10097 wxIcon
*result
= 0 ;
10101 PyObject
* obj0
= 0 ;
10102 PyObject
* obj1
= 0 ;
10103 char * kwnames
[] = {
10104 (char *) "self",(char *) "size", NULL
10107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10109 if (!SWIG_IsOK(res1
)) {
10110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10112 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10115 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10121 result
= (wxIcon
*) &_result_ref
;
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10127 wxIcon
* resultptr
= new wxIcon(*result
);
10128 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10136 SWIGINTERN PyObject
*_wrap_IconBundle_GetIconOfExactSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
= 0;
10138 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10144 PyObject
* obj0
= 0 ;
10145 PyObject
* obj1
= 0 ;
10146 char * kwnames
[] = {
10147 (char *) "self",(char *) "size", NULL
10150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIconOfExactSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10152 if (!SWIG_IsOK(res1
)) {
10153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIconOfExactSize" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10155 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10158 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 result
= ((wxIconBundle
const *)arg1
)->GetIconOfExactSize((wxSize
const &)*arg2
);
10163 wxPyEndAllowThreads(__tstate
);
10164 if (PyErr_Occurred()) SWIG_fail
;
10166 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
10173 SWIGINTERN PyObject
*_wrap_IconBundle_GetIconCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10174 PyObject
*resultobj
= 0;
10175 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10179 PyObject
*swig_obj
[1] ;
10181 if (!args
) SWIG_fail
;
10182 swig_obj
[0] = args
;
10183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10184 if (!SWIG_IsOK(res1
)) {
10185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIconCount" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10187 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (size_t)((wxIconBundle
const *)arg1
)->GetIconCount();
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10194 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10201 SWIGINTERN PyObject
*_wrap_IconBundle_GetIconByIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10202 PyObject
*resultobj
= 0;
10203 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10210 PyObject
* obj0
= 0 ;
10211 PyObject
* obj1
= 0 ;
10212 char * kwnames
[] = {
10213 (char *) "self",(char *) "n", NULL
10216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIconByIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10218 if (!SWIG_IsOK(res1
)) {
10219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIconByIndex" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10221 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10222 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10223 if (!SWIG_IsOK(ecode2
)) {
10224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconBundle_GetIconByIndex" "', expected argument " "2"" of type '" "size_t""'");
10226 arg2
= static_cast< size_t >(val2
);
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 result
= ((wxIconBundle
const *)arg1
)->GetIconByIndex(arg2
);
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
10240 SWIGINTERN PyObject
*_wrap_IconBundle_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10241 PyObject
*resultobj
= 0;
10242 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10246 PyObject
*swig_obj
[1] ;
10248 if (!args
) SWIG_fail
;
10249 swig_obj
[0] = args
;
10250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10251 if (!SWIG_IsOK(res1
)) {
10252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_IsEmpty" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10254 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 result
= (bool)((wxIconBundle
const *)arg1
)->IsEmpty();
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10270 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10273 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10274 return SWIG_Py_Void();
10277 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10278 return SWIG_Python_InitShadowInstance(args
);
10281 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
= 0;
10283 wxString
*arg1
= 0 ;
10285 int arg3
= (int) 0 ;
10286 int arg4
= (int) 0 ;
10287 wxCursor
*result
= 0 ;
10288 bool temp1
= false ;
10295 PyObject
* obj0
= 0 ;
10296 PyObject
* obj1
= 0 ;
10297 PyObject
* obj2
= 0 ;
10298 PyObject
* obj3
= 0 ;
10299 char * kwnames
[] = {
10300 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10305 arg1
= wxString_in_helper(obj0
);
10306 if (arg1
== NULL
) SWIG_fail
;
10309 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10310 if (!SWIG_IsOK(ecode2
)) {
10311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10313 arg2
= static_cast< long >(val2
);
10315 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10316 if (!SWIG_IsOK(ecode3
)) {
10317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10319 arg3
= static_cast< int >(val3
);
10322 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10323 if (!SWIG_IsOK(ecode4
)) {
10324 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10326 arg4
= static_cast< int >(val4
);
10329 if (!wxPyCheckForApp()) SWIG_fail
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10350 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10351 PyObject
*resultobj
= 0;
10352 wxCursor
*arg1
= (wxCursor
*) 0 ;
10355 PyObject
*swig_obj
[1] ;
10357 if (!args
) SWIG_fail
;
10358 swig_obj
[0] = args
;
10359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10360 if (!SWIG_IsOK(res1
)) {
10361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10363 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10371 resultobj
= SWIG_Py_Void();
10378 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
= 0;
10381 wxCursor
*result
= 0 ;
10384 PyObject
* obj0
= 0 ;
10385 char * kwnames
[] = {
10386 (char *) "id", NULL
10389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10390 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10391 if (!SWIG_IsOK(ecode1
)) {
10392 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10394 arg1
= static_cast< int >(val1
);
10396 if (!wxPyCheckForApp()) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 result
= (wxCursor
*)new wxCursor(arg1
);
10399 wxPyEndAllowThreads(__tstate
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10409 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
*resultobj
= 0;
10411 wxImage
*arg1
= 0 ;
10412 wxCursor
*result
= 0 ;
10415 PyObject
* obj0
= 0 ;
10416 char * kwnames
[] = {
10417 (char *) "image", NULL
10420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10421 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10422 if (!SWIG_IsOK(res1
)) {
10423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10428 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10430 if (!wxPyCheckForApp()) SWIG_fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10443 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10444 PyObject
*resultobj
= 0;
10445 wxCursor
*arg1
= (wxCursor
*) 0 ;
10449 PyObject
*swig_obj
[1] ;
10451 if (!args
) SWIG_fail
;
10452 swig_obj
[0] = args
;
10453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10454 if (!SWIG_IsOK(res1
)) {
10455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10457 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 result
= (bool)(arg1
)->IsOk();
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10473 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10475 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10476 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10477 return SWIG_Py_Void();
10480 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10481 return SWIG_Python_InitShadowInstance(args
);
10484 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
= 0;
10486 int arg1
= (int) 0 ;
10487 int arg2
= (int) 0 ;
10488 int arg3
= (int) 0 ;
10489 int arg4
= (int) 0 ;
10490 wxRegion
*result
= 0 ;
10499 PyObject
* obj0
= 0 ;
10500 PyObject
* obj1
= 0 ;
10501 PyObject
* obj2
= 0 ;
10502 PyObject
* obj3
= 0 ;
10503 char * kwnames
[] = {
10504 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10509 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10510 if (!SWIG_IsOK(ecode1
)) {
10511 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10513 arg1
= static_cast< int >(val1
);
10516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10517 if (!SWIG_IsOK(ecode2
)) {
10518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10520 arg2
= static_cast< int >(val2
);
10523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10524 if (!SWIG_IsOK(ecode3
)) {
10525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10527 arg3
= static_cast< int >(val3
);
10530 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10531 if (!SWIG_IsOK(ecode4
)) {
10532 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10534 arg4
= static_cast< int >(val4
);
10537 if (!wxPyCheckForApp()) SWIG_fail
;
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10550 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
= 0;
10552 wxBitmap
*arg1
= 0 ;
10553 wxRegion
*result
= 0 ;
10556 PyObject
* obj0
= 0 ;
10557 char * kwnames
[] = {
10558 (char *) "bmp", NULL
10561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10562 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10563 if (!SWIG_IsOK(res1
)) {
10564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10569 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10571 if (!wxPyCheckForApp()) SWIG_fail
;
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10584 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
= 0;
10586 wxBitmap
*arg1
= 0 ;
10587 wxColour
*arg2
= 0 ;
10588 int arg3
= (int) 0 ;
10589 wxRegion
*result
= 0 ;
10595 PyObject
* obj0
= 0 ;
10596 PyObject
* obj1
= 0 ;
10597 PyObject
* obj2
= 0 ;
10598 char * kwnames
[] = {
10599 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10603 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10604 if (!SWIG_IsOK(res1
)) {
10605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10610 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10613 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10617 if (!SWIG_IsOK(ecode3
)) {
10618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10620 arg3
= static_cast< int >(val3
);
10623 if (!wxPyCheckForApp()) SWIG_fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10636 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
= 0;
10639 wxPoint
*arg2
= (wxPoint
*) 0 ;
10640 int arg3
= (int) wxWINDING_RULE
;
10641 wxRegion
*result
= 0 ;
10644 PyObject
* obj0
= 0 ;
10645 PyObject
* obj1
= 0 ;
10646 char * kwnames
[] = {
10647 (char *) "points",(char *) "fillStyle", NULL
10650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10652 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10653 if (arg2
== NULL
) SWIG_fail
;
10656 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10657 if (!SWIG_IsOK(ecode3
)) {
10658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10660 arg3
= static_cast< int >(val3
);
10663 if (!wxPyCheckForApp()) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10671 if (arg2
) delete [] arg2
;
10676 if (arg2
) delete [] arg2
;
10682 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10683 PyObject
*resultobj
= 0;
10684 wxRegion
*arg1
= (wxRegion
*) 0 ;
10687 PyObject
*swig_obj
[1] ;
10689 if (!args
) SWIG_fail
;
10690 swig_obj
[0] = args
;
10691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10692 if (!SWIG_IsOK(res1
)) {
10693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10695 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10700 wxPyEndAllowThreads(__tstate
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10703 resultobj
= SWIG_Py_Void();
10710 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10711 PyObject
*resultobj
= 0;
10712 wxRegion
*arg1
= (wxRegion
*) 0 ;
10715 PyObject
*swig_obj
[1] ;
10717 if (!args
) SWIG_fail
;
10718 swig_obj
[0] = args
;
10719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10720 if (!SWIG_IsOK(res1
)) {
10721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10723 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= SWIG_Py_Void();
10737 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
= 0;
10739 wxRegion
*arg1
= (wxRegion
*) 0 ;
10749 PyObject
* obj0
= 0 ;
10750 PyObject
* obj1
= 0 ;
10751 PyObject
* obj2
= 0 ;
10752 char * kwnames
[] = {
10753 (char *) "self",(char *) "x",(char *) "y", NULL
10756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10758 if (!SWIG_IsOK(res1
)) {
10759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10761 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10763 if (!SWIG_IsOK(ecode2
)) {
10764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10766 arg2
= static_cast< int >(val2
);
10767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10768 if (!SWIG_IsOK(ecode3
)) {
10769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10771 arg3
= static_cast< int >(val3
);
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10787 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
= 0;
10789 wxRegion
*arg1
= (wxRegion
*) 0 ;
10792 wxRegionContain result
;
10799 PyObject
* obj0
= 0 ;
10800 PyObject
* obj1
= 0 ;
10801 PyObject
* obj2
= 0 ;
10802 char * kwnames
[] = {
10803 (char *) "self",(char *) "x",(char *) "y", NULL
10806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10808 if (!SWIG_IsOK(res1
)) {
10809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10811 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10813 if (!SWIG_IsOK(ecode2
)) {
10814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10816 arg2
= static_cast< int >(val2
);
10817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10818 if (!SWIG_IsOK(ecode3
)) {
10819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10821 arg3
= static_cast< int >(val3
);
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= SWIG_From_int(static_cast< int >(result
));
10835 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
= 0;
10837 wxRegion
*arg1
= (wxRegion
*) 0 ;
10838 wxPoint
*arg2
= 0 ;
10839 wxRegionContain result
;
10843 PyObject
* obj0
= 0 ;
10844 PyObject
* obj1
= 0 ;
10845 char * kwnames
[] = {
10846 (char *) "self",(char *) "pt", NULL
10849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10851 if (!SWIG_IsOK(res1
)) {
10852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10854 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10857 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10865 resultobj
= SWIG_From_int(static_cast< int >(result
));
10872 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10873 PyObject
*resultobj
= 0;
10874 wxRegion
*arg1
= (wxRegion
*) 0 ;
10876 wxRegionContain result
;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 char * kwnames
[] = {
10883 (char *) "self",(char *) "rect", NULL
10886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10888 if (!SWIG_IsOK(res1
)) {
10889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10891 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10894 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10898 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10899 wxPyEndAllowThreads(__tstate
);
10900 if (PyErr_Occurred()) SWIG_fail
;
10902 resultobj
= SWIG_From_int(static_cast< int >(result
));
10909 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10910 PyObject
*resultobj
= 0;
10911 wxRegion
*arg1
= (wxRegion
*) 0 ;
10916 wxRegionContain result
;
10927 PyObject
* obj0
= 0 ;
10928 PyObject
* obj1
= 0 ;
10929 PyObject
* obj2
= 0 ;
10930 PyObject
* obj3
= 0 ;
10931 PyObject
* obj4
= 0 ;
10932 char * kwnames
[] = {
10933 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10938 if (!SWIG_IsOK(res1
)) {
10939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10941 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10943 if (!SWIG_IsOK(ecode2
)) {
10944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10946 arg2
= static_cast< int >(val2
);
10947 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10948 if (!SWIG_IsOK(ecode3
)) {
10949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10951 arg3
= static_cast< int >(val3
);
10952 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10953 if (!SWIG_IsOK(ecode4
)) {
10954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10956 arg4
= static_cast< int >(val4
);
10957 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10958 if (!SWIG_IsOK(ecode5
)) {
10959 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10961 arg5
= static_cast< int >(val5
);
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) SWIG_fail
;
10968 resultobj
= SWIG_From_int(static_cast< int >(result
));
10975 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10976 PyObject
*resultobj
= 0;
10977 wxRegion
*arg1
= (wxRegion
*) 0 ;
10981 PyObject
*swig_obj
[1] ;
10983 if (!args
) SWIG_fail
;
10984 swig_obj
[0] = args
;
10985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10986 if (!SWIG_IsOK(res1
)) {
10987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10989 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 result
= (arg1
)->GetBox();
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10996 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11003 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
= 0;
11005 wxRegion
*arg1
= (wxRegion
*) 0 ;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 PyObject
* obj2
= 0 ;
11024 PyObject
* obj3
= 0 ;
11025 PyObject
* obj4
= 0 ;
11026 char * kwnames
[] = {
11027 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11032 if (!SWIG_IsOK(res1
)) {
11033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11035 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11037 if (!SWIG_IsOK(ecode2
)) {
11038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11040 arg2
= static_cast< int >(val2
);
11041 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11042 if (!SWIG_IsOK(ecode3
)) {
11043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11045 arg3
= static_cast< int >(val3
);
11046 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11047 if (!SWIG_IsOK(ecode4
)) {
11048 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11050 arg4
= static_cast< int >(val4
);
11051 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11052 if (!SWIG_IsOK(ecode5
)) {
11053 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11055 arg5
= static_cast< int >(val5
);
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11071 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
= 0;
11073 wxRegion
*arg1
= (wxRegion
*) 0 ;
11079 PyObject
* obj0
= 0 ;
11080 PyObject
* obj1
= 0 ;
11081 char * kwnames
[] = {
11082 (char *) "self",(char *) "rect", NULL
11085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11087 if (!SWIG_IsOK(res1
)) {
11088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11090 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11093 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11110 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
= 0;
11112 wxRegion
*arg1
= (wxRegion
*) 0 ;
11113 wxRegion
*arg2
= 0 ;
11119 PyObject
* obj0
= 0 ;
11120 PyObject
* obj1
= 0 ;
11121 char * kwnames
[] = {
11122 (char *) "self",(char *) "region", NULL
11125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11127 if (!SWIG_IsOK(res1
)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11130 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11132 if (!SWIG_IsOK(res2
)) {
11133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11138 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11154 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11155 PyObject
*resultobj
= 0;
11156 wxRegion
*arg1
= (wxRegion
*) 0 ;
11160 PyObject
*swig_obj
[1] ;
11162 if (!args
) SWIG_fail
;
11163 swig_obj
[0] = args
;
11164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11165 if (!SWIG_IsOK(res1
)) {
11166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11168 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 result
= (bool)(arg1
)->IsEmpty();
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11184 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
= 0;
11186 wxRegion
*arg1
= (wxRegion
*) 0 ;
11187 wxRegion
*arg2
= 0 ;
11193 PyObject
* obj0
= 0 ;
11194 PyObject
* obj1
= 0 ;
11195 char * kwnames
[] = {
11196 (char *) "self",(char *) "region", NULL
11199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11201 if (!SWIG_IsOK(res1
)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11204 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11205 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11206 if (!SWIG_IsOK(res2
)) {
11207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11212 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11228 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
= 0;
11230 wxRegion
*arg1
= (wxRegion
*) 0 ;
11246 PyObject
* obj0
= 0 ;
11247 PyObject
* obj1
= 0 ;
11248 PyObject
* obj2
= 0 ;
11249 PyObject
* obj3
= 0 ;
11250 PyObject
* obj4
= 0 ;
11251 char * kwnames
[] = {
11252 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11257 if (!SWIG_IsOK(res1
)) {
11258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11260 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11262 if (!SWIG_IsOK(ecode2
)) {
11263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11265 arg2
= static_cast< int >(val2
);
11266 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11267 if (!SWIG_IsOK(ecode3
)) {
11268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11270 arg3
= static_cast< int >(val3
);
11271 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11272 if (!SWIG_IsOK(ecode4
)) {
11273 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11275 arg4
= static_cast< int >(val4
);
11276 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11277 if (!SWIG_IsOK(ecode5
)) {
11278 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11280 arg5
= static_cast< int >(val5
);
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11296 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11297 PyObject
*resultobj
= 0;
11298 wxRegion
*arg1
= (wxRegion
*) 0 ;
11304 PyObject
* obj0
= 0 ;
11305 PyObject
* obj1
= 0 ;
11306 char * kwnames
[] = {
11307 (char *) "self",(char *) "rect", NULL
11310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11312 if (!SWIG_IsOK(res1
)) {
11313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11315 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11318 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11335 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
*resultobj
= 0;
11337 wxRegion
*arg1
= (wxRegion
*) 0 ;
11338 wxRegion
*arg2
= 0 ;
11344 PyObject
* obj0
= 0 ;
11345 PyObject
* obj1
= 0 ;
11346 char * kwnames
[] = {
11347 (char *) "self",(char *) "region", NULL
11350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11352 if (!SWIG_IsOK(res1
)) {
11353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11355 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11356 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11357 if (!SWIG_IsOK(res2
)) {
11358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11363 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11366 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11379 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
= 0;
11381 wxRegion
*arg1
= (wxRegion
*) 0 ;
11397 PyObject
* obj0
= 0 ;
11398 PyObject
* obj1
= 0 ;
11399 PyObject
* obj2
= 0 ;
11400 PyObject
* obj3
= 0 ;
11401 PyObject
* obj4
= 0 ;
11402 char * kwnames
[] = {
11403 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11408 if (!SWIG_IsOK(res1
)) {
11409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11411 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11413 if (!SWIG_IsOK(ecode2
)) {
11414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11416 arg2
= static_cast< int >(val2
);
11417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11418 if (!SWIG_IsOK(ecode3
)) {
11419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11421 arg3
= static_cast< int >(val3
);
11422 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11423 if (!SWIG_IsOK(ecode4
)) {
11424 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11426 arg4
= static_cast< int >(val4
);
11427 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11428 if (!SWIG_IsOK(ecode5
)) {
11429 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11431 arg5
= static_cast< int >(val5
);
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11447 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11448 PyObject
*resultobj
= 0;
11449 wxRegion
*arg1
= (wxRegion
*) 0 ;
11455 PyObject
* obj0
= 0 ;
11456 PyObject
* obj1
= 0 ;
11457 char * kwnames
[] = {
11458 (char *) "self",(char *) "rect", NULL
11461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11463 if (!SWIG_IsOK(res1
)) {
11464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11466 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11469 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11486 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11487 PyObject
*resultobj
= 0;
11488 wxRegion
*arg1
= (wxRegion
*) 0 ;
11489 wxRegion
*arg2
= 0 ;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 char * kwnames
[] = {
11498 (char *) "self",(char *) "region", NULL
11501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11503 if (!SWIG_IsOK(res1
)) {
11504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11506 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11507 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11508 if (!SWIG_IsOK(res2
)) {
11509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11514 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11530 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
= 0;
11532 wxRegion
*arg1
= (wxRegion
*) 0 ;
11548 PyObject
* obj0
= 0 ;
11549 PyObject
* obj1
= 0 ;
11550 PyObject
* obj2
= 0 ;
11551 PyObject
* obj3
= 0 ;
11552 PyObject
* obj4
= 0 ;
11553 char * kwnames
[] = {
11554 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11559 if (!SWIG_IsOK(res1
)) {
11560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11562 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11564 if (!SWIG_IsOK(ecode2
)) {
11565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11567 arg2
= static_cast< int >(val2
);
11568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11569 if (!SWIG_IsOK(ecode3
)) {
11570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11572 arg3
= static_cast< int >(val3
);
11573 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11574 if (!SWIG_IsOK(ecode4
)) {
11575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11577 arg4
= static_cast< int >(val4
);
11578 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11579 if (!SWIG_IsOK(ecode5
)) {
11580 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11582 arg5
= static_cast< int >(val5
);
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11598 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
= 0;
11600 wxRegion
*arg1
= (wxRegion
*) 0 ;
11606 PyObject
* obj0
= 0 ;
11607 PyObject
* obj1
= 0 ;
11608 char * kwnames
[] = {
11609 (char *) "self",(char *) "rect", NULL
11612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11614 if (!SWIG_IsOK(res1
)) {
11615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11617 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11620 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11625 wxPyEndAllowThreads(__tstate
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11637 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11638 PyObject
*resultobj
= 0;
11639 wxRegion
*arg1
= (wxRegion
*) 0 ;
11640 wxRegion
*arg2
= 0 ;
11646 PyObject
* obj0
= 0 ;
11647 PyObject
* obj1
= 0 ;
11648 char * kwnames
[] = {
11649 (char *) "self",(char *) "region", NULL
11652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11654 if (!SWIG_IsOK(res1
)) {
11655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11657 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11659 if (!SWIG_IsOK(res2
)) {
11660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11665 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11681 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11682 PyObject
*resultobj
= 0;
11683 wxRegion
*arg1
= (wxRegion
*) 0 ;
11684 SwigValueWrapper
<wxBitmap
> result
;
11687 PyObject
*swig_obj
[1] ;
11689 if (!args
) SWIG_fail
;
11690 swig_obj
[0] = args
;
11691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11692 if (!SWIG_IsOK(res1
)) {
11693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11695 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 result
= (arg1
)->ConvertToBitmap();
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11709 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11710 PyObject
*resultobj
= 0;
11711 wxRegion
*arg1
= (wxRegion
*) 0 ;
11712 wxBitmap
*arg2
= 0 ;
11718 PyObject
* obj0
= 0 ;
11719 PyObject
* obj1
= 0 ;
11720 char * kwnames
[] = {
11721 (char *) "self",(char *) "bmp", NULL
11724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11726 if (!SWIG_IsOK(res1
)) {
11727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11729 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11730 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11731 if (!SWIG_IsOK(res2
)) {
11732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11737 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11753 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
= 0;
11755 wxRegion
*arg1
= (wxRegion
*) 0 ;
11756 wxBitmap
*arg2
= 0 ;
11757 wxColour
*arg3
= 0 ;
11758 int arg4
= (int) 0 ;
11767 PyObject
* obj0
= 0 ;
11768 PyObject
* obj1
= 0 ;
11769 PyObject
* obj2
= 0 ;
11770 PyObject
* obj3
= 0 ;
11771 char * kwnames
[] = {
11772 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11777 if (!SWIG_IsOK(res1
)) {
11778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11780 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11781 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11782 if (!SWIG_IsOK(res2
)) {
11783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11788 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11791 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11794 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11795 if (!SWIG_IsOK(ecode4
)) {
11796 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11798 arg4
= static_cast< int >(val4
);
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11815 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11817 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11818 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11819 return SWIG_Py_Void();
11822 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11823 return SWIG_Python_InitShadowInstance(args
);
11826 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
= 0;
11828 wxRegion
*arg1
= 0 ;
11829 wxRegionIterator
*result
= 0 ;
11832 PyObject
* obj0
= 0 ;
11833 char * kwnames
[] = {
11834 (char *) "region", NULL
11837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11838 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11839 if (!SWIG_IsOK(res1
)) {
11840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11845 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11847 if (!wxPyCheckForApp()) SWIG_fail
;
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11860 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11861 PyObject
*resultobj
= 0;
11862 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11865 PyObject
*swig_obj
[1] ;
11867 if (!args
) SWIG_fail
;
11868 swig_obj
[0] = args
;
11869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11870 if (!SWIG_IsOK(res1
)) {
11871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11873 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= SWIG_Py_Void();
11888 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11889 PyObject
*resultobj
= 0;
11890 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11894 PyObject
*swig_obj
[1] ;
11896 if (!args
) SWIG_fail
;
11897 swig_obj
[0] = args
;
11898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11899 if (!SWIG_IsOK(res1
)) {
11900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11902 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= (int)(arg1
)->GetX();
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11909 resultobj
= SWIG_From_int(static_cast< int >(result
));
11916 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11917 PyObject
*resultobj
= 0;
11918 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11922 PyObject
*swig_obj
[1] ;
11924 if (!args
) SWIG_fail
;
11925 swig_obj
[0] = args
;
11926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11927 if (!SWIG_IsOK(res1
)) {
11928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11930 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11933 result
= (int)(arg1
)->GetY();
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11937 resultobj
= SWIG_From_int(static_cast< int >(result
));
11944 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11945 PyObject
*resultobj
= 0;
11946 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11950 PyObject
*swig_obj
[1] ;
11952 if (!args
) SWIG_fail
;
11953 swig_obj
[0] = args
;
11954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11955 if (!SWIG_IsOK(res1
)) {
11956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11958 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 result
= (int)(arg1
)->GetW();
11962 wxPyEndAllowThreads(__tstate
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11965 resultobj
= SWIG_From_int(static_cast< int >(result
));
11972 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11973 PyObject
*resultobj
= 0;
11974 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11978 PyObject
*swig_obj
[1] ;
11980 if (!args
) SWIG_fail
;
11981 swig_obj
[0] = args
;
11982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11983 if (!SWIG_IsOK(res1
)) {
11984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11986 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 result
= (int)(arg1
)->GetWidth();
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= SWIG_From_int(static_cast< int >(result
));
12000 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12001 PyObject
*resultobj
= 0;
12002 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12006 PyObject
*swig_obj
[1] ;
12008 if (!args
) SWIG_fail
;
12009 swig_obj
[0] = args
;
12010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12011 if (!SWIG_IsOK(res1
)) {
12012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12014 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 result
= (int)(arg1
)->GetH();
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12021 resultobj
= SWIG_From_int(static_cast< int >(result
));
12028 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12029 PyObject
*resultobj
= 0;
12030 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12034 PyObject
*swig_obj
[1] ;
12036 if (!args
) SWIG_fail
;
12037 swig_obj
[0] = args
;
12038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12039 if (!SWIG_IsOK(res1
)) {
12040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12042 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 result
= (int)(arg1
)->GetHeight();
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= SWIG_From_int(static_cast< int >(result
));
12056 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12057 PyObject
*resultobj
= 0;
12058 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12062 PyObject
*swig_obj
[1] ;
12064 if (!args
) SWIG_fail
;
12065 swig_obj
[0] = args
;
12066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12067 if (!SWIG_IsOK(res1
)) {
12068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12070 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 result
= (arg1
)->GetRect();
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12084 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12085 PyObject
*resultobj
= 0;
12086 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12090 PyObject
*swig_obj
[1] ;
12092 if (!args
) SWIG_fail
;
12093 swig_obj
[0] = args
;
12094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12095 if (!SWIG_IsOK(res1
)) {
12096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12098 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 result
= (bool)(arg1
)->HaveRects();
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12114 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12115 PyObject
*resultobj
= 0;
12116 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12119 PyObject
*swig_obj
[1] ;
12121 if (!args
) SWIG_fail
;
12122 swig_obj
[0] = args
;
12123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12124 if (!SWIG_IsOK(res1
)) {
12125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12127 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12134 resultobj
= SWIG_Py_Void();
12141 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12142 PyObject
*resultobj
= 0;
12143 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12146 PyObject
*swig_obj
[1] ;
12148 if (!args
) SWIG_fail
;
12149 swig_obj
[0] = args
;
12150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12151 if (!SWIG_IsOK(res1
)) {
12152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12154 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 wxRegionIterator_Next(arg1
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= SWIG_Py_Void();
12168 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12169 PyObject
*resultobj
= 0;
12170 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12174 PyObject
*swig_obj
[1] ;
12176 if (!args
) SWIG_fail
;
12177 swig_obj
[0] = args
;
12178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12179 if (!SWIG_IsOK(res1
)) {
12180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12182 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12198 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12200 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12201 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12202 return SWIG_Py_Void();
12205 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12206 return SWIG_Python_InitShadowInstance(args
);
12209 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12210 PyObject
*resultobj
= 0;
12211 wxNativeFontInfo
*result
= 0 ;
12213 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12227 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12228 PyObject
*resultobj
= 0;
12229 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
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
, SWIG_POINTER_DISOWN
| 0 );
12237 if (!SWIG_IsOK(res1
)) {
12238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12240 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 resultobj
= SWIG_Py_Void();
12255 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12256 PyObject
*resultobj
= 0;
12257 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_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12268 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= SWIG_Py_Void();
12282 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
= 0;
12284 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12290 PyObject
* obj0
= 0 ;
12291 PyObject
* obj1
= 0 ;
12292 char * kwnames
[] = {
12293 (char *) "self",(char *) "font", NULL
12296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12298 if (!SWIG_IsOK(res1
)) {
12299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12301 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12302 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12303 if (!SWIG_IsOK(res2
)) {
12304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12309 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12312 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12313 wxPyEndAllowThreads(__tstate
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12316 resultobj
= SWIG_Py_Void();
12323 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12324 PyObject
*resultobj
= 0;
12325 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12329 PyObject
*swig_obj
[1] ;
12331 if (!args
) SWIG_fail
;
12332 swig_obj
[0] = args
;
12333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12334 if (!SWIG_IsOK(res1
)) {
12335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12337 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 resultobj
= SWIG_From_int(static_cast< int >(result
));
12351 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12352 PyObject
*resultobj
= 0;
12353 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12354 wxFontStyle result
;
12357 PyObject
*swig_obj
[1] ;
12359 if (!args
) SWIG_fail
;
12360 swig_obj
[0] = args
;
12361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12362 if (!SWIG_IsOK(res1
)) {
12363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12365 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 resultobj
= SWIG_From_int(static_cast< int >(result
));
12379 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12380 PyObject
*resultobj
= 0;
12381 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12382 wxFontWeight result
;
12385 PyObject
*swig_obj
[1] ;
12387 if (!args
) SWIG_fail
;
12388 swig_obj
[0] = args
;
12389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12390 if (!SWIG_IsOK(res1
)) {
12391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12393 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= SWIG_From_int(static_cast< int >(result
));
12407 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12408 PyObject
*resultobj
= 0;
12409 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12413 PyObject
*swig_obj
[1] ;
12415 if (!args
) SWIG_fail
;
12416 swig_obj
[0] = args
;
12417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12418 if (!SWIG_IsOK(res1
)) {
12419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12421 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12437 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12438 PyObject
*resultobj
= 0;
12439 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12443 PyObject
*swig_obj
[1] ;
12445 if (!args
) SWIG_fail
;
12446 swig_obj
[0] = args
;
12447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12448 if (!SWIG_IsOK(res1
)) {
12449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12451 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12471 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12472 PyObject
*resultobj
= 0;
12473 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12474 wxFontFamily result
;
12477 PyObject
*swig_obj
[1] ;
12479 if (!args
) SWIG_fail
;
12480 swig_obj
[0] = args
;
12481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12482 if (!SWIG_IsOK(res1
)) {
12483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12485 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= SWIG_From_int(static_cast< int >(result
));
12499 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12500 PyObject
*resultobj
= 0;
12501 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12502 wxFontEncoding result
;
12505 PyObject
*swig_obj
[1] ;
12507 if (!args
) SWIG_fail
;
12508 swig_obj
[0] = args
;
12509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12510 if (!SWIG_IsOK(res1
)) {
12511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12513 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12517 wxPyEndAllowThreads(__tstate
);
12518 if (PyErr_Occurred()) SWIG_fail
;
12520 resultobj
= SWIG_From_int(static_cast< int >(result
));
12527 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12528 PyObject
*resultobj
= 0;
12529 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12535 PyObject
* obj0
= 0 ;
12536 PyObject
* obj1
= 0 ;
12537 char * kwnames
[] = {
12538 (char *) "self",(char *) "pointsize", NULL
12541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12543 if (!SWIG_IsOK(res1
)) {
12544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12546 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12548 if (!SWIG_IsOK(ecode2
)) {
12549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12551 arg2
= static_cast< int >(val2
);
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12554 (arg1
)->SetPointSize(arg2
);
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= SWIG_Py_Void();
12565 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
= 0;
12567 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 PyObject
* obj1
= 0 ;
12575 char * kwnames
[] = {
12576 (char *) "self",(char *) "style", NULL
12579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12581 if (!SWIG_IsOK(res1
)) {
12582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12584 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12586 if (!SWIG_IsOK(ecode2
)) {
12587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12589 arg2
= static_cast< wxFontStyle
>(val2
);
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 (arg1
)->SetStyle(arg2
);
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12596 resultobj
= SWIG_Py_Void();
12603 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
= 0;
12605 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12606 wxFontWeight arg2
;
12611 PyObject
* obj0
= 0 ;
12612 PyObject
* obj1
= 0 ;
12613 char * kwnames
[] = {
12614 (char *) "self",(char *) "weight", NULL
12617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12619 if (!SWIG_IsOK(res1
)) {
12620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12622 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12624 if (!SWIG_IsOK(ecode2
)) {
12625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12627 arg2
= static_cast< wxFontWeight
>(val2
);
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 (arg1
)->SetWeight(arg2
);
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 resultobj
= SWIG_Py_Void();
12641 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
*resultobj
= 0;
12643 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12649 PyObject
* obj0
= 0 ;
12650 PyObject
* obj1
= 0 ;
12651 char * kwnames
[] = {
12652 (char *) "self",(char *) "underlined", NULL
12655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12657 if (!SWIG_IsOK(res1
)) {
12658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12660 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12661 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12662 if (!SWIG_IsOK(ecode2
)) {
12663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12665 arg2
= static_cast< bool >(val2
);
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 (arg1
)->SetUnderlined(arg2
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 resultobj
= SWIG_Py_Void();
12679 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
= 0;
12681 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12686 PyObject
* obj0
= 0 ;
12687 PyObject
* obj1
= 0 ;
12688 char * kwnames
[] = {
12689 (char *) "self",(char *) "facename", NULL
12692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12694 if (!SWIG_IsOK(res1
)) {
12695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12697 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12699 wxString
* sptr
= wxString_in_helper(obj1
);
12700 if (sptr
== NULL
) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 result
= (bool)(arg1
)->SetFaceName(arg2
);
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12719 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12720 PyObject
*resultobj
= 0;
12721 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12722 wxFontFamily arg2
;
12727 PyObject
* obj0
= 0 ;
12728 PyObject
* obj1
= 0 ;
12729 char * kwnames
[] = {
12730 (char *) "self",(char *) "family", NULL
12733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12735 if (!SWIG_IsOK(res1
)) {
12736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12738 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12740 if (!SWIG_IsOK(ecode2
)) {
12741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12743 arg2
= static_cast< wxFontFamily
>(val2
);
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 (arg1
)->SetFamily(arg2
);
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= SWIG_Py_Void();
12757 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
= 0;
12759 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12760 wxFontEncoding arg2
;
12765 PyObject
* obj0
= 0 ;
12766 PyObject
* obj1
= 0 ;
12767 char * kwnames
[] = {
12768 (char *) "self",(char *) "encoding", NULL
12771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12773 if (!SWIG_IsOK(res1
)) {
12774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12776 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12778 if (!SWIG_IsOK(ecode2
)) {
12779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12781 arg2
= static_cast< wxFontEncoding
>(val2
);
12783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12784 (arg1
)->SetEncoding(arg2
);
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= SWIG_Py_Void();
12795 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12796 PyObject
*resultobj
= 0;
12797 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12798 wxString
*arg2
= 0 ;
12802 bool temp2
= false ;
12803 PyObject
* obj0
= 0 ;
12804 PyObject
* obj1
= 0 ;
12805 char * kwnames
[] = {
12806 (char *) "self",(char *) "s", NULL
12809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12811 if (!SWIG_IsOK(res1
)) {
12812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12814 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12816 arg2
= wxString_in_helper(obj1
);
12817 if (arg2
== NULL
) SWIG_fail
;
12821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12822 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12823 wxPyEndAllowThreads(__tstate
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12843 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12844 PyObject
*resultobj
= 0;
12845 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12849 PyObject
*swig_obj
[1] ;
12851 if (!args
) SWIG_fail
;
12852 swig_obj
[0] = args
;
12853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12854 if (!SWIG_IsOK(res1
)) {
12855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12857 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12860 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12877 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12878 PyObject
*resultobj
= 0;
12879 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12883 PyObject
*swig_obj
[1] ;
12885 if (!args
) SWIG_fail
;
12886 swig_obj
[0] = args
;
12887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12888 if (!SWIG_IsOK(res1
)) {
12889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12891 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 result
= wxNativeFontInfo___str__(arg1
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12911 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
*resultobj
= 0;
12913 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12914 wxString
*arg2
= 0 ;
12918 bool temp2
= false ;
12919 PyObject
* obj0
= 0 ;
12920 PyObject
* obj1
= 0 ;
12921 char * kwnames
[] = {
12922 (char *) "self",(char *) "s", NULL
12925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12927 if (!SWIG_IsOK(res1
)) {
12928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12930 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12932 arg2
= wxString_in_helper(obj1
);
12933 if (arg2
== NULL
) SWIG_fail
;
12937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12959 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12960 PyObject
*resultobj
= 0;
12961 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12965 PyObject
*swig_obj
[1] ;
12967 if (!args
) SWIG_fail
;
12968 swig_obj
[0] = args
;
12969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12970 if (!SWIG_IsOK(res1
)) {
12971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12973 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12993 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12996 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12997 return SWIG_Py_Void();
13000 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13001 return SWIG_Python_InitShadowInstance(args
);
13004 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13005 PyObject
*resultobj
= 0;
13006 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13007 wxString
*arg2
= (wxString
*) 0 ;
13010 bool temp2
= false ;
13011 PyObject
*swig_obj
[2] ;
13013 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13015 if (!SWIG_IsOK(res1
)) {
13016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13018 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13020 arg2
= wxString_in_helper(swig_obj
[1]);
13021 if (arg2
== NULL
) SWIG_fail
;
13024 if (arg1
) (arg1
)->facename
= *arg2
;
13026 resultobj
= SWIG_Py_Void();
13041 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13042 PyObject
*resultobj
= 0;
13043 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13044 wxString
*result
= 0 ;
13047 PyObject
*swig_obj
[1] ;
13049 if (!args
) SWIG_fail
;
13050 swig_obj
[0] = args
;
13051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13052 if (!SWIG_IsOK(res1
)) {
13053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13055 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13056 result
= (wxString
*)& ((arg1
)->facename
);
13059 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13061 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13070 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13071 PyObject
*resultobj
= 0;
13072 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13073 wxFontEncoding arg2
;
13078 PyObject
*swig_obj
[2] ;
13080 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13082 if (!SWIG_IsOK(res1
)) {
13083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13085 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13086 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13087 if (!SWIG_IsOK(ecode2
)) {
13088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13090 arg2
= static_cast< wxFontEncoding
>(val2
);
13091 if (arg1
) (arg1
)->encoding
= arg2
;
13093 resultobj
= SWIG_Py_Void();
13100 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13101 PyObject
*resultobj
= 0;
13102 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13103 wxFontEncoding result
;
13106 PyObject
*swig_obj
[1] ;
13108 if (!args
) SWIG_fail
;
13109 swig_obj
[0] = args
;
13110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13111 if (!SWIG_IsOK(res1
)) {
13112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13114 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13115 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13116 resultobj
= SWIG_From_int(static_cast< int >(result
));
13123 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13124 PyObject
*resultobj
= 0;
13125 wxNativeEncodingInfo
*result
= 0 ;
13127 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13141 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13142 PyObject
*resultobj
= 0;
13143 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13146 PyObject
*swig_obj
[1] ;
13148 if (!args
) SWIG_fail
;
13149 swig_obj
[0] = args
;
13150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13151 if (!SWIG_IsOK(res1
)) {
13152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13154 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13162 resultobj
= SWIG_Py_Void();
13169 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13170 PyObject
*resultobj
= 0;
13171 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13172 wxString
*arg2
= 0 ;
13176 bool temp2
= false ;
13177 PyObject
* obj0
= 0 ;
13178 PyObject
* obj1
= 0 ;
13179 char * kwnames
[] = {
13180 (char *) "self",(char *) "s", NULL
13183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13185 if (!SWIG_IsOK(res1
)) {
13186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13188 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13190 arg2
= wxString_in_helper(obj1
);
13191 if (arg2
== NULL
) SWIG_fail
;
13195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13196 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13217 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13218 PyObject
*resultobj
= 0;
13219 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13223 PyObject
*swig_obj
[1] ;
13225 if (!args
) SWIG_fail
;
13226 swig_obj
[0] = args
;
13227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13228 if (!SWIG_IsOK(res1
)) {
13229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13231 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13251 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13253 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13254 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13255 return SWIG_Py_Void();
13258 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13259 return SWIG_Python_InitShadowInstance(args
);
13262 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
= 0;
13264 wxFontEncoding arg1
;
13265 wxNativeEncodingInfo
*result
= 0 ;
13268 PyObject
* obj0
= 0 ;
13269 char * kwnames
[] = {
13270 (char *) "encoding", NULL
13273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13274 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13275 if (!SWIG_IsOK(ecode1
)) {
13276 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13278 arg1
= static_cast< wxFontEncoding
>(val1
);
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13292 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
= 0;
13294 wxNativeEncodingInfo
*arg1
= 0 ;
13298 PyObject
* obj0
= 0 ;
13299 char * kwnames
[] = {
13300 (char *) "info", NULL
13303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13304 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13305 if (!SWIG_IsOK(res1
)) {
13306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13311 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13327 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13328 PyObject
*resultobj
= 0;
13329 wxFontMapper
*result
= 0 ;
13331 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 result
= (wxFontMapper
*)new wxFontMapper();
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13345 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13346 PyObject
*resultobj
= 0;
13347 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13350 PyObject
*swig_obj
[1] ;
13352 if (!args
) SWIG_fail
;
13353 swig_obj
[0] = args
;
13354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13355 if (!SWIG_IsOK(res1
)) {
13356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13358 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= SWIG_Py_Void();
13373 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13374 PyObject
*resultobj
= 0;
13375 wxFontMapper
*result
= 0 ;
13377 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 result
= (wxFontMapper
*)wxFontMapper::Get();
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13391 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
*resultobj
= 0;
13393 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13394 wxFontMapper
*result
= 0 ;
13397 PyObject
* obj0
= 0 ;
13398 char * kwnames
[] = {
13399 (char *) "mapper", NULL
13402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13404 if (!SWIG_IsOK(res1
)) {
13405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13407 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13411 wxPyEndAllowThreads(__tstate
);
13412 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13421 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
*resultobj
= 0;
13423 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13424 wxString
*arg2
= 0 ;
13425 bool arg3
= (bool) true ;
13426 wxFontEncoding result
;
13429 bool temp2
= false ;
13432 PyObject
* obj0
= 0 ;
13433 PyObject
* obj1
= 0 ;
13434 PyObject
* obj2
= 0 ;
13435 char * kwnames
[] = {
13436 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13441 if (!SWIG_IsOK(res1
)) {
13442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13444 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13446 arg2
= wxString_in_helper(obj1
);
13447 if (arg2
== NULL
) SWIG_fail
;
13451 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13452 if (!SWIG_IsOK(ecode3
)) {
13453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13455 arg3
= static_cast< bool >(val3
);
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= SWIG_From_int(static_cast< int >(result
));
13478 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13479 PyObject
*resultobj
= 0;
13482 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13489 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13496 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13497 PyObject
*resultobj
= 0;
13499 wxFontEncoding result
;
13502 PyObject
* obj0
= 0 ;
13503 char * kwnames
[] = {
13507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13508 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13509 if (!SWIG_IsOK(ecode1
)) {
13510 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13512 arg1
= static_cast< size_t >(val1
);
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 resultobj
= SWIG_From_int(static_cast< int >(result
));
13526 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
= 0;
13528 wxFontEncoding arg1
;
13532 PyObject
* obj0
= 0 ;
13533 char * kwnames
[] = {
13534 (char *) "encoding", NULL
13537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13538 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13539 if (!SWIG_IsOK(ecode1
)) {
13540 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13542 arg1
= static_cast< wxFontEncoding
>(val1
);
13544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13545 result
= wxFontMapper::GetEncodingName(arg1
);
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13562 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13563 PyObject
*resultobj
= 0;
13564 wxFontEncoding arg1
;
13568 PyObject
* obj0
= 0 ;
13569 char * kwnames
[] = {
13570 (char *) "encoding", NULL
13573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13574 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13575 if (!SWIG_IsOK(ecode1
)) {
13576 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13578 arg1
= static_cast< wxFontEncoding
>(val1
);
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 result
= wxFontMapper::GetEncodingDescription(arg1
);
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13598 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
= 0;
13600 wxString
*arg1
= 0 ;
13601 wxFontEncoding result
;
13602 bool temp1
= false ;
13603 PyObject
* obj0
= 0 ;
13604 char * kwnames
[] = {
13605 (char *) "name", NULL
13608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13610 arg1
= wxString_in_helper(obj0
);
13611 if (arg1
== NULL
) SWIG_fail
;
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13617 wxPyEndAllowThreads(__tstate
);
13618 if (PyErr_Occurred()) SWIG_fail
;
13620 resultobj
= SWIG_From_int(static_cast< int >(result
));
13635 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13636 PyObject
*resultobj
= 0;
13637 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13638 wxString
*arg2
= 0 ;
13641 bool temp2
= false ;
13642 PyObject
* obj0
= 0 ;
13643 PyObject
* obj1
= 0 ;
13644 char * kwnames
[] = {
13645 (char *) "self",(char *) "prefix", NULL
13648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13650 if (!SWIG_IsOK(res1
)) {
13651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13653 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13655 arg2
= wxString_in_helper(obj1
);
13656 if (arg2
== NULL
) SWIG_fail
;
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= SWIG_Py_Void();
13680 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13681 PyObject
*resultobj
= 0;
13684 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 result
= wxFontMapper::GetDefaultConfigPath();
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13704 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
= 0;
13706 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13707 wxFontEncoding arg2
;
13708 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13709 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13710 bool arg4
= (bool) true ;
13711 PyObject
*result
= 0 ;
13716 bool temp3
= false ;
13719 PyObject
* obj0
= 0 ;
13720 PyObject
* obj1
= 0 ;
13721 PyObject
* obj2
= 0 ;
13722 PyObject
* obj3
= 0 ;
13723 char * kwnames
[] = {
13724 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13729 if (!SWIG_IsOK(res1
)) {
13730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13732 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13734 if (!SWIG_IsOK(ecode2
)) {
13735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13737 arg2
= static_cast< wxFontEncoding
>(val2
);
13740 arg3
= wxString_in_helper(obj2
);
13741 if (arg3
== NULL
) SWIG_fail
;
13746 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13747 if (!SWIG_IsOK(ecode4
)) {
13748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13750 arg4
= static_cast< bool >(val4
);
13753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 resultobj
= result
;
13773 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
= 0;
13775 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13776 wxFontEncoding arg2
;
13777 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13778 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13784 bool temp3
= false ;
13785 PyObject
* obj0
= 0 ;
13786 PyObject
* obj1
= 0 ;
13787 PyObject
* obj2
= 0 ;
13788 char * kwnames
[] = {
13789 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13794 if (!SWIG_IsOK(res1
)) {
13795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13797 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13799 if (!SWIG_IsOK(ecode2
)) {
13800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13802 arg2
= static_cast< wxFontEncoding
>(val2
);
13805 arg3
= wxString_in_helper(obj2
);
13806 if (arg3
== NULL
) SWIG_fail
;
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13833 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
= 0;
13835 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13836 wxWindow
*arg2
= (wxWindow
*) 0 ;
13841 PyObject
* obj0
= 0 ;
13842 PyObject
* obj1
= 0 ;
13843 char * kwnames
[] = {
13844 (char *) "self",(char *) "parent", NULL
13847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13849 if (!SWIG_IsOK(res1
)) {
13850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13852 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13853 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13854 if (!SWIG_IsOK(res2
)) {
13855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13857 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 (arg1
)->SetDialogParent(arg2
);
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 resultobj
= SWIG_Py_Void();
13871 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13872 PyObject
*resultobj
= 0;
13873 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13874 wxString
*arg2
= 0 ;
13877 bool temp2
= false ;
13878 PyObject
* obj0
= 0 ;
13879 PyObject
* obj1
= 0 ;
13880 char * kwnames
[] = {
13881 (char *) "self",(char *) "title", NULL
13884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13886 if (!SWIG_IsOK(res1
)) {
13887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13889 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13891 arg2
= wxString_in_helper(obj1
);
13892 if (arg2
== NULL
) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13898 wxPyEndAllowThreads(__tstate
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13901 resultobj
= SWIG_Py_Void();
13916 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13918 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13919 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13920 return SWIG_Py_Void();
13923 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13924 return SWIG_Python_InitShadowInstance(args
);
13927 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13928 PyObject
*resultobj
= 0;
13933 bool arg5
= (bool) false ;
13934 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13935 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13936 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13937 wxFont
*result
= 0 ;
13948 bool temp6
= false ;
13951 PyObject
* obj0
= 0 ;
13952 PyObject
* obj1
= 0 ;
13953 PyObject
* obj2
= 0 ;
13954 PyObject
* obj3
= 0 ;
13955 PyObject
* obj4
= 0 ;
13956 PyObject
* obj5
= 0 ;
13957 PyObject
* obj6
= 0 ;
13958 char * kwnames
[] = {
13959 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13963 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13964 if (!SWIG_IsOK(ecode1
)) {
13965 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13967 arg1
= static_cast< int >(val1
);
13968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13969 if (!SWIG_IsOK(ecode2
)) {
13970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13972 arg2
= static_cast< int >(val2
);
13973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13974 if (!SWIG_IsOK(ecode3
)) {
13975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13977 arg3
= static_cast< int >(val3
);
13978 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13979 if (!SWIG_IsOK(ecode4
)) {
13980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13982 arg4
= static_cast< int >(val4
);
13984 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13985 if (!SWIG_IsOK(ecode5
)) {
13986 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13988 arg5
= static_cast< bool >(val5
);
13992 arg6
= wxString_in_helper(obj5
);
13993 if (arg6
== NULL
) SWIG_fail
;
13998 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13999 if (!SWIG_IsOK(ecode7
)) {
14000 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14002 arg7
= static_cast< wxFontEncoding
>(val7
);
14005 if (!wxPyCheckForApp()) SWIG_fail
;
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14007 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14026 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14027 PyObject
*resultobj
= 0;
14028 wxFont
*arg1
= (wxFont
*) 0 ;
14031 PyObject
*swig_obj
[1] ;
14033 if (!args
) SWIG_fail
;
14034 swig_obj
[0] = args
;
14035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14036 if (!SWIG_IsOK(res1
)) {
14037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14039 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14044 wxPyEndAllowThreads(__tstate
);
14045 if (PyErr_Occurred()) SWIG_fail
;
14047 resultobj
= SWIG_Py_Void();
14054 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14055 PyObject
*resultobj
= 0;
14056 wxNativeFontInfo
*arg1
= 0 ;
14057 wxFont
*result
= 0 ;
14060 PyObject
* obj0
= 0 ;
14061 char * kwnames
[] = {
14062 (char *) "info", NULL
14065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14066 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14067 if (!SWIG_IsOK(res1
)) {
14068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14073 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14075 if (!wxPyCheckForApp()) SWIG_fail
;
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14088 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
= 0;
14090 wxString
*arg1
= 0 ;
14091 wxFont
*result
= 0 ;
14092 bool temp1
= false ;
14093 PyObject
* obj0
= 0 ;
14094 char * kwnames
[] = {
14095 (char *) "info", NULL
14098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14100 arg1
= wxString_in_helper(obj0
);
14101 if (arg1
== NULL
) SWIG_fail
;
14105 if (!wxPyCheckForApp()) SWIG_fail
;
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14126 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14127 PyObject
*resultobj
= 0;
14129 wxFontFamily arg2
;
14130 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14131 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14132 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14133 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14134 wxFont
*result
= 0 ;
14141 bool temp4
= false ;
14144 PyObject
* obj0
= 0 ;
14145 PyObject
* obj1
= 0 ;
14146 PyObject
* obj2
= 0 ;
14147 PyObject
* obj3
= 0 ;
14148 PyObject
* obj4
= 0 ;
14149 char * kwnames
[] = {
14150 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14154 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14155 if (!SWIG_IsOK(ecode1
)) {
14156 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14158 arg1
= static_cast< int >(val1
);
14159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14160 if (!SWIG_IsOK(ecode2
)) {
14161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14163 arg2
= static_cast< wxFontFamily
>(val2
);
14165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14166 if (!SWIG_IsOK(ecode3
)) {
14167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14169 arg3
= static_cast< int >(val3
);
14173 arg4
= wxString_in_helper(obj3
);
14174 if (arg4
== NULL
) SWIG_fail
;
14179 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14180 if (!SWIG_IsOK(ecode5
)) {
14181 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14183 arg5
= static_cast< wxFontEncoding
>(val5
);
14186 if (!wxPyCheckForApp()) SWIG_fail
;
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14207 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14208 PyObject
*resultobj
= 0;
14213 bool arg5
= (bool) false ;
14214 wxString
const &arg6_defvalue
= wxEmptyString
;
14215 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14216 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14217 wxFont
*result
= 0 ;
14227 bool temp6
= false ;
14230 PyObject
* obj0
= 0 ;
14231 PyObject
* obj1
= 0 ;
14232 PyObject
* obj2
= 0 ;
14233 PyObject
* obj3
= 0 ;
14234 PyObject
* obj4
= 0 ;
14235 PyObject
* obj5
= 0 ;
14236 PyObject
* obj6
= 0 ;
14237 char * kwnames
[] = {
14238 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14244 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14247 if (!SWIG_IsOK(ecode2
)) {
14248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14250 arg2
= static_cast< int >(val2
);
14251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14252 if (!SWIG_IsOK(ecode3
)) {
14253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14255 arg3
= static_cast< int >(val3
);
14256 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14257 if (!SWIG_IsOK(ecode4
)) {
14258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14260 arg4
= static_cast< int >(val4
);
14262 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14263 if (!SWIG_IsOK(ecode5
)) {
14264 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14266 arg5
= static_cast< bool >(val5
);
14270 arg6
= wxString_in_helper(obj5
);
14271 if (arg6
== NULL
) SWIG_fail
;
14276 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14277 if (!SWIG_IsOK(ecode7
)) {
14278 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14280 arg7
= static_cast< wxFontEncoding
>(val7
);
14283 if (!wxPyCheckForApp()) SWIG_fail
;
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14286 wxPyEndAllowThreads(__tstate
);
14287 if (PyErr_Occurred()) SWIG_fail
;
14289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14304 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
= 0;
14307 wxFontFamily arg2
;
14308 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14309 wxString
const &arg4_defvalue
= wxEmptyString
;
14310 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14311 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14312 wxFont
*result
= 0 ;
14318 bool temp4
= false ;
14321 PyObject
* obj0
= 0 ;
14322 PyObject
* obj1
= 0 ;
14323 PyObject
* obj2
= 0 ;
14324 PyObject
* obj3
= 0 ;
14325 PyObject
* obj4
= 0 ;
14326 char * kwnames
[] = {
14327 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14333 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14336 if (!SWIG_IsOK(ecode2
)) {
14337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14339 arg2
= static_cast< wxFontFamily
>(val2
);
14341 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14342 if (!SWIG_IsOK(ecode3
)) {
14343 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14345 arg3
= static_cast< int >(val3
);
14349 arg4
= wxString_in_helper(obj3
);
14350 if (arg4
== NULL
) SWIG_fail
;
14355 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14356 if (!SWIG_IsOK(ecode5
)) {
14357 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14359 arg5
= static_cast< wxFontEncoding
>(val5
);
14362 if (!wxPyCheckForApp()) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14383 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14384 PyObject
*resultobj
= 0;
14385 wxFont
*arg1
= (wxFont
*) 0 ;
14389 PyObject
*swig_obj
[1] ;
14391 if (!args
) SWIG_fail
;
14392 swig_obj
[0] = args
;
14393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14394 if (!SWIG_IsOK(res1
)) {
14395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14397 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14413 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14414 PyObject
*resultobj
= 0;
14415 wxFont
*arg1
= (wxFont
*) 0 ;
14416 wxFont
*arg2
= (wxFont
*) 0 ;
14422 PyObject
* obj0
= 0 ;
14423 PyObject
* obj1
= 0 ;
14424 char * kwnames
[] = {
14425 (char *) "self",(char *) "other", NULL
14428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14430 if (!SWIG_IsOK(res1
)) {
14431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14433 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14434 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14435 if (!SWIG_IsOK(res2
)) {
14436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14438 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14441 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14454 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14455 PyObject
*resultobj
= 0;
14456 wxFont
*arg1
= (wxFont
*) 0 ;
14457 wxFont
*arg2
= (wxFont
*) 0 ;
14463 PyObject
* obj0
= 0 ;
14464 PyObject
* obj1
= 0 ;
14465 char * kwnames
[] = {
14466 (char *) "self",(char *) "other", NULL
14469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14471 if (!SWIG_IsOK(res1
)) {
14472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14474 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14475 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14476 if (!SWIG_IsOK(res2
)) {
14477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14479 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14482 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14483 wxPyEndAllowThreads(__tstate
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14495 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14496 PyObject
*resultobj
= 0;
14497 wxFont
*arg1
= (wxFont
*) 0 ;
14501 PyObject
*swig_obj
[1] ;
14503 if (!args
) SWIG_fail
;
14504 swig_obj
[0] = args
;
14505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14506 if (!SWIG_IsOK(res1
)) {
14507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14509 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= SWIG_From_int(static_cast< int >(result
));
14523 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14524 PyObject
*resultobj
= 0;
14525 wxFont
*arg1
= (wxFont
*) 0 ;
14529 PyObject
*swig_obj
[1] ;
14531 if (!args
) SWIG_fail
;
14532 swig_obj
[0] = args
;
14533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14534 if (!SWIG_IsOK(res1
)) {
14535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14537 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14544 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14551 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14552 PyObject
*resultobj
= 0;
14553 wxFont
*arg1
= (wxFont
*) 0 ;
14557 PyObject
*swig_obj
[1] ;
14559 if (!args
) SWIG_fail
;
14560 swig_obj
[0] = args
;
14561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14562 if (!SWIG_IsOK(res1
)) {
14563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14565 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14581 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14582 PyObject
*resultobj
= 0;
14583 wxFont
*arg1
= (wxFont
*) 0 ;
14587 PyObject
*swig_obj
[1] ;
14589 if (!args
) SWIG_fail
;
14590 swig_obj
[0] = args
;
14591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14592 if (!SWIG_IsOK(res1
)) {
14593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14595 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14598 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14599 wxPyEndAllowThreads(__tstate
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= SWIG_From_int(static_cast< int >(result
));
14609 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14610 PyObject
*resultobj
= 0;
14611 wxFont
*arg1
= (wxFont
*) 0 ;
14615 PyObject
*swig_obj
[1] ;
14617 if (!args
) SWIG_fail
;
14618 swig_obj
[0] = args
;
14619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14620 if (!SWIG_IsOK(res1
)) {
14621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14623 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= SWIG_From_int(static_cast< int >(result
));
14637 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14638 PyObject
*resultobj
= 0;
14639 wxFont
*arg1
= (wxFont
*) 0 ;
14643 PyObject
*swig_obj
[1] ;
14645 if (!args
) SWIG_fail
;
14646 swig_obj
[0] = args
;
14647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14648 if (!SWIG_IsOK(res1
)) {
14649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14651 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14655 wxPyEndAllowThreads(__tstate
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14658 resultobj
= SWIG_From_int(static_cast< int >(result
));
14665 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14666 PyObject
*resultobj
= 0;
14667 wxFont
*arg1
= (wxFont
*) 0 ;
14671 PyObject
*swig_obj
[1] ;
14673 if (!args
) SWIG_fail
;
14674 swig_obj
[0] = args
;
14675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14676 if (!SWIG_IsOK(res1
)) {
14677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14679 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14683 wxPyEndAllowThreads(__tstate
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14695 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14696 PyObject
*resultobj
= 0;
14697 wxFont
*arg1
= (wxFont
*) 0 ;
14701 PyObject
*swig_obj
[1] ;
14703 if (!args
) SWIG_fail
;
14704 swig_obj
[0] = args
;
14705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14706 if (!SWIG_IsOK(res1
)) {
14707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14709 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14712 result
= ((wxFont
const *)arg1
)->GetFaceName();
14713 wxPyEndAllowThreads(__tstate
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14729 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14730 PyObject
*resultobj
= 0;
14731 wxFont
*arg1
= (wxFont
*) 0 ;
14732 wxFontEncoding result
;
14735 PyObject
*swig_obj
[1] ;
14737 if (!args
) SWIG_fail
;
14738 swig_obj
[0] = args
;
14739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14740 if (!SWIG_IsOK(res1
)) {
14741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14743 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14750 resultobj
= SWIG_From_int(static_cast< int >(result
));
14757 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14758 PyObject
*resultobj
= 0;
14759 wxFont
*arg1
= (wxFont
*) 0 ;
14760 wxNativeFontInfo
*result
= 0 ;
14763 PyObject
*swig_obj
[1] ;
14765 if (!args
) SWIG_fail
;
14766 swig_obj
[0] = args
;
14767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14768 if (!SWIG_IsOK(res1
)) {
14769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14771 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14785 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14786 PyObject
*resultobj
= 0;
14787 wxFont
*arg1
= (wxFont
*) 0 ;
14791 PyObject
*swig_obj
[1] ;
14793 if (!args
) SWIG_fail
;
14794 swig_obj
[0] = args
;
14795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14796 if (!SWIG_IsOK(res1
)) {
14797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14799 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14815 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14816 PyObject
*resultobj
= 0;
14817 wxFont
*arg1
= (wxFont
*) 0 ;
14821 PyObject
*swig_obj
[1] ;
14823 if (!args
) SWIG_fail
;
14824 swig_obj
[0] = args
;
14825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14826 if (!SWIG_IsOK(res1
)) {
14827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14829 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14849 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14850 PyObject
*resultobj
= 0;
14851 wxFont
*arg1
= (wxFont
*) 0 ;
14855 PyObject
*swig_obj
[1] ;
14857 if (!args
) SWIG_fail
;
14858 swig_obj
[0] = args
;
14859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14860 if (!SWIG_IsOK(res1
)) {
14861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14863 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14866 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14867 wxPyEndAllowThreads(__tstate
);
14868 if (PyErr_Occurred()) SWIG_fail
;
14872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14883 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14884 PyObject
*resultobj
= 0;
14885 wxFont
*arg1
= (wxFont
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 char * kwnames
[] = {
14894 (char *) "self",(char *) "pointSize", NULL
14897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14899 if (!SWIG_IsOK(res1
)) {
14900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14902 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14904 if (!SWIG_IsOK(ecode2
)) {
14905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14907 arg2
= static_cast< int >(val2
);
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 (arg1
)->SetPointSize(arg2
);
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= SWIG_Py_Void();
14921 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
= 0;
14923 wxFont
*arg1
= (wxFont
*) 0 ;
14928 PyObject
* obj0
= 0 ;
14929 PyObject
* obj1
= 0 ;
14930 char * kwnames
[] = {
14931 (char *) "self",(char *) "pixelSize", NULL
14934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14936 if (!SWIG_IsOK(res1
)) {
14937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14939 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14942 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14947 wxPyEndAllowThreads(__tstate
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= SWIG_Py_Void();
14957 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
= 0;
14959 wxFont
*arg1
= (wxFont
*) 0 ;
14965 PyObject
* obj0
= 0 ;
14966 PyObject
* obj1
= 0 ;
14967 char * kwnames
[] = {
14968 (char *) "self",(char *) "family", NULL
14971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14973 if (!SWIG_IsOK(res1
)) {
14974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14976 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14978 if (!SWIG_IsOK(ecode2
)) {
14979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14981 arg2
= static_cast< int >(val2
);
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 (arg1
)->SetFamily(arg2
);
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14988 resultobj
= SWIG_Py_Void();
14995 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14996 PyObject
*resultobj
= 0;
14997 wxFont
*arg1
= (wxFont
*) 0 ;
15003 PyObject
* obj0
= 0 ;
15004 PyObject
* obj1
= 0 ;
15005 char * kwnames
[] = {
15006 (char *) "self",(char *) "style", NULL
15009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15011 if (!SWIG_IsOK(res1
)) {
15012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15014 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15016 if (!SWIG_IsOK(ecode2
)) {
15017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15019 arg2
= static_cast< int >(val2
);
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 (arg1
)->SetStyle(arg2
);
15023 wxPyEndAllowThreads(__tstate
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= SWIG_Py_Void();
15033 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15034 PyObject
*resultobj
= 0;
15035 wxFont
*arg1
= (wxFont
*) 0 ;
15041 PyObject
* obj0
= 0 ;
15042 PyObject
* obj1
= 0 ;
15043 char * kwnames
[] = {
15044 (char *) "self",(char *) "weight", NULL
15047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15049 if (!SWIG_IsOK(res1
)) {
15050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15052 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15054 if (!SWIG_IsOK(ecode2
)) {
15055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15057 arg2
= static_cast< int >(val2
);
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 (arg1
)->SetWeight(arg2
);
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= SWIG_Py_Void();
15071 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
= 0;
15073 wxFont
*arg1
= (wxFont
*) 0 ;
15074 wxString
*arg2
= 0 ;
15078 bool temp2
= false ;
15079 PyObject
* obj0
= 0 ;
15080 PyObject
* obj1
= 0 ;
15081 char * kwnames
[] = {
15082 (char *) "self",(char *) "faceName", NULL
15085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15087 if (!SWIG_IsOK(res1
)) {
15088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15090 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15092 arg2
= wxString_in_helper(obj1
);
15093 if (arg2
== NULL
) SWIG_fail
;
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15119 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15120 PyObject
*resultobj
= 0;
15121 wxFont
*arg1
= (wxFont
*) 0 ;
15127 PyObject
* obj0
= 0 ;
15128 PyObject
* obj1
= 0 ;
15129 char * kwnames
[] = {
15130 (char *) "self",(char *) "underlined", NULL
15133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15135 if (!SWIG_IsOK(res1
)) {
15136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15138 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15139 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15140 if (!SWIG_IsOK(ecode2
)) {
15141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15143 arg2
= static_cast< bool >(val2
);
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 (arg1
)->SetUnderlined(arg2
);
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15150 resultobj
= SWIG_Py_Void();
15157 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15158 PyObject
*resultobj
= 0;
15159 wxFont
*arg1
= (wxFont
*) 0 ;
15160 wxFontEncoding arg2
;
15165 PyObject
* obj0
= 0 ;
15166 PyObject
* obj1
= 0 ;
15167 char * kwnames
[] = {
15168 (char *) "self",(char *) "encoding", NULL
15171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15173 if (!SWIG_IsOK(res1
)) {
15174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15176 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15178 if (!SWIG_IsOK(ecode2
)) {
15179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15181 arg2
= static_cast< wxFontEncoding
>(val2
);
15183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15184 (arg1
)->SetEncoding(arg2
);
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15188 resultobj
= SWIG_Py_Void();
15195 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
= 0;
15197 wxFont
*arg1
= (wxFont
*) 0 ;
15198 wxNativeFontInfo
*arg2
= 0 ;
15203 PyObject
* obj0
= 0 ;
15204 PyObject
* obj1
= 0 ;
15205 char * kwnames
[] = {
15206 (char *) "self",(char *) "info", NULL
15209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15211 if (!SWIG_IsOK(res1
)) {
15212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15214 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15216 if (!SWIG_IsOK(res2
)) {
15217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15222 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15226 wxPyEndAllowThreads(__tstate
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15229 resultobj
= SWIG_Py_Void();
15236 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
= 0;
15238 wxFont
*arg1
= (wxFont
*) 0 ;
15239 wxString
*arg2
= 0 ;
15243 bool temp2
= false ;
15244 PyObject
* obj0
= 0 ;
15245 PyObject
* obj1
= 0 ;
15246 char * kwnames
[] = {
15247 (char *) "self",(char *) "info", NULL
15250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15252 if (!SWIG_IsOK(res1
)) {
15253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15255 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15257 arg2
= wxString_in_helper(obj1
);
15258 if (arg2
== NULL
) SWIG_fail
;
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15284 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
= 0;
15286 wxFont
*arg1
= (wxFont
*) 0 ;
15287 wxString
*arg2
= 0 ;
15291 bool temp2
= false ;
15292 PyObject
* obj0
= 0 ;
15293 PyObject
* obj1
= 0 ;
15294 char * kwnames
[] = {
15295 (char *) "self",(char *) "info", NULL
15298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15300 if (!SWIG_IsOK(res1
)) {
15301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15303 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15305 arg2
= wxString_in_helper(obj1
);
15306 if (arg2
== NULL
) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15332 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15333 PyObject
*resultobj
= 0;
15334 wxFont
*arg1
= (wxFont
*) 0 ;
15338 PyObject
*swig_obj
[1] ;
15340 if (!args
) SWIG_fail
;
15341 swig_obj
[0] = args
;
15342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15343 if (!SWIG_IsOK(res1
)) {
15344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15346 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15366 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15367 PyObject
*resultobj
= 0;
15368 wxFont
*arg1
= (wxFont
*) 0 ;
15372 PyObject
*swig_obj
[1] ;
15374 if (!args
) SWIG_fail
;
15375 swig_obj
[0] = args
;
15376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15377 if (!SWIG_IsOK(res1
)) {
15378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15380 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= ((wxFont
const *)arg1
)->GetStyleString();
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15400 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15401 PyObject
*resultobj
= 0;
15402 wxFont
*arg1
= (wxFont
*) 0 ;
15406 PyObject
*swig_obj
[1] ;
15408 if (!args
) SWIG_fail
;
15409 swig_obj
[0] = args
;
15410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15411 if (!SWIG_IsOK(res1
)) {
15412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15414 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 result
= ((wxFont
const *)arg1
)->GetWeightString();
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15434 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
= 0;
15436 wxFont
*arg1
= (wxFont
*) 0 ;
15437 bool arg2
= (bool) true ;
15442 PyObject
* obj0
= 0 ;
15443 PyObject
* obj1
= 0 ;
15444 char * kwnames
[] = {
15445 (char *) "self",(char *) "no", NULL
15448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15450 if (!SWIG_IsOK(res1
)) {
15451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15453 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15455 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15456 if (!SWIG_IsOK(ecode2
)) {
15457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15459 arg2
= static_cast< bool >(val2
);
15462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 (arg1
)->SetNoAntiAliasing(arg2
);
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15467 resultobj
= SWIG_Py_Void();
15474 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15475 PyObject
*resultobj
= 0;
15476 wxFont
*arg1
= (wxFont
*) 0 ;
15480 PyObject
*swig_obj
[1] ;
15482 if (!args
) SWIG_fail
;
15483 swig_obj
[0] = args
;
15484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15485 if (!SWIG_IsOK(res1
)) {
15486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15488 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15504 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15505 PyObject
*resultobj
= 0;
15506 wxFontEncoding result
;
15508 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15510 if (!wxPyCheckForApp()) SWIG_fail
;
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15513 wxPyEndAllowThreads(__tstate
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15516 resultobj
= SWIG_From_int(static_cast< int >(result
));
15523 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15524 PyObject
*resultobj
= 0;
15525 wxFontEncoding arg1
;
15528 PyObject
* obj0
= 0 ;
15529 char * kwnames
[] = {
15530 (char *) "encoding", NULL
15533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15534 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15535 if (!SWIG_IsOK(ecode1
)) {
15536 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15538 arg1
= static_cast< wxFontEncoding
>(val1
);
15540 if (!wxPyCheckForApp()) SWIG_fail
;
15541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15542 wxFont::SetDefaultEncoding(arg1
);
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 resultobj
= SWIG_Py_Void();
15553 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15555 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15556 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15557 return SWIG_Py_Void();
15560 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15561 return SWIG_Python_InitShadowInstance(args
);
15564 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15565 PyObject
*resultobj
= 0;
15566 wxPyFontEnumerator
*result
= 0 ;
15568 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15570 if (!wxPyCheckForApp()) SWIG_fail
;
15571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15572 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15583 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15584 PyObject
*resultobj
= 0;
15585 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15588 PyObject
*swig_obj
[1] ;
15590 if (!args
) SWIG_fail
;
15591 swig_obj
[0] = args
;
15592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15593 if (!SWIG_IsOK(res1
)) {
15594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15596 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15601 wxPyEndAllowThreads(__tstate
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15604 resultobj
= SWIG_Py_Void();
15611 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15612 PyObject
*resultobj
= 0;
15613 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15614 PyObject
*arg2
= (PyObject
*) 0 ;
15615 PyObject
*arg3
= (PyObject
*) 0 ;
15616 int arg4
= (int) 0 ;
15621 PyObject
* obj0
= 0 ;
15622 PyObject
* obj1
= 0 ;
15623 PyObject
* obj2
= 0 ;
15624 PyObject
* obj3
= 0 ;
15625 char * kwnames
[] = {
15626 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15631 if (!SWIG_IsOK(res1
)) {
15632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15634 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15638 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15639 if (!SWIG_IsOK(ecode4
)) {
15640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15642 arg4
= static_cast< int >(val4
);
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15650 resultobj
= SWIG_Py_Void();
15657 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15658 PyObject
*resultobj
= 0;
15659 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15660 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15661 bool arg3
= (bool) false ;
15669 PyObject
* obj0
= 0 ;
15670 PyObject
* obj1
= 0 ;
15671 PyObject
* obj2
= 0 ;
15672 char * kwnames
[] = {
15673 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15678 if (!SWIG_IsOK(res1
)) {
15679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15681 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15684 if (!SWIG_IsOK(ecode2
)) {
15685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15687 arg2
= static_cast< wxFontEncoding
>(val2
);
15690 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15691 if (!SWIG_IsOK(ecode3
)) {
15692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15694 arg3
= static_cast< bool >(val3
);
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15699 wxPyEndAllowThreads(__tstate
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15711 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15712 PyObject
*resultobj
= 0;
15713 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15714 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15715 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15719 bool temp2
= false ;
15720 PyObject
* obj0
= 0 ;
15721 PyObject
* obj1
= 0 ;
15722 char * kwnames
[] = {
15723 (char *) "self",(char *) "facename", NULL
15726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15728 if (!SWIG_IsOK(res1
)) {
15729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15731 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15734 arg2
= wxString_in_helper(obj1
);
15735 if (arg2
== NULL
) SWIG_fail
;
15740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15741 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15762 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15763 PyObject
*resultobj
= 0;
15764 PyObject
*result
= 0 ;
15766 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15770 wxPyEndAllowThreads(__tstate
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15773 resultobj
= result
;
15780 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15781 PyObject
*resultobj
= 0;
15782 PyObject
*result
= 0 ;
15784 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15791 resultobj
= result
;
15798 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15799 PyObject
*resultobj
= 0;
15800 wxString
*arg1
= 0 ;
15802 bool temp1
= false ;
15803 PyObject
* obj0
= 0 ;
15804 char * kwnames
[] = {
15805 (char *) "str", NULL
15808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15810 arg1
= wxString_in_helper(obj0
);
15811 if (arg1
== NULL
) SWIG_fail
;
15815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15816 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15817 wxPyEndAllowThreads(__tstate
);
15818 if (PyErr_Occurred()) SWIG_fail
;
15821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15837 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15839 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15840 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15841 return SWIG_Py_Void();
15844 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15845 return SWIG_Python_InitShadowInstance(args
);
15848 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15849 PyObject
*resultobj
= 0;
15850 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15856 PyObject
*swig_obj
[2] ;
15858 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15860 if (!SWIG_IsOK(res1
)) {
15861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15863 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15864 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15865 if (!SWIG_IsOK(ecode2
)) {
15866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15868 arg2
= static_cast< int >(val2
);
15869 if (arg1
) (arg1
)->Language
= arg2
;
15871 resultobj
= SWIG_Py_Void();
15878 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15879 PyObject
*resultobj
= 0;
15880 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15884 PyObject
*swig_obj
[1] ;
15886 if (!args
) SWIG_fail
;
15887 swig_obj
[0] = args
;
15888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15889 if (!SWIG_IsOK(res1
)) {
15890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15892 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15893 result
= (int) ((arg1
)->Language
);
15894 resultobj
= SWIG_From_int(static_cast< int >(result
));
15901 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15902 PyObject
*resultobj
= 0;
15903 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15904 wxString
*arg2
= (wxString
*) 0 ;
15907 bool temp2
= false ;
15908 PyObject
*swig_obj
[2] ;
15910 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15912 if (!SWIG_IsOK(res1
)) {
15913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15915 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15917 arg2
= wxString_in_helper(swig_obj
[1]);
15918 if (arg2
== NULL
) SWIG_fail
;
15921 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15923 resultobj
= SWIG_Py_Void();
15938 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15939 PyObject
*resultobj
= 0;
15940 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15941 wxString
*result
= 0 ;
15944 PyObject
*swig_obj
[1] ;
15946 if (!args
) SWIG_fail
;
15947 swig_obj
[0] = args
;
15948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15949 if (!SWIG_IsOK(res1
)) {
15950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15952 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15953 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15956 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15958 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15967 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15968 PyObject
*resultobj
= 0;
15969 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15970 wxString
*arg2
= (wxString
*) 0 ;
15973 bool temp2
= false ;
15974 PyObject
*swig_obj
[2] ;
15976 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15978 if (!SWIG_IsOK(res1
)) {
15979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15981 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15983 arg2
= wxString_in_helper(swig_obj
[1]);
15984 if (arg2
== NULL
) SWIG_fail
;
15987 if (arg1
) (arg1
)->Description
= *arg2
;
15989 resultobj
= SWIG_Py_Void();
16004 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16005 PyObject
*resultobj
= 0;
16006 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16007 wxString
*result
= 0 ;
16010 PyObject
*swig_obj
[1] ;
16012 if (!args
) SWIG_fail
;
16013 swig_obj
[0] = args
;
16014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16015 if (!SWIG_IsOK(res1
)) {
16016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16018 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16019 result
= (wxString
*)& ((arg1
)->Description
);
16022 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16024 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16033 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16036 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16037 return SWIG_Py_Void();
16040 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
= 0;
16042 int arg1
= (int) -1 ;
16043 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16044 wxLocale
*result
= 0 ;
16049 PyObject
* obj0
= 0 ;
16050 PyObject
* obj1
= 0 ;
16051 char * kwnames
[] = {
16052 (char *) "language",(char *) "flags", NULL
16055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16057 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16058 if (!SWIG_IsOK(ecode1
)) {
16059 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16061 arg1
= static_cast< int >(val1
);
16064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16065 if (!SWIG_IsOK(ecode2
)) {
16066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16068 arg2
= static_cast< int >(val2
);
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16073 wxPyEndAllowThreads(__tstate
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16083 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16084 PyObject
*resultobj
= 0;
16085 wxLocale
*arg1
= (wxLocale
*) 0 ;
16088 PyObject
*swig_obj
[1] ;
16090 if (!args
) SWIG_fail
;
16091 swig_obj
[0] = args
;
16092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16093 if (!SWIG_IsOK(res1
)) {
16094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16096 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 wxPyEndAllowThreads(__tstate
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16104 resultobj
= SWIG_Py_Void();
16111 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16112 PyObject
*resultobj
= 0;
16113 wxLocale
*arg1
= (wxLocale
*) 0 ;
16114 wxString
*arg2
= 0 ;
16115 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16116 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16117 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16118 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16119 bool arg5
= (bool) true ;
16120 bool arg6
= (bool) false ;
16124 bool temp2
= false ;
16125 bool temp3
= false ;
16126 bool temp4
= false ;
16131 PyObject
* obj0
= 0 ;
16132 PyObject
* obj1
= 0 ;
16133 PyObject
* obj2
= 0 ;
16134 PyObject
* obj3
= 0 ;
16135 PyObject
* obj4
= 0 ;
16136 PyObject
* obj5
= 0 ;
16137 char * kwnames
[] = {
16138 (char *) "self",(char *) "name",(char *) "shortName",(char *) "locale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16143 if (!SWIG_IsOK(res1
)) {
16144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16146 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16148 arg2
= wxString_in_helper(obj1
);
16149 if (arg2
== NULL
) SWIG_fail
;
16154 arg3
= wxString_in_helper(obj2
);
16155 if (arg3
== NULL
) SWIG_fail
;
16161 arg4
= wxString_in_helper(obj3
);
16162 if (arg4
== NULL
) SWIG_fail
;
16167 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16168 if (!SWIG_IsOK(ecode5
)) {
16169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16171 arg5
= static_cast< bool >(val5
);
16174 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16175 if (!SWIG_IsOK(ecode6
)) {
16176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16178 arg6
= static_cast< bool >(val6
);
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16219 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
= 0;
16221 wxLocale
*arg1
= (wxLocale
*) 0 ;
16222 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16223 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16231 PyObject
* obj0
= 0 ;
16232 PyObject
* obj1
= 0 ;
16233 PyObject
* obj2
= 0 ;
16234 char * kwnames
[] = {
16235 (char *) "self",(char *) "language",(char *) "flags", NULL
16238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16240 if (!SWIG_IsOK(res1
)) {
16241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16243 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16246 if (!SWIG_IsOK(ecode2
)) {
16247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16249 arg2
= static_cast< int >(val2
);
16252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16253 if (!SWIG_IsOK(ecode3
)) {
16254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16256 arg3
= static_cast< int >(val3
);
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16273 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16274 PyObject
*resultobj
= 0;
16277 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16280 result
= (int)wxLocale::GetSystemLanguage();
16281 wxPyEndAllowThreads(__tstate
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16284 resultobj
= SWIG_From_int(static_cast< int >(result
));
16291 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16292 PyObject
*resultobj
= 0;
16293 wxFontEncoding result
;
16295 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16302 resultobj
= SWIG_From_int(static_cast< int >(result
));
16309 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16310 PyObject
*resultobj
= 0;
16313 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 result
= wxLocale::GetSystemEncodingName();
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16333 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16334 PyObject
*resultobj
= 0;
16335 wxLocale
*arg1
= (wxLocale
*) 0 ;
16339 PyObject
*swig_obj
[1] ;
16341 if (!args
) SWIG_fail
;
16342 swig_obj
[0] = args
;
16343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16344 if (!SWIG_IsOK(res1
)) {
16345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16347 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16350 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16363 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16364 PyObject
*resultobj
= 0;
16365 wxLocale
*arg1
= (wxLocale
*) 0 ;
16369 PyObject
*swig_obj
[1] ;
16371 if (!args
) SWIG_fail
;
16372 swig_obj
[0] = args
;
16373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16374 if (!SWIG_IsOK(res1
)) {
16375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16377 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 result
= ((wxLocale
const *)arg1
)->GetLocale();
16381 wxPyEndAllowThreads(__tstate
);
16382 if (PyErr_Occurred()) SWIG_fail
;
16386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16397 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16398 PyObject
*resultobj
= 0;
16399 wxLocale
*arg1
= (wxLocale
*) 0 ;
16403 PyObject
*swig_obj
[1] ;
16405 if (!args
) SWIG_fail
;
16406 swig_obj
[0] = args
;
16407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16408 if (!SWIG_IsOK(res1
)) {
16409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16411 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= SWIG_From_int(static_cast< int >(result
));
16425 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16426 PyObject
*resultobj
= 0;
16427 wxLocale
*arg1
= (wxLocale
*) 0 ;
16431 PyObject
*swig_obj
[1] ;
16433 if (!args
) SWIG_fail
;
16434 swig_obj
[0] = args
;
16435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16436 if (!SWIG_IsOK(res1
)) {
16437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16439 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16442 result
= ((wxLocale
const *)arg1
)->GetSysName();
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16459 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16460 PyObject
*resultobj
= 0;
16461 wxLocale
*arg1
= (wxLocale
*) 0 ;
16465 PyObject
*swig_obj
[1] ;
16467 if (!args
) SWIG_fail
;
16468 swig_obj
[0] = args
;
16469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16470 if (!SWIG_IsOK(res1
)) {
16471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16473 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16476 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16482 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16484 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16493 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
= 0;
16495 wxString
*arg1
= 0 ;
16496 bool temp1
= false ;
16497 PyObject
* obj0
= 0 ;
16498 char * kwnames
[] = {
16499 (char *) "prefix", NULL
16502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16504 arg1
= wxString_in_helper(obj0
);
16505 if (arg1
== NULL
) SWIG_fail
;
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 resultobj
= SWIG_Py_Void();
16529 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
= 0;
16531 wxLocale
*arg1
= (wxLocale
*) 0 ;
16532 wxString
*arg2
= 0 ;
16536 bool temp2
= false ;
16537 PyObject
* obj0
= 0 ;
16538 PyObject
* obj1
= 0 ;
16539 char * kwnames
[] = {
16540 (char *) "self",(char *) "domain", NULL
16543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16545 if (!SWIG_IsOK(res1
)) {
16546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16548 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16550 arg2
= wxString_in_helper(obj1
);
16551 if (arg2
== NULL
) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16577 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
= 0;
16583 PyObject
* obj0
= 0 ;
16584 char * kwnames
[] = {
16585 (char *) "lang", NULL
16588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16589 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16590 if (!SWIG_IsOK(ecode1
)) {
16591 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16593 arg1
= static_cast< int >(val1
);
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 result
= (bool)wxLocale::IsAvailable(arg1
);
16597 wxPyEndAllowThreads(__tstate
);
16598 if (PyErr_Occurred()) SWIG_fail
;
16601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16609 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16610 PyObject
*resultobj
= 0;
16611 wxLocale
*arg1
= (wxLocale
*) 0 ;
16612 wxString
*arg2
= 0 ;
16616 bool temp2
= false ;
16617 PyObject
* obj0
= 0 ;
16618 PyObject
* obj1
= 0 ;
16619 char * kwnames
[] = {
16620 (char *) "self",(char *) "domain", NULL
16623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16625 if (!SWIG_IsOK(res1
)) {
16626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16628 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16630 arg2
= wxString_in_helper(obj1
);
16631 if (arg2
== NULL
) SWIG_fail
;
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16637 wxPyEndAllowThreads(__tstate
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16657 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
= 0;
16660 wxLanguageInfo
*result
= 0 ;
16663 PyObject
* obj0
= 0 ;
16664 char * kwnames
[] = {
16665 (char *) "lang", NULL
16668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16669 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16670 if (!SWIG_IsOK(ecode1
)) {
16671 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16673 arg1
= static_cast< int >(val1
);
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16687 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
= 0;
16693 PyObject
* obj0
= 0 ;
16694 char * kwnames
[] = {
16695 (char *) "lang", NULL
16698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16699 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16700 if (!SWIG_IsOK(ecode1
)) {
16701 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16703 arg1
= static_cast< int >(val1
);
16705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16706 result
= wxLocale::GetLanguageName(arg1
);
16707 wxPyEndAllowThreads(__tstate
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16723 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
= 0;
16725 wxString
*arg1
= 0 ;
16726 wxLanguageInfo
*result
= 0 ;
16727 bool temp1
= false ;
16728 PyObject
* obj0
= 0 ;
16729 char * kwnames
[] = {
16730 (char *) "locale", NULL
16733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16735 arg1
= wxString_in_helper(obj0
);
16736 if (arg1
== NULL
) SWIG_fail
;
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16742 wxPyEndAllowThreads(__tstate
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16760 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16761 PyObject
*resultobj
= 0;
16762 wxLanguageInfo
*arg1
= 0 ;
16765 PyObject
* obj0
= 0 ;
16766 char * kwnames
[] = {
16767 (char *) "info", NULL
16770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16771 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16772 if (!SWIG_IsOK(res1
)) {
16773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16778 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16781 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16785 resultobj
= SWIG_Py_Void();
16792 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16793 PyObject
*resultobj
= 0;
16794 wxLocale
*arg1
= (wxLocale
*) 0 ;
16795 wxString
*arg2
= 0 ;
16796 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16797 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16801 bool temp2
= false ;
16802 bool temp3
= false ;
16803 PyObject
* obj0
= 0 ;
16804 PyObject
* obj1
= 0 ;
16805 PyObject
* obj2
= 0 ;
16806 char * kwnames
[] = {
16807 (char *) "self",(char *) "origString",(char *) "domain", NULL
16810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16812 if (!SWIG_IsOK(res1
)) {
16813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16815 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16817 arg2
= wxString_in_helper(obj1
);
16818 if (arg2
== NULL
) SWIG_fail
;
16823 arg3
= wxString_in_helper(obj2
);
16824 if (arg3
== NULL
) SWIG_fail
;
16829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16830 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16863 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16864 PyObject
*resultobj
= 0;
16865 wxLocale
*arg1
= (wxLocale
*) 0 ;
16866 wxString
*result
= 0 ;
16869 PyObject
*swig_obj
[1] ;
16871 if (!args
) SWIG_fail
;
16872 swig_obj
[0] = args
;
16873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16874 if (!SWIG_IsOK(res1
)) {
16875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16877 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16882 result
= (wxString
*) &_result_ref
;
16884 wxPyEndAllowThreads(__tstate
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16889 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16891 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16900 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16903 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16904 return SWIG_Py_Void();
16907 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16908 return SWIG_Python_InitShadowInstance(args
);
16911 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
= 0;
16913 int arg1
= (int) -1 ;
16914 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16915 wxPyLocale
*result
= 0 ;
16920 PyObject
* obj0
= 0 ;
16921 PyObject
* obj1
= 0 ;
16922 char * kwnames
[] = {
16923 (char *) "language",(char *) "flags", NULL
16926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16928 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16929 if (!SWIG_IsOK(ecode1
)) {
16930 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16932 arg1
= static_cast< int >(val1
);
16935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16936 if (!SWIG_IsOK(ecode2
)) {
16937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16939 arg2
= static_cast< int >(val2
);
16942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16954 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16955 PyObject
*resultobj
= 0;
16956 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16959 PyObject
*swig_obj
[1] ;
16961 if (!args
) SWIG_fail
;
16962 swig_obj
[0] = args
;
16963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16964 if (!SWIG_IsOK(res1
)) {
16965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16967 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 wxPyEndAllowThreads(__tstate
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16975 resultobj
= SWIG_Py_Void();
16982 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16983 PyObject
*resultobj
= 0;
16984 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16985 PyObject
*arg2
= (PyObject
*) 0 ;
16986 PyObject
*arg3
= (PyObject
*) 0 ;
16989 PyObject
* obj0
= 0 ;
16990 PyObject
* obj1
= 0 ;
16991 PyObject
* obj2
= 0 ;
16992 char * kwnames
[] = {
16993 (char *) "self",(char *) "self",(char *) "_class", NULL
16996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16998 if (!SWIG_IsOK(res1
)) {
16999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17001 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= SWIG_Py_Void();
17017 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17018 PyObject
*resultobj
= 0;
17019 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17020 wxString
*arg2
= 0 ;
17021 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17022 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17023 wxString
*result
= 0 ;
17026 bool temp2
= false ;
17027 bool temp3
= false ;
17028 PyObject
* obj0
= 0 ;
17029 PyObject
* obj1
= 0 ;
17030 PyObject
* obj2
= 0 ;
17031 char * kwnames
[] = {
17032 (char *) "self",(char *) "origString",(char *) "domain", NULL
17035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17037 if (!SWIG_IsOK(res1
)) {
17038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17040 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17042 arg2
= wxString_in_helper(obj1
);
17043 if (arg2
== NULL
) SWIG_fail
;
17048 arg3
= wxString_in_helper(obj2
);
17049 if (arg3
== NULL
) SWIG_fail
;
17054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17056 wxString
const &_result_ref
= ((wxPyLocale
const *)arg1
)->GetSingularString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17057 result
= (wxString
*) &_result_ref
;
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17064 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17066 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17091 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17092 PyObject
*resultobj
= 0;
17093 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17094 wxString
*arg2
= 0 ;
17095 wxString
*arg3
= 0 ;
17097 wxString
const &arg5_defvalue
= wxPyEmptyString
;
17098 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17099 wxString
*result
= 0 ;
17102 bool temp2
= false ;
17103 bool temp3
= false ;
17106 bool temp5
= false ;
17107 PyObject
* obj0
= 0 ;
17108 PyObject
* obj1
= 0 ;
17109 PyObject
* obj2
= 0 ;
17110 PyObject
* obj3
= 0 ;
17111 PyObject
* obj4
= 0 ;
17112 char * kwnames
[] = {
17113 (char *) "self",(char *) "origString",(char *) "origString2",(char *) "n",(char *) "domain", NULL
17116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17118 if (!SWIG_IsOK(res1
)) {
17119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17121 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17123 arg2
= wxString_in_helper(obj1
);
17124 if (arg2
== NULL
) SWIG_fail
;
17128 arg3
= wxString_in_helper(obj2
);
17129 if (arg3
== NULL
) SWIG_fail
;
17132 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17133 if (!SWIG_IsOK(ecode4
)) {
17134 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17136 arg4
= static_cast< size_t >(val4
);
17139 arg5
= wxString_in_helper(obj4
);
17140 if (arg5
== NULL
) SWIG_fail
;
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 wxString
const &_result_ref
= ((wxPyLocale
const *)arg1
)->GetPluralString((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
17148 result
= (wxString
*) &_result_ref
;
17150 wxPyEndAllowThreads(__tstate
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17155 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17157 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17190 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17192 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17193 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17194 return SWIG_Py_Void();
17197 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17198 return SWIG_Python_InitShadowInstance(args
);
17201 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17202 PyObject
*resultobj
= 0;
17203 wxLocale
*result
= 0 ;
17205 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17208 result
= (wxLocale
*)wxGetLocale();
17209 wxPyEndAllowThreads(__tstate
);
17210 if (PyErr_Occurred()) SWIG_fail
;
17212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17219 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17220 PyObject
*resultobj
= 0;
17221 wxString
*arg1
= 0 ;
17223 bool temp1
= false ;
17225 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17227 arg1
= wxString_in_helper(swig_obj
[0]);
17228 if (arg1
== NULL
) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= wxGetTranslation((wxString
const &)*arg1
);
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17258 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17259 PyObject
*resultobj
= 0;
17260 wxString
*arg1
= 0 ;
17261 wxString
*arg2
= 0 ;
17263 bool temp1
= false ;
17264 bool temp2
= false ;
17266 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17268 arg1
= wxString_in_helper(swig_obj
[0]);
17269 if (arg1
== NULL
) SWIG_fail
;
17273 arg2
= wxString_in_helper(swig_obj
[1]);
17274 if (arg2
== NULL
) SWIG_fail
;
17278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17279 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17312 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17313 PyObject
*resultobj
= 0;
17314 wxString
*arg1
= 0 ;
17315 wxString
*arg2
= 0 ;
17318 bool temp1
= false ;
17319 bool temp2
= false ;
17323 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17325 arg1
= wxString_in_helper(swig_obj
[0]);
17326 if (arg1
== NULL
) SWIG_fail
;
17330 arg2
= wxString_in_helper(swig_obj
[1]);
17331 if (arg2
== NULL
) SWIG_fail
;
17334 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17335 if (!SWIG_IsOK(ecode3
)) {
17336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17338 arg3
= static_cast< size_t >(val3
);
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17374 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17375 PyObject
*resultobj
= 0;
17376 wxString
*arg1
= 0 ;
17377 wxString
*arg2
= 0 ;
17379 wxString
*arg4
= 0 ;
17381 bool temp1
= false ;
17382 bool temp2
= false ;
17385 bool temp4
= false ;
17387 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17389 arg1
= wxString_in_helper(swig_obj
[0]);
17390 if (arg1
== NULL
) SWIG_fail
;
17394 arg2
= wxString_in_helper(swig_obj
[1]);
17395 if (arg2
== NULL
) SWIG_fail
;
17398 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17399 if (!SWIG_IsOK(ecode3
)) {
17400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17402 arg3
= static_cast< size_t >(val3
);
17404 arg4
= wxString_in_helper(swig_obj
[3]);
17405 if (arg4
== NULL
) SWIG_fail
;
17409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17410 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17451 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17455 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17458 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17461 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17464 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17467 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17471 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17476 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17477 PyObject
*resultobj
= 0;
17478 wxEncodingConverter
*result
= 0 ;
17480 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17494 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17495 PyObject
*resultobj
= 0;
17496 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17499 PyObject
*swig_obj
[1] ;
17501 if (!args
) SWIG_fail
;
17502 swig_obj
[0] = args
;
17503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17504 if (!SWIG_IsOK(res1
)) {
17505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17507 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= SWIG_Py_Void();
17522 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17523 PyObject
*resultobj
= 0;
17524 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17525 wxFontEncoding arg2
;
17526 wxFontEncoding arg3
;
17527 int arg4
= (int) wxCONVERT_STRICT
;
17537 PyObject
* obj0
= 0 ;
17538 PyObject
* obj1
= 0 ;
17539 PyObject
* obj2
= 0 ;
17540 PyObject
* obj3
= 0 ;
17541 char * kwnames
[] = {
17542 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17547 if (!SWIG_IsOK(res1
)) {
17548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17550 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17552 if (!SWIG_IsOK(ecode2
)) {
17553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17555 arg2
= static_cast< wxFontEncoding
>(val2
);
17556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17557 if (!SWIG_IsOK(ecode3
)) {
17558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17560 arg3
= static_cast< wxFontEncoding
>(val3
);
17562 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17563 if (!SWIG_IsOK(ecode4
)) {
17564 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17566 arg4
= static_cast< int >(val4
);
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17583 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17584 PyObject
*resultobj
= 0;
17585 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17586 wxString
*arg2
= 0 ;
17590 bool temp2
= false ;
17591 PyObject
* obj0
= 0 ;
17592 PyObject
* obj1
= 0 ;
17593 char * kwnames
[] = {
17594 (char *) "self",(char *) "input", NULL
17597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17599 if (!SWIG_IsOK(res1
)) {
17600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17602 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17604 arg2
= wxString_in_helper(obj1
);
17605 if (arg2
== NULL
) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17635 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17636 PyObject
*resultobj
= 0;
17637 wxFontEncoding arg1
;
17638 int arg2
= (int) wxPLATFORM_CURRENT
;
17639 wxFontEncodingArray result
;
17644 PyObject
* obj0
= 0 ;
17645 PyObject
* obj1
= 0 ;
17646 char * kwnames
[] = {
17647 (char *) "enc",(char *) "platform", NULL
17650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17651 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17652 if (!SWIG_IsOK(ecode1
)) {
17653 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17655 arg1
= static_cast< wxFontEncoding
>(val1
);
17657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17658 if (!SWIG_IsOK(ecode2
)) {
17659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17661 arg2
= static_cast< int >(val2
);
17664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= PyList_New(0);
17671 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17672 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17673 PyList_Append(resultobj
, number
);
17683 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17684 PyObject
*resultobj
= 0;
17685 wxFontEncoding arg1
;
17686 wxFontEncodingArray result
;
17689 PyObject
* obj0
= 0 ;
17690 char * kwnames
[] = {
17691 (char *) "enc", NULL
17694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17695 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17696 if (!SWIG_IsOK(ecode1
)) {
17697 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17699 arg1
= static_cast< wxFontEncoding
>(val1
);
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= PyList_New(0);
17708 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17709 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17710 PyList_Append(resultobj
, number
);
17720 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
= 0;
17722 wxFontEncoding arg1
;
17723 wxFontEncoding arg2
;
17729 PyObject
* obj0
= 0 ;
17730 PyObject
* obj1
= 0 ;
17731 char * kwnames
[] = {
17732 (char *) "encIn",(char *) "encOut", NULL
17735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17736 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17737 if (!SWIG_IsOK(ecode1
)) {
17738 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17740 arg1
= static_cast< wxFontEncoding
>(val1
);
17741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17742 if (!SWIG_IsOK(ecode2
)) {
17743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17745 arg2
= static_cast< wxFontEncoding
>(val2
);
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17761 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17764 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17765 return SWIG_Py_Void();
17768 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17769 return SWIG_Python_InitShadowInstance(args
);
17772 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17773 PyObject
*resultobj
= 0;
17774 wxDC
*arg1
= (wxDC
*) 0 ;
17777 PyObject
*swig_obj
[1] ;
17779 if (!args
) SWIG_fail
;
17780 swig_obj
[0] = args
;
17781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17782 if (!SWIG_IsOK(res1
)) {
17783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17785 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 resultobj
= SWIG_Py_Void();
17800 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
= 0;
17802 wxDC
*arg1
= (wxDC
*) 0 ;
17805 wxColour
*arg4
= 0 ;
17806 int arg5
= (int) wxFLOOD_SURFACE
;
17817 PyObject
* obj0
= 0 ;
17818 PyObject
* obj1
= 0 ;
17819 PyObject
* obj2
= 0 ;
17820 PyObject
* obj3
= 0 ;
17821 PyObject
* obj4
= 0 ;
17822 char * kwnames
[] = {
17823 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17828 if (!SWIG_IsOK(res1
)) {
17829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17831 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17833 if (!SWIG_IsOK(ecode2
)) {
17834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17836 arg2
= static_cast< int >(val2
);
17837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17838 if (!SWIG_IsOK(ecode3
)) {
17839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17841 arg3
= static_cast< int >(val3
);
17844 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17847 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17848 if (!SWIG_IsOK(ecode5
)) {
17849 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17851 arg5
= static_cast< int >(val5
);
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17868 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
= 0;
17870 wxDC
*arg1
= (wxDC
*) 0 ;
17871 wxPoint
*arg2
= 0 ;
17872 wxColour
*arg3
= 0 ;
17873 int arg4
= (int) wxFLOOD_SURFACE
;
17881 PyObject
* obj0
= 0 ;
17882 PyObject
* obj1
= 0 ;
17883 PyObject
* obj2
= 0 ;
17884 PyObject
* obj3
= 0 ;
17885 char * kwnames
[] = {
17886 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17891 if (!SWIG_IsOK(res1
)) {
17892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17894 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17897 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17901 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17904 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17905 if (!SWIG_IsOK(ecode4
)) {
17906 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17908 arg4
= static_cast< int >(val4
);
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17925 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
= 0;
17927 wxDC
*arg1
= (wxDC
*) 0 ;
17929 wxColour
*arg3
= 0 ;
17930 wxColour
*arg4
= 0 ;
17931 wxPoint
*arg5
= 0 ;
17938 PyObject
* obj0
= 0 ;
17939 PyObject
* obj1
= 0 ;
17940 PyObject
* obj2
= 0 ;
17941 PyObject
* obj3
= 0 ;
17942 PyObject
* obj4
= 0 ;
17943 char * kwnames
[] = {
17944 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17955 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17959 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17963 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17967 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17971 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17972 wxPyEndAllowThreads(__tstate
);
17973 if (PyErr_Occurred()) SWIG_fail
;
17975 resultobj
= SWIG_Py_Void();
17982 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
= 0;
17984 wxDC
*arg1
= (wxDC
*) 0 ;
17986 wxColour
*arg3
= 0 ;
17987 wxColour
*arg4
= 0 ;
17988 wxDirection arg5
= (wxDirection
) wxEAST
;
17996 PyObject
* obj0
= 0 ;
17997 PyObject
* obj1
= 0 ;
17998 PyObject
* obj2
= 0 ;
17999 PyObject
* obj3
= 0 ;
18000 PyObject
* obj4
= 0 ;
18001 char * kwnames
[] = {
18002 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18007 if (!SWIG_IsOK(res1
)) {
18008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18010 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18013 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18017 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18021 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18024 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18025 if (!SWIG_IsOK(ecode5
)) {
18026 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18028 arg5
= static_cast< wxDirection
>(val5
);
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 resultobj
= SWIG_Py_Void();
18043 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18044 PyObject
*resultobj
= 0;
18045 wxDC
*arg1
= (wxDC
*) 0 ;
18055 PyObject
* obj0
= 0 ;
18056 PyObject
* obj1
= 0 ;
18057 PyObject
* obj2
= 0 ;
18058 char * kwnames
[] = {
18059 (char *) "self",(char *) "x",(char *) "y", NULL
18062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18064 if (!SWIG_IsOK(res1
)) {
18065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18067 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18069 if (!SWIG_IsOK(ecode2
)) {
18070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18072 arg2
= static_cast< int >(val2
);
18073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18074 if (!SWIG_IsOK(ecode3
)) {
18075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18077 arg3
= static_cast< int >(val3
);
18079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18091 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
= 0;
18093 wxDC
*arg1
= (wxDC
*) 0 ;
18094 wxPoint
*arg2
= 0 ;
18099 PyObject
* obj0
= 0 ;
18100 PyObject
* obj1
= 0 ;
18101 char * kwnames
[] = {
18102 (char *) "self",(char *) "pt", NULL
18105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18107 if (!SWIG_IsOK(res1
)) {
18108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18110 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18113 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18128 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18129 PyObject
*resultobj
= 0;
18130 wxDC
*arg1
= (wxDC
*) 0 ;
18145 PyObject
* obj0
= 0 ;
18146 PyObject
* obj1
= 0 ;
18147 PyObject
* obj2
= 0 ;
18148 PyObject
* obj3
= 0 ;
18149 PyObject
* obj4
= 0 ;
18150 char * kwnames
[] = {
18151 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18156 if (!SWIG_IsOK(res1
)) {
18157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18161 if (!SWIG_IsOK(ecode2
)) {
18162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18164 arg2
= static_cast< int >(val2
);
18165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18166 if (!SWIG_IsOK(ecode3
)) {
18167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18169 arg3
= static_cast< int >(val3
);
18170 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18171 if (!SWIG_IsOK(ecode4
)) {
18172 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18174 arg4
= static_cast< int >(val4
);
18175 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18176 if (!SWIG_IsOK(ecode5
)) {
18177 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18179 arg5
= static_cast< int >(val5
);
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18186 resultobj
= SWIG_Py_Void();
18193 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
= 0;
18195 wxDC
*arg1
= (wxDC
*) 0 ;
18196 wxPoint
*arg2
= 0 ;
18197 wxPoint
*arg3
= 0 ;
18202 PyObject
* obj0
= 0 ;
18203 PyObject
* obj1
= 0 ;
18204 PyObject
* obj2
= 0 ;
18205 char * kwnames
[] = {
18206 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18211 if (!SWIG_IsOK(res1
)) {
18212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18217 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18221 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18225 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18226 wxPyEndAllowThreads(__tstate
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18229 resultobj
= SWIG_Py_Void();
18236 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18237 PyObject
*resultobj
= 0;
18238 wxDC
*arg1
= (wxDC
*) 0 ;
18247 PyObject
* obj0
= 0 ;
18248 PyObject
* obj1
= 0 ;
18249 PyObject
* obj2
= 0 ;
18250 char * kwnames
[] = {
18251 (char *) "self",(char *) "x",(char *) "y", NULL
18254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18256 if (!SWIG_IsOK(res1
)) {
18257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18259 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18261 if (!SWIG_IsOK(ecode2
)) {
18262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18264 arg2
= static_cast< int >(val2
);
18265 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18266 if (!SWIG_IsOK(ecode3
)) {
18267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18269 arg3
= static_cast< int >(val3
);
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 (arg1
)->CrossHair(arg2
,arg3
);
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18276 resultobj
= SWIG_Py_Void();
18283 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18284 PyObject
*resultobj
= 0;
18285 wxDC
*arg1
= (wxDC
*) 0 ;
18286 wxPoint
*arg2
= 0 ;
18290 PyObject
* obj0
= 0 ;
18291 PyObject
* obj1
= 0 ;
18292 char * kwnames
[] = {
18293 (char *) "self",(char *) "pt", NULL
18296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18298 if (!SWIG_IsOK(res1
)) {
18299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18301 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18304 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18312 resultobj
= SWIG_Py_Void();
18319 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18320 PyObject
*resultobj
= 0;
18321 wxDC
*arg1
= (wxDC
*) 0 ;
18342 PyObject
* obj0
= 0 ;
18343 PyObject
* obj1
= 0 ;
18344 PyObject
* obj2
= 0 ;
18345 PyObject
* obj3
= 0 ;
18346 PyObject
* obj4
= 0 ;
18347 PyObject
* obj5
= 0 ;
18348 PyObject
* obj6
= 0 ;
18349 char * kwnames
[] = {
18350 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18355 if (!SWIG_IsOK(res1
)) {
18356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18358 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18360 if (!SWIG_IsOK(ecode2
)) {
18361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18363 arg2
= static_cast< int >(val2
);
18364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18365 if (!SWIG_IsOK(ecode3
)) {
18366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18368 arg3
= static_cast< int >(val3
);
18369 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18370 if (!SWIG_IsOK(ecode4
)) {
18371 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18373 arg4
= static_cast< int >(val4
);
18374 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18375 if (!SWIG_IsOK(ecode5
)) {
18376 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18378 arg5
= static_cast< int >(val5
);
18379 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18380 if (!SWIG_IsOK(ecode6
)) {
18381 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18383 arg6
= static_cast< int >(val6
);
18384 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18385 if (!SWIG_IsOK(ecode7
)) {
18386 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18388 arg7
= static_cast< int >(val7
);
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= SWIG_Py_Void();
18402 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
= 0;
18404 wxDC
*arg1
= (wxDC
*) 0 ;
18405 wxPoint
*arg2
= 0 ;
18406 wxPoint
*arg3
= 0 ;
18407 wxPoint
*arg4
= 0 ;
18413 PyObject
* obj0
= 0 ;
18414 PyObject
* obj1
= 0 ;
18415 PyObject
* obj2
= 0 ;
18416 PyObject
* obj3
= 0 ;
18417 char * kwnames
[] = {
18418 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18423 if (!SWIG_IsOK(res1
)) {
18424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18426 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18429 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18433 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18437 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18445 resultobj
= SWIG_Py_Void();
18452 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18453 PyObject
*resultobj
= 0;
18454 wxDC
*arg1
= (wxDC
*) 0 ;
18469 PyObject
* obj0
= 0 ;
18470 PyObject
* obj1
= 0 ;
18471 PyObject
* obj2
= 0 ;
18472 PyObject
* obj3
= 0 ;
18473 PyObject
* obj4
= 0 ;
18474 char * kwnames
[] = {
18475 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18480 if (!SWIG_IsOK(res1
)) {
18481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18485 if (!SWIG_IsOK(ecode2
)) {
18486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18488 arg2
= static_cast< int >(val2
);
18489 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18490 if (!SWIG_IsOK(ecode3
)) {
18491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18493 arg3
= static_cast< int >(val3
);
18494 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18495 if (!SWIG_IsOK(ecode4
)) {
18496 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18498 arg4
= static_cast< int >(val4
);
18499 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18500 if (!SWIG_IsOK(ecode5
)) {
18501 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18503 arg5
= static_cast< int >(val5
);
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 resultobj
= SWIG_Py_Void();
18517 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
= 0;
18519 wxDC
*arg1
= (wxDC
*) 0 ;
18524 PyObject
* obj0
= 0 ;
18525 PyObject
* obj1
= 0 ;
18526 char * kwnames
[] = {
18527 (char *) "self",(char *) "rect", NULL
18530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18532 if (!SWIG_IsOK(res1
)) {
18533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18538 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18543 wxPyEndAllowThreads(__tstate
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= SWIG_Py_Void();
18553 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18554 PyObject
*resultobj
= 0;
18555 wxDC
*arg1
= (wxDC
*) 0 ;
18576 PyObject
* obj0
= 0 ;
18577 PyObject
* obj1
= 0 ;
18578 PyObject
* obj2
= 0 ;
18579 PyObject
* obj3
= 0 ;
18580 PyObject
* obj4
= 0 ;
18581 PyObject
* obj5
= 0 ;
18582 PyObject
* obj6
= 0 ;
18583 char * kwnames
[] = {
18584 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18589 if (!SWIG_IsOK(res1
)) {
18590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18592 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18594 if (!SWIG_IsOK(ecode2
)) {
18595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18597 arg2
= static_cast< int >(val2
);
18598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18599 if (!SWIG_IsOK(ecode3
)) {
18600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18602 arg3
= static_cast< int >(val3
);
18603 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18604 if (!SWIG_IsOK(ecode4
)) {
18605 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18607 arg4
= static_cast< int >(val4
);
18608 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18609 if (!SWIG_IsOK(ecode5
)) {
18610 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18612 arg5
= static_cast< int >(val5
);
18613 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18614 if (!SWIG_IsOK(ecode6
)) {
18615 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18617 arg6
= static_cast< double >(val6
);
18618 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18619 if (!SWIG_IsOK(ecode7
)) {
18620 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18622 arg7
= static_cast< double >(val7
);
18624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18626 wxPyEndAllowThreads(__tstate
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18629 resultobj
= SWIG_Py_Void();
18636 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18637 PyObject
*resultobj
= 0;
18638 wxDC
*arg1
= (wxDC
*) 0 ;
18639 wxPoint
*arg2
= 0 ;
18651 PyObject
* obj0
= 0 ;
18652 PyObject
* obj1
= 0 ;
18653 PyObject
* obj2
= 0 ;
18654 PyObject
* obj3
= 0 ;
18655 PyObject
* obj4
= 0 ;
18656 char * kwnames
[] = {
18657 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18662 if (!SWIG_IsOK(res1
)) {
18663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18665 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18668 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18672 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18674 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18675 if (!SWIG_IsOK(ecode4
)) {
18676 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18678 arg4
= static_cast< double >(val4
);
18679 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18680 if (!SWIG_IsOK(ecode5
)) {
18681 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18683 arg5
= static_cast< double >(val5
);
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 resultobj
= SWIG_Py_Void();
18697 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
= 0;
18699 wxDC
*arg1
= (wxDC
*) 0 ;
18708 PyObject
* obj0
= 0 ;
18709 PyObject
* obj1
= 0 ;
18710 PyObject
* obj2
= 0 ;
18711 char * kwnames
[] = {
18712 (char *) "self",(char *) "x",(char *) "y", NULL
18715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18717 if (!SWIG_IsOK(res1
)) {
18718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18720 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18722 if (!SWIG_IsOK(ecode2
)) {
18723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18725 arg2
= static_cast< int >(val2
);
18726 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18727 if (!SWIG_IsOK(ecode3
)) {
18728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18730 arg3
= static_cast< int >(val3
);
18732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 (arg1
)->DrawPoint(arg2
,arg3
);
18734 wxPyEndAllowThreads(__tstate
);
18735 if (PyErr_Occurred()) SWIG_fail
;
18737 resultobj
= SWIG_Py_Void();
18744 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18745 PyObject
*resultobj
= 0;
18746 wxDC
*arg1
= (wxDC
*) 0 ;
18747 wxPoint
*arg2
= 0 ;
18751 PyObject
* obj0
= 0 ;
18752 PyObject
* obj1
= 0 ;
18753 char * kwnames
[] = {
18754 (char *) "self",(char *) "pt", NULL
18757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18759 if (!SWIG_IsOK(res1
)) {
18760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18762 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18765 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18769 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18770 wxPyEndAllowThreads(__tstate
);
18771 if (PyErr_Occurred()) SWIG_fail
;
18773 resultobj
= SWIG_Py_Void();
18780 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
= 0;
18782 wxDC
*arg1
= (wxDC
*) 0 ;
18797 PyObject
* obj0
= 0 ;
18798 PyObject
* obj1
= 0 ;
18799 PyObject
* obj2
= 0 ;
18800 PyObject
* obj3
= 0 ;
18801 PyObject
* obj4
= 0 ;
18802 char * kwnames
[] = {
18803 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18808 if (!SWIG_IsOK(res1
)) {
18809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18811 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18812 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18813 if (!SWIG_IsOK(ecode2
)) {
18814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18816 arg2
= static_cast< int >(val2
);
18817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18818 if (!SWIG_IsOK(ecode3
)) {
18819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18821 arg3
= static_cast< int >(val3
);
18822 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18823 if (!SWIG_IsOK(ecode4
)) {
18824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18826 arg4
= static_cast< int >(val4
);
18827 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18828 if (!SWIG_IsOK(ecode5
)) {
18829 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18831 arg5
= static_cast< int >(val5
);
18833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18834 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18838 resultobj
= SWIG_Py_Void();
18845 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
= 0;
18847 wxDC
*arg1
= (wxDC
*) 0 ;
18852 PyObject
* obj0
= 0 ;
18853 PyObject
* obj1
= 0 ;
18854 char * kwnames
[] = {
18855 (char *) "self",(char *) "rect", NULL
18858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18860 if (!SWIG_IsOK(res1
)) {
18861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18866 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18870 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18871 wxPyEndAllowThreads(__tstate
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= SWIG_Py_Void();
18881 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
= 0;
18883 wxDC
*arg1
= (wxDC
*) 0 ;
18884 wxPoint
*arg2
= 0 ;
18890 PyObject
* obj0
= 0 ;
18891 PyObject
* obj1
= 0 ;
18892 PyObject
* obj2
= 0 ;
18893 char * kwnames
[] = {
18894 (char *) "self",(char *) "pt",(char *) "sz", NULL
18897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18899 if (!SWIG_IsOK(res1
)) {
18900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18905 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18909 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18917 resultobj
= SWIG_Py_Void();
18924 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
= 0;
18926 wxDC
*arg1
= (wxDC
*) 0 ;
18944 PyObject
* obj0
= 0 ;
18945 PyObject
* obj1
= 0 ;
18946 PyObject
* obj2
= 0 ;
18947 PyObject
* obj3
= 0 ;
18948 PyObject
* obj4
= 0 ;
18949 PyObject
* obj5
= 0 ;
18950 char * kwnames
[] = {
18951 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18956 if (!SWIG_IsOK(res1
)) {
18957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18961 if (!SWIG_IsOK(ecode2
)) {
18962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18964 arg2
= static_cast< int >(val2
);
18965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18966 if (!SWIG_IsOK(ecode3
)) {
18967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18969 arg3
= static_cast< int >(val3
);
18970 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18971 if (!SWIG_IsOK(ecode4
)) {
18972 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18974 arg4
= static_cast< int >(val4
);
18975 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18976 if (!SWIG_IsOK(ecode5
)) {
18977 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18979 arg5
= static_cast< int >(val5
);
18980 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18981 if (!SWIG_IsOK(ecode6
)) {
18982 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18984 arg6
= static_cast< double >(val6
);
18986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18987 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18988 wxPyEndAllowThreads(__tstate
);
18989 if (PyErr_Occurred()) SWIG_fail
;
18991 resultobj
= SWIG_Py_Void();
18998 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18999 PyObject
*resultobj
= 0;
19000 wxDC
*arg1
= (wxDC
*) 0 ;
19008 PyObject
* obj0
= 0 ;
19009 PyObject
* obj1
= 0 ;
19010 PyObject
* obj2
= 0 ;
19011 char * kwnames
[] = {
19012 (char *) "self",(char *) "r",(char *) "radius", NULL
19015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19017 if (!SWIG_IsOK(res1
)) {
19018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19020 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19023 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19025 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19026 if (!SWIG_IsOK(ecode3
)) {
19027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19029 arg3
= static_cast< double >(val3
);
19031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19032 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 resultobj
= SWIG_Py_Void();
19043 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19044 PyObject
*resultobj
= 0;
19045 wxDC
*arg1
= (wxDC
*) 0 ;
19046 wxPoint
*arg2
= 0 ;
19055 PyObject
* obj0
= 0 ;
19056 PyObject
* obj1
= 0 ;
19057 PyObject
* obj2
= 0 ;
19058 PyObject
* obj3
= 0 ;
19059 char * kwnames
[] = {
19060 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19065 if (!SWIG_IsOK(res1
)) {
19066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19068 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19071 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19075 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19077 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19078 if (!SWIG_IsOK(ecode4
)) {
19079 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19081 arg4
= static_cast< double >(val4
);
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19088 resultobj
= SWIG_Py_Void();
19095 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19096 PyObject
*resultobj
= 0;
19097 wxDC
*arg1
= (wxDC
*) 0 ;
19109 PyObject
* obj0
= 0 ;
19110 PyObject
* obj1
= 0 ;
19111 PyObject
* obj2
= 0 ;
19112 PyObject
* obj3
= 0 ;
19113 char * kwnames
[] = {
19114 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19119 if (!SWIG_IsOK(res1
)) {
19120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19122 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19124 if (!SWIG_IsOK(ecode2
)) {
19125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19127 arg2
= static_cast< int >(val2
);
19128 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19129 if (!SWIG_IsOK(ecode3
)) {
19130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19132 arg3
= static_cast< int >(val3
);
19133 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19134 if (!SWIG_IsOK(ecode4
)) {
19135 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19137 arg4
= static_cast< int >(val4
);
19139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19140 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 resultobj
= SWIG_Py_Void();
19151 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19152 PyObject
*resultobj
= 0;
19153 wxDC
*arg1
= (wxDC
*) 0 ;
19154 wxPoint
*arg2
= 0 ;
19161 PyObject
* obj0
= 0 ;
19162 PyObject
* obj1
= 0 ;
19163 PyObject
* obj2
= 0 ;
19164 char * kwnames
[] = {
19165 (char *) "self",(char *) "pt",(char *) "radius", NULL
19168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19170 if (!SWIG_IsOK(res1
)) {
19171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19173 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19176 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19178 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19179 if (!SWIG_IsOK(ecode3
)) {
19180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19182 arg3
= static_cast< int >(val3
);
19184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19185 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19186 wxPyEndAllowThreads(__tstate
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19189 resultobj
= SWIG_Py_Void();
19196 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19197 PyObject
*resultobj
= 0;
19198 wxDC
*arg1
= (wxDC
*) 0 ;
19213 PyObject
* obj0
= 0 ;
19214 PyObject
* obj1
= 0 ;
19215 PyObject
* obj2
= 0 ;
19216 PyObject
* obj3
= 0 ;
19217 PyObject
* obj4
= 0 ;
19218 char * kwnames
[] = {
19219 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19224 if (!SWIG_IsOK(res1
)) {
19225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19227 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19229 if (!SWIG_IsOK(ecode2
)) {
19230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19232 arg2
= static_cast< int >(val2
);
19233 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19234 if (!SWIG_IsOK(ecode3
)) {
19235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19237 arg3
= static_cast< int >(val3
);
19238 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19239 if (!SWIG_IsOK(ecode4
)) {
19240 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19242 arg4
= static_cast< int >(val4
);
19243 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19244 if (!SWIG_IsOK(ecode5
)) {
19245 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19247 arg5
= static_cast< int >(val5
);
19249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19250 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19254 resultobj
= SWIG_Py_Void();
19261 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19262 PyObject
*resultobj
= 0;
19263 wxDC
*arg1
= (wxDC
*) 0 ;
19268 PyObject
* obj0
= 0 ;
19269 PyObject
* obj1
= 0 ;
19270 char * kwnames
[] = {
19271 (char *) "self",(char *) "rect", NULL
19274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19276 if (!SWIG_IsOK(res1
)) {
19277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19279 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19282 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19286 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19287 wxPyEndAllowThreads(__tstate
);
19288 if (PyErr_Occurred()) SWIG_fail
;
19290 resultobj
= SWIG_Py_Void();
19297 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19298 PyObject
*resultobj
= 0;
19299 wxDC
*arg1
= (wxDC
*) 0 ;
19300 wxPoint
*arg2
= 0 ;
19306 PyObject
* obj0
= 0 ;
19307 PyObject
* obj1
= 0 ;
19308 PyObject
* obj2
= 0 ;
19309 char * kwnames
[] = {
19310 (char *) "self",(char *) "pt",(char *) "sz", NULL
19313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19315 if (!SWIG_IsOK(res1
)) {
19316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19318 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19321 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19325 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19329 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19333 resultobj
= SWIG_Py_Void();
19340 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19341 PyObject
*resultobj
= 0;
19342 wxDC
*arg1
= (wxDC
*) 0 ;
19354 PyObject
* obj0
= 0 ;
19355 PyObject
* obj1
= 0 ;
19356 PyObject
* obj2
= 0 ;
19357 PyObject
* obj3
= 0 ;
19358 char * kwnames
[] = {
19359 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19364 if (!SWIG_IsOK(res1
)) {
19365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19367 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19368 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19369 if (!SWIG_IsOK(res2
)) {
19370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19375 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19377 if (!SWIG_IsOK(ecode3
)) {
19378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19380 arg3
= static_cast< int >(val3
);
19381 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19382 if (!SWIG_IsOK(ecode4
)) {
19383 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19385 arg4
= static_cast< int >(val4
);
19387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19388 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19389 wxPyEndAllowThreads(__tstate
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19392 resultobj
= SWIG_Py_Void();
19399 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19400 PyObject
*resultobj
= 0;
19401 wxDC
*arg1
= (wxDC
*) 0 ;
19403 wxPoint
*arg3
= 0 ;
19409 PyObject
* obj0
= 0 ;
19410 PyObject
* obj1
= 0 ;
19411 PyObject
* obj2
= 0 ;
19412 char * kwnames
[] = {
19413 (char *) "self",(char *) "icon",(char *) "pt", NULL
19416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19418 if (!SWIG_IsOK(res1
)) {
19419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19421 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19422 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19423 if (!SWIG_IsOK(res2
)) {
19424 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19429 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19432 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19436 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19440 resultobj
= SWIG_Py_Void();
19447 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
= 0;
19449 wxDC
*arg1
= (wxDC
*) 0 ;
19450 wxBitmap
*arg2
= 0 ;
19453 bool arg5
= (bool) false ;
19464 PyObject
* obj0
= 0 ;
19465 PyObject
* obj1
= 0 ;
19466 PyObject
* obj2
= 0 ;
19467 PyObject
* obj3
= 0 ;
19468 PyObject
* obj4
= 0 ;
19469 char * kwnames
[] = {
19470 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19475 if (!SWIG_IsOK(res1
)) {
19476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19478 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19479 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19480 if (!SWIG_IsOK(res2
)) {
19481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19486 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19487 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19488 if (!SWIG_IsOK(ecode3
)) {
19489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19491 arg3
= static_cast< int >(val3
);
19492 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19493 if (!SWIG_IsOK(ecode4
)) {
19494 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19496 arg4
= static_cast< int >(val4
);
19498 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19499 if (!SWIG_IsOK(ecode5
)) {
19500 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19502 arg5
= static_cast< bool >(val5
);
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 resultobj
= SWIG_Py_Void();
19517 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19518 PyObject
*resultobj
= 0;
19519 wxDC
*arg1
= (wxDC
*) 0 ;
19520 wxBitmap
*arg2
= 0 ;
19521 wxPoint
*arg3
= 0 ;
19522 bool arg4
= (bool) false ;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 PyObject
* obj2
= 0 ;
19533 PyObject
* obj3
= 0 ;
19534 char * kwnames
[] = {
19535 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19540 if (!SWIG_IsOK(res1
)) {
19541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19543 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19544 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19545 if (!SWIG_IsOK(res2
)) {
19546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19551 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19554 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19557 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19558 if (!SWIG_IsOK(ecode4
)) {
19559 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19561 arg4
= static_cast< bool >(val4
);
19564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19565 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19566 wxPyEndAllowThreads(__tstate
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19569 resultobj
= SWIG_Py_Void();
19576 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19577 PyObject
*resultobj
= 0;
19578 wxDC
*arg1
= (wxDC
*) 0 ;
19579 wxString
*arg2
= 0 ;
19584 bool temp2
= false ;
19589 PyObject
* obj0
= 0 ;
19590 PyObject
* obj1
= 0 ;
19591 PyObject
* obj2
= 0 ;
19592 PyObject
* obj3
= 0 ;
19593 char * kwnames
[] = {
19594 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19599 if (!SWIG_IsOK(res1
)) {
19600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19602 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19604 arg2
= wxString_in_helper(obj1
);
19605 if (arg2
== NULL
) SWIG_fail
;
19608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19609 if (!SWIG_IsOK(ecode3
)) {
19610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19612 arg3
= static_cast< int >(val3
);
19613 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19614 if (!SWIG_IsOK(ecode4
)) {
19615 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19617 arg4
= static_cast< int >(val4
);
19619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19620 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19621 wxPyEndAllowThreads(__tstate
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19624 resultobj
= SWIG_Py_Void();
19639 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
= 0;
19641 wxDC
*arg1
= (wxDC
*) 0 ;
19642 wxString
*arg2
= 0 ;
19643 wxPoint
*arg3
= 0 ;
19646 bool temp2
= false ;
19648 PyObject
* obj0
= 0 ;
19649 PyObject
* obj1
= 0 ;
19650 PyObject
* obj2
= 0 ;
19651 char * kwnames
[] = {
19652 (char *) "self",(char *) "text",(char *) "pt", NULL
19655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19657 if (!SWIG_IsOK(res1
)) {
19658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19660 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19662 arg2
= wxString_in_helper(obj1
);
19663 if (arg2
== NULL
) SWIG_fail
;
19668 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19673 wxPyEndAllowThreads(__tstate
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19676 resultobj
= SWIG_Py_Void();
19691 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19692 PyObject
*resultobj
= 0;
19693 wxDC
*arg1
= (wxDC
*) 0 ;
19694 wxString
*arg2
= 0 ;
19700 bool temp2
= false ;
19707 PyObject
* obj0
= 0 ;
19708 PyObject
* obj1
= 0 ;
19709 PyObject
* obj2
= 0 ;
19710 PyObject
* obj3
= 0 ;
19711 PyObject
* obj4
= 0 ;
19712 char * kwnames
[] = {
19713 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19718 if (!SWIG_IsOK(res1
)) {
19719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19721 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19723 arg2
= wxString_in_helper(obj1
);
19724 if (arg2
== NULL
) SWIG_fail
;
19727 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19728 if (!SWIG_IsOK(ecode3
)) {
19729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19731 arg3
= static_cast< int >(val3
);
19732 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19733 if (!SWIG_IsOK(ecode4
)) {
19734 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19736 arg4
= static_cast< int >(val4
);
19737 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19738 if (!SWIG_IsOK(ecode5
)) {
19739 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19741 arg5
= static_cast< double >(val5
);
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19748 resultobj
= SWIG_Py_Void();
19763 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
= 0;
19765 wxDC
*arg1
= (wxDC
*) 0 ;
19766 wxString
*arg2
= 0 ;
19767 wxPoint
*arg3
= 0 ;
19771 bool temp2
= false ;
19775 PyObject
* obj0
= 0 ;
19776 PyObject
* obj1
= 0 ;
19777 PyObject
* obj2
= 0 ;
19778 PyObject
* obj3
= 0 ;
19779 char * kwnames
[] = {
19780 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19785 if (!SWIG_IsOK(res1
)) {
19786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19788 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19790 arg2
= wxString_in_helper(obj1
);
19791 if (arg2
== NULL
) SWIG_fail
;
19796 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19798 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19799 if (!SWIG_IsOK(ecode4
)) {
19800 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19802 arg4
= static_cast< double >(val4
);
19804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19805 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19809 resultobj
= SWIG_Py_Void();
19824 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19825 PyObject
*resultobj
= 0;
19826 wxDC
*arg1
= (wxDC
*) 0 ;
19831 wxDC
*arg6
= (wxDC
*) 0 ;
19834 int arg9
= (int) wxCOPY
;
19835 bool arg10
= (bool) false ;
19836 int arg11
= (int) -1 ;
19837 int arg12
= (int) -1 ;
19863 PyObject
* obj0
= 0 ;
19864 PyObject
* obj1
= 0 ;
19865 PyObject
* obj2
= 0 ;
19866 PyObject
* obj3
= 0 ;
19867 PyObject
* obj4
= 0 ;
19868 PyObject
* obj5
= 0 ;
19869 PyObject
* obj6
= 0 ;
19870 PyObject
* obj7
= 0 ;
19871 PyObject
* obj8
= 0 ;
19872 PyObject
* obj9
= 0 ;
19873 PyObject
* obj10
= 0 ;
19874 PyObject
* obj11
= 0 ;
19875 char * kwnames
[] = {
19876 (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
19879 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
;
19880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19881 if (!SWIG_IsOK(res1
)) {
19882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19884 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19886 if (!SWIG_IsOK(ecode2
)) {
19887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19889 arg2
= static_cast< int >(val2
);
19890 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19891 if (!SWIG_IsOK(ecode3
)) {
19892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19894 arg3
= static_cast< int >(val3
);
19895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19896 if (!SWIG_IsOK(ecode4
)) {
19897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19899 arg4
= static_cast< int >(val4
);
19900 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19901 if (!SWIG_IsOK(ecode5
)) {
19902 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19904 arg5
= static_cast< int >(val5
);
19905 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19906 if (!SWIG_IsOK(res6
)) {
19907 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19909 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19910 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19911 if (!SWIG_IsOK(ecode7
)) {
19912 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19914 arg7
= static_cast< int >(val7
);
19915 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19916 if (!SWIG_IsOK(ecode8
)) {
19917 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19919 arg8
= static_cast< int >(val8
);
19921 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19922 if (!SWIG_IsOK(ecode9
)) {
19923 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19925 arg9
= static_cast< int >(val9
);
19928 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19929 if (!SWIG_IsOK(ecode10
)) {
19930 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19932 arg10
= static_cast< bool >(val10
);
19935 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19936 if (!SWIG_IsOK(ecode11
)) {
19937 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19939 arg11
= static_cast< int >(val11
);
19942 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19943 if (!SWIG_IsOK(ecode12
)) {
19944 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19946 arg12
= static_cast< int >(val12
);
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19963 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
= 0;
19965 wxDC
*arg1
= (wxDC
*) 0 ;
19966 wxPoint
*arg2
= 0 ;
19968 wxDC
*arg4
= (wxDC
*) 0 ;
19969 wxPoint
*arg5
= 0 ;
19970 int arg6
= (int) wxCOPY
;
19971 bool arg7
= (bool) false ;
19972 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19973 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19987 PyObject
* obj0
= 0 ;
19988 PyObject
* obj1
= 0 ;
19989 PyObject
* obj2
= 0 ;
19990 PyObject
* obj3
= 0 ;
19991 PyObject
* obj4
= 0 ;
19992 PyObject
* obj5
= 0 ;
19993 PyObject
* obj6
= 0 ;
19994 PyObject
* obj7
= 0 ;
19995 char * kwnames
[] = {
19996 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20001 if (!SWIG_IsOK(res1
)) {
20002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20004 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20007 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20011 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20013 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20014 if (!SWIG_IsOK(res4
)) {
20015 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20017 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20020 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20023 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20024 if (!SWIG_IsOK(ecode6
)) {
20025 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20027 arg6
= static_cast< int >(val6
);
20030 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20031 if (!SWIG_IsOK(ecode7
)) {
20032 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20034 arg7
= static_cast< bool >(val7
);
20039 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20045 wxPyEndAllowThreads(__tstate
);
20046 if (PyErr_Occurred()) SWIG_fail
;
20049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20057 SWIGINTERN PyObject
*_wrap_DC_StretchBlit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20058 PyObject
*resultobj
= 0;
20059 wxDC
*arg1
= (wxDC
*) 0 ;
20064 wxDC
*arg6
= (wxDC
*) 0 ;
20069 int arg11
= (int) wxCOPY
;
20070 bool arg12
= (bool) false ;
20071 int arg13
= (int) wxDefaultCoord
;
20072 int arg14
= (int) wxDefaultCoord
;
20102 PyObject
* obj0
= 0 ;
20103 PyObject
* obj1
= 0 ;
20104 PyObject
* obj2
= 0 ;
20105 PyObject
* obj3
= 0 ;
20106 PyObject
* obj4
= 0 ;
20107 PyObject
* obj5
= 0 ;
20108 PyObject
* obj6
= 0 ;
20109 PyObject
* obj7
= 0 ;
20110 PyObject
* obj8
= 0 ;
20111 PyObject
* obj9
= 0 ;
20112 PyObject
* obj10
= 0 ;
20113 PyObject
* obj11
= 0 ;
20114 PyObject
* obj12
= 0 ;
20115 PyObject
* obj13
= 0 ;
20116 char * kwnames
[] = {
20117 (char *) "self",(char *) "dstX",(char *) "dstY",(char *) "dstWidth",(char *) "dstHeight",(char *) "source",(char *) "srcX",(char *) "srcY",(char *) "srcWidth",(char *) "srcHeight",(char *) "rop",(char *) "useMask",(char *) "srcMaskX",(char *) "srcMaskY", NULL
20120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOOOO|OOOO:DC_StretchBlit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
,&obj12
,&obj13
)) SWIG_fail
;
20121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20122 if (!SWIG_IsOK(res1
)) {
20123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlit" "', expected argument " "1"" of type '" "wxDC *""'");
20125 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20127 if (!SWIG_IsOK(ecode2
)) {
20128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_StretchBlit" "', expected argument " "2"" of type '" "int""'");
20130 arg2
= static_cast< int >(val2
);
20131 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20132 if (!SWIG_IsOK(ecode3
)) {
20133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_StretchBlit" "', expected argument " "3"" of type '" "int""'");
20135 arg3
= static_cast< int >(val3
);
20136 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20137 if (!SWIG_IsOK(ecode4
)) {
20138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_StretchBlit" "', expected argument " "4"" of type '" "int""'");
20140 arg4
= static_cast< int >(val4
);
20141 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20142 if (!SWIG_IsOK(ecode5
)) {
20143 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_StretchBlit" "', expected argument " "5"" of type '" "int""'");
20145 arg5
= static_cast< int >(val5
);
20146 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20147 if (!SWIG_IsOK(res6
)) {
20148 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_StretchBlit" "', expected argument " "6"" of type '" "wxDC *""'");
20150 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20151 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20152 if (!SWIG_IsOK(ecode7
)) {
20153 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlit" "', expected argument " "7"" of type '" "int""'");
20155 arg7
= static_cast< int >(val7
);
20156 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20157 if (!SWIG_IsOK(ecode8
)) {
20158 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlit" "', expected argument " "8"" of type '" "int""'");
20160 arg8
= static_cast< int >(val8
);
20161 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20162 if (!SWIG_IsOK(ecode9
)) {
20163 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_StretchBlit" "', expected argument " "9"" of type '" "int""'");
20165 arg9
= static_cast< int >(val9
);
20166 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
20167 if (!SWIG_IsOK(ecode10
)) {
20168 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_StretchBlit" "', expected argument " "10"" of type '" "int""'");
20170 arg10
= static_cast< int >(val10
);
20172 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20173 if (!SWIG_IsOK(ecode11
)) {
20174 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_StretchBlit" "', expected argument " "11"" of type '" "int""'");
20176 arg11
= static_cast< int >(val11
);
20179 ecode12
= SWIG_AsVal_bool(obj11
, &val12
);
20180 if (!SWIG_IsOK(ecode12
)) {
20181 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_StretchBlit" "', expected argument " "12"" of type '" "bool""'");
20183 arg12
= static_cast< bool >(val12
);
20186 ecode13
= SWIG_AsVal_int(obj12
, &val13
);
20187 if (!SWIG_IsOK(ecode13
)) {
20188 SWIG_exception_fail(SWIG_ArgError(ecode13
), "in method '" "DC_StretchBlit" "', expected argument " "13"" of type '" "int""'");
20190 arg13
= static_cast< int >(val13
);
20193 ecode14
= SWIG_AsVal_int(obj13
, &val14
);
20194 if (!SWIG_IsOK(ecode14
)) {
20195 SWIG_exception_fail(SWIG_ArgError(ecode14
), "in method '" "DC_StretchBlit" "', expected argument " "14"" of type '" "int""'");
20197 arg14
= static_cast< int >(val14
);
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 result
= (bool)(arg1
)->StretchBlit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
,arg13
,arg14
);
20202 wxPyEndAllowThreads(__tstate
);
20203 if (PyErr_Occurred()) SWIG_fail
;
20206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20214 SWIGINTERN PyObject
*_wrap_DC_StretchBlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20215 PyObject
*resultobj
= 0;
20216 wxDC
*arg1
= (wxDC
*) 0 ;
20217 wxPoint
*arg2
= 0 ;
20219 wxDC
*arg4
= (wxDC
*) 0 ;
20220 wxPoint
*arg5
= 0 ;
20222 int arg7
= (int) wxCOPY
;
20223 bool arg8
= (bool) false ;
20224 wxPoint
const &arg9_defvalue
= wxDefaultPosition
;
20225 wxPoint
*arg9
= (wxPoint
*) &arg9_defvalue
;
20240 PyObject
* obj0
= 0 ;
20241 PyObject
* obj1
= 0 ;
20242 PyObject
* obj2
= 0 ;
20243 PyObject
* obj3
= 0 ;
20244 PyObject
* obj4
= 0 ;
20245 PyObject
* obj5
= 0 ;
20246 PyObject
* obj6
= 0 ;
20247 PyObject
* obj7
= 0 ;
20248 PyObject
* obj8
= 0 ;
20249 char * kwnames
[] = {
20250 (char *) "self",(char *) "dstPt",(char *) "dstSize",(char *) "source",(char *) "srcPt",(char *) "srcSize",(char *) "rop",(char *) "useMask",(char *) "srcMaskPt", NULL
20253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOO:DC_StretchBlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
20254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20255 if (!SWIG_IsOK(res1
)) {
20256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20258 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20261 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20265 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20267 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20268 if (!SWIG_IsOK(res4
)) {
20269 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20271 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20274 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20278 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20281 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20282 if (!SWIG_IsOK(ecode7
)) {
20283 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "7"" of type '" "int""'");
20285 arg7
= static_cast< int >(val7
);
20288 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
20289 if (!SWIG_IsOK(ecode8
)) {
20290 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "8"" of type '" "bool""'");
20292 arg8
= static_cast< bool >(val8
);
20297 if ( ! wxPoint_helper(obj8
, &arg9
)) SWIG_fail
;
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 result
= (bool)(arg1
)->StretchBlit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,(wxPoint
const &)*arg9
);
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20315 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
= 0;
20317 wxDC
*arg1
= (wxDC
*) 0 ;
20318 wxRect
*arg2
= (wxRect
*) NULL
;
20319 SwigValueWrapper
<wxBitmap
> result
;
20324 PyObject
* obj0
= 0 ;
20325 PyObject
* obj1
= 0 ;
20326 char * kwnames
[] = {
20327 (char *) "self",(char *) "subrect", NULL
20330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20332 if (!SWIG_IsOK(res1
)) {
20333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20337 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20338 if (!SWIG_IsOK(res2
)) {
20339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20341 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20346 wxPyEndAllowThreads(__tstate
);
20347 if (PyErr_Occurred()) SWIG_fail
;
20349 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20356 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20357 PyObject
*resultobj
= 0;
20358 wxDC
*arg1
= (wxDC
*) 0 ;
20373 PyObject
* obj0
= 0 ;
20374 PyObject
* obj1
= 0 ;
20375 PyObject
* obj2
= 0 ;
20376 PyObject
* obj3
= 0 ;
20377 PyObject
* obj4
= 0 ;
20378 char * kwnames
[] = {
20379 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20384 if (!SWIG_IsOK(res1
)) {
20385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20387 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20389 if (!SWIG_IsOK(ecode2
)) {
20390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20392 arg2
= static_cast< int >(val2
);
20393 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20394 if (!SWIG_IsOK(ecode3
)) {
20395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20397 arg3
= static_cast< int >(val3
);
20398 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20399 if (!SWIG_IsOK(ecode4
)) {
20400 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20402 arg4
= static_cast< int >(val4
);
20403 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20404 if (!SWIG_IsOK(ecode5
)) {
20405 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20407 arg5
= static_cast< int >(val5
);
20409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20410 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20411 wxPyEndAllowThreads(__tstate
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20414 resultobj
= SWIG_Py_Void();
20421 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20422 PyObject
*resultobj
= 0;
20423 wxDC
*arg1
= (wxDC
*) 0 ;
20424 wxPoint
*arg2
= 0 ;
20430 PyObject
* obj0
= 0 ;
20431 PyObject
* obj1
= 0 ;
20432 PyObject
* obj2
= 0 ;
20433 char * kwnames
[] = {
20434 (char *) "self",(char *) "pt",(char *) "sz", NULL
20437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20439 if (!SWIG_IsOK(res1
)) {
20440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20442 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20445 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20449 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= SWIG_Py_Void();
20464 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20465 PyObject
*resultobj
= 0;
20466 wxDC
*arg1
= (wxDC
*) 0 ;
20467 wxRegion
*arg2
= 0 ;
20472 PyObject
* obj0
= 0 ;
20473 PyObject
* obj1
= 0 ;
20474 char * kwnames
[] = {
20475 (char *) "self",(char *) "region", NULL
20478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20480 if (!SWIG_IsOK(res1
)) {
20481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20484 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20485 if (!SWIG_IsOK(res2
)) {
20486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20491 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20494 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20495 wxPyEndAllowThreads(__tstate
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20498 resultobj
= SWIG_Py_Void();
20505 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20506 PyObject
*resultobj
= 0;
20507 wxDC
*arg1
= (wxDC
*) 0 ;
20512 PyObject
* obj0
= 0 ;
20513 PyObject
* obj1
= 0 ;
20514 char * kwnames
[] = {
20515 (char *) "self",(char *) "rect", NULL
20518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20520 if (!SWIG_IsOK(res1
)) {
20521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20526 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20530 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 resultobj
= SWIG_Py_Void();
20541 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
= 0;
20543 wxDC
*arg1
= (wxDC
*) 0 ;
20545 wxPoint
*arg3
= (wxPoint
*) 0 ;
20546 int arg4
= (int) 0 ;
20547 int arg5
= (int) 0 ;
20554 PyObject
* obj0
= 0 ;
20555 PyObject
* obj1
= 0 ;
20556 PyObject
* obj2
= 0 ;
20557 PyObject
* obj3
= 0 ;
20558 char * kwnames
[] = {
20559 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20564 if (!SWIG_IsOK(res1
)) {
20565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20567 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20569 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20570 if (arg3
== NULL
) SWIG_fail
;
20573 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20574 if (!SWIG_IsOK(ecode4
)) {
20575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20577 arg4
= static_cast< int >(val4
);
20580 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20581 if (!SWIG_IsOK(ecode5
)) {
20582 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20584 arg5
= static_cast< int >(val5
);
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20589 wxPyEndAllowThreads(__tstate
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20592 resultobj
= SWIG_Py_Void();
20594 if (arg3
) delete [] arg3
;
20599 if (arg3
) delete [] arg3
;
20605 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
= 0;
20607 wxDC
*arg1
= (wxDC
*) 0 ;
20609 wxPoint
*arg3
= (wxPoint
*) 0 ;
20610 int arg4
= (int) 0 ;
20611 int arg5
= (int) 0 ;
20612 int arg6
= (int) wxODDEVEN_RULE
;
20621 PyObject
* obj0
= 0 ;
20622 PyObject
* obj1
= 0 ;
20623 PyObject
* obj2
= 0 ;
20624 PyObject
* obj3
= 0 ;
20625 PyObject
* obj4
= 0 ;
20626 char * kwnames
[] = {
20627 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20632 if (!SWIG_IsOK(res1
)) {
20633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20635 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20637 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20638 if (arg3
== NULL
) SWIG_fail
;
20641 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20642 if (!SWIG_IsOK(ecode4
)) {
20643 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20645 arg4
= static_cast< int >(val4
);
20648 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20649 if (!SWIG_IsOK(ecode5
)) {
20650 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20652 arg5
= static_cast< int >(val5
);
20655 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20656 if (!SWIG_IsOK(ecode6
)) {
20657 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20659 arg6
= static_cast< int >(val6
);
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20664 wxPyEndAllowThreads(__tstate
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20667 resultobj
= SWIG_Py_Void();
20669 if (arg3
) delete [] arg3
;
20674 if (arg3
) delete [] arg3
;
20680 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
= 0;
20682 wxDC
*arg1
= (wxDC
*) 0 ;
20683 wxString
*arg2
= 0 ;
20685 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20686 int arg5
= (int) -1 ;
20689 bool temp2
= false ;
20695 PyObject
* obj0
= 0 ;
20696 PyObject
* obj1
= 0 ;
20697 PyObject
* obj2
= 0 ;
20698 PyObject
* obj3
= 0 ;
20699 PyObject
* obj4
= 0 ;
20700 char * kwnames
[] = {
20701 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20706 if (!SWIG_IsOK(res1
)) {
20707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20709 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20711 arg2
= wxString_in_helper(obj1
);
20712 if (arg2
== NULL
) SWIG_fail
;
20717 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20720 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20721 if (!SWIG_IsOK(ecode4
)) {
20722 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20724 arg4
= static_cast< int >(val4
);
20727 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20728 if (!SWIG_IsOK(ecode5
)) {
20729 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20731 arg5
= static_cast< int >(val5
);
20734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20735 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20739 resultobj
= SWIG_Py_Void();
20754 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20755 PyObject
*resultobj
= 0;
20756 wxDC
*arg1
= (wxDC
*) 0 ;
20757 wxString
*arg2
= 0 ;
20758 wxBitmap
*arg3
= 0 ;
20760 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20761 int arg6
= (int) -1 ;
20765 bool temp2
= false ;
20773 PyObject
* obj0
= 0 ;
20774 PyObject
* obj1
= 0 ;
20775 PyObject
* obj2
= 0 ;
20776 PyObject
* obj3
= 0 ;
20777 PyObject
* obj4
= 0 ;
20778 PyObject
* obj5
= 0 ;
20779 char * kwnames
[] = {
20780 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20785 if (!SWIG_IsOK(res1
)) {
20786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20788 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20790 arg2
= wxString_in_helper(obj1
);
20791 if (arg2
== NULL
) SWIG_fail
;
20794 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20795 if (!SWIG_IsOK(res3
)) {
20796 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20801 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20804 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20807 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20808 if (!SWIG_IsOK(ecode5
)) {
20809 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20811 arg5
= static_cast< int >(val5
);
20814 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20815 if (!SWIG_IsOK(ecode6
)) {
20816 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20818 arg6
= static_cast< int >(val6
);
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20823 wxPyEndAllowThreads(__tstate
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20826 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20841 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20842 PyObject
*resultobj
= 0;
20843 wxDC
*arg1
= (wxDC
*) 0 ;
20845 wxPoint
*arg3
= (wxPoint
*) 0 ;
20848 PyObject
* obj0
= 0 ;
20849 PyObject
* obj1
= 0 ;
20850 char * kwnames
[] = {
20851 (char *) "self",(char *) "points", NULL
20854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20856 if (!SWIG_IsOK(res1
)) {
20857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20859 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20861 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20862 if (arg3
== NULL
) SWIG_fail
;
20865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20866 (arg1
)->DrawSpline(arg2
,arg3
);
20867 wxPyEndAllowThreads(__tstate
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20870 resultobj
= SWIG_Py_Void();
20872 if (arg3
) delete [] arg3
;
20877 if (arg3
) delete [] arg3
;
20883 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20884 PyObject
*resultobj
= 0;
20885 wxDC
*arg1
= (wxDC
*) 0 ;
20888 PyObject
*swig_obj
[1] ;
20890 if (!args
) SWIG_fail
;
20891 swig_obj
[0] = args
;
20892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20893 if (!SWIG_IsOK(res1
)) {
20894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20896 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20903 resultobj
= SWIG_Py_Void();
20910 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20911 PyObject
*resultobj
= 0;
20912 wxDC
*arg1
= (wxDC
*) 0 ;
20913 wxString
*arg2
= 0 ;
20917 bool temp2
= false ;
20918 PyObject
* obj0
= 0 ;
20919 PyObject
* obj1
= 0 ;
20920 char * kwnames
[] = {
20921 (char *) "self",(char *) "message", NULL
20924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20926 if (!SWIG_IsOK(res1
)) {
20927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20929 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20931 arg2
= wxString_in_helper(obj1
);
20932 if (arg2
== NULL
) SWIG_fail
;
20936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20937 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20958 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20959 PyObject
*resultobj
= 0;
20960 wxDC
*arg1
= (wxDC
*) 0 ;
20963 PyObject
*swig_obj
[1] ;
20965 if (!args
) SWIG_fail
;
20966 swig_obj
[0] = args
;
20967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20968 if (!SWIG_IsOK(res1
)) {
20969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20971 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 wxPyEndAllowThreads(__tstate
);
20976 if (PyErr_Occurred()) SWIG_fail
;
20978 resultobj
= SWIG_Py_Void();
20985 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20986 PyObject
*resultobj
= 0;
20987 wxDC
*arg1
= (wxDC
*) 0 ;
20990 PyObject
*swig_obj
[1] ;
20992 if (!args
) SWIG_fail
;
20993 swig_obj
[0] = args
;
20994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20995 if (!SWIG_IsOK(res1
)) {
20996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20998 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 (arg1
)->StartPage();
21002 wxPyEndAllowThreads(__tstate
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21005 resultobj
= SWIG_Py_Void();
21012 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21013 PyObject
*resultobj
= 0;
21014 wxDC
*arg1
= (wxDC
*) 0 ;
21017 PyObject
*swig_obj
[1] ;
21019 if (!args
) SWIG_fail
;
21020 swig_obj
[0] = args
;
21021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21022 if (!SWIG_IsOK(res1
)) {
21023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21025 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 resultobj
= SWIG_Py_Void();
21039 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
= 0;
21041 wxDC
*arg1
= (wxDC
*) 0 ;
21047 PyObject
* obj0
= 0 ;
21048 PyObject
* obj1
= 0 ;
21049 char * kwnames
[] = {
21050 (char *) "self",(char *) "font", NULL
21053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21055 if (!SWIG_IsOK(res1
)) {
21056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21059 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21060 if (!SWIG_IsOK(res2
)) {
21061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21066 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 (arg1
)->SetFont((wxFont
const &)*arg2
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 resultobj
= SWIG_Py_Void();
21080 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21081 PyObject
*resultobj
= 0;
21082 wxDC
*arg1
= (wxDC
*) 0 ;
21088 PyObject
* obj0
= 0 ;
21089 PyObject
* obj1
= 0 ;
21090 char * kwnames
[] = {
21091 (char *) "self",(char *) "pen", NULL
21094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21096 if (!SWIG_IsOK(res1
)) {
21097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21099 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21100 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21101 if (!SWIG_IsOK(res2
)) {
21102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21107 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 (arg1
)->SetPen((wxPen
const &)*arg2
);
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21114 resultobj
= SWIG_Py_Void();
21121 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21122 PyObject
*resultobj
= 0;
21123 wxDC
*arg1
= (wxDC
*) 0 ;
21124 wxBrush
*arg2
= 0 ;
21129 PyObject
* obj0
= 0 ;
21130 PyObject
* obj1
= 0 ;
21131 char * kwnames
[] = {
21132 (char *) "self",(char *) "brush", NULL
21135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21137 if (!SWIG_IsOK(res1
)) {
21138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21140 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21141 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21142 if (!SWIG_IsOK(res2
)) {
21143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21148 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21155 resultobj
= SWIG_Py_Void();
21162 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
= 0;
21164 wxDC
*arg1
= (wxDC
*) 0 ;
21165 wxBrush
*arg2
= 0 ;
21170 PyObject
* obj0
= 0 ;
21171 PyObject
* obj1
= 0 ;
21172 char * kwnames
[] = {
21173 (char *) "self",(char *) "brush", NULL
21176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21178 if (!SWIG_IsOK(res1
)) {
21179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21181 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21182 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21183 if (!SWIG_IsOK(res2
)) {
21184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21189 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21192 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21193 wxPyEndAllowThreads(__tstate
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21196 resultobj
= SWIG_Py_Void();
21203 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21204 PyObject
*resultobj
= 0;
21205 wxDC
*arg1
= (wxDC
*) 0 ;
21211 PyObject
* obj0
= 0 ;
21212 PyObject
* obj1
= 0 ;
21213 char * kwnames
[] = {
21214 (char *) "self",(char *) "mode", NULL
21217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21219 if (!SWIG_IsOK(res1
)) {
21220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21222 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21224 if (!SWIG_IsOK(ecode2
)) {
21225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21227 arg2
= static_cast< int >(val2
);
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 (arg1
)->SetBackgroundMode(arg2
);
21231 wxPyEndAllowThreads(__tstate
);
21232 if (PyErr_Occurred()) SWIG_fail
;
21234 resultobj
= SWIG_Py_Void();
21241 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21242 PyObject
*resultobj
= 0;
21243 wxDC
*arg1
= (wxDC
*) 0 ;
21244 wxPalette
*arg2
= 0 ;
21249 PyObject
* obj0
= 0 ;
21250 PyObject
* obj1
= 0 ;
21251 char * kwnames
[] = {
21252 (char *) "self",(char *) "palette", NULL
21255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",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_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21260 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21261 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21262 if (!SWIG_IsOK(res2
)) {
21263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21268 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21271 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 resultobj
= SWIG_Py_Void();
21282 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21283 PyObject
*resultobj
= 0;
21284 wxDC
*arg1
= (wxDC
*) 0 ;
21287 PyObject
*swig_obj
[1] ;
21289 if (!args
) SWIG_fail
;
21290 swig_obj
[0] = args
;
21291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21292 if (!SWIG_IsOK(res1
)) {
21293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21295 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 (arg1
)->DestroyClippingRegion();
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21302 resultobj
= SWIG_Py_Void();
21309 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21310 PyObject
*resultobj
= 0;
21311 wxDC
*arg1
= (wxDC
*) 0 ;
21312 int *arg2
= (int *) 0 ;
21313 int *arg3
= (int *) 0 ;
21314 int *arg4
= (int *) 0 ;
21315 int *arg5
= (int *) 0 ;
21319 int res2
= SWIG_TMPOBJ
;
21321 int res3
= SWIG_TMPOBJ
;
21323 int res4
= SWIG_TMPOBJ
;
21325 int res5
= SWIG_TMPOBJ
;
21326 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_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
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
));
21358 if (SWIG_IsTmpObj(res4
)) {
21359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21361 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21364 if (SWIG_IsTmpObj(res5
)) {
21365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21367 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21376 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21377 PyObject
*resultobj
= 0;
21378 wxDC
*arg1
= (wxDC
*) 0 ;
21382 PyObject
*swig_obj
[1] ;
21384 if (!args
) SWIG_fail
;
21385 swig_obj
[0] = args
;
21386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21387 if (!SWIG_IsOK(res1
)) {
21388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21390 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 result
= wxDC_GetClippingRect(arg1
);
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21397 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21404 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21405 PyObject
*resultobj
= 0;
21406 wxDC
*arg1
= (wxDC
*) 0 ;
21410 PyObject
*swig_obj
[1] ;
21412 if (!args
) SWIG_fail
;
21413 swig_obj
[0] = args
;
21414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21415 if (!SWIG_IsOK(res1
)) {
21416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21421 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21425 resultobj
= SWIG_From_int(static_cast< int >(result
));
21432 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21433 PyObject
*resultobj
= 0;
21434 wxDC
*arg1
= (wxDC
*) 0 ;
21438 PyObject
*swig_obj
[1] ;
21440 if (!args
) SWIG_fail
;
21441 swig_obj
[0] = args
;
21442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21443 if (!SWIG_IsOK(res1
)) {
21444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21446 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21449 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21450 wxPyEndAllowThreads(__tstate
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21453 resultobj
= SWIG_From_int(static_cast< int >(result
));
21460 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21461 PyObject
*resultobj
= 0;
21462 wxDC
*arg1
= (wxDC
*) 0 ;
21463 wxString
*arg2
= 0 ;
21464 int *arg3
= (int *) 0 ;
21465 int *arg4
= (int *) 0 ;
21468 bool temp2
= false ;
21470 int res3
= SWIG_TMPOBJ
;
21472 int res4
= SWIG_TMPOBJ
;
21473 PyObject
* obj0
= 0 ;
21474 PyObject
* obj1
= 0 ;
21475 char * kwnames
[] = {
21476 (char *) "self",(char *) "string", NULL
21481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21483 if (!SWIG_IsOK(res1
)) {
21484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21486 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21488 arg2
= wxString_in_helper(obj1
);
21489 if (arg2
== NULL
) SWIG_fail
;
21493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21494 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21495 wxPyEndAllowThreads(__tstate
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21498 resultobj
= SWIG_Py_Void();
21499 if (SWIG_IsTmpObj(res3
)) {
21500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21502 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21503 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21505 if (SWIG_IsTmpObj(res4
)) {
21506 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21508 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21509 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21525 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21526 PyObject
*resultobj
= 0;
21527 wxDC
*arg1
= (wxDC
*) 0 ;
21528 wxString
*arg2
= 0 ;
21529 int *arg3
= (int *) 0 ;
21530 int *arg4
= (int *) 0 ;
21531 int *arg5
= (int *) 0 ;
21532 int *arg6
= (int *) 0 ;
21533 wxFont
*arg7
= (wxFont
*) NULL
;
21536 bool temp2
= false ;
21538 int res3
= SWIG_TMPOBJ
;
21540 int res4
= SWIG_TMPOBJ
;
21542 int res5
= SWIG_TMPOBJ
;
21544 int res6
= SWIG_TMPOBJ
;
21547 PyObject
* obj0
= 0 ;
21548 PyObject
* obj1
= 0 ;
21549 PyObject
* obj2
= 0 ;
21550 char * kwnames
[] = {
21551 (char *) "self",(char *) "string",(char *) "font", NULL
21558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21560 if (!SWIG_IsOK(res1
)) {
21561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21565 arg2
= wxString_in_helper(obj1
);
21566 if (arg2
== NULL
) SWIG_fail
;
21570 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21571 if (!SWIG_IsOK(res7
)) {
21572 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21574 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= SWIG_Py_Void();
21583 if (SWIG_IsTmpObj(res3
)) {
21584 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21586 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21589 if (SWIG_IsTmpObj(res4
)) {
21590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21592 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21595 if (SWIG_IsTmpObj(res5
)) {
21596 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21598 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21599 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21601 if (SWIG_IsTmpObj(res6
)) {
21602 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21604 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21605 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21621 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21622 PyObject
*resultobj
= 0;
21623 wxDC
*arg1
= (wxDC
*) 0 ;
21624 wxString
*arg2
= 0 ;
21625 int *arg3
= (int *) 0 ;
21626 int *arg4
= (int *) 0 ;
21627 int *arg5
= (int *) 0 ;
21628 wxFont
*arg6
= (wxFont
*) NULL
;
21631 bool temp2
= false ;
21633 int res3
= SWIG_TMPOBJ
;
21635 int res4
= SWIG_TMPOBJ
;
21637 int res5
= SWIG_TMPOBJ
;
21640 PyObject
* obj0
= 0 ;
21641 PyObject
* obj1
= 0 ;
21642 PyObject
* obj2
= 0 ;
21643 char * kwnames
[] = {
21644 (char *) "self",(char *) "text",(char *) "font", NULL
21650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21652 if (!SWIG_IsOK(res1
)) {
21653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21655 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21657 arg2
= wxString_in_helper(obj1
);
21658 if (arg2
== NULL
) SWIG_fail
;
21662 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21663 if (!SWIG_IsOK(res6
)) {
21664 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21666 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21670 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21671 wxPyEndAllowThreads(__tstate
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21674 resultobj
= SWIG_Py_Void();
21675 if (SWIG_IsTmpObj(res3
)) {
21676 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21678 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21679 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21681 if (SWIG_IsTmpObj(res4
)) {
21682 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21684 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21685 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21687 if (SWIG_IsTmpObj(res5
)) {
21688 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21690 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21691 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21707 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21708 PyObject
*resultobj
= 0;
21709 wxDC
*arg1
= (wxDC
*) 0 ;
21710 wxString
*arg2
= 0 ;
21714 bool temp2
= false ;
21715 PyObject
* obj0
= 0 ;
21716 PyObject
* obj1
= 0 ;
21717 char * kwnames
[] = {
21718 (char *) "self",(char *) "text", NULL
21721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21723 if (!SWIG_IsOK(res1
)) {
21724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21726 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21728 arg2
= wxString_in_helper(obj1
);
21729 if (arg2
== NULL
) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= wxArrayInt2PyList_helper(result
);
21755 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21756 PyObject
*resultobj
= 0;
21757 wxDC
*arg1
= (wxDC
*) 0 ;
21761 PyObject
*swig_obj
[1] ;
21763 if (!args
) SWIG_fail
;
21764 swig_obj
[0] = args
;
21765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21766 if (!SWIG_IsOK(res1
)) {
21767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21769 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 result
= (arg1
)->GetSize();
21773 wxPyEndAllowThreads(__tstate
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21776 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21783 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21784 PyObject
*resultobj
= 0;
21785 wxDC
*arg1
= (wxDC
*) 0 ;
21786 int *arg2
= (int *) 0 ;
21787 int *arg3
= (int *) 0 ;
21791 int res2
= SWIG_TMPOBJ
;
21793 int res3
= SWIG_TMPOBJ
;
21794 PyObject
*swig_obj
[1] ;
21798 if (!args
) SWIG_fail
;
21799 swig_obj
[0] = args
;
21800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21801 if (!SWIG_IsOK(res1
)) {
21802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21804 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 (arg1
)->GetSize(arg2
,arg3
);
21808 wxPyEndAllowThreads(__tstate
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21811 resultobj
= SWIG_Py_Void();
21812 if (SWIG_IsTmpObj(res2
)) {
21813 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21815 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21816 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21818 if (SWIG_IsTmpObj(res3
)) {
21819 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21821 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21822 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21830 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21831 PyObject
*resultobj
= 0;
21832 wxDC
*arg1
= (wxDC
*) 0 ;
21836 PyObject
*swig_obj
[1] ;
21838 if (!args
) SWIG_fail
;
21839 swig_obj
[0] = args
;
21840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21841 if (!SWIG_IsOK(res1
)) {
21842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21844 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21847 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21858 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21859 PyObject
*resultobj
= 0;
21860 wxDC
*arg1
= (wxDC
*) 0 ;
21861 int *arg2
= (int *) 0 ;
21862 int *arg3
= (int *) 0 ;
21866 int res2
= SWIG_TMPOBJ
;
21868 int res3
= SWIG_TMPOBJ
;
21869 PyObject
*swig_obj
[1] ;
21873 if (!args
) SWIG_fail
;
21874 swig_obj
[0] = args
;
21875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21876 if (!SWIG_IsOK(res1
)) {
21877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21879 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21882 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21886 resultobj
= SWIG_Py_Void();
21887 if (SWIG_IsTmpObj(res2
)) {
21888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21890 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21893 if (SWIG_IsTmpObj(res3
)) {
21894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21896 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21905 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21906 PyObject
*resultobj
= 0;
21907 wxDC
*arg1
= (wxDC
*) 0 ;
21914 PyObject
* obj0
= 0 ;
21915 PyObject
* obj1
= 0 ;
21916 char * kwnames
[] = {
21917 (char *) "self",(char *) "x", NULL
21920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21922 if (!SWIG_IsOK(res1
)) {
21923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21925 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21927 if (!SWIG_IsOK(ecode2
)) {
21928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21930 arg2
= static_cast< int >(val2
);
21932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21933 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21934 wxPyEndAllowThreads(__tstate
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21937 resultobj
= SWIG_From_int(static_cast< int >(result
));
21944 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21945 PyObject
*resultobj
= 0;
21946 wxDC
*arg1
= (wxDC
*) 0 ;
21953 PyObject
* obj0
= 0 ;
21954 PyObject
* obj1
= 0 ;
21955 char * kwnames
[] = {
21956 (char *) "self",(char *) "y", NULL
21959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21961 if (!SWIG_IsOK(res1
)) {
21962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21964 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21966 if (!SWIG_IsOK(ecode2
)) {
21967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21969 arg2
= static_cast< int >(val2
);
21971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21972 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21976 resultobj
= SWIG_From_int(static_cast< int >(result
));
21983 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21984 PyObject
*resultobj
= 0;
21985 wxDC
*arg1
= (wxDC
*) 0 ;
21992 PyObject
* obj0
= 0 ;
21993 PyObject
* obj1
= 0 ;
21994 char * kwnames
[] = {
21995 (char *) "self",(char *) "x", NULL
21998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22000 if (!SWIG_IsOK(res1
)) {
22001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22003 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22005 if (!SWIG_IsOK(ecode2
)) {
22006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22008 arg2
= static_cast< int >(val2
);
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22012 wxPyEndAllowThreads(__tstate
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22015 resultobj
= SWIG_From_int(static_cast< int >(result
));
22022 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22023 PyObject
*resultobj
= 0;
22024 wxDC
*arg1
= (wxDC
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 PyObject
* obj1
= 0 ;
22033 char * kwnames
[] = {
22034 (char *) "self",(char *) "y", NULL
22037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22039 if (!SWIG_IsOK(res1
)) {
22040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22042 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22044 if (!SWIG_IsOK(ecode2
)) {
22045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22047 arg2
= static_cast< int >(val2
);
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22054 resultobj
= SWIG_From_int(static_cast< int >(result
));
22061 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22062 PyObject
*resultobj
= 0;
22063 wxDC
*arg1
= (wxDC
*) 0 ;
22070 PyObject
* obj0
= 0 ;
22071 PyObject
* obj1
= 0 ;
22072 char * kwnames
[] = {
22073 (char *) "self",(char *) "x", NULL
22076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22078 if (!SWIG_IsOK(res1
)) {
22079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22081 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22083 if (!SWIG_IsOK(ecode2
)) {
22084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22086 arg2
= static_cast< int >(val2
);
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22090 wxPyEndAllowThreads(__tstate
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= SWIG_From_int(static_cast< int >(result
));
22100 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22101 PyObject
*resultobj
= 0;
22102 wxDC
*arg1
= (wxDC
*) 0 ;
22109 PyObject
* obj0
= 0 ;
22110 PyObject
* obj1
= 0 ;
22111 char * kwnames
[] = {
22112 (char *) "self",(char *) "y", NULL
22115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22117 if (!SWIG_IsOK(res1
)) {
22118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22120 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22122 if (!SWIG_IsOK(ecode2
)) {
22123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22125 arg2
= static_cast< int >(val2
);
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22132 resultobj
= SWIG_From_int(static_cast< int >(result
));
22139 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
= 0;
22141 wxDC
*arg1
= (wxDC
*) 0 ;
22148 PyObject
* obj0
= 0 ;
22149 PyObject
* obj1
= 0 ;
22150 char * kwnames
[] = {
22151 (char *) "self",(char *) "x", NULL
22154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22156 if (!SWIG_IsOK(res1
)) {
22157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22161 if (!SWIG_IsOK(ecode2
)) {
22162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22164 arg2
= static_cast< int >(val2
);
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 resultobj
= SWIG_From_int(static_cast< int >(result
));
22178 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
= 0;
22180 wxDC
*arg1
= (wxDC
*) 0 ;
22187 PyObject
* obj0
= 0 ;
22188 PyObject
* obj1
= 0 ;
22189 char * kwnames
[] = {
22190 (char *) "self",(char *) "y", NULL
22193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22195 if (!SWIG_IsOK(res1
)) {
22196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22200 if (!SWIG_IsOK(ecode2
)) {
22201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22203 arg2
= static_cast< int >(val2
);
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22207 wxPyEndAllowThreads(__tstate
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22210 resultobj
= SWIG_From_int(static_cast< int >(result
));
22217 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22218 PyObject
*resultobj
= 0;
22219 wxDC
*arg1
= (wxDC
*) 0 ;
22223 PyObject
*swig_obj
[1] ;
22225 if (!args
) SWIG_fail
;
22226 swig_obj
[0] = args
;
22227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22228 if (!SWIG_IsOK(res1
)) {
22229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22231 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22235 wxPyEndAllowThreads(__tstate
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22247 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22248 PyObject
*resultobj
= 0;
22249 wxDC
*arg1
= (wxDC
*) 0 ;
22253 PyObject
*swig_obj
[1] ;
22255 if (!args
) SWIG_fail
;
22256 swig_obj
[0] = args
;
22257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22258 if (!SWIG_IsOK(res1
)) {
22259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22261 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22265 wxPyEndAllowThreads(__tstate
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22277 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22278 PyObject
*resultobj
= 0;
22279 wxDC
*arg1
= (wxDC
*) 0 ;
22283 PyObject
*swig_obj
[1] ;
22285 if (!args
) SWIG_fail
;
22286 swig_obj
[0] = args
;
22287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22288 if (!SWIG_IsOK(res1
)) {
22289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22291 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22294 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= SWIG_From_int(static_cast< int >(result
));
22305 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22306 PyObject
*resultobj
= 0;
22307 wxDC
*arg1
= (wxDC
*) 0 ;
22311 PyObject
*swig_obj
[1] ;
22313 if (!args
) SWIG_fail
;
22314 swig_obj
[0] = args
;
22315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22316 if (!SWIG_IsOK(res1
)) {
22317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22319 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 result
= ((wxDC
const *)arg1
)->GetPPI();
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22326 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22333 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22334 PyObject
*resultobj
= 0;
22335 wxDC
*arg1
= (wxDC
*) 0 ;
22339 PyObject
*swig_obj
[1] ;
22341 if (!args
) SWIG_fail
;
22342 swig_obj
[0] = args
;
22343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22344 if (!SWIG_IsOK(res1
)) {
22345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22347 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22363 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22364 PyObject
*resultobj
= 0;
22365 wxDC
*arg1
= (wxDC
*) 0 ;
22369 PyObject
*swig_obj
[1] ;
22371 if (!args
) SWIG_fail
;
22372 swig_obj
[0] = args
;
22373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22374 if (!SWIG_IsOK(res1
)) {
22375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22384 resultobj
= SWIG_From_int(static_cast< int >(result
));
22391 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22392 PyObject
*resultobj
= 0;
22393 wxDC
*arg1
= (wxDC
*) 0 ;
22394 wxBrush
*result
= 0 ;
22397 PyObject
*swig_obj
[1] ;
22399 if (!args
) SWIG_fail
;
22400 swig_obj
[0] = args
;
22401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22402 if (!SWIG_IsOK(res1
)) {
22403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22405 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22410 result
= (wxBrush
*) &_result_ref
;
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22416 wxBrush
* resultptr
= new wxBrush(*result
);
22417 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22425 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22426 PyObject
*resultobj
= 0;
22427 wxDC
*arg1
= (wxDC
*) 0 ;
22428 wxBrush
*result
= 0 ;
22431 PyObject
*swig_obj
[1] ;
22433 if (!args
) SWIG_fail
;
22434 swig_obj
[0] = args
;
22435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22436 if (!SWIG_IsOK(res1
)) {
22437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22439 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22444 result
= (wxBrush
*) &_result_ref
;
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22450 wxBrush
* resultptr
= new wxBrush(*result
);
22451 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22459 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22460 PyObject
*resultobj
= 0;
22461 wxDC
*arg1
= (wxDC
*) 0 ;
22462 wxFont
*result
= 0 ;
22465 PyObject
*swig_obj
[1] ;
22467 if (!args
) SWIG_fail
;
22468 swig_obj
[0] = args
;
22469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22470 if (!SWIG_IsOK(res1
)) {
22471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22473 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22477 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22478 result
= (wxFont
*) &_result_ref
;
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22484 wxFont
* resultptr
= new wxFont(*result
);
22485 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22493 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22494 PyObject
*resultobj
= 0;
22495 wxDC
*arg1
= (wxDC
*) 0 ;
22496 wxPen
*result
= 0 ;
22499 PyObject
*swig_obj
[1] ;
22501 if (!args
) SWIG_fail
;
22502 swig_obj
[0] = args
;
22503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22504 if (!SWIG_IsOK(res1
)) {
22505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22507 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22511 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22512 result
= (wxPen
*) &_result_ref
;
22514 wxPyEndAllowThreads(__tstate
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22518 wxPen
* resultptr
= new wxPen(*result
);
22519 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22527 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22528 PyObject
*resultobj
= 0;
22529 wxDC
*arg1
= (wxDC
*) 0 ;
22530 wxColour
*result
= 0 ;
22533 PyObject
*swig_obj
[1] ;
22535 if (!args
) SWIG_fail
;
22536 swig_obj
[0] = args
;
22537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22538 if (!SWIG_IsOK(res1
)) {
22539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22541 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22546 result
= (wxColour
*) &_result_ref
;
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22558 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22559 PyObject
*resultobj
= 0;
22560 wxDC
*arg1
= (wxDC
*) 0 ;
22561 wxColour
*result
= 0 ;
22564 PyObject
*swig_obj
[1] ;
22566 if (!args
) SWIG_fail
;
22567 swig_obj
[0] = args
;
22568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22569 if (!SWIG_IsOK(res1
)) {
22570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22572 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22576 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22577 result
= (wxColour
*) &_result_ref
;
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22589 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22590 PyObject
*resultobj
= 0;
22591 wxDC
*arg1
= (wxDC
*) 0 ;
22592 wxColour
*arg2
= 0 ;
22596 PyObject
* obj0
= 0 ;
22597 PyObject
* obj1
= 0 ;
22598 char * kwnames
[] = {
22599 (char *) "self",(char *) "colour", NULL
22602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22604 if (!SWIG_IsOK(res1
)) {
22605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22607 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22610 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22615 wxPyEndAllowThreads(__tstate
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22618 resultobj
= SWIG_Py_Void();
22625 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22626 PyObject
*resultobj
= 0;
22627 wxDC
*arg1
= (wxDC
*) 0 ;
22628 wxColour
*arg2
= 0 ;
22632 PyObject
* obj0
= 0 ;
22633 PyObject
* obj1
= 0 ;
22634 char * kwnames
[] = {
22635 (char *) "self",(char *) "colour", NULL
22638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22640 if (!SWIG_IsOK(res1
)) {
22641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22646 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22650 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22654 resultobj
= SWIG_Py_Void();
22661 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22662 PyObject
*resultobj
= 0;
22663 wxDC
*arg1
= (wxDC
*) 0 ;
22667 PyObject
*swig_obj
[1] ;
22669 if (!args
) SWIG_fail
;
22670 swig_obj
[0] = args
;
22671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22672 if (!SWIG_IsOK(res1
)) {
22673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= SWIG_From_int(static_cast< int >(result
));
22689 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
= 0;
22691 wxDC
*arg1
= (wxDC
*) 0 ;
22697 PyObject
* obj0
= 0 ;
22698 PyObject
* obj1
= 0 ;
22699 char * kwnames
[] = {
22700 (char *) "self",(char *) "mode", NULL
22703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22705 if (!SWIG_IsOK(res1
)) {
22706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22708 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22710 if (!SWIG_IsOK(ecode2
)) {
22711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22713 arg2
= static_cast< int >(val2
);
22715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22716 (arg1
)->SetMapMode(arg2
);
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22720 resultobj
= SWIG_Py_Void();
22727 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22728 PyObject
*resultobj
= 0;
22729 wxDC
*arg1
= (wxDC
*) 0 ;
22730 double *arg2
= (double *) 0 ;
22731 double *arg3
= (double *) 0 ;
22735 int res2
= SWIG_TMPOBJ
;
22737 int res3
= SWIG_TMPOBJ
;
22738 PyObject
*swig_obj
[1] ;
22742 if (!args
) SWIG_fail
;
22743 swig_obj
[0] = args
;
22744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22745 if (!SWIG_IsOK(res1
)) {
22746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22748 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22755 resultobj
= SWIG_Py_Void();
22756 if (SWIG_IsTmpObj(res2
)) {
22757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22759 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22762 if (SWIG_IsTmpObj(res3
)) {
22763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22765 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22766 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22774 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22775 PyObject
*resultobj
= 0;
22776 wxDC
*arg1
= (wxDC
*) 0 ;
22785 PyObject
* obj0
= 0 ;
22786 PyObject
* obj1
= 0 ;
22787 PyObject
* obj2
= 0 ;
22788 char * kwnames
[] = {
22789 (char *) "self",(char *) "x",(char *) "y", NULL
22792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22794 if (!SWIG_IsOK(res1
)) {
22795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22797 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22798 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22799 if (!SWIG_IsOK(ecode2
)) {
22800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22802 arg2
= static_cast< double >(val2
);
22803 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22804 if (!SWIG_IsOK(ecode3
)) {
22805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22807 arg3
= static_cast< double >(val3
);
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 (arg1
)->SetUserScale(arg2
,arg3
);
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= SWIG_Py_Void();
22821 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22822 PyObject
*resultobj
= 0;
22823 wxDC
*arg1
= (wxDC
*) 0 ;
22824 double *arg2
= (double *) 0 ;
22825 double *arg3
= (double *) 0 ;
22829 int res2
= SWIG_TMPOBJ
;
22831 int res3
= SWIG_TMPOBJ
;
22832 PyObject
*swig_obj
[1] ;
22836 if (!args
) SWIG_fail
;
22837 swig_obj
[0] = args
;
22838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22839 if (!SWIG_IsOK(res1
)) {
22840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22845 (arg1
)->GetLogicalScale(arg2
,arg3
);
22846 wxPyEndAllowThreads(__tstate
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22849 resultobj
= SWIG_Py_Void();
22850 if (SWIG_IsTmpObj(res2
)) {
22851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22853 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22856 if (SWIG_IsTmpObj(res3
)) {
22857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22859 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22868 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22869 PyObject
*resultobj
= 0;
22870 wxDC
*arg1
= (wxDC
*) 0 ;
22879 PyObject
* obj0
= 0 ;
22880 PyObject
* obj1
= 0 ;
22881 PyObject
* obj2
= 0 ;
22882 char * kwnames
[] = {
22883 (char *) "self",(char *) "x",(char *) "y", NULL
22886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22888 if (!SWIG_IsOK(res1
)) {
22889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22891 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22892 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22893 if (!SWIG_IsOK(ecode2
)) {
22894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22896 arg2
= static_cast< double >(val2
);
22897 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22898 if (!SWIG_IsOK(ecode3
)) {
22899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22901 arg3
= static_cast< double >(val3
);
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 (arg1
)->SetLogicalScale(arg2
,arg3
);
22905 wxPyEndAllowThreads(__tstate
);
22906 if (PyErr_Occurred()) SWIG_fail
;
22908 resultobj
= SWIG_Py_Void();
22915 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22916 PyObject
*resultobj
= 0;
22917 wxDC
*arg1
= (wxDC
*) 0 ;
22921 PyObject
*swig_obj
[1] ;
22923 if (!args
) SWIG_fail
;
22924 swig_obj
[0] = args
;
22925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22926 if (!SWIG_IsOK(res1
)) {
22927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22929 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22943 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22944 PyObject
*resultobj
= 0;
22945 wxDC
*arg1
= (wxDC
*) 0 ;
22946 int *arg2
= (int *) 0 ;
22947 int *arg3
= (int *) 0 ;
22951 int res2
= SWIG_TMPOBJ
;
22953 int res3
= SWIG_TMPOBJ
;
22954 PyObject
*swig_obj
[1] ;
22958 if (!args
) SWIG_fail
;
22959 swig_obj
[0] = args
;
22960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22961 if (!SWIG_IsOK(res1
)) {
22962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22964 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 resultobj
= SWIG_Py_Void();
22972 if (SWIG_IsTmpObj(res2
)) {
22973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22975 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22978 if (SWIG_IsTmpObj(res3
)) {
22979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22981 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22990 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22991 PyObject
*resultobj
= 0;
22992 wxDC
*arg1
= (wxDC
*) 0 ;
23001 PyObject
* obj0
= 0 ;
23002 PyObject
* obj1
= 0 ;
23003 PyObject
* obj2
= 0 ;
23004 char * kwnames
[] = {
23005 (char *) "self",(char *) "x",(char *) "y", NULL
23008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23010 if (!SWIG_IsOK(res1
)) {
23011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23013 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23015 if (!SWIG_IsOK(ecode2
)) {
23016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23018 arg2
= static_cast< int >(val2
);
23019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23020 if (!SWIG_IsOK(ecode3
)) {
23021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23023 arg3
= static_cast< int >(val3
);
23025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23027 wxPyEndAllowThreads(__tstate
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23030 resultobj
= SWIG_Py_Void();
23037 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23038 PyObject
*resultobj
= 0;
23039 wxDC
*arg1
= (wxDC
*) 0 ;
23040 wxPoint
*arg2
= 0 ;
23044 PyObject
* obj0
= 0 ;
23045 PyObject
* obj1
= 0 ;
23046 char * kwnames
[] = {
23047 (char *) "self",(char *) "point", NULL
23050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23052 if (!SWIG_IsOK(res1
)) {
23053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23055 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23058 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23062 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23066 resultobj
= SWIG_Py_Void();
23073 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23074 PyObject
*resultobj
= 0;
23075 wxDC
*arg1
= (wxDC
*) 0 ;
23079 PyObject
*swig_obj
[1] ;
23081 if (!args
) SWIG_fail
;
23082 swig_obj
[0] = args
;
23083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23084 if (!SWIG_IsOK(res1
)) {
23085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23090 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23091 wxPyEndAllowThreads(__tstate
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23094 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23101 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23102 PyObject
*resultobj
= 0;
23103 wxDC
*arg1
= (wxDC
*) 0 ;
23104 int *arg2
= (int *) 0 ;
23105 int *arg3
= (int *) 0 ;
23109 int res2
= SWIG_TMPOBJ
;
23111 int res3
= SWIG_TMPOBJ
;
23112 PyObject
*swig_obj
[1] ;
23116 if (!args
) SWIG_fail
;
23117 swig_obj
[0] = args
;
23118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23119 if (!SWIG_IsOK(res1
)) {
23120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23122 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23129 resultobj
= SWIG_Py_Void();
23130 if (SWIG_IsTmpObj(res2
)) {
23131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23133 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23136 if (SWIG_IsTmpObj(res3
)) {
23137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23139 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23140 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23148 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
= 0;
23150 wxDC
*arg1
= (wxDC
*) 0 ;
23159 PyObject
* obj0
= 0 ;
23160 PyObject
* obj1
= 0 ;
23161 PyObject
* obj2
= 0 ;
23162 char * kwnames
[] = {
23163 (char *) "self",(char *) "x",(char *) "y", NULL
23166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23168 if (!SWIG_IsOK(res1
)) {
23169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23171 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23173 if (!SWIG_IsOK(ecode2
)) {
23174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23176 arg2
= static_cast< int >(val2
);
23177 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23178 if (!SWIG_IsOK(ecode3
)) {
23179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23181 arg3
= static_cast< int >(val3
);
23183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23184 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23188 resultobj
= SWIG_Py_Void();
23195 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23196 PyObject
*resultobj
= 0;
23197 wxDC
*arg1
= (wxDC
*) 0 ;
23198 wxPoint
*arg2
= 0 ;
23202 PyObject
* obj0
= 0 ;
23203 PyObject
* obj1
= 0 ;
23204 char * kwnames
[] = {
23205 (char *) "self",(char *) "point", NULL
23208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23210 if (!SWIG_IsOK(res1
)) {
23211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23213 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23216 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23221 wxPyEndAllowThreads(__tstate
);
23222 if (PyErr_Occurred()) SWIG_fail
;
23224 resultobj
= SWIG_Py_Void();
23231 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23232 PyObject
*resultobj
= 0;
23233 wxDC
*arg1
= (wxDC
*) 0 ;
23242 PyObject
* obj0
= 0 ;
23243 PyObject
* obj1
= 0 ;
23244 PyObject
* obj2
= 0 ;
23245 char * kwnames
[] = {
23246 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23251 if (!SWIG_IsOK(res1
)) {
23252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23254 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23255 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23256 if (!SWIG_IsOK(ecode2
)) {
23257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23259 arg2
= static_cast< bool >(val2
);
23260 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23261 if (!SWIG_IsOK(ecode3
)) {
23262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23264 arg3
= static_cast< bool >(val3
);
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23268 wxPyEndAllowThreads(__tstate
);
23269 if (PyErr_Occurred()) SWIG_fail
;
23271 resultobj
= SWIG_Py_Void();
23278 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23279 PyObject
*resultobj
= 0;
23280 wxDC
*arg1
= (wxDC
*) 0 ;
23284 PyObject
*swig_obj
[1] ;
23286 if (!args
) SWIG_fail
;
23287 swig_obj
[0] = args
;
23288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23289 if (!SWIG_IsOK(res1
)) {
23290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23292 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23296 wxPyEndAllowThreads(__tstate
);
23297 if (PyErr_Occurred()) SWIG_fail
;
23299 resultobj
= SWIG_From_int(static_cast< int >(result
));
23306 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23307 PyObject
*resultobj
= 0;
23308 wxDC
*arg1
= (wxDC
*) 0 ;
23314 PyObject
* obj0
= 0 ;
23315 PyObject
* obj1
= 0 ;
23316 char * kwnames
[] = {
23317 (char *) "self",(char *) "function", NULL
23320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23322 if (!SWIG_IsOK(res1
)) {
23323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23325 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23327 if (!SWIG_IsOK(ecode2
)) {
23328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23330 arg2
= static_cast< int >(val2
);
23332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23333 (arg1
)->SetLogicalFunction(arg2
);
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23337 resultobj
= SWIG_Py_Void();
23344 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23345 PyObject
*resultobj
= 0;
23346 wxDC
*arg1
= (wxDC
*) 0 ;
23349 PyObject
*swig_obj
[1] ;
23351 if (!args
) SWIG_fail
;
23352 swig_obj
[0] = args
;
23353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23354 if (!SWIG_IsOK(res1
)) {
23355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23357 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 (arg1
)->ComputeScaleAndOrigin();
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23364 resultobj
= SWIG_Py_Void();
23371 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
= 0;
23373 wxDC
*arg1
= (wxDC
*) 0 ;
23382 PyObject
* obj0
= 0 ;
23383 PyObject
* obj1
= 0 ;
23384 PyObject
* obj2
= 0 ;
23385 char * kwnames
[] = {
23386 (char *) "self",(char *) "x",(char *) "y", NULL
23389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23391 if (!SWIG_IsOK(res1
)) {
23392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23394 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23396 if (!SWIG_IsOK(ecode2
)) {
23397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23399 arg2
= static_cast< int >(val2
);
23400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23401 if (!SWIG_IsOK(ecode3
)) {
23402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23404 arg3
= static_cast< int >(val3
);
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= SWIG_Py_Void();
23418 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23419 PyObject
*resultobj
= 0;
23420 wxDC
*arg1
= (wxDC
*) 0 ;
23421 wxPoint
*arg2
= 0 ;
23425 PyObject
* obj0
= 0 ;
23426 PyObject
* obj1
= 0 ;
23427 char * kwnames
[] = {
23428 (char *) "self",(char *) "point", NULL
23431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23433 if (!SWIG_IsOK(res1
)) {
23434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23436 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23439 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23443 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 resultobj
= SWIG_Py_Void();
23454 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23455 PyObject
*resultobj
= 0;
23456 wxDC
*arg1
= (wxDC
*) 0 ;
23459 PyObject
*swig_obj
[1] ;
23461 if (!args
) SWIG_fail
;
23462 swig_obj
[0] = args
;
23463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23464 if (!SWIG_IsOK(res1
)) {
23465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23467 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 (arg1
)->ResetBoundingBox();
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23474 resultobj
= SWIG_Py_Void();
23481 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23482 PyObject
*resultobj
= 0;
23483 wxDC
*arg1
= (wxDC
*) 0 ;
23487 PyObject
*swig_obj
[1] ;
23489 if (!args
) SWIG_fail
;
23490 swig_obj
[0] = args
;
23491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23492 if (!SWIG_IsOK(res1
)) {
23493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23495 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23498 result
= (int)((wxDC
const *)arg1
)->MinX();
23499 wxPyEndAllowThreads(__tstate
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23502 resultobj
= SWIG_From_int(static_cast< int >(result
));
23509 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23510 PyObject
*resultobj
= 0;
23511 wxDC
*arg1
= (wxDC
*) 0 ;
23515 PyObject
*swig_obj
[1] ;
23517 if (!args
) SWIG_fail
;
23518 swig_obj
[0] = args
;
23519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23520 if (!SWIG_IsOK(res1
)) {
23521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 result
= (int)((wxDC
const *)arg1
)->MaxX();
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23530 resultobj
= SWIG_From_int(static_cast< int >(result
));
23537 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23538 PyObject
*resultobj
= 0;
23539 wxDC
*arg1
= (wxDC
*) 0 ;
23543 PyObject
*swig_obj
[1] ;
23545 if (!args
) SWIG_fail
;
23546 swig_obj
[0] = args
;
23547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23548 if (!SWIG_IsOK(res1
)) {
23549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23551 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= (int)((wxDC
const *)arg1
)->MinY();
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23558 resultobj
= SWIG_From_int(static_cast< int >(result
));
23565 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23566 PyObject
*resultobj
= 0;
23567 wxDC
*arg1
= (wxDC
*) 0 ;
23571 PyObject
*swig_obj
[1] ;
23573 if (!args
) SWIG_fail
;
23574 swig_obj
[0] = args
;
23575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23576 if (!SWIG_IsOK(res1
)) {
23577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23579 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23582 result
= (int)((wxDC
const *)arg1
)->MaxY();
23583 wxPyEndAllowThreads(__tstate
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23586 resultobj
= SWIG_From_int(static_cast< int >(result
));
23593 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23594 PyObject
*resultobj
= 0;
23595 wxDC
*arg1
= (wxDC
*) 0 ;
23596 int *arg2
= (int *) 0 ;
23597 int *arg3
= (int *) 0 ;
23598 int *arg4
= (int *) 0 ;
23599 int *arg5
= (int *) 0 ;
23603 int res2
= SWIG_TMPOBJ
;
23605 int res3
= SWIG_TMPOBJ
;
23607 int res4
= SWIG_TMPOBJ
;
23609 int res5
= SWIG_TMPOBJ
;
23610 PyObject
*swig_obj
[1] ;
23616 if (!args
) SWIG_fail
;
23617 swig_obj
[0] = args
;
23618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23619 if (!SWIG_IsOK(res1
)) {
23620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23622 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23629 resultobj
= SWIG_Py_Void();
23630 if (SWIG_IsTmpObj(res2
)) {
23631 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23633 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23636 if (SWIG_IsTmpObj(res3
)) {
23637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23639 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23642 if (SWIG_IsTmpObj(res4
)) {
23643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23645 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23648 if (SWIG_IsTmpObj(res5
)) {
23649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23651 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23660 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23661 PyObject
*resultobj
= 0;
23662 wxDC
*arg1
= (wxDC
*) 0 ;
23663 wxLayoutDirection result
;
23666 PyObject
*swig_obj
[1] ;
23668 if (!args
) SWIG_fail
;
23669 swig_obj
[0] = args
;
23670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23671 if (!SWIG_IsOK(res1
)) {
23672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23674 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 resultobj
= SWIG_From_int(static_cast< int >(result
));
23688 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
= 0;
23690 wxDC
*arg1
= (wxDC
*) 0 ;
23691 wxLayoutDirection arg2
;
23696 PyObject
* obj0
= 0 ;
23697 PyObject
* obj1
= 0 ;
23698 char * kwnames
[] = {
23699 (char *) "self",(char *) "dir", NULL
23702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23704 if (!SWIG_IsOK(res1
)) {
23705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23707 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23709 if (!SWIG_IsOK(ecode2
)) {
23710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23712 arg2
= static_cast< wxLayoutDirection
>(val2
);
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 (arg1
)->SetLayoutDirection(arg2
);
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23719 resultobj
= SWIG_Py_Void();
23726 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23727 PyObject
*resultobj
= 0;
23728 wxDC
*arg1
= (wxDC
*) 0 ;
23729 PyObject
*arg2
= (PyObject
*) 0 ;
23730 PyObject
*arg3
= (PyObject
*) 0 ;
23731 PyObject
*arg4
= (PyObject
*) 0 ;
23732 PyObject
*result
= 0 ;
23735 PyObject
* obj0
= 0 ;
23736 PyObject
* obj1
= 0 ;
23737 PyObject
* obj2
= 0 ;
23738 PyObject
* obj3
= 0 ;
23739 char * kwnames
[] = {
23740 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23745 if (!SWIG_IsOK(res1
)) {
23746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23748 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23755 wxPyEndAllowThreads(__tstate
);
23756 if (PyErr_Occurred()) SWIG_fail
;
23758 resultobj
= result
;
23765 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23766 PyObject
*resultobj
= 0;
23767 wxDC
*arg1
= (wxDC
*) 0 ;
23768 PyObject
*arg2
= (PyObject
*) 0 ;
23769 PyObject
*arg3
= (PyObject
*) 0 ;
23770 PyObject
*arg4
= (PyObject
*) 0 ;
23771 PyObject
*result
= 0 ;
23774 PyObject
* obj0
= 0 ;
23775 PyObject
* obj1
= 0 ;
23776 PyObject
* obj2
= 0 ;
23777 PyObject
* obj3
= 0 ;
23778 char * kwnames
[] = {
23779 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23784 if (!SWIG_IsOK(res1
)) {
23785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23787 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23793 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23794 wxPyEndAllowThreads(__tstate
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23797 resultobj
= result
;
23804 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23805 PyObject
*resultobj
= 0;
23806 wxDC
*arg1
= (wxDC
*) 0 ;
23807 PyObject
*arg2
= (PyObject
*) 0 ;
23808 PyObject
*arg3
= (PyObject
*) 0 ;
23809 PyObject
*arg4
= (PyObject
*) 0 ;
23810 PyObject
*result
= 0 ;
23813 PyObject
* obj0
= 0 ;
23814 PyObject
* obj1
= 0 ;
23815 PyObject
* obj2
= 0 ;
23816 PyObject
* obj3
= 0 ;
23817 char * kwnames
[] = {
23818 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23823 if (!SWIG_IsOK(res1
)) {
23824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23833 wxPyEndAllowThreads(__tstate
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23836 resultobj
= result
;
23843 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23844 PyObject
*resultobj
= 0;
23845 wxDC
*arg1
= (wxDC
*) 0 ;
23846 PyObject
*arg2
= (PyObject
*) 0 ;
23847 PyObject
*arg3
= (PyObject
*) 0 ;
23848 PyObject
*arg4
= (PyObject
*) 0 ;
23849 PyObject
*result
= 0 ;
23852 PyObject
* obj0
= 0 ;
23853 PyObject
* obj1
= 0 ;
23854 PyObject
* obj2
= 0 ;
23855 PyObject
* obj3
= 0 ;
23856 char * kwnames
[] = {
23857 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23862 if (!SWIG_IsOK(res1
)) {
23863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23865 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= result
;
23882 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
= 0;
23884 wxDC
*arg1
= (wxDC
*) 0 ;
23885 PyObject
*arg2
= (PyObject
*) 0 ;
23886 PyObject
*arg3
= (PyObject
*) 0 ;
23887 PyObject
*arg4
= (PyObject
*) 0 ;
23888 PyObject
*result
= 0 ;
23891 PyObject
* obj0
= 0 ;
23892 PyObject
* obj1
= 0 ;
23893 PyObject
* obj2
= 0 ;
23894 PyObject
* obj3
= 0 ;
23895 char * kwnames
[] = {
23896 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23901 if (!SWIG_IsOK(res1
)) {
23902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23904 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23914 resultobj
= result
;
23921 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23922 PyObject
*resultobj
= 0;
23923 wxDC
*arg1
= (wxDC
*) 0 ;
23924 PyObject
*arg2
= (PyObject
*) 0 ;
23925 PyObject
*arg3
= (PyObject
*) 0 ;
23926 PyObject
*arg4
= (PyObject
*) 0 ;
23927 PyObject
*arg5
= (PyObject
*) 0 ;
23928 PyObject
*result
= 0 ;
23931 PyObject
* obj0
= 0 ;
23932 PyObject
* obj1
= 0 ;
23933 PyObject
* obj2
= 0 ;
23934 PyObject
* obj3
= 0 ;
23935 PyObject
* obj4
= 0 ;
23936 char * kwnames
[] = {
23937 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23942 if (!SWIG_IsOK(res1
)) {
23943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23945 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23952 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23953 wxPyEndAllowThreads(__tstate
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23956 resultobj
= result
;
23963 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23966 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23967 return SWIG_Py_Void();
23970 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23971 PyObject
*resultobj
= 0;
23973 wxColour
*arg2
= 0 ;
23974 wxDCTextColourChanger
*result
= 0 ;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23980 char * kwnames
[] = {
23981 (char *) "dc",(char *) "col", NULL
23984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23985 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23986 if (!SWIG_IsOK(res1
)) {
23987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23992 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23995 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23999 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24000 wxPyEndAllowThreads(__tstate
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24010 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24011 PyObject
*resultobj
= 0;
24012 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24015 PyObject
*swig_obj
[1] ;
24017 if (!args
) SWIG_fail
;
24018 swig_obj
[0] = args
;
24019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24020 if (!SWIG_IsOK(res1
)) {
24021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24023 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24031 resultobj
= SWIG_Py_Void();
24038 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24040 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24041 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24042 return SWIG_Py_Void();
24045 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24046 return SWIG_Python_InitShadowInstance(args
);
24049 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24050 PyObject
*resultobj
= 0;
24053 wxDCPenChanger
*result
= 0 ;
24058 PyObject
* obj0
= 0 ;
24059 PyObject
* obj1
= 0 ;
24060 char * kwnames
[] = {
24061 (char *) "dc",(char *) "pen", NULL
24064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24065 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24066 if (!SWIG_IsOK(res1
)) {
24067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24072 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24073 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24074 if (!SWIG_IsOK(res2
)) {
24075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24080 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24094 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24095 PyObject
*resultobj
= 0;
24096 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24099 PyObject
*swig_obj
[1] ;
24101 if (!args
) SWIG_fail
;
24102 swig_obj
[0] = args
;
24103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24104 if (!SWIG_IsOK(res1
)) {
24105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24107 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= SWIG_Py_Void();
24122 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24125 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24126 return SWIG_Py_Void();
24129 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24130 return SWIG_Python_InitShadowInstance(args
);
24133 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24134 PyObject
*resultobj
= 0;
24136 wxBrush
*arg2
= 0 ;
24137 wxDCBrushChanger
*result
= 0 ;
24142 PyObject
* obj0
= 0 ;
24143 PyObject
* obj1
= 0 ;
24144 char * kwnames
[] = {
24145 (char *) "dc",(char *) "brush", NULL
24148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24149 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24150 if (!SWIG_IsOK(res1
)) {
24151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24156 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24157 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24158 if (!SWIG_IsOK(res2
)) {
24159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24164 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24178 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24179 PyObject
*resultobj
= 0;
24180 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24183 PyObject
*swig_obj
[1] ;
24185 if (!args
) SWIG_fail
;
24186 swig_obj
[0] = args
;
24187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24188 if (!SWIG_IsOK(res1
)) {
24189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24191 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24199 resultobj
= SWIG_Py_Void();
24206 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24208 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24209 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24210 return SWIG_Py_Void();
24213 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24214 return SWIG_Python_InitShadowInstance(args
);
24217 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24218 PyObject
*resultobj
= 0;
24220 wxRegion
*arg2
= 0 ;
24221 wxDCClipper
*result
= 0 ;
24227 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24229 if (!SWIG_IsOK(res1
)) {
24230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24235 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24236 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24237 if (!SWIG_IsOK(res2
)) {
24238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24243 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24246 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24247 wxPyEndAllowThreads(__tstate
);
24248 if (PyErr_Occurred()) SWIG_fail
;
24250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24257 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24258 PyObject
*resultobj
= 0;
24261 wxDCClipper
*result
= 0 ;
24266 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24268 if (!SWIG_IsOK(res1
)) {
24269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24274 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24277 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24292 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24293 PyObject
*resultobj
= 0;
24299 wxDCClipper
*result
= 0 ;
24311 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24313 if (!SWIG_IsOK(res1
)) {
24314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24319 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24320 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24321 if (!SWIG_IsOK(ecode2
)) {
24322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24324 arg2
= static_cast< int >(val2
);
24325 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24326 if (!SWIG_IsOK(ecode3
)) {
24327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24329 arg3
= static_cast< int >(val3
);
24330 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24331 if (!SWIG_IsOK(ecode4
)) {
24332 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24334 arg4
= static_cast< int >(val4
);
24335 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24336 if (!SWIG_IsOK(ecode5
)) {
24337 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24339 arg5
= static_cast< int >(val5
);
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24343 wxPyEndAllowThreads(__tstate
);
24344 if (PyErr_Occurred()) SWIG_fail
;
24346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24353 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24357 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24362 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24363 _v
= SWIG_CheckState(res
);
24365 if (!_v
) goto check_1
;
24366 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24371 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24374 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24378 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24383 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24384 PyObject
*resultobj
= 0;
24385 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24388 PyObject
*swig_obj
[1] ;
24390 if (!args
) SWIG_fail
;
24391 swig_obj
[0] = args
;
24392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24393 if (!SWIG_IsOK(res1
)) {
24394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24396 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24401 wxPyEndAllowThreads(__tstate
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24404 resultobj
= SWIG_Py_Void();
24411 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24413 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24414 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24415 return SWIG_Py_Void();
24418 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24419 return SWIG_Python_InitShadowInstance(args
);
24422 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24423 PyObject
*resultobj
= 0;
24424 wxScreenDC
*result
= 0 ;
24426 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24428 if (!wxPyCheckForApp()) SWIG_fail
;
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24430 result
= (wxScreenDC
*)new wxScreenDC();
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24441 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
= 0;
24443 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24444 wxWindow
*arg2
= (wxWindow
*) 0 ;
24450 PyObject
* obj0
= 0 ;
24451 PyObject
* obj1
= 0 ;
24452 char * kwnames
[] = {
24453 (char *) "self",(char *) "window", NULL
24456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24458 if (!SWIG_IsOK(res1
)) {
24459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24461 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24462 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24463 if (!SWIG_IsOK(res2
)) {
24464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24466 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24469 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24470 wxPyEndAllowThreads(__tstate
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24482 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24483 PyObject
*resultobj
= 0;
24484 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24485 wxRect
*arg2
= (wxRect
*) NULL
;
24491 PyObject
* obj0
= 0 ;
24492 PyObject
* obj1
= 0 ;
24493 char * kwnames
[] = {
24494 (char *) "self",(char *) "rect", NULL
24497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24499 if (!SWIG_IsOK(res1
)) {
24500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24502 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24504 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24505 if (!SWIG_IsOK(res2
)) {
24506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24508 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24512 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24525 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24526 PyObject
*resultobj
= 0;
24527 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24531 PyObject
*swig_obj
[1] ;
24533 if (!args
) SWIG_fail
;
24534 swig_obj
[0] = args
;
24535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24536 if (!SWIG_IsOK(res1
)) {
24537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24539 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24542 result
= (bool)(arg1
)->EndDrawingOnTop();
24543 wxPyEndAllowThreads(__tstate
);
24544 if (PyErr_Occurred()) SWIG_fail
;
24547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24555 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24558 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24559 return SWIG_Py_Void();
24562 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24563 return SWIG_Python_InitShadowInstance(args
);
24566 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24567 PyObject
*resultobj
= 0;
24568 wxWindow
*arg1
= (wxWindow
*) 0 ;
24569 wxWindowDC
*result
= 0 ;
24572 PyObject
* obj0
= 0 ;
24573 char * kwnames
[] = {
24574 (char *) "win", NULL
24577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24579 if (!SWIG_IsOK(res1
)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24582 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24584 if (!wxPyCheckForApp()) SWIG_fail
;
24585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24586 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24597 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24599 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24600 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24601 return SWIG_Py_Void();
24604 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24605 return SWIG_Python_InitShadowInstance(args
);
24608 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24609 PyObject
*resultobj
= 0;
24610 wxWindow
*arg1
= (wxWindow
*) 0 ;
24611 wxClientDC
*result
= 0 ;
24614 PyObject
* obj0
= 0 ;
24615 char * kwnames
[] = {
24616 (char *) "win", NULL
24619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24621 if (!SWIG_IsOK(res1
)) {
24622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24624 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24626 if (!wxPyCheckForApp()) SWIG_fail
;
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 result
= (wxClientDC
*)new wxClientDC(arg1
);
24629 wxPyEndAllowThreads(__tstate
);
24630 if (PyErr_Occurred()) SWIG_fail
;
24632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24639 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24641 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24642 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24643 return SWIG_Py_Void();
24646 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24647 return SWIG_Python_InitShadowInstance(args
);
24650 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24651 PyObject
*resultobj
= 0;
24652 wxWindow
*arg1
= (wxWindow
*) 0 ;
24653 wxPaintDC
*result
= 0 ;
24656 PyObject
* obj0
= 0 ;
24657 char * kwnames
[] = {
24658 (char *) "win", NULL
24661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24663 if (!SWIG_IsOK(res1
)) {
24664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24666 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24668 if (!wxPyCheckForApp()) SWIG_fail
;
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24681 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24683 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24684 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24685 return SWIG_Py_Void();
24688 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24689 return SWIG_Python_InitShadowInstance(args
);
24692 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24693 PyObject
*resultobj
= 0;
24694 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24695 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24696 wxMemoryDC
*result
= 0 ;
24699 PyObject
* obj0
= 0 ;
24700 char * kwnames
[] = {
24701 (char *) "bitmap", NULL
24704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24706 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24707 if (!SWIG_IsOK(res1
)) {
24708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24713 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24716 if (!wxPyCheckForApp()) SWIG_fail
;
24717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24729 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24730 PyObject
*resultobj
= 0;
24731 wxDC
*arg1
= (wxDC
*) 0 ;
24732 wxMemoryDC
*result
= 0 ;
24735 PyObject
* obj0
= 0 ;
24736 char * kwnames
[] = {
24737 (char *) "oldDC", NULL
24740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24742 if (!SWIG_IsOK(res1
)) {
24743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24745 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24747 if (!wxPyCheckForApp()) SWIG_fail
;
24748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24749 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24750 wxPyEndAllowThreads(__tstate
);
24751 if (PyErr_Occurred()) SWIG_fail
;
24753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24760 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24761 PyObject
*resultobj
= 0;
24762 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24763 wxBitmap
*arg2
= 0 ;
24768 PyObject
* obj0
= 0 ;
24769 PyObject
* obj1
= 0 ;
24770 char * kwnames
[] = {
24771 (char *) "self",(char *) "bitmap", NULL
24774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24776 if (!SWIG_IsOK(res1
)) {
24777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24779 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24781 if (!SWIG_IsOK(res2
)) {
24782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24787 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 (arg1
)->SelectObject(*arg2
);
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= SWIG_Py_Void();
24801 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
= 0;
24803 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24804 wxBitmap
*arg2
= 0 ;
24809 PyObject
* obj0
= 0 ;
24810 PyObject
* obj1
= 0 ;
24811 char * kwnames
[] = {
24812 (char *) "self",(char *) "bmp", NULL
24815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24817 if (!SWIG_IsOK(res1
)) {
24818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24820 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24822 if (!SWIG_IsOK(res2
)) {
24823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24828 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24832 wxPyEndAllowThreads(__tstate
);
24833 if (PyErr_Occurred()) SWIG_fail
;
24835 resultobj
= SWIG_Py_Void();
24842 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24844 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24845 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24846 return SWIG_Py_Void();
24849 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24850 return SWIG_Python_InitShadowInstance(args
);
24853 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24854 PyObject
*resultobj
= 0;
24855 wxDC
*arg1
= (wxDC
*) 0 ;
24856 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24857 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24858 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24859 wxBufferedDC
*result
= 0 ;
24867 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24869 if (!SWIG_IsOK(res1
)) {
24870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24872 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24874 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24875 if (!SWIG_IsOK(res2
)) {
24876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24881 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24884 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24885 if (!SWIG_IsOK(ecode3
)) {
24886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24888 arg3
= static_cast< int >(val3
);
24891 if (!wxPyCheckForApp()) SWIG_fail
;
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24894 wxPyEndAllowThreads(__tstate
);
24895 if (PyErr_Occurred()) SWIG_fail
;
24897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24904 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24905 PyObject
*resultobj
= 0;
24906 wxDC
*arg1
= (wxDC
*) 0 ;
24908 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24909 wxBufferedDC
*result
= 0 ;
24916 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24918 if (!SWIG_IsOK(res1
)) {
24919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24921 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24924 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24927 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24928 if (!SWIG_IsOK(ecode3
)) {
24929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24931 arg3
= static_cast< int >(val3
);
24934 if (!wxPyCheckForApp()) SWIG_fail
;
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24947 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24951 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24953 if ((argc
>= 1) && (argc
<= 3)) {
24958 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24959 _v
= SWIG_CheckState(res
);
24961 if (!_v
) goto check_1
;
24963 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24967 if ((argc
>= 2) && (argc
<= 3)) {
24968 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24972 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24977 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24978 PyObject
*resultobj
= 0;
24979 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24982 PyObject
*swig_obj
[1] ;
24984 if (!args
) SWIG_fail
;
24985 swig_obj
[0] = args
;
24986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24987 if (!SWIG_IsOK(res1
)) {
24988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24990 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 wxPyEndAllowThreads(__tstate
);
24996 if (PyErr_Occurred()) SWIG_fail
;
24998 resultobj
= SWIG_Py_Void();
25005 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25006 PyObject
*resultobj
= 0;
25007 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25010 PyObject
*swig_obj
[1] ;
25012 if (!args
) SWIG_fail
;
25013 swig_obj
[0] = args
;
25014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25015 if (!SWIG_IsOK(res1
)) {
25016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25018 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25022 wxPyEndAllowThreads(__tstate
);
25023 if (PyErr_Occurred()) SWIG_fail
;
25025 resultobj
= SWIG_Py_Void();
25032 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25033 PyObject
*resultobj
= 0;
25034 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25040 PyObject
* obj0
= 0 ;
25041 PyObject
* obj1
= 0 ;
25042 char * kwnames
[] = {
25043 (char *) "self",(char *) "style", NULL
25046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25048 if (!SWIG_IsOK(res1
)) {
25049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25051 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25053 if (!SWIG_IsOK(ecode2
)) {
25054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
25056 arg2
= static_cast< int >(val2
);
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25059 (arg1
)->SetStyle(arg2
);
25060 wxPyEndAllowThreads(__tstate
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25063 resultobj
= SWIG_Py_Void();
25070 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25071 PyObject
*resultobj
= 0;
25072 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25076 PyObject
*swig_obj
[1] ;
25078 if (!args
) SWIG_fail
;
25079 swig_obj
[0] = args
;
25080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25081 if (!SWIG_IsOK(res1
)) {
25082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
25084 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25087 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
25088 wxPyEndAllowThreads(__tstate
);
25089 if (PyErr_Occurred()) SWIG_fail
;
25091 resultobj
= SWIG_From_int(static_cast< int >(result
));
25098 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25101 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25102 return SWIG_Py_Void();
25105 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25106 return SWIG_Python_InitShadowInstance(args
);
25109 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25110 PyObject
*resultobj
= 0;
25111 wxWindow
*arg1
= (wxWindow
*) 0 ;
25112 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25113 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25114 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25115 wxBufferedPaintDC
*result
= 0 ;
25122 PyObject
* obj0
= 0 ;
25123 PyObject
* obj1
= 0 ;
25124 PyObject
* obj2
= 0 ;
25125 char * kwnames
[] = {
25126 (char *) "window",(char *) "buffer",(char *) "style", NULL
25129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25131 if (!SWIG_IsOK(res1
)) {
25132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25136 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25137 if (!SWIG_IsOK(res2
)) {
25138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25143 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25147 if (!SWIG_IsOK(ecode3
)) {
25148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25150 arg3
= static_cast< int >(val3
);
25153 if (!wxPyCheckForApp()) SWIG_fail
;
25154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25155 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25166 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25168 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25169 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25170 return SWIG_Py_Void();
25173 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25174 return SWIG_Python_InitShadowInstance(args
);
25177 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25178 PyObject
*resultobj
= 0;
25179 wxWindow
*arg1
= (wxWindow
*) 0 ;
25180 wxAutoBufferedPaintDC
*result
= 0 ;
25183 PyObject
* obj0
= 0 ;
25184 char * kwnames
[] = {
25185 (char *) "win", NULL
25188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25190 if (!SWIG_IsOK(res1
)) {
25191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25193 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25196 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25197 wxPyEndAllowThreads(__tstate
);
25198 if (PyErr_Occurred()) SWIG_fail
;
25200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25207 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25209 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25210 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25211 return SWIG_Py_Void();
25214 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25215 return SWIG_Python_InitShadowInstance(args
);
25218 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25219 PyObject
*resultobj
= 0;
25220 wxWindow
*arg1
= (wxWindow
*) 0 ;
25224 PyObject
* obj0
= 0 ;
25225 char * kwnames
[] = {
25226 (char *) "window", NULL
25229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25231 if (!SWIG_IsOK(res1
)) {
25232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25234 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25237 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25238 wxPyEndAllowThreads(__tstate
);
25239 if (PyErr_Occurred()) SWIG_fail
;
25242 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25250 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25251 PyObject
*resultobj
= 0;
25254 wxMirrorDC
*result
= 0 ;
25259 PyObject
* obj0
= 0 ;
25260 PyObject
* obj1
= 0 ;
25261 char * kwnames
[] = {
25262 (char *) "dc",(char *) "mirror", NULL
25265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25266 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25267 if (!SWIG_IsOK(res1
)) {
25268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25273 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25274 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25275 if (!SWIG_IsOK(ecode2
)) {
25276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25278 arg2
= static_cast< bool >(val2
);
25280 if (!wxPyCheckForApp()) SWIG_fail
;
25281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25282 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25283 wxPyEndAllowThreads(__tstate
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25293 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25296 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25297 return SWIG_Py_Void();
25300 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25301 return SWIG_Python_InitShadowInstance(args
);
25304 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25305 PyObject
*resultobj
= 0;
25306 wxPrintData
*arg1
= 0 ;
25307 wxPostScriptDC
*result
= 0 ;
25310 PyObject
* obj0
= 0 ;
25311 char * kwnames
[] = {
25312 (char *) "printData", NULL
25315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25316 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25317 if (!SWIG_IsOK(res1
)) {
25318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25323 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25325 if (!wxPyCheckForApp()) SWIG_fail
;
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25328 wxPyEndAllowThreads(__tstate
);
25329 if (PyErr_Occurred()) SWIG_fail
;
25331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25338 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25339 PyObject
*resultobj
= 0;
25340 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25341 wxPrintData
*result
= 0 ;
25344 PyObject
*swig_obj
[1] ;
25346 if (!args
) SWIG_fail
;
25347 swig_obj
[0] = args
;
25348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25349 if (!SWIG_IsOK(res1
)) {
25350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25352 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25356 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25357 result
= (wxPrintData
*) &_result_ref
;
25359 wxPyEndAllowThreads(__tstate
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25369 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25370 PyObject
*resultobj
= 0;
25371 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25372 wxPrintData
*arg2
= 0 ;
25377 PyObject
* obj0
= 0 ;
25378 PyObject
* obj1
= 0 ;
25379 char * kwnames
[] = {
25380 (char *) "self",(char *) "data", NULL
25383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25385 if (!SWIG_IsOK(res1
)) {
25386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25388 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25389 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25390 if (!SWIG_IsOK(res2
)) {
25391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25394 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25396 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25399 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25400 wxPyEndAllowThreads(__tstate
);
25401 if (PyErr_Occurred()) SWIG_fail
;
25403 resultobj
= SWIG_Py_Void();
25410 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25411 PyObject
*resultobj
= 0;
25415 PyObject
* obj0
= 0 ;
25416 char * kwnames
[] = {
25417 (char *) "ppi", NULL
25420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25421 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25422 if (!SWIG_IsOK(ecode1
)) {
25423 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25425 arg1
= static_cast< int >(val1
);
25427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25428 wxPostScriptDC::SetResolution(arg1
);
25429 wxPyEndAllowThreads(__tstate
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25432 resultobj
= SWIG_Py_Void();
25439 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25440 PyObject
*resultobj
= 0;
25443 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25446 result
= (int)wxPostScriptDC::GetResolution();
25447 wxPyEndAllowThreads(__tstate
);
25448 if (PyErr_Occurred()) SWIG_fail
;
25450 resultobj
= SWIG_From_int(static_cast< int >(result
));
25457 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25459 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25460 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25461 return SWIG_Py_Void();
25464 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25465 return SWIG_Python_InitShadowInstance(args
);
25468 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
= 0;
25470 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25471 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25472 wxMetaFile
*result
= 0 ;
25473 bool temp1
= false ;
25474 PyObject
* obj0
= 0 ;
25475 char * kwnames
[] = {
25476 (char *) "filename", NULL
25479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25482 arg1
= wxString_in_helper(obj0
);
25483 if (arg1
== NULL
) SWIG_fail
;
25488 if (!wxPyCheckForApp()) SWIG_fail
;
25489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25490 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25509 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25510 PyObject
*resultobj
= 0;
25511 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25514 PyObject
*swig_obj
[1] ;
25516 if (!args
) SWIG_fail
;
25517 swig_obj
[0] = args
;
25518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25519 if (!SWIG_IsOK(res1
)) {
25520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25522 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 wxPyEndAllowThreads(__tstate
);
25528 if (PyErr_Occurred()) SWIG_fail
;
25530 resultobj
= SWIG_Py_Void();
25537 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25538 PyObject
*resultobj
= 0;
25539 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25543 PyObject
*swig_obj
[1] ;
25545 if (!args
) SWIG_fail
;
25546 swig_obj
[0] = args
;
25547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25548 if (!SWIG_IsOK(res1
)) {
25549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25551 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25554 result
= (bool)(arg1
)->IsOk();
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25567 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25568 PyObject
*resultobj
= 0;
25569 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25570 int arg2
= (int) 0 ;
25571 int arg3
= (int) 0 ;
25579 PyObject
* obj0
= 0 ;
25580 PyObject
* obj1
= 0 ;
25581 PyObject
* obj2
= 0 ;
25582 char * kwnames
[] = {
25583 (char *) "self",(char *) "width",(char *) "height", NULL
25586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25588 if (!SWIG_IsOK(res1
)) {
25589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25591 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25594 if (!SWIG_IsOK(ecode2
)) {
25595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25597 arg2
= static_cast< int >(val2
);
25600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25601 if (!SWIG_IsOK(ecode3
)) {
25602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25604 arg3
= static_cast< int >(val3
);
25607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25608 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25609 wxPyEndAllowThreads(__tstate
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25621 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25622 PyObject
*resultobj
= 0;
25623 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25627 PyObject
*swig_obj
[1] ;
25629 if (!args
) SWIG_fail
;
25630 swig_obj
[0] = args
;
25631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25632 if (!SWIG_IsOK(res1
)) {
25633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25635 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25638 result
= (arg1
)->GetSize();
25639 wxPyEndAllowThreads(__tstate
);
25640 if (PyErr_Occurred()) SWIG_fail
;
25642 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25649 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25650 PyObject
*resultobj
= 0;
25651 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25655 PyObject
*swig_obj
[1] ;
25657 if (!args
) SWIG_fail
;
25658 swig_obj
[0] = args
;
25659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25660 if (!SWIG_IsOK(res1
)) {
25661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25663 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25666 result
= (int)(arg1
)->GetWidth();
25667 wxPyEndAllowThreads(__tstate
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25670 resultobj
= SWIG_From_int(static_cast< int >(result
));
25677 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25678 PyObject
*resultobj
= 0;
25679 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25683 PyObject
*swig_obj
[1] ;
25685 if (!args
) SWIG_fail
;
25686 swig_obj
[0] = args
;
25687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25688 if (!SWIG_IsOK(res1
)) {
25689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25691 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 result
= (int)(arg1
)->GetHeight();
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= SWIG_From_int(static_cast< int >(result
));
25705 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25708 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25709 return SWIG_Py_Void();
25712 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25713 return SWIG_Python_InitShadowInstance(args
);
25716 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25717 PyObject
*resultobj
= 0;
25718 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25719 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25720 int arg2
= (int) 0 ;
25721 int arg3
= (int) 0 ;
25722 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25723 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25724 wxMetaFileDC
*result
= 0 ;
25725 bool temp1
= false ;
25730 bool temp4
= false ;
25731 PyObject
* obj0
= 0 ;
25732 PyObject
* obj1
= 0 ;
25733 PyObject
* obj2
= 0 ;
25734 PyObject
* obj3
= 0 ;
25735 char * kwnames
[] = {
25736 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25742 arg1
= wxString_in_helper(obj0
);
25743 if (arg1
== NULL
) SWIG_fail
;
25748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25749 if (!SWIG_IsOK(ecode2
)) {
25750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25752 arg2
= static_cast< int >(val2
);
25755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25756 if (!SWIG_IsOK(ecode3
)) {
25757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25759 arg3
= static_cast< int >(val3
);
25763 arg4
= wxString_in_helper(obj3
);
25764 if (arg4
== NULL
) SWIG_fail
;
25769 if (!wxPyCheckForApp()) SWIG_fail
;
25770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25771 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25772 wxPyEndAllowThreads(__tstate
);
25773 if (PyErr_Occurred()) SWIG_fail
;
25775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25798 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25799 PyObject
*resultobj
= 0;
25800 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25801 wxMetaFile
*result
= 0 ;
25804 PyObject
*swig_obj
[1] ;
25806 if (!args
) SWIG_fail
;
25807 swig_obj
[0] = args
;
25808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25809 if (!SWIG_IsOK(res1
)) {
25810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25812 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25815 result
= (wxMetaFile
*)(arg1
)->Close();
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25826 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25829 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25830 return SWIG_Py_Void();
25833 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25834 return SWIG_Python_InitShadowInstance(args
);
25837 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25838 PyObject
*resultobj
= 0;
25839 wxPrintData
*arg1
= 0 ;
25840 wxPrinterDC
*result
= 0 ;
25843 PyObject
* obj0
= 0 ;
25844 char * kwnames
[] = {
25845 (char *) "printData", NULL
25848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25849 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25850 if (!SWIG_IsOK(res1
)) {
25851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25856 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25858 if (!wxPyCheckForApp()) SWIG_fail
;
25859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25860 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25861 wxPyEndAllowThreads(__tstate
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25871 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25873 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25874 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25875 return SWIG_Py_Void();
25878 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25879 return SWIG_Python_InitShadowInstance(args
);
25882 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25883 PyObject
*resultobj
= 0;
25884 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25885 wxGraphicsObject
*result
= 0 ;
25888 PyObject
* obj0
= 0 ;
25889 char * kwnames
[] = {
25890 (char *) "renderer", NULL
25893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25896 if (!SWIG_IsOK(res1
)) {
25897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25899 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25902 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25903 if (PyErr_Occurred()) SWIG_fail
;
25905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25912 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25913 PyObject
*resultobj
= 0;
25914 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25917 PyObject
*swig_obj
[1] ;
25919 if (!args
) SWIG_fail
;
25920 swig_obj
[0] = args
;
25921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25922 if (!SWIG_IsOK(res1
)) {
25923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25925 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25931 resultobj
= SWIG_Py_Void();
25938 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25939 PyObject
*resultobj
= 0;
25940 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25944 PyObject
*swig_obj
[1] ;
25946 if (!args
) SWIG_fail
;
25947 swig_obj
[0] = args
;
25948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25949 if (!SWIG_IsOK(res1
)) {
25950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25952 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25954 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25955 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25966 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25967 PyObject
*resultobj
= 0;
25968 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25969 wxGraphicsRenderer
*result
= 0 ;
25972 PyObject
*swig_obj
[1] ;
25974 if (!args
) SWIG_fail
;
25975 swig_obj
[0] = args
;
25976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25977 if (!SWIG_IsOK(res1
)) {
25978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25980 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25982 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25983 if (PyErr_Occurred()) SWIG_fail
;
25985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25992 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25995 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25996 return SWIG_Py_Void();
25999 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26000 return SWIG_Python_InitShadowInstance(args
);
26003 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26004 PyObject
*resultobj
= 0;
26005 wxGraphicsPen
*result
= 0 ;
26007 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
26009 result
= (wxGraphicsPen
*)new wxGraphicsPen();
26010 if (PyErr_Occurred()) SWIG_fail
;
26012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
26019 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26020 PyObject
*resultobj
= 0;
26021 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
26024 PyObject
*swig_obj
[1] ;
26026 if (!args
) SWIG_fail
;
26027 swig_obj
[0] = args
;
26028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
26029 if (!SWIG_IsOK(res1
)) {
26030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
26032 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26038 resultobj
= SWIG_Py_Void();
26045 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26047 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26048 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
26049 return SWIG_Py_Void();
26052 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26053 return SWIG_Python_InitShadowInstance(args
);
26056 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26057 PyObject
*resultobj
= 0;
26058 wxGraphicsBrush
*result
= 0 ;
26060 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26062 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26063 if (PyErr_Occurred()) SWIG_fail
;
26065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26072 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26073 PyObject
*resultobj
= 0;
26074 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26077 PyObject
*swig_obj
[1] ;
26079 if (!args
) SWIG_fail
;
26080 swig_obj
[0] = args
;
26081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26082 if (!SWIG_IsOK(res1
)) {
26083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26085 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26091 resultobj
= SWIG_Py_Void();
26098 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26101 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26102 return SWIG_Py_Void();
26105 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26106 return SWIG_Python_InitShadowInstance(args
);
26109 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26110 PyObject
*resultobj
= 0;
26111 wxGraphicsFont
*result
= 0 ;
26113 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26115 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26116 if (PyErr_Occurred()) SWIG_fail
;
26118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26125 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26126 PyObject
*resultobj
= 0;
26127 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26130 PyObject
*swig_obj
[1] ;
26132 if (!args
) SWIG_fail
;
26133 swig_obj
[0] = args
;
26134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26135 if (!SWIG_IsOK(res1
)) {
26136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26138 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26144 resultobj
= SWIG_Py_Void();
26151 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26153 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26154 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26155 return SWIG_Py_Void();
26158 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26159 return SWIG_Python_InitShadowInstance(args
);
26162 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26163 PyObject
*resultobj
= 0;
26164 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26167 PyObject
*swig_obj
[1] ;
26169 if (!args
) SWIG_fail
;
26170 swig_obj
[0] = args
;
26171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26172 if (!SWIG_IsOK(res1
)) {
26173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26175 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26181 resultobj
= SWIG_Py_Void();
26188 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26189 PyObject
*resultobj
= 0;
26190 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26191 wxGraphicsMatrix
*arg2
= 0 ;
26196 PyObject
* obj0
= 0 ;
26197 PyObject
* obj1
= 0 ;
26198 char * kwnames
[] = {
26199 (char *) "self",(char *) "t", NULL
26202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26204 if (!SWIG_IsOK(res1
)) {
26205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26207 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26208 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26209 if (!SWIG_IsOK(res2
)) {
26210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26215 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26217 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26220 resultobj
= SWIG_Py_Void();
26227 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26228 PyObject
*resultobj
= 0;
26229 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26230 wxDouble arg2
= (wxDouble
) 1.0 ;
26231 wxDouble arg3
= (wxDouble
) 0.0 ;
26232 wxDouble arg4
= (wxDouble
) 0.0 ;
26233 wxDouble arg5
= (wxDouble
) 1.0 ;
26234 wxDouble arg6
= (wxDouble
) 0.0 ;
26235 wxDouble arg7
= (wxDouble
) 0.0 ;
26250 PyObject
* obj0
= 0 ;
26251 PyObject
* obj1
= 0 ;
26252 PyObject
* obj2
= 0 ;
26253 PyObject
* obj3
= 0 ;
26254 PyObject
* obj4
= 0 ;
26255 PyObject
* obj5
= 0 ;
26256 PyObject
* obj6
= 0 ;
26257 char * kwnames
[] = {
26258 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26263 if (!SWIG_IsOK(res1
)) {
26264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26266 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26268 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26269 if (!SWIG_IsOK(ecode2
)) {
26270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26272 arg2
= static_cast< wxDouble
>(val2
);
26275 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26276 if (!SWIG_IsOK(ecode3
)) {
26277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26279 arg3
= static_cast< wxDouble
>(val3
);
26282 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26283 if (!SWIG_IsOK(ecode4
)) {
26284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26286 arg4
= static_cast< wxDouble
>(val4
);
26289 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26290 if (!SWIG_IsOK(ecode5
)) {
26291 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26293 arg5
= static_cast< wxDouble
>(val5
);
26296 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26297 if (!SWIG_IsOK(ecode6
)) {
26298 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26300 arg6
= static_cast< wxDouble
>(val6
);
26303 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26304 if (!SWIG_IsOK(ecode7
)) {
26305 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26307 arg7
= static_cast< wxDouble
>(val7
);
26310 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26311 if (PyErr_Occurred()) SWIG_fail
;
26313 resultobj
= SWIG_Py_Void();
26320 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26321 PyObject
*resultobj
= 0;
26322 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26323 wxDouble
*arg2
= (wxDouble
*) 0 ;
26324 wxDouble
*arg3
= (wxDouble
*) 0 ;
26325 wxDouble
*arg4
= (wxDouble
*) 0 ;
26326 wxDouble
*arg5
= (wxDouble
*) 0 ;
26327 wxDouble
*arg6
= (wxDouble
*) 0 ;
26328 wxDouble
*arg7
= (wxDouble
*) 0 ;
26332 int res2
= SWIG_TMPOBJ
;
26334 int res3
= SWIG_TMPOBJ
;
26336 int res4
= SWIG_TMPOBJ
;
26338 int res5
= SWIG_TMPOBJ
;
26340 int res6
= SWIG_TMPOBJ
;
26342 int res7
= SWIG_TMPOBJ
;
26343 PyObject
*swig_obj
[1] ;
26351 if (!args
) SWIG_fail
;
26352 swig_obj
[0] = args
;
26353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26354 if (!SWIG_IsOK(res1
)) {
26355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26357 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26359 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26362 resultobj
= SWIG_Py_Void();
26363 if (SWIG_IsTmpObj(res2
)) {
26364 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26366 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26367 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26369 if (SWIG_IsTmpObj(res3
)) {
26370 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26372 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26373 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26375 if (SWIG_IsTmpObj(res4
)) {
26376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26378 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26379 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26381 if (SWIG_IsTmpObj(res5
)) {
26382 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26384 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26385 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26387 if (SWIG_IsTmpObj(res6
)) {
26388 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26390 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26393 if (SWIG_IsTmpObj(res7
)) {
26394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
26396 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26397 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
26405 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26406 PyObject
*resultobj
= 0;
26407 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26410 PyObject
*swig_obj
[1] ;
26412 if (!args
) SWIG_fail
;
26413 swig_obj
[0] = args
;
26414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26415 if (!SWIG_IsOK(res1
)) {
26416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26418 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26421 if (PyErr_Occurred()) SWIG_fail
;
26423 resultobj
= SWIG_Py_Void();
26430 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26431 PyObject
*resultobj
= 0;
26432 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26433 wxGraphicsMatrix
*arg2
= 0 ;
26439 PyObject
* obj0
= 0 ;
26440 PyObject
* obj1
= 0 ;
26441 char * kwnames
[] = {
26442 (char *) "self",(char *) "t", NULL
26445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26447 if (!SWIG_IsOK(res1
)) {
26448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26450 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26451 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26452 if (!SWIG_IsOK(res2
)) {
26453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26456 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26458 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26460 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26461 if (PyErr_Occurred()) SWIG_fail
;
26464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26472 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26473 PyObject
*resultobj
= 0;
26474 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26478 PyObject
*swig_obj
[1] ;
26480 if (!args
) SWIG_fail
;
26481 swig_obj
[0] = args
;
26482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26483 if (!SWIG_IsOK(res1
)) {
26484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26486 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26488 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26489 if (PyErr_Occurred()) SWIG_fail
;
26492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26500 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26501 PyObject
*resultobj
= 0;
26502 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26511 PyObject
* obj0
= 0 ;
26512 PyObject
* obj1
= 0 ;
26513 PyObject
* obj2
= 0 ;
26514 char * kwnames
[] = {
26515 (char *) "self",(char *) "dx",(char *) "dy", NULL
26518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26520 if (!SWIG_IsOK(res1
)) {
26521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26523 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26524 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26525 if (!SWIG_IsOK(ecode2
)) {
26526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26528 arg2
= static_cast< wxDouble
>(val2
);
26529 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26530 if (!SWIG_IsOK(ecode3
)) {
26531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26533 arg3
= static_cast< wxDouble
>(val3
);
26535 (arg1
)->Translate(arg2
,arg3
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26538 resultobj
= SWIG_Py_Void();
26545 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26546 PyObject
*resultobj
= 0;
26547 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26556 PyObject
* obj0
= 0 ;
26557 PyObject
* obj1
= 0 ;
26558 PyObject
* obj2
= 0 ;
26559 char * kwnames
[] = {
26560 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26565 if (!SWIG_IsOK(res1
)) {
26566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26568 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26569 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26570 if (!SWIG_IsOK(ecode2
)) {
26571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26573 arg2
= static_cast< wxDouble
>(val2
);
26574 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26575 if (!SWIG_IsOK(ecode3
)) {
26576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26578 arg3
= static_cast< wxDouble
>(val3
);
26580 (arg1
)->Scale(arg2
,arg3
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26583 resultobj
= SWIG_Py_Void();
26590 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26591 PyObject
*resultobj
= 0;
26592 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26598 PyObject
* obj0
= 0 ;
26599 PyObject
* obj1
= 0 ;
26600 char * kwnames
[] = {
26601 (char *) "self",(char *) "angle", NULL
26604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26606 if (!SWIG_IsOK(res1
)) {
26607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26609 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26610 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26611 if (!SWIG_IsOK(ecode2
)) {
26612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26614 arg2
= static_cast< wxDouble
>(val2
);
26616 (arg1
)->Rotate(arg2
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26619 resultobj
= SWIG_Py_Void();
26626 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26627 PyObject
*resultobj
= 0;
26628 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26629 wxDouble
*arg2
= (wxDouble
*) 0 ;
26630 wxDouble
*arg3
= (wxDouble
*) 0 ;
26637 PyObject
* obj0
= 0 ;
26638 PyObject
* obj1
= 0 ;
26639 PyObject
* obj2
= 0 ;
26640 char * kwnames
[] = {
26641 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26646 if (!SWIG_IsOK(res1
)) {
26647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26649 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26650 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26652 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26653 if (!SWIG_IsOK(ecode
)) {
26654 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26656 temp2
= static_cast< wxDouble
>(val
);
26658 res2
= SWIG_AddTmpMask(ecode
);
26660 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26662 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26663 if (!SWIG_IsOK(ecode
)) {
26664 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26666 temp3
= static_cast< wxDouble
>(val
);
26668 res3
= SWIG_AddTmpMask(ecode
);
26671 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26672 if (PyErr_Occurred()) SWIG_fail
;
26674 resultobj
= SWIG_Py_Void();
26675 if (SWIG_IsTmpObj(res2
)) {
26676 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26678 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26679 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26681 if (SWIG_IsTmpObj(res3
)) {
26682 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26684 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26685 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26693 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26694 PyObject
*resultobj
= 0;
26695 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26696 wxDouble
*arg2
= (wxDouble
*) 0 ;
26697 wxDouble
*arg3
= (wxDouble
*) 0 ;
26704 PyObject
* obj0
= 0 ;
26705 PyObject
* obj1
= 0 ;
26706 PyObject
* obj2
= 0 ;
26707 char * kwnames
[] = {
26708 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26713 if (!SWIG_IsOK(res1
)) {
26714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26716 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26717 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26719 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26720 if (!SWIG_IsOK(ecode
)) {
26721 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26723 temp2
= static_cast< wxDouble
>(val
);
26725 res2
= SWIG_AddTmpMask(ecode
);
26727 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26729 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26730 if (!SWIG_IsOK(ecode
)) {
26731 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26733 temp3
= static_cast< wxDouble
>(val
);
26735 res3
= SWIG_AddTmpMask(ecode
);
26738 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26741 resultobj
= SWIG_Py_Void();
26742 if (SWIG_IsTmpObj(res2
)) {
26743 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26745 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26746 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26748 if (SWIG_IsTmpObj(res3
)) {
26749 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26751 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26752 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26760 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26761 PyObject
*resultobj
= 0;
26762 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26766 PyObject
*swig_obj
[1] ;
26768 if (!args
) SWIG_fail
;
26769 swig_obj
[0] = args
;
26770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26771 if (!SWIG_IsOK(res1
)) {
26772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26774 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26776 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26777 if (PyErr_Occurred()) SWIG_fail
;
26779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26786 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26788 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26789 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26790 return SWIG_Py_Void();
26793 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26794 PyObject
*resultobj
= 0;
26795 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26798 PyObject
*swig_obj
[1] ;
26800 if (!args
) SWIG_fail
;
26801 swig_obj
[0] = args
;
26802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26803 if (!SWIG_IsOK(res1
)) {
26804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26806 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26812 resultobj
= SWIG_Py_Void();
26819 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26820 PyObject
*resultobj
= 0;
26821 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26831 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26833 if (!SWIG_IsOK(res1
)) {
26834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26836 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26837 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26838 if (!SWIG_IsOK(ecode2
)) {
26839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26841 arg2
= static_cast< wxDouble
>(val2
);
26842 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26843 if (!SWIG_IsOK(ecode3
)) {
26844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26846 arg3
= static_cast< wxDouble
>(val3
);
26848 (arg1
)->MoveToPoint(arg2
,arg3
);
26849 if (PyErr_Occurred()) SWIG_fail
;
26851 resultobj
= SWIG_Py_Void();
26858 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26859 PyObject
*resultobj
= 0;
26860 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26861 wxPoint2D
*arg2
= 0 ;
26866 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26868 if (!SWIG_IsOK(res1
)) {
26869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26871 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26874 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26877 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26878 if (PyErr_Occurred()) SWIG_fail
;
26880 resultobj
= SWIG_Py_Void();
26887 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26891 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26894 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26897 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26901 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26906 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26907 PyObject
*resultobj
= 0;
26908 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26918 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26920 if (!SWIG_IsOK(res1
)) {
26921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26923 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26924 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26925 if (!SWIG_IsOK(ecode2
)) {
26926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26928 arg2
= static_cast< wxDouble
>(val2
);
26929 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26930 if (!SWIG_IsOK(ecode3
)) {
26931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26933 arg3
= static_cast< wxDouble
>(val3
);
26935 (arg1
)->AddLineToPoint(arg2
,arg3
);
26936 if (PyErr_Occurred()) SWIG_fail
;
26938 resultobj
= SWIG_Py_Void();
26945 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26946 PyObject
*resultobj
= 0;
26947 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26948 wxPoint2D
*arg2
= 0 ;
26953 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26955 if (!SWIG_IsOK(res1
)) {
26956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26958 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26961 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26964 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26967 resultobj
= SWIG_Py_Void();
26974 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26978 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26981 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26984 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26988 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26993 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26994 PyObject
*resultobj
= 0;
26995 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27017 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27019 if (!SWIG_IsOK(res1
)) {
27020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27022 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27023 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27024 if (!SWIG_IsOK(ecode2
)) {
27025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27027 arg2
= static_cast< wxDouble
>(val2
);
27028 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27029 if (!SWIG_IsOK(ecode3
)) {
27030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27032 arg3
= static_cast< wxDouble
>(val3
);
27033 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27034 if (!SWIG_IsOK(ecode4
)) {
27035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27037 arg4
= static_cast< wxDouble
>(val4
);
27038 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27039 if (!SWIG_IsOK(ecode5
)) {
27040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27042 arg5
= static_cast< wxDouble
>(val5
);
27043 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27044 if (!SWIG_IsOK(ecode6
)) {
27045 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27047 arg6
= static_cast< wxDouble
>(val6
);
27048 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
27049 if (!SWIG_IsOK(ecode7
)) {
27050 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
27052 arg7
= static_cast< wxDouble
>(val7
);
27054 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27055 if (PyErr_Occurred()) SWIG_fail
;
27057 resultobj
= SWIG_Py_Void();
27064 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27065 PyObject
*resultobj
= 0;
27066 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27067 wxPoint2D
*arg2
= 0 ;
27068 wxPoint2D
*arg3
= 0 ;
27069 wxPoint2D
*arg4
= 0 ;
27076 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
27077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27078 if (!SWIG_IsOK(res1
)) {
27079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27081 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27084 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27088 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
27092 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
27095 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
27096 if (PyErr_Occurred()) SWIG_fail
;
27098 resultobj
= SWIG_Py_Void();
27105 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27109 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27112 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27115 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27119 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27124 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27125 PyObject
*resultobj
= 0;
27126 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27127 wxGraphicsPath
*arg2
= 0 ;
27132 PyObject
* obj0
= 0 ;
27133 PyObject
* obj1
= 0 ;
27134 char * kwnames
[] = {
27135 (char *) "self",(char *) "path", NULL
27138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27140 if (!SWIG_IsOK(res1
)) {
27141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27143 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27144 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27145 if (!SWIG_IsOK(res2
)) {
27146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27149 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27151 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27153 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27156 resultobj
= SWIG_Py_Void();
27163 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27164 PyObject
*resultobj
= 0;
27165 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27168 PyObject
*swig_obj
[1] ;
27170 if (!args
) SWIG_fail
;
27171 swig_obj
[0] = args
;
27172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27173 if (!SWIG_IsOK(res1
)) {
27174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27176 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27178 (arg1
)->CloseSubpath();
27179 if (PyErr_Occurred()) SWIG_fail
;
27181 resultobj
= SWIG_Py_Void();
27188 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27189 PyObject
*resultobj
= 0;
27190 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27194 PyObject
*swig_obj
[1] ;
27196 if (!args
) SWIG_fail
;
27197 swig_obj
[0] = args
;
27198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27199 if (!SWIG_IsOK(res1
)) {
27200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27202 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27204 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27205 if (PyErr_Occurred()) SWIG_fail
;
27207 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27214 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27215 PyObject
*resultobj
= 0;
27216 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27222 bool arg7
= (bool) true ;
27238 if ((nobjs
< 6) || (nobjs
> 7)) SWIG_fail
;
27239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27240 if (!SWIG_IsOK(res1
)) {
27241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27243 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27244 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27245 if (!SWIG_IsOK(ecode2
)) {
27246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27248 arg2
= static_cast< wxDouble
>(val2
);
27249 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27250 if (!SWIG_IsOK(ecode3
)) {
27251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27253 arg3
= static_cast< wxDouble
>(val3
);
27254 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27255 if (!SWIG_IsOK(ecode4
)) {
27256 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27258 arg4
= static_cast< wxDouble
>(val4
);
27259 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27260 if (!SWIG_IsOK(ecode5
)) {
27261 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27263 arg5
= static_cast< wxDouble
>(val5
);
27264 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27265 if (!SWIG_IsOK(ecode6
)) {
27266 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27268 arg6
= static_cast< wxDouble
>(val6
);
27270 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27271 if (!SWIG_IsOK(ecode7
)) {
27272 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27274 arg7
= static_cast< bool >(val7
);
27277 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27280 resultobj
= SWIG_Py_Void();
27287 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27288 PyObject
*resultobj
= 0;
27289 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27290 wxPoint2D
*arg2
= 0 ;
27294 bool arg6
= (bool) true ;
27307 if ((nobjs
< 5) || (nobjs
> 6)) SWIG_fail
;
27308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27309 if (!SWIG_IsOK(res1
)) {
27310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27312 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27315 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27317 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27318 if (!SWIG_IsOK(ecode3
)) {
27319 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27321 arg3
= static_cast< wxDouble
>(val3
);
27322 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27323 if (!SWIG_IsOK(ecode4
)) {
27324 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27326 arg4
= static_cast< wxDouble
>(val4
);
27327 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27328 if (!SWIG_IsOK(ecode5
)) {
27329 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27331 arg5
= static_cast< wxDouble
>(val5
);
27333 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27334 if (!SWIG_IsOK(ecode6
)) {
27335 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27337 arg6
= static_cast< bool >(val6
);
27340 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27341 if (PyErr_Occurred()) SWIG_fail
;
27343 resultobj
= SWIG_Py_Void();
27350 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27354 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27356 if ((argc
>= 5) && (argc
<= 6)) {
27360 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27363 if (!_v
) goto check_1
;
27367 int res
= SWIG_AsVal_bool(argv
[5], NULL
);
27368 _v
= SWIG_CheckState(res
);
27371 if (!_v
) goto check_1
;
27373 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27377 if ((argc
>= 6) && (argc
<= 7)) {
27378 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27382 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27387 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27388 PyObject
*resultobj
= 0;
27389 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27404 PyObject
* obj0
= 0 ;
27405 PyObject
* obj1
= 0 ;
27406 PyObject
* obj2
= 0 ;
27407 PyObject
* obj3
= 0 ;
27408 PyObject
* obj4
= 0 ;
27409 char * kwnames
[] = {
27410 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27415 if (!SWIG_IsOK(res1
)) {
27416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27418 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27419 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27420 if (!SWIG_IsOK(ecode2
)) {
27421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27423 arg2
= static_cast< wxDouble
>(val2
);
27424 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27425 if (!SWIG_IsOK(ecode3
)) {
27426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27428 arg3
= static_cast< wxDouble
>(val3
);
27429 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27430 if (!SWIG_IsOK(ecode4
)) {
27431 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27433 arg4
= static_cast< wxDouble
>(val4
);
27434 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27435 if (!SWIG_IsOK(ecode5
)) {
27436 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27438 arg5
= static_cast< wxDouble
>(val5
);
27440 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27441 if (PyErr_Occurred()) SWIG_fail
;
27443 resultobj
= SWIG_Py_Void();
27450 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27451 PyObject
*resultobj
= 0;
27452 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27467 PyObject
* obj0
= 0 ;
27468 PyObject
* obj1
= 0 ;
27469 PyObject
* obj2
= 0 ;
27470 PyObject
* obj3
= 0 ;
27471 PyObject
* obj4
= 0 ;
27472 char * kwnames
[] = {
27473 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27478 if (!SWIG_IsOK(res1
)) {
27479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27481 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27482 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27483 if (!SWIG_IsOK(ecode2
)) {
27484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27486 arg2
= static_cast< wxDouble
>(val2
);
27487 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27488 if (!SWIG_IsOK(ecode3
)) {
27489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27491 arg3
= static_cast< wxDouble
>(val3
);
27492 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27493 if (!SWIG_IsOK(ecode4
)) {
27494 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27496 arg4
= static_cast< wxDouble
>(val4
);
27497 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27498 if (!SWIG_IsOK(ecode5
)) {
27499 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27501 arg5
= static_cast< wxDouble
>(val5
);
27503 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27506 resultobj
= SWIG_Py_Void();
27513 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
= 0;
27515 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27527 PyObject
* obj0
= 0 ;
27528 PyObject
* obj1
= 0 ;
27529 PyObject
* obj2
= 0 ;
27530 PyObject
* obj3
= 0 ;
27531 char * kwnames
[] = {
27532 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27537 if (!SWIG_IsOK(res1
)) {
27538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27540 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27541 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27542 if (!SWIG_IsOK(ecode2
)) {
27543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27545 arg2
= static_cast< wxDouble
>(val2
);
27546 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27547 if (!SWIG_IsOK(ecode3
)) {
27548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27550 arg3
= static_cast< wxDouble
>(val3
);
27551 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27552 if (!SWIG_IsOK(ecode4
)) {
27553 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27555 arg4
= static_cast< wxDouble
>(val4
);
27557 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 resultobj
= SWIG_Py_Void();
27567 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27568 PyObject
*resultobj
= 0;
27569 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27587 PyObject
* obj0
= 0 ;
27588 PyObject
* obj1
= 0 ;
27589 PyObject
* obj2
= 0 ;
27590 PyObject
* obj3
= 0 ;
27591 PyObject
* obj4
= 0 ;
27592 PyObject
* obj5
= 0 ;
27593 char * kwnames
[] = {
27594 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27599 if (!SWIG_IsOK(res1
)) {
27600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27602 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27603 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27604 if (!SWIG_IsOK(ecode2
)) {
27605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27607 arg2
= static_cast< wxDouble
>(val2
);
27608 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27609 if (!SWIG_IsOK(ecode3
)) {
27610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27612 arg3
= static_cast< wxDouble
>(val3
);
27613 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27614 if (!SWIG_IsOK(ecode4
)) {
27615 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27617 arg4
= static_cast< wxDouble
>(val4
);
27618 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27619 if (!SWIG_IsOK(ecode5
)) {
27620 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27622 arg5
= static_cast< wxDouble
>(val5
);
27623 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27624 if (!SWIG_IsOK(ecode6
)) {
27625 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27627 arg6
= static_cast< wxDouble
>(val6
);
27629 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27630 if (PyErr_Occurred()) SWIG_fail
;
27632 resultobj
= SWIG_Py_Void();
27639 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27640 PyObject
*resultobj
= 0;
27641 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27656 PyObject
* obj0
= 0 ;
27657 PyObject
* obj1
= 0 ;
27658 PyObject
* obj2
= 0 ;
27659 PyObject
* obj3
= 0 ;
27660 PyObject
* obj4
= 0 ;
27661 char * kwnames
[] = {
27662 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27667 if (!SWIG_IsOK(res1
)) {
27668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27670 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27671 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27672 if (!SWIG_IsOK(ecode2
)) {
27673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27675 arg2
= static_cast< wxDouble
>(val2
);
27676 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27677 if (!SWIG_IsOK(ecode3
)) {
27678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27680 arg3
= static_cast< wxDouble
>(val3
);
27681 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27682 if (!SWIG_IsOK(ecode4
)) {
27683 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27685 arg4
= static_cast< wxDouble
>(val4
);
27686 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27687 if (!SWIG_IsOK(ecode5
)) {
27688 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27690 arg5
= static_cast< wxDouble
>(val5
);
27692 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27693 if (PyErr_Occurred()) SWIG_fail
;
27695 resultobj
= SWIG_Py_Void();
27702 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27703 PyObject
*resultobj
= 0;
27704 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27722 PyObject
* obj0
= 0 ;
27723 PyObject
* obj1
= 0 ;
27724 PyObject
* obj2
= 0 ;
27725 PyObject
* obj3
= 0 ;
27726 PyObject
* obj4
= 0 ;
27727 PyObject
* obj5
= 0 ;
27728 char * kwnames
[] = {
27729 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27734 if (!SWIG_IsOK(res1
)) {
27735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27737 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27738 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27739 if (!SWIG_IsOK(ecode2
)) {
27740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27742 arg2
= static_cast< wxDouble
>(val2
);
27743 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27744 if (!SWIG_IsOK(ecode3
)) {
27745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27747 arg3
= static_cast< wxDouble
>(val3
);
27748 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27749 if (!SWIG_IsOK(ecode4
)) {
27750 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27752 arg4
= static_cast< wxDouble
>(val4
);
27753 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27754 if (!SWIG_IsOK(ecode5
)) {
27755 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27757 arg5
= static_cast< wxDouble
>(val5
);
27758 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27759 if (!SWIG_IsOK(ecode6
)) {
27760 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27762 arg6
= static_cast< wxDouble
>(val6
);
27764 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27765 if (PyErr_Occurred()) SWIG_fail
;
27767 resultobj
= SWIG_Py_Void();
27774 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27775 PyObject
*resultobj
= 0;
27776 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27780 PyObject
*swig_obj
[1] ;
27782 if (!args
) SWIG_fail
;
27783 swig_obj
[0] = args
;
27784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27785 if (!SWIG_IsOK(res1
)) {
27786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27788 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27790 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27791 if (PyErr_Occurred()) SWIG_fail
;
27793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27800 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27801 PyObject
*resultobj
= 0;
27802 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27803 void *arg2
= (void *) 0 ;
27807 PyObject
* obj0
= 0 ;
27808 PyObject
* obj1
= 0 ;
27809 char * kwnames
[] = {
27810 (char *) "self",(char *) "p", NULL
27813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27815 if (!SWIG_IsOK(res1
)) {
27816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27818 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27819 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27820 if (!SWIG_IsOK(res2
)) {
27821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27824 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27825 if (PyErr_Occurred()) SWIG_fail
;
27827 resultobj
= SWIG_Py_Void();
27834 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27835 PyObject
*resultobj
= 0;
27836 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27837 wxGraphicsMatrix
*arg2
= 0 ;
27842 PyObject
* obj0
= 0 ;
27843 PyObject
* obj1
= 0 ;
27844 char * kwnames
[] = {
27845 (char *) "self",(char *) "matrix", NULL
27848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27850 if (!SWIG_IsOK(res1
)) {
27851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27853 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27855 if (!SWIG_IsOK(res2
)) {
27856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27861 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27863 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27866 resultobj
= SWIG_Py_Void();
27873 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27874 PyObject
*resultobj
= 0;
27875 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27879 PyObject
*swig_obj
[1] ;
27881 if (!args
) SWIG_fail
;
27882 swig_obj
[0] = args
;
27883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27884 if (!SWIG_IsOK(res1
)) {
27885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27887 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27889 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27890 if (PyErr_Occurred()) SWIG_fail
;
27892 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
27899 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27900 PyObject
*resultobj
= 0;
27901 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27904 int arg4
= (int) wxODDEVEN_RULE
;
27915 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27917 if (!SWIG_IsOK(res1
)) {
27918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27920 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27921 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27922 if (!SWIG_IsOK(ecode2
)) {
27923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27925 arg2
= static_cast< wxDouble
>(val2
);
27926 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27927 if (!SWIG_IsOK(ecode3
)) {
27928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27930 arg3
= static_cast< wxDouble
>(val3
);
27932 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27933 if (!SWIG_IsOK(ecode4
)) {
27934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27936 arg4
= static_cast< int >(val4
);
27939 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27951 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27952 PyObject
*resultobj
= 0;
27953 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27954 wxPoint2D
*arg2
= 0 ;
27955 int arg3
= (int) wxODDEVEN_RULE
;
27963 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27965 if (!SWIG_IsOK(res1
)) {
27966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27968 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27971 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27974 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27975 if (!SWIG_IsOK(ecode3
)) {
27976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27978 arg3
= static_cast< int >(val3
);
27981 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27993 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27997 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27999 if ((argc
>= 2) && (argc
<= 3)) {
28003 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
28006 if (!_v
) goto check_1
;
28010 int res
= SWIG_AsVal_int(argv
[2], NULL
);
28011 _v
= SWIG_CheckState(res
);
28014 if (!_v
) goto check_1
;
28016 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
28020 if ((argc
>= 3) && (argc
<= 4)) {
28021 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
28025 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
28030 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28032 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28033 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
28034 return SWIG_Py_Void();
28037 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
28038 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
28043 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
28044 PyObject
*pyobj
= 0;
28046 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
28051 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
28052 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
28057 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
28058 PyObject
*pyobj
= 0;
28060 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
28065 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
28066 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
28071 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
28072 PyObject
*pyobj
= 0;
28074 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
28079 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
28080 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
28085 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
28086 PyObject
*pyobj
= 0;
28088 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
28093 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
28094 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
28099 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
28100 PyObject
*pyobj
= 0;
28102 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
28107 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28108 PyObject
*resultobj
= 0;
28109 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28112 PyObject
*swig_obj
[1] ;
28114 if (!args
) SWIG_fail
;
28115 swig_obj
[0] = args
;
28116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28117 if (!SWIG_IsOK(res1
)) {
28118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28120 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28124 if (PyErr_Occurred()) SWIG_fail
;
28126 resultobj
= SWIG_Py_Void();
28133 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28134 PyObject
*resultobj
= 0;
28135 wxWindowDC
*arg1
= 0 ;
28136 wxGraphicsContext
*result
= 0 ;
28140 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28142 if (!SWIG_IsOK(res1
)) {
28143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28148 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28150 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28151 if (PyErr_Occurred()) SWIG_fail
;
28153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28160 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28161 PyObject
*resultobj
= 0;
28162 wxWindow
*arg1
= (wxWindow
*) 0 ;
28163 wxGraphicsContext
*result
= 0 ;
28167 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28169 if (!SWIG_IsOK(res1
)) {
28170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28172 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28174 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28175 if (PyErr_Occurred()) SWIG_fail
;
28177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28184 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28188 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28193 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28194 _v
= SWIG_CheckState(res
);
28196 if (!_v
) goto check_1
;
28197 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28202 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28206 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28211 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28212 PyObject
*resultobj
= 0;
28213 wxGraphicsContext
*result
= 0 ;
28215 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
28217 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
28218 if (PyErr_Occurred()) SWIG_fail
;
28220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28227 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28228 PyObject
*resultobj
= 0;
28229 void *arg1
= (void *) 0 ;
28230 wxGraphicsContext
*result
= 0 ;
28232 PyObject
* obj0
= 0 ;
28233 char * kwnames
[] = {
28234 (char *) "context", NULL
28237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28238 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28239 if (!SWIG_IsOK(res1
)) {
28240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28243 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28244 if (PyErr_Occurred()) SWIG_fail
;
28246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28253 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28254 PyObject
*resultobj
= 0;
28255 void *arg1
= (void *) 0 ;
28256 wxGraphicsContext
*result
= 0 ;
28258 PyObject
* obj0
= 0 ;
28259 char * kwnames
[] = {
28260 (char *) "window", NULL
28263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28264 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28265 if (!SWIG_IsOK(res1
)) {
28266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28269 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28270 if (PyErr_Occurred()) SWIG_fail
;
28272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28279 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28280 PyObject
*resultobj
= 0;
28281 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28282 wxGraphicsPath result
;
28285 PyObject
*swig_obj
[1] ;
28287 if (!args
) SWIG_fail
;
28288 swig_obj
[0] = args
;
28289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28290 if (!SWIG_IsOK(res1
)) {
28291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28293 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28295 result
= (arg1
)->CreatePath();
28296 if (PyErr_Occurred()) SWIG_fail
;
28298 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28305 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28306 PyObject
*resultobj
= 0;
28307 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28309 wxGraphicsPen result
;
28314 PyObject
* obj0
= 0 ;
28315 PyObject
* obj1
= 0 ;
28316 char * kwnames
[] = {
28317 (char *) "self",(char *) "pen", NULL
28320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28322 if (!SWIG_IsOK(res1
)) {
28323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28325 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28326 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28327 if (!SWIG_IsOK(res2
)) {
28328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28333 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28335 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28336 if (PyErr_Occurred()) SWIG_fail
;
28338 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28345 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28346 PyObject
*resultobj
= 0;
28347 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28348 wxBrush
*arg2
= 0 ;
28349 wxGraphicsBrush result
;
28354 PyObject
* obj0
= 0 ;
28355 PyObject
* obj1
= 0 ;
28356 char * kwnames
[] = {
28357 (char *) "self",(char *) "brush", NULL
28360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28362 if (!SWIG_IsOK(res1
)) {
28363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28365 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28366 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28367 if (!SWIG_IsOK(res2
)) {
28368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28373 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28375 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28376 if (PyErr_Occurred()) SWIG_fail
;
28378 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28385 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28386 PyObject
*resultobj
= 0;
28387 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28392 wxColour
*arg6
= 0 ;
28393 wxColour
*arg7
= 0 ;
28394 wxGraphicsBrush result
;
28407 PyObject
* obj0
= 0 ;
28408 PyObject
* obj1
= 0 ;
28409 PyObject
* obj2
= 0 ;
28410 PyObject
* obj3
= 0 ;
28411 PyObject
* obj4
= 0 ;
28412 PyObject
* obj5
= 0 ;
28413 PyObject
* obj6
= 0 ;
28414 char * kwnames
[] = {
28415 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28420 if (!SWIG_IsOK(res1
)) {
28421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28423 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28424 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28425 if (!SWIG_IsOK(ecode2
)) {
28426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28428 arg2
= static_cast< wxDouble
>(val2
);
28429 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28430 if (!SWIG_IsOK(ecode3
)) {
28431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28433 arg3
= static_cast< wxDouble
>(val3
);
28434 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28435 if (!SWIG_IsOK(ecode4
)) {
28436 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28438 arg4
= static_cast< wxDouble
>(val4
);
28439 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28440 if (!SWIG_IsOK(ecode5
)) {
28441 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28443 arg5
= static_cast< wxDouble
>(val5
);
28446 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28450 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28453 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28456 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28463 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28464 PyObject
*resultobj
= 0;
28465 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28471 wxColour
*arg7
= 0 ;
28472 wxColour
*arg8
= 0 ;
28473 wxGraphicsBrush result
;
28488 PyObject
* obj0
= 0 ;
28489 PyObject
* obj1
= 0 ;
28490 PyObject
* obj2
= 0 ;
28491 PyObject
* obj3
= 0 ;
28492 PyObject
* obj4
= 0 ;
28493 PyObject
* obj5
= 0 ;
28494 PyObject
* obj6
= 0 ;
28495 PyObject
* obj7
= 0 ;
28496 char * kwnames
[] = {
28497 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28502 if (!SWIG_IsOK(res1
)) {
28503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28505 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28506 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28507 if (!SWIG_IsOK(ecode2
)) {
28508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28510 arg2
= static_cast< wxDouble
>(val2
);
28511 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28512 if (!SWIG_IsOK(ecode3
)) {
28513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28515 arg3
= static_cast< wxDouble
>(val3
);
28516 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28517 if (!SWIG_IsOK(ecode4
)) {
28518 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28520 arg4
= static_cast< wxDouble
>(val4
);
28521 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28522 if (!SWIG_IsOK(ecode5
)) {
28523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28525 arg5
= static_cast< wxDouble
>(val5
);
28526 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28527 if (!SWIG_IsOK(ecode6
)) {
28528 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28530 arg6
= static_cast< wxDouble
>(val6
);
28533 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28537 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28540 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28543 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28550 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28551 PyObject
*resultobj
= 0;
28552 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28554 wxColour
const &arg3_defvalue
= *wxBLACK
;
28555 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28556 wxGraphicsFont result
;
28562 PyObject
* obj0
= 0 ;
28563 PyObject
* obj1
= 0 ;
28564 PyObject
* obj2
= 0 ;
28565 char * kwnames
[] = {
28566 (char *) "self",(char *) "font",(char *) "col", NULL
28569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28571 if (!SWIG_IsOK(res1
)) {
28572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28574 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28576 if (!SWIG_IsOK(res2
)) {
28577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28582 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28586 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28590 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28591 if (PyErr_Occurred()) SWIG_fail
;
28593 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28600 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28601 PyObject
*resultobj
= 0;
28602 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28603 wxDouble arg2
= (wxDouble
) 1.0 ;
28604 wxDouble arg3
= (wxDouble
) 0.0 ;
28605 wxDouble arg4
= (wxDouble
) 0.0 ;
28606 wxDouble arg5
= (wxDouble
) 1.0 ;
28607 wxDouble arg6
= (wxDouble
) 0.0 ;
28608 wxDouble arg7
= (wxDouble
) 0.0 ;
28609 wxGraphicsMatrix result
;
28624 PyObject
* obj0
= 0 ;
28625 PyObject
* obj1
= 0 ;
28626 PyObject
* obj2
= 0 ;
28627 PyObject
* obj3
= 0 ;
28628 PyObject
* obj4
= 0 ;
28629 PyObject
* obj5
= 0 ;
28630 PyObject
* obj6
= 0 ;
28631 char * kwnames
[] = {
28632 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28637 if (!SWIG_IsOK(res1
)) {
28638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28640 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28642 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28643 if (!SWIG_IsOK(ecode2
)) {
28644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28646 arg2
= static_cast< wxDouble
>(val2
);
28649 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28650 if (!SWIG_IsOK(ecode3
)) {
28651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28653 arg3
= static_cast< wxDouble
>(val3
);
28656 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28657 if (!SWIG_IsOK(ecode4
)) {
28658 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28660 arg4
= static_cast< wxDouble
>(val4
);
28663 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28664 if (!SWIG_IsOK(ecode5
)) {
28665 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28667 arg5
= static_cast< wxDouble
>(val5
);
28670 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28671 if (!SWIG_IsOK(ecode6
)) {
28672 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28674 arg6
= static_cast< wxDouble
>(val6
);
28677 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28678 if (!SWIG_IsOK(ecode7
)) {
28679 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28681 arg7
= static_cast< wxDouble
>(val7
);
28684 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28685 if (PyErr_Occurred()) SWIG_fail
;
28687 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28694 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28695 PyObject
*resultobj
= 0;
28696 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28699 PyObject
*swig_obj
[1] ;
28701 if (!args
) SWIG_fail
;
28702 swig_obj
[0] = args
;
28703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28704 if (!SWIG_IsOK(res1
)) {
28705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28707 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28709 (arg1
)->PushState();
28710 if (PyErr_Occurred()) SWIG_fail
;
28712 resultobj
= SWIG_Py_Void();
28719 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28720 PyObject
*resultobj
= 0;
28721 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28724 PyObject
*swig_obj
[1] ;
28726 if (!args
) SWIG_fail
;
28727 swig_obj
[0] = args
;
28728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28729 if (!SWIG_IsOK(res1
)) {
28730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28732 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28734 (arg1
)->PopState();
28735 if (PyErr_Occurred()) SWIG_fail
;
28737 resultobj
= SWIG_Py_Void();
28744 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28745 PyObject
*resultobj
= 0;
28746 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28747 wxRegion
*arg2
= 0 ;
28752 PyObject
* obj0
= 0 ;
28753 PyObject
* obj1
= 0 ;
28754 char * kwnames
[] = {
28755 (char *) "self",(char *) "region", NULL
28758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28760 if (!SWIG_IsOK(res1
)) {
28761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28763 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28764 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28765 if (!SWIG_IsOK(res2
)) {
28766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28771 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28773 (arg1
)->Clip((wxRegion
const &)*arg2
);
28774 if (PyErr_Occurred()) SWIG_fail
;
28776 resultobj
= SWIG_Py_Void();
28783 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28784 PyObject
*resultobj
= 0;
28785 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28800 PyObject
* obj0
= 0 ;
28801 PyObject
* obj1
= 0 ;
28802 PyObject
* obj2
= 0 ;
28803 PyObject
* obj3
= 0 ;
28804 PyObject
* obj4
= 0 ;
28805 char * kwnames
[] = {
28806 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28811 if (!SWIG_IsOK(res1
)) {
28812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28814 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28815 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28816 if (!SWIG_IsOK(ecode2
)) {
28817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28819 arg2
= static_cast< wxDouble
>(val2
);
28820 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28821 if (!SWIG_IsOK(ecode3
)) {
28822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28824 arg3
= static_cast< wxDouble
>(val3
);
28825 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28826 if (!SWIG_IsOK(ecode4
)) {
28827 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28829 arg4
= static_cast< wxDouble
>(val4
);
28830 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28831 if (!SWIG_IsOK(ecode5
)) {
28832 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28834 arg5
= static_cast< wxDouble
>(val5
);
28836 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28839 resultobj
= SWIG_Py_Void();
28846 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28847 PyObject
*resultobj
= 0;
28848 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28851 PyObject
*swig_obj
[1] ;
28853 if (!args
) SWIG_fail
;
28854 swig_obj
[0] = args
;
28855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28856 if (!SWIG_IsOK(res1
)) {
28857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28859 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28861 (arg1
)->ResetClip();
28862 if (PyErr_Occurred()) SWIG_fail
;
28864 resultobj
= SWIG_Py_Void();
28871 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28872 PyObject
*resultobj
= 0;
28873 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28877 PyObject
*swig_obj
[1] ;
28879 if (!args
) SWIG_fail
;
28880 swig_obj
[0] = args
;
28881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28882 if (!SWIG_IsOK(res1
)) {
28883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28885 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28887 result
= (void *)(arg1
)->GetNativeContext();
28888 if (PyErr_Occurred()) SWIG_fail
;
28890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28897 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28898 PyObject
*resultobj
= 0;
28899 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28903 PyObject
*swig_obj
[1] ;
28905 if (!args
) SWIG_fail
;
28906 swig_obj
[0] = args
;
28907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28908 if (!SWIG_IsOK(res1
)) {
28909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28911 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28913 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
28914 if (PyErr_Occurred()) SWIG_fail
;
28916 resultobj
= SWIG_From_int(static_cast< int >(result
));
28923 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28924 PyObject
*resultobj
= 0;
28925 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28932 PyObject
* obj0
= 0 ;
28933 PyObject
* obj1
= 0 ;
28934 char * kwnames
[] = {
28935 (char *) "self",(char *) "function", NULL
28938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28940 if (!SWIG_IsOK(res1
)) {
28941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28943 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28945 if (!SWIG_IsOK(ecode2
)) {
28946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28948 arg2
= static_cast< int >(val2
);
28950 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
28951 if (PyErr_Occurred()) SWIG_fail
;
28954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28962 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28963 PyObject
*resultobj
= 0;
28964 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28973 PyObject
* obj0
= 0 ;
28974 PyObject
* obj1
= 0 ;
28975 PyObject
* obj2
= 0 ;
28976 char * kwnames
[] = {
28977 (char *) "self",(char *) "dx",(char *) "dy", NULL
28980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28982 if (!SWIG_IsOK(res1
)) {
28983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28985 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28986 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28987 if (!SWIG_IsOK(ecode2
)) {
28988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28990 arg2
= static_cast< wxDouble
>(val2
);
28991 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28992 if (!SWIG_IsOK(ecode3
)) {
28993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28995 arg3
= static_cast< wxDouble
>(val3
);
28997 (arg1
)->Translate(arg2
,arg3
);
28998 if (PyErr_Occurred()) SWIG_fail
;
29000 resultobj
= SWIG_Py_Void();
29007 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29008 PyObject
*resultobj
= 0;
29009 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29018 PyObject
* obj0
= 0 ;
29019 PyObject
* obj1
= 0 ;
29020 PyObject
* obj2
= 0 ;
29021 char * kwnames
[] = {
29022 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
29025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29027 if (!SWIG_IsOK(res1
)) {
29028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29030 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29031 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29032 if (!SWIG_IsOK(ecode2
)) {
29033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
29035 arg2
= static_cast< wxDouble
>(val2
);
29036 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29037 if (!SWIG_IsOK(ecode3
)) {
29038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
29040 arg3
= static_cast< wxDouble
>(val3
);
29042 (arg1
)->Scale(arg2
,arg3
);
29043 if (PyErr_Occurred()) SWIG_fail
;
29045 resultobj
= SWIG_Py_Void();
29052 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29053 PyObject
*resultobj
= 0;
29054 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29060 PyObject
* obj0
= 0 ;
29061 PyObject
* obj1
= 0 ;
29062 char * kwnames
[] = {
29063 (char *) "self",(char *) "angle", NULL
29066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29068 if (!SWIG_IsOK(res1
)) {
29069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29071 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29072 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29073 if (!SWIG_IsOK(ecode2
)) {
29074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
29076 arg2
= static_cast< wxDouble
>(val2
);
29078 (arg1
)->Rotate(arg2
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29081 resultobj
= SWIG_Py_Void();
29088 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29089 PyObject
*resultobj
= 0;
29090 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29091 wxGraphicsMatrix
*arg2
= 0 ;
29096 PyObject
* obj0
= 0 ;
29097 PyObject
* obj1
= 0 ;
29098 char * kwnames
[] = {
29099 (char *) "self",(char *) "matrix", NULL
29102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29104 if (!SWIG_IsOK(res1
)) {
29105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29107 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29108 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29109 if (!SWIG_IsOK(res2
)) {
29110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29115 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29117 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
29118 if (PyErr_Occurred()) SWIG_fail
;
29120 resultobj
= SWIG_Py_Void();
29127 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29128 PyObject
*resultobj
= 0;
29129 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29130 wxGraphicsMatrix
*arg2
= 0 ;
29135 PyObject
* obj0
= 0 ;
29136 PyObject
* obj1
= 0 ;
29137 char * kwnames
[] = {
29138 (char *) "self",(char *) "matrix", NULL
29141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29143 if (!SWIG_IsOK(res1
)) {
29144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29146 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29147 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29148 if (!SWIG_IsOK(res2
)) {
29149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29154 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29156 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
29157 if (PyErr_Occurred()) SWIG_fail
;
29159 resultobj
= SWIG_Py_Void();
29166 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29167 PyObject
*resultobj
= 0;
29168 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29169 wxGraphicsMatrix result
;
29172 PyObject
*swig_obj
[1] ;
29174 if (!args
) SWIG_fail
;
29175 swig_obj
[0] = args
;
29176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29177 if (!SWIG_IsOK(res1
)) {
29178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29180 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29182 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29183 if (PyErr_Occurred()) SWIG_fail
;
29185 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29192 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29193 PyObject
*resultobj
= 0;
29194 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29195 wxGraphicsPen
*arg2
= 0 ;
29201 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29203 if (!SWIG_IsOK(res1
)) {
29204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29206 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29207 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29208 if (!SWIG_IsOK(res2
)) {
29209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29214 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29216 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29217 if (PyErr_Occurred()) SWIG_fail
;
29219 resultobj
= SWIG_Py_Void();
29226 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29227 PyObject
*resultobj
= 0;
29228 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29235 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29237 if (!SWIG_IsOK(res1
)) {
29238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29240 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29241 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29242 if (!SWIG_IsOK(res2
)) {
29243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29246 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29248 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29250 (arg1
)->SetPen((wxPen
const &)*arg2
);
29251 if (PyErr_Occurred()) SWIG_fail
;
29253 resultobj
= SWIG_Py_Void();
29260 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29264 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29269 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29270 _v
= SWIG_CheckState(res
);
29272 if (!_v
) goto check_1
;
29273 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29278 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29282 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29287 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29288 PyObject
*resultobj
= 0;
29289 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29290 wxGraphicsBrush
*arg2
= 0 ;
29296 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29298 if (!SWIG_IsOK(res1
)) {
29299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29301 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29302 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29303 if (!SWIG_IsOK(res2
)) {
29304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29309 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29311 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29312 if (PyErr_Occurred()) SWIG_fail
;
29314 resultobj
= SWIG_Py_Void();
29321 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29322 PyObject
*resultobj
= 0;
29323 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29324 wxBrush
*arg2
= 0 ;
29330 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29332 if (!SWIG_IsOK(res1
)) {
29333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29335 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29336 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29337 if (!SWIG_IsOK(res2
)) {
29338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29343 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29345 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= SWIG_Py_Void();
29355 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29359 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29364 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29365 _v
= SWIG_CheckState(res
);
29367 if (!_v
) goto check_1
;
29368 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29373 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29377 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29382 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29383 PyObject
*resultobj
= 0;
29384 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29385 wxGraphicsFont
*arg2
= 0 ;
29391 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29393 if (!SWIG_IsOK(res1
)) {
29394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29396 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29397 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29398 if (!SWIG_IsOK(res2
)) {
29399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29404 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29406 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29407 if (PyErr_Occurred()) SWIG_fail
;
29409 resultobj
= SWIG_Py_Void();
29416 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29417 PyObject
*resultobj
= 0;
29418 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29420 wxColour
const &arg3_defvalue
= *wxBLACK
;
29421 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29428 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29430 if (!SWIG_IsOK(res1
)) {
29431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29433 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29434 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29435 if (!SWIG_IsOK(res2
)) {
29436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29439 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29441 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29445 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29449 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29450 if (PyErr_Occurred()) SWIG_fail
;
29452 resultobj
= SWIG_Py_Void();
29459 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29463 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29468 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29469 _v
= SWIG_CheckState(res
);
29471 if (!_v
) goto check_1
;
29472 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29476 if ((argc
>= 2) && (argc
<= 3)) {
29477 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29481 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29486 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29487 PyObject
*resultobj
= 0;
29488 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29489 wxGraphicsPath
*arg2
= 0 ;
29494 PyObject
* obj0
= 0 ;
29495 PyObject
* obj1
= 0 ;
29496 char * kwnames
[] = {
29497 (char *) "self",(char *) "path", NULL
29500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29502 if (!SWIG_IsOK(res1
)) {
29503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29505 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29506 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29507 if (!SWIG_IsOK(res2
)) {
29508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29513 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29515 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29516 if (PyErr_Occurred()) SWIG_fail
;
29518 resultobj
= SWIG_Py_Void();
29525 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29526 PyObject
*resultobj
= 0;
29527 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29528 wxGraphicsPath
*arg2
= 0 ;
29529 int arg3
= (int) wxODDEVEN_RULE
;
29536 PyObject
* obj0
= 0 ;
29537 PyObject
* obj1
= 0 ;
29538 PyObject
* obj2
= 0 ;
29539 char * kwnames
[] = {
29540 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29545 if (!SWIG_IsOK(res1
)) {
29546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29548 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29550 if (!SWIG_IsOK(res2
)) {
29551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29556 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29559 if (!SWIG_IsOK(ecode3
)) {
29560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29562 arg3
= static_cast< int >(val3
);
29565 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29566 if (PyErr_Occurred()) SWIG_fail
;
29568 resultobj
= SWIG_Py_Void();
29575 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29576 PyObject
*resultobj
= 0;
29577 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29578 wxGraphicsPath
*arg2
= 0 ;
29579 int arg3
= (int) wxODDEVEN_RULE
;
29586 PyObject
* obj0
= 0 ;
29587 PyObject
* obj1
= 0 ;
29588 PyObject
* obj2
= 0 ;
29589 char * kwnames
[] = {
29590 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29595 if (!SWIG_IsOK(res1
)) {
29596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29598 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29599 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29600 if (!SWIG_IsOK(res2
)) {
29601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29606 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29609 if (!SWIG_IsOK(ecode3
)) {
29610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29612 arg3
= static_cast< int >(val3
);
29615 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29616 if (PyErr_Occurred()) SWIG_fail
;
29618 resultobj
= SWIG_Py_Void();
29625 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29626 PyObject
*resultobj
= 0;
29627 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29628 wxString
*arg2
= 0 ;
29631 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29632 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29635 bool temp2
= false ;
29642 PyObject
* obj0
= 0 ;
29643 PyObject
* obj1
= 0 ;
29644 PyObject
* obj2
= 0 ;
29645 PyObject
* obj3
= 0 ;
29646 PyObject
* obj4
= 0 ;
29647 char * kwnames
[] = {
29648 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29653 if (!SWIG_IsOK(res1
)) {
29654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29656 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29658 arg2
= wxString_in_helper(obj1
);
29659 if (arg2
== NULL
) SWIG_fail
;
29662 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29663 if (!SWIG_IsOK(ecode3
)) {
29664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29666 arg3
= static_cast< wxDouble
>(val3
);
29667 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29668 if (!SWIG_IsOK(ecode4
)) {
29669 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29671 arg4
= static_cast< wxDouble
>(val4
);
29673 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29674 if (!SWIG_IsOK(res5
)) {
29675 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29678 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29680 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29683 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29684 if (PyErr_Occurred()) SWIG_fail
;
29686 resultobj
= SWIG_Py_Void();
29701 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29702 PyObject
*resultobj
= 0;
29703 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29704 wxString
*arg2
= 0 ;
29708 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29709 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29712 bool temp2
= false ;
29721 PyObject
* obj0
= 0 ;
29722 PyObject
* obj1
= 0 ;
29723 PyObject
* obj2
= 0 ;
29724 PyObject
* obj3
= 0 ;
29725 PyObject
* obj4
= 0 ;
29726 PyObject
* obj5
= 0 ;
29727 char * kwnames
[] = {
29728 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29733 if (!SWIG_IsOK(res1
)) {
29734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29736 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29738 arg2
= wxString_in_helper(obj1
);
29739 if (arg2
== NULL
) SWIG_fail
;
29742 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29743 if (!SWIG_IsOK(ecode3
)) {
29744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29746 arg3
= static_cast< wxDouble
>(val3
);
29747 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29748 if (!SWIG_IsOK(ecode4
)) {
29749 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29751 arg4
= static_cast< wxDouble
>(val4
);
29752 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29753 if (!SWIG_IsOK(ecode5
)) {
29754 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29756 arg5
= static_cast< wxDouble
>(val5
);
29758 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29759 if (!SWIG_IsOK(res6
)) {
29760 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29765 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29768 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29769 if (PyErr_Occurred()) SWIG_fail
;
29771 resultobj
= SWIG_Py_Void();
29786 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29787 PyObject
*resultobj
= 0;
29788 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29789 wxString
*arg2
= 0 ;
29790 wxDouble
*arg3
= (wxDouble
*) 0 ;
29791 wxDouble
*arg4
= (wxDouble
*) 0 ;
29792 wxDouble
*arg5
= (wxDouble
*) 0 ;
29793 wxDouble
*arg6
= (wxDouble
*) 0 ;
29796 bool temp2
= false ;
29798 int res3
= SWIG_TMPOBJ
;
29800 int res4
= SWIG_TMPOBJ
;
29802 int res5
= SWIG_TMPOBJ
;
29804 int res6
= SWIG_TMPOBJ
;
29805 PyObject
* obj0
= 0 ;
29806 PyObject
* obj1
= 0 ;
29807 char * kwnames
[] = {
29808 (char *) "self",(char *) "text", NULL
29815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29817 if (!SWIG_IsOK(res1
)) {
29818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29820 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29822 arg2
= wxString_in_helper(obj1
);
29823 if (arg2
== NULL
) SWIG_fail
;
29827 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29828 if (PyErr_Occurred()) SWIG_fail
;
29830 resultobj
= SWIG_Py_Void();
29831 if (SWIG_IsTmpObj(res3
)) {
29832 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29834 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29835 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29837 if (SWIG_IsTmpObj(res4
)) {
29838 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29840 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29841 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29843 if (SWIG_IsTmpObj(res5
)) {
29844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29846 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29849 if (SWIG_IsTmpObj(res6
)) {
29850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29852 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29869 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29870 PyObject
*resultobj
= 0;
29871 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29872 wxString
*arg2
= 0 ;
29873 PyObject
*result
= 0 ;
29876 bool temp2
= false ;
29877 PyObject
* obj0
= 0 ;
29878 PyObject
* obj1
= 0 ;
29879 char * kwnames
[] = {
29880 (char *) "self",(char *) "text", NULL
29883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29885 if (!SWIG_IsOK(res1
)) {
29886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29888 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29890 arg2
= wxString_in_helper(obj1
);
29891 if (arg2
== NULL
) SWIG_fail
;
29895 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29896 if (PyErr_Occurred()) SWIG_fail
;
29898 resultobj
= result
;
29913 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29914 PyObject
*resultobj
= 0;
29915 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29916 wxString
*arg2
= 0 ;
29917 wxArrayDouble result
;
29920 bool temp2
= false ;
29921 PyObject
* obj0
= 0 ;
29922 PyObject
* obj1
= 0 ;
29923 char * kwnames
[] = {
29924 (char *) "self",(char *) "text", NULL
29927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29929 if (!SWIG_IsOK(res1
)) {
29930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29932 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29934 arg2
= wxString_in_helper(obj1
);
29935 if (arg2
== NULL
) SWIG_fail
;
29939 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29943 resultobj
= wxArrayDouble2PyList_helper(result
);
29959 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29960 PyObject
*resultobj
= 0;
29961 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29962 wxBitmap
*arg2
= 0 ;
29979 PyObject
* obj0
= 0 ;
29980 PyObject
* obj1
= 0 ;
29981 PyObject
* obj2
= 0 ;
29982 PyObject
* obj3
= 0 ;
29983 PyObject
* obj4
= 0 ;
29984 PyObject
* obj5
= 0 ;
29985 char * kwnames
[] = {
29986 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29991 if (!SWIG_IsOK(res1
)) {
29992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29994 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29995 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29996 if (!SWIG_IsOK(res2
)) {
29997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30002 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30003 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30004 if (!SWIG_IsOK(ecode3
)) {
30005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
30007 arg3
= static_cast< wxDouble
>(val3
);
30008 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30009 if (!SWIG_IsOK(ecode4
)) {
30010 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
30012 arg4
= static_cast< wxDouble
>(val4
);
30013 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30014 if (!SWIG_IsOK(ecode5
)) {
30015 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
30017 arg5
= static_cast< wxDouble
>(val5
);
30018 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30019 if (!SWIG_IsOK(ecode6
)) {
30020 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
30022 arg6
= static_cast< wxDouble
>(val6
);
30024 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30025 if (PyErr_Occurred()) SWIG_fail
;
30027 resultobj
= SWIG_Py_Void();
30034 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30035 PyObject
*resultobj
= 0;
30036 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30054 PyObject
* obj0
= 0 ;
30055 PyObject
* obj1
= 0 ;
30056 PyObject
* obj2
= 0 ;
30057 PyObject
* obj3
= 0 ;
30058 PyObject
* obj4
= 0 ;
30059 PyObject
* obj5
= 0 ;
30060 char * kwnames
[] = {
30061 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30066 if (!SWIG_IsOK(res1
)) {
30067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30069 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30070 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30071 if (!SWIG_IsOK(res2
)) {
30072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30077 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30078 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30079 if (!SWIG_IsOK(ecode3
)) {
30080 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
30082 arg3
= static_cast< wxDouble
>(val3
);
30083 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30084 if (!SWIG_IsOK(ecode4
)) {
30085 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
30087 arg4
= static_cast< wxDouble
>(val4
);
30088 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30089 if (!SWIG_IsOK(ecode5
)) {
30090 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
30092 arg5
= static_cast< wxDouble
>(val5
);
30093 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30094 if (!SWIG_IsOK(ecode6
)) {
30095 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
30097 arg6
= static_cast< wxDouble
>(val6
);
30099 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30102 resultobj
= SWIG_Py_Void();
30109 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30110 PyObject
*resultobj
= 0;
30111 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30126 PyObject
* obj0
= 0 ;
30127 PyObject
* obj1
= 0 ;
30128 PyObject
* obj2
= 0 ;
30129 PyObject
* obj3
= 0 ;
30130 PyObject
* obj4
= 0 ;
30131 char * kwnames
[] = {
30132 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30137 if (!SWIG_IsOK(res1
)) {
30138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30140 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30141 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30142 if (!SWIG_IsOK(ecode2
)) {
30143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
30145 arg2
= static_cast< wxDouble
>(val2
);
30146 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30147 if (!SWIG_IsOK(ecode3
)) {
30148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
30150 arg3
= static_cast< wxDouble
>(val3
);
30151 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30152 if (!SWIG_IsOK(ecode4
)) {
30153 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
30155 arg4
= static_cast< wxDouble
>(val4
);
30156 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30157 if (!SWIG_IsOK(ecode5
)) {
30158 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
30160 arg5
= static_cast< wxDouble
>(val5
);
30162 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
30163 if (PyErr_Occurred()) SWIG_fail
;
30165 resultobj
= SWIG_Py_Void();
30172 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30173 PyObject
*resultobj
= 0;
30174 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30176 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30179 PyObject
* obj0
= 0 ;
30180 PyObject
* obj1
= 0 ;
30181 char * kwnames
[] = {
30182 (char *) "self",(char *) "points", NULL
30185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30187 if (!SWIG_IsOK(res1
)) {
30188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30190 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30192 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30193 if (arg3
== NULL
) SWIG_fail
;
30196 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30197 if (PyErr_Occurred()) SWIG_fail
;
30199 resultobj
= SWIG_Py_Void();
30201 if (arg3
) delete [] arg3
;
30206 if (arg3
) delete [] arg3
;
30212 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30213 PyObject
*resultobj
= 0;
30214 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30215 PyObject
*arg2
= (PyObject
*) 0 ;
30216 PyObject
*arg3
= (PyObject
*) 0 ;
30219 PyObject
* obj0
= 0 ;
30220 PyObject
* obj1
= 0 ;
30221 PyObject
* obj2
= 0 ;
30222 char * kwnames
[] = {
30223 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30228 if (!SWIG_IsOK(res1
)) {
30229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30231 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30235 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30236 if (PyErr_Occurred()) SWIG_fail
;
30238 resultobj
= SWIG_Py_Void();
30245 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30246 PyObject
*resultobj
= 0;
30247 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30249 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30250 int arg4
= (int) wxODDEVEN_RULE
;
30255 PyObject
* obj0
= 0 ;
30256 PyObject
* obj1
= 0 ;
30257 PyObject
* obj2
= 0 ;
30258 char * kwnames
[] = {
30259 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30264 if (!SWIG_IsOK(res1
)) {
30265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30267 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30269 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30270 if (arg3
== NULL
) SWIG_fail
;
30273 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30274 if (!SWIG_IsOK(ecode4
)) {
30275 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30277 arg4
= static_cast< int >(val4
);
30280 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30281 if (PyErr_Occurred()) SWIG_fail
;
30283 resultobj
= SWIG_Py_Void();
30285 if (arg3
) delete [] arg3
;
30290 if (arg3
) delete [] arg3
;
30296 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30297 PyObject
*resultobj
= 0;
30298 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30313 PyObject
* obj0
= 0 ;
30314 PyObject
* obj1
= 0 ;
30315 PyObject
* obj2
= 0 ;
30316 PyObject
* obj3
= 0 ;
30317 PyObject
* obj4
= 0 ;
30318 char * kwnames
[] = {
30319 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30324 if (!SWIG_IsOK(res1
)) {
30325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30327 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30328 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30329 if (!SWIG_IsOK(ecode2
)) {
30330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30332 arg2
= static_cast< wxDouble
>(val2
);
30333 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30334 if (!SWIG_IsOK(ecode3
)) {
30335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30337 arg3
= static_cast< wxDouble
>(val3
);
30338 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30339 if (!SWIG_IsOK(ecode4
)) {
30340 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30342 arg4
= static_cast< wxDouble
>(val4
);
30343 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30344 if (!SWIG_IsOK(ecode5
)) {
30345 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30347 arg5
= static_cast< wxDouble
>(val5
);
30349 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30350 if (PyErr_Occurred()) SWIG_fail
;
30352 resultobj
= SWIG_Py_Void();
30359 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30360 PyObject
*resultobj
= 0;
30361 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30376 PyObject
* obj0
= 0 ;
30377 PyObject
* obj1
= 0 ;
30378 PyObject
* obj2
= 0 ;
30379 PyObject
* obj3
= 0 ;
30380 PyObject
* obj4
= 0 ;
30381 char * kwnames
[] = {
30382 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30387 if (!SWIG_IsOK(res1
)) {
30388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30390 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30391 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30392 if (!SWIG_IsOK(ecode2
)) {
30393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30395 arg2
= static_cast< wxDouble
>(val2
);
30396 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30397 if (!SWIG_IsOK(ecode3
)) {
30398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30400 arg3
= static_cast< wxDouble
>(val3
);
30401 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30402 if (!SWIG_IsOK(ecode4
)) {
30403 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30405 arg4
= static_cast< wxDouble
>(val4
);
30406 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30407 if (!SWIG_IsOK(ecode5
)) {
30408 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30410 arg5
= static_cast< wxDouble
>(val5
);
30412 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= SWIG_Py_Void();
30422 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30423 PyObject
*resultobj
= 0;
30424 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30442 PyObject
* obj0
= 0 ;
30443 PyObject
* obj1
= 0 ;
30444 PyObject
* obj2
= 0 ;
30445 PyObject
* obj3
= 0 ;
30446 PyObject
* obj4
= 0 ;
30447 PyObject
* obj5
= 0 ;
30448 char * kwnames
[] = {
30449 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30454 if (!SWIG_IsOK(res1
)) {
30455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30457 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30458 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30459 if (!SWIG_IsOK(ecode2
)) {
30460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30462 arg2
= static_cast< wxDouble
>(val2
);
30463 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30464 if (!SWIG_IsOK(ecode3
)) {
30465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30467 arg3
= static_cast< wxDouble
>(val3
);
30468 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30469 if (!SWIG_IsOK(ecode4
)) {
30470 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30472 arg4
= static_cast< wxDouble
>(val4
);
30473 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30474 if (!SWIG_IsOK(ecode5
)) {
30475 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30477 arg5
= static_cast< wxDouble
>(val5
);
30478 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30479 if (!SWIG_IsOK(ecode6
)) {
30480 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30482 arg6
= static_cast< wxDouble
>(val6
);
30484 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30485 if (PyErr_Occurred()) SWIG_fail
;
30487 resultobj
= SWIG_Py_Void();
30494 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30495 PyObject
*resultobj
= 0;
30496 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30500 PyObject
*swig_obj
[1] ;
30502 if (!args
) SWIG_fail
;
30503 swig_obj
[0] = args
;
30504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30505 if (!SWIG_IsOK(res1
)) {
30506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30508 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30510 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30511 if (PyErr_Occurred()) SWIG_fail
;
30514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30522 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30524 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30525 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30526 return SWIG_Py_Void();
30529 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30530 PyObject
*resultobj
= 0;
30531 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30534 PyObject
*swig_obj
[1] ;
30536 if (!args
) SWIG_fail
;
30537 swig_obj
[0] = args
;
30538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30539 if (!SWIG_IsOK(res1
)) {
30540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30542 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30548 resultobj
= SWIG_Py_Void();
30555 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30556 PyObject
*resultobj
= 0;
30557 wxGraphicsRenderer
*result
= 0 ;
30559 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30561 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30562 if (PyErr_Occurred()) SWIG_fail
;
30564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30571 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30572 PyObject
*resultobj
= 0;
30573 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30574 wxWindowDC
*arg2
= 0 ;
30575 wxGraphicsContext
*result
= 0 ;
30581 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30583 if (!SWIG_IsOK(res1
)) {
30584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30586 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30587 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30588 if (!SWIG_IsOK(res2
)) {
30589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30594 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30596 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30597 if (PyErr_Occurred()) SWIG_fail
;
30599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30606 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30607 PyObject
*resultobj
= 0;
30608 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30609 wxWindow
*arg2
= (wxWindow
*) 0 ;
30610 wxGraphicsContext
*result
= 0 ;
30616 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30618 if (!SWIG_IsOK(res1
)) {
30619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30621 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30622 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30623 if (!SWIG_IsOK(res2
)) {
30624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30626 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30628 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30629 if (PyErr_Occurred()) SWIG_fail
;
30631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30638 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30642 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30647 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30648 _v
= SWIG_CheckState(res
);
30650 if (!_v
) goto check_1
;
30651 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30656 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30660 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30665 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30666 PyObject
*resultobj
= 0;
30667 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30668 wxGraphicsContext
*result
= 0 ;
30671 PyObject
*swig_obj
[1] ;
30673 if (!args
) SWIG_fail
;
30674 swig_obj
[0] = args
;
30675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30676 if (!SWIG_IsOK(res1
)) {
30677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30679 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30681 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30682 if (PyErr_Occurred()) SWIG_fail
;
30684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30691 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30692 PyObject
*resultobj
= 0;
30693 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30694 void *arg2
= (void *) 0 ;
30695 wxGraphicsContext
*result
= 0 ;
30699 PyObject
* obj0
= 0 ;
30700 PyObject
* obj1
= 0 ;
30701 char * kwnames
[] = {
30702 (char *) "self",(char *) "context", NULL
30705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30707 if (!SWIG_IsOK(res1
)) {
30708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30710 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30711 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30712 if (!SWIG_IsOK(res2
)) {
30713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30716 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30726 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30727 PyObject
*resultobj
= 0;
30728 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30729 void *arg2
= (void *) 0 ;
30730 wxGraphicsContext
*result
= 0 ;
30734 PyObject
* obj0
= 0 ;
30735 PyObject
* obj1
= 0 ;
30736 char * kwnames
[] = {
30737 (char *) "self",(char *) "window", NULL
30740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30742 if (!SWIG_IsOK(res1
)) {
30743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30745 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30746 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30747 if (!SWIG_IsOK(res2
)) {
30748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30751 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30752 if (PyErr_Occurred()) SWIG_fail
;
30754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30761 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30762 PyObject
*resultobj
= 0;
30763 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30764 wxGraphicsPath result
;
30767 PyObject
*swig_obj
[1] ;
30769 if (!args
) SWIG_fail
;
30770 swig_obj
[0] = args
;
30771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30772 if (!SWIG_IsOK(res1
)) {
30773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30775 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30777 result
= (arg1
)->CreatePath();
30778 if (PyErr_Occurred()) SWIG_fail
;
30780 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30787 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30788 PyObject
*resultobj
= 0;
30789 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30790 wxDouble arg2
= (wxDouble
) 1.0 ;
30791 wxDouble arg3
= (wxDouble
) 0.0 ;
30792 wxDouble arg4
= (wxDouble
) 0.0 ;
30793 wxDouble arg5
= (wxDouble
) 1.0 ;
30794 wxDouble arg6
= (wxDouble
) 0.0 ;
30795 wxDouble arg7
= (wxDouble
) 0.0 ;
30796 wxGraphicsMatrix result
;
30811 PyObject
* obj0
= 0 ;
30812 PyObject
* obj1
= 0 ;
30813 PyObject
* obj2
= 0 ;
30814 PyObject
* obj3
= 0 ;
30815 PyObject
* obj4
= 0 ;
30816 PyObject
* obj5
= 0 ;
30817 PyObject
* obj6
= 0 ;
30818 char * kwnames
[] = {
30819 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30824 if (!SWIG_IsOK(res1
)) {
30825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30827 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30829 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30830 if (!SWIG_IsOK(ecode2
)) {
30831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30833 arg2
= static_cast< wxDouble
>(val2
);
30836 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30837 if (!SWIG_IsOK(ecode3
)) {
30838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30840 arg3
= static_cast< wxDouble
>(val3
);
30843 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30844 if (!SWIG_IsOK(ecode4
)) {
30845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30847 arg4
= static_cast< wxDouble
>(val4
);
30850 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30851 if (!SWIG_IsOK(ecode5
)) {
30852 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30854 arg5
= static_cast< wxDouble
>(val5
);
30857 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30858 if (!SWIG_IsOK(ecode6
)) {
30859 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30861 arg6
= static_cast< wxDouble
>(val6
);
30864 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30865 if (!SWIG_IsOK(ecode7
)) {
30866 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30868 arg7
= static_cast< wxDouble
>(val7
);
30871 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30872 if (PyErr_Occurred()) SWIG_fail
;
30874 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30881 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30882 PyObject
*resultobj
= 0;
30883 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30885 wxGraphicsPen result
;
30890 PyObject
* obj0
= 0 ;
30891 PyObject
* obj1
= 0 ;
30892 char * kwnames
[] = {
30893 (char *) "self",(char *) "pen", NULL
30896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30898 if (!SWIG_IsOK(res1
)) {
30899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30901 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30902 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30903 if (!SWIG_IsOK(res2
)) {
30904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30909 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30911 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30912 if (PyErr_Occurred()) SWIG_fail
;
30914 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30921 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30922 PyObject
*resultobj
= 0;
30923 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30924 wxBrush
*arg2
= 0 ;
30925 wxGraphicsBrush result
;
30930 PyObject
* obj0
= 0 ;
30931 PyObject
* obj1
= 0 ;
30932 char * kwnames
[] = {
30933 (char *) "self",(char *) "brush", NULL
30936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30938 if (!SWIG_IsOK(res1
)) {
30939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30941 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30943 if (!SWIG_IsOK(res2
)) {
30944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30949 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30951 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30952 if (PyErr_Occurred()) SWIG_fail
;
30954 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30961 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30962 PyObject
*resultobj
= 0;
30963 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30968 wxColour
*arg6
= 0 ;
30969 wxColour
*arg7
= 0 ;
30970 wxGraphicsBrush result
;
30983 PyObject
* obj0
= 0 ;
30984 PyObject
* obj1
= 0 ;
30985 PyObject
* obj2
= 0 ;
30986 PyObject
* obj3
= 0 ;
30987 PyObject
* obj4
= 0 ;
30988 PyObject
* obj5
= 0 ;
30989 PyObject
* obj6
= 0 ;
30990 char * kwnames
[] = {
30991 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30996 if (!SWIG_IsOK(res1
)) {
30997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30999 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31000 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31001 if (!SWIG_IsOK(ecode2
)) {
31002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31004 arg2
= static_cast< wxDouble
>(val2
);
31005 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31006 if (!SWIG_IsOK(ecode3
)) {
31007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31009 arg3
= static_cast< wxDouble
>(val3
);
31010 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31011 if (!SWIG_IsOK(ecode4
)) {
31012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31014 arg4
= static_cast< wxDouble
>(val4
);
31015 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31016 if (!SWIG_IsOK(ecode5
)) {
31017 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31019 arg5
= static_cast< wxDouble
>(val5
);
31022 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
31026 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31029 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
31030 if (PyErr_Occurred()) SWIG_fail
;
31032 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31039 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31040 PyObject
*resultobj
= 0;
31041 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31047 wxColour
*arg7
= 0 ;
31048 wxColour
*arg8
= 0 ;
31049 wxGraphicsBrush result
;
31064 PyObject
* obj0
= 0 ;
31065 PyObject
* obj1
= 0 ;
31066 PyObject
* obj2
= 0 ;
31067 PyObject
* obj3
= 0 ;
31068 PyObject
* obj4
= 0 ;
31069 PyObject
* obj5
= 0 ;
31070 PyObject
* obj6
= 0 ;
31071 PyObject
* obj7
= 0 ;
31072 char * kwnames
[] = {
31073 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
31076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31078 if (!SWIG_IsOK(res1
)) {
31079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31081 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31082 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31083 if (!SWIG_IsOK(ecode2
)) {
31084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31086 arg2
= static_cast< wxDouble
>(val2
);
31087 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31088 if (!SWIG_IsOK(ecode3
)) {
31089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31091 arg3
= static_cast< wxDouble
>(val3
);
31092 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31093 if (!SWIG_IsOK(ecode4
)) {
31094 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31096 arg4
= static_cast< wxDouble
>(val4
);
31097 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31098 if (!SWIG_IsOK(ecode5
)) {
31099 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31101 arg5
= static_cast< wxDouble
>(val5
);
31102 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31103 if (!SWIG_IsOK(ecode6
)) {
31104 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
31106 arg6
= static_cast< wxDouble
>(val6
);
31109 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31113 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
31116 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
31117 if (PyErr_Occurred()) SWIG_fail
;
31119 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31126 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31127 PyObject
*resultobj
= 0;
31128 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31130 wxColour
const &arg3_defvalue
= *wxBLACK
;
31131 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
31132 wxGraphicsFont result
;
31138 PyObject
* obj0
= 0 ;
31139 PyObject
* obj1
= 0 ;
31140 PyObject
* obj2
= 0 ;
31141 char * kwnames
[] = {
31142 (char *) "self",(char *) "font",(char *) "col", NULL
31145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31147 if (!SWIG_IsOK(res1
)) {
31148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31150 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31152 if (!SWIG_IsOK(res2
)) {
31153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31158 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31162 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31166 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31167 if (PyErr_Occurred()) SWIG_fail
;
31169 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31176 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31179 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31180 return SWIG_Py_Void();
31183 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31184 PyObject
*resultobj
= 0;
31185 wxWindowDC
*arg1
= 0 ;
31186 wxGCDC
*result
= 0 ;
31190 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31192 if (!SWIG_IsOK(res1
)) {
31193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31198 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31200 if (!wxPyCheckForApp()) SWIG_fail
;
31201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31202 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31203 wxPyEndAllowThreads(__tstate
);
31204 if (PyErr_Occurred()) SWIG_fail
;
31206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31213 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31214 PyObject
*resultobj
= 0;
31215 wxWindow
*arg1
= (wxWindow
*) 0 ;
31216 wxGCDC
*result
= 0 ;
31220 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31222 if (!SWIG_IsOK(res1
)) {
31223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
31225 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31227 if (!wxPyCheckForApp()) SWIG_fail
;
31228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31229 result
= (wxGCDC
*)new wxGCDC(arg1
);
31230 wxPyEndAllowThreads(__tstate
);
31231 if (PyErr_Occurred()) SWIG_fail
;
31233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31240 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
31244 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
31249 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
31250 _v
= SWIG_CheckState(res
);
31252 if (!_v
) goto check_1
;
31253 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
31258 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
31262 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
31267 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31268 PyObject
*resultobj
= 0;
31269 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31272 PyObject
*swig_obj
[1] ;
31274 if (!args
) SWIG_fail
;
31275 swig_obj
[0] = args
;
31276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31277 if (!SWIG_IsOK(res1
)) {
31278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31280 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31284 if (PyErr_Occurred()) SWIG_fail
;
31286 resultobj
= SWIG_Py_Void();
31293 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31294 PyObject
*resultobj
= 0;
31295 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31296 wxGraphicsContext
*result
= 0 ;
31299 PyObject
*swig_obj
[1] ;
31301 if (!args
) SWIG_fail
;
31302 swig_obj
[0] = args
;
31303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31304 if (!SWIG_IsOK(res1
)) {
31305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31307 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31309 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31310 if (PyErr_Occurred()) SWIG_fail
;
31312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31319 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31320 PyObject
*resultobj
= 0;
31321 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31322 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31327 PyObject
* obj0
= 0 ;
31328 PyObject
* obj1
= 0 ;
31329 char * kwnames
[] = {
31330 (char *) "self",(char *) "ctx", NULL
31333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31335 if (!SWIG_IsOK(res1
)) {
31336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31338 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31339 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31340 if (!SWIG_IsOK(res2
)) {
31341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31343 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31345 (arg1
)->SetGraphicsContext(arg2
);
31346 if (PyErr_Occurred()) SWIG_fail
;
31348 resultobj
= SWIG_Py_Void();
31355 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31357 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31358 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31359 return SWIG_Py_Void();
31362 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31363 return SWIG_Python_InitShadowInstance(args
);
31366 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31367 PyObject
*resultobj
= 0;
31368 wxOverlay
*result
= 0 ;
31370 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31373 result
= (wxOverlay
*)new wxOverlay();
31374 wxPyEndAllowThreads(__tstate
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31384 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31385 PyObject
*resultobj
= 0;
31386 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31389 PyObject
*swig_obj
[1] ;
31391 if (!args
) SWIG_fail
;
31392 swig_obj
[0] = args
;
31393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31394 if (!SWIG_IsOK(res1
)) {
31395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31397 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31402 wxPyEndAllowThreads(__tstate
);
31403 if (PyErr_Occurred()) SWIG_fail
;
31405 resultobj
= SWIG_Py_Void();
31412 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31413 PyObject
*resultobj
= 0;
31414 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31417 PyObject
*swig_obj
[1] ;
31419 if (!args
) SWIG_fail
;
31420 swig_obj
[0] = args
;
31421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31422 if (!SWIG_IsOK(res1
)) {
31423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31425 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31429 wxPyEndAllowThreads(__tstate
);
31430 if (PyErr_Occurred()) SWIG_fail
;
31432 resultobj
= SWIG_Py_Void();
31439 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31441 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31442 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31443 return SWIG_Py_Void();
31446 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31447 return SWIG_Python_InitShadowInstance(args
);
31450 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31451 PyObject
*resultobj
= 0;
31452 wxOverlay
*arg1
= 0 ;
31453 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31458 wxDCOverlay
*result
= 0 ;
31472 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31474 if (!SWIG_IsOK(res1
)) {
31475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31480 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31481 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31482 if (!SWIG_IsOK(res2
)) {
31483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31485 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31486 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31487 if (!SWIG_IsOK(ecode3
)) {
31488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31490 arg3
= static_cast< int >(val3
);
31491 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31492 if (!SWIG_IsOK(ecode4
)) {
31493 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31495 arg4
= static_cast< int >(val4
);
31496 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31497 if (!SWIG_IsOK(ecode5
)) {
31498 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31500 arg5
= static_cast< int >(val5
);
31501 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31502 if (!SWIG_IsOK(ecode6
)) {
31503 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31505 arg6
= static_cast< int >(val6
);
31507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31508 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31509 wxPyEndAllowThreads(__tstate
);
31510 if (PyErr_Occurred()) SWIG_fail
;
31512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31519 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31520 PyObject
*resultobj
= 0;
31521 wxOverlay
*arg1
= 0 ;
31522 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31523 wxDCOverlay
*result
= 0 ;
31529 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31531 if (!SWIG_IsOK(res1
)) {
31532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31537 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31538 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31539 if (!SWIG_IsOK(res2
)) {
31540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31542 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31545 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31546 wxPyEndAllowThreads(__tstate
);
31547 if (PyErr_Occurred()) SWIG_fail
;
31549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31556 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31560 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31563 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31566 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31570 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31575 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31576 PyObject
*resultobj
= 0;
31577 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31580 PyObject
*swig_obj
[1] ;
31582 if (!args
) SWIG_fail
;
31583 swig_obj
[0] = args
;
31584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31585 if (!SWIG_IsOK(res1
)) {
31586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31588 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31593 wxPyEndAllowThreads(__tstate
);
31594 if (PyErr_Occurred()) SWIG_fail
;
31596 resultobj
= SWIG_Py_Void();
31603 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31604 PyObject
*resultobj
= 0;
31605 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31608 PyObject
*swig_obj
[1] ;
31610 if (!args
) SWIG_fail
;
31611 swig_obj
[0] = args
;
31612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31613 if (!SWIG_IsOK(res1
)) {
31614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31616 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31620 wxPyEndAllowThreads(__tstate
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31623 resultobj
= SWIG_Py_Void();
31630 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31633 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31634 return SWIG_Py_Void();
31637 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31638 return SWIG_Python_InitShadowInstance(args
);
31641 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31642 PyObject
*resultobj
= 0;
31645 int arg3
= (int) true ;
31646 int arg4
= (int) 1 ;
31647 wxImageList
*result
= 0 ;
31656 PyObject
* obj0
= 0 ;
31657 PyObject
* obj1
= 0 ;
31658 PyObject
* obj2
= 0 ;
31659 PyObject
* obj3
= 0 ;
31660 char * kwnames
[] = {
31661 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31665 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31666 if (!SWIG_IsOK(ecode1
)) {
31667 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31669 arg1
= static_cast< int >(val1
);
31670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31671 if (!SWIG_IsOK(ecode2
)) {
31672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31674 arg2
= static_cast< int >(val2
);
31676 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31677 if (!SWIG_IsOK(ecode3
)) {
31678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31680 arg3
= static_cast< int >(val3
);
31683 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31684 if (!SWIG_IsOK(ecode4
)) {
31685 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31687 arg4
= static_cast< int >(val4
);
31690 if (!wxPyCheckForApp()) SWIG_fail
;
31691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31692 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31693 wxPyEndAllowThreads(__tstate
);
31694 if (PyErr_Occurred()) SWIG_fail
;
31696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31703 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31704 PyObject
*resultobj
= 0;
31705 wxImageList
*arg1
= (wxImageList
*) 0 ;
31708 PyObject
*swig_obj
[1] ;
31710 if (!args
) SWIG_fail
;
31711 swig_obj
[0] = args
;
31712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31713 if (!SWIG_IsOK(res1
)) {
31714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31716 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31721 wxPyEndAllowThreads(__tstate
);
31722 if (PyErr_Occurred()) SWIG_fail
;
31724 resultobj
= SWIG_Py_Void();
31731 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31732 PyObject
*resultobj
= 0;
31733 wxImageList
*arg1
= (wxImageList
*) 0 ;
31734 wxBitmap
*arg2
= 0 ;
31735 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31736 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31744 PyObject
* obj0
= 0 ;
31745 PyObject
* obj1
= 0 ;
31746 PyObject
* obj2
= 0 ;
31747 char * kwnames
[] = {
31748 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31753 if (!SWIG_IsOK(res1
)) {
31754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31756 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31757 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31758 if (!SWIG_IsOK(res2
)) {
31759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31764 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31766 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31767 if (!SWIG_IsOK(res3
)) {
31768 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31773 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31777 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31778 wxPyEndAllowThreads(__tstate
);
31779 if (PyErr_Occurred()) SWIG_fail
;
31781 resultobj
= SWIG_From_int(static_cast< int >(result
));
31788 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31789 PyObject
*resultobj
= 0;
31790 wxImageList
*arg1
= (wxImageList
*) 0 ;
31791 wxBitmap
*arg2
= 0 ;
31792 wxColour
*arg3
= 0 ;
31799 PyObject
* obj0
= 0 ;
31800 PyObject
* obj1
= 0 ;
31801 PyObject
* obj2
= 0 ;
31802 char * kwnames
[] = {
31803 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31808 if (!SWIG_IsOK(res1
)) {
31809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31811 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31812 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31813 if (!SWIG_IsOK(res2
)) {
31814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31819 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31822 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31826 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31827 wxPyEndAllowThreads(__tstate
);
31828 if (PyErr_Occurred()) SWIG_fail
;
31830 resultobj
= SWIG_From_int(static_cast< int >(result
));
31837 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31838 PyObject
*resultobj
= 0;
31839 wxImageList
*arg1
= (wxImageList
*) 0 ;
31846 PyObject
* obj0
= 0 ;
31847 PyObject
* obj1
= 0 ;
31848 char * kwnames
[] = {
31849 (char *) "self",(char *) "icon", NULL
31852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31854 if (!SWIG_IsOK(res1
)) {
31855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31857 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31858 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31859 if (!SWIG_IsOK(res2
)) {
31860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31865 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31868 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31869 wxPyEndAllowThreads(__tstate
);
31870 if (PyErr_Occurred()) SWIG_fail
;
31872 resultobj
= SWIG_From_int(static_cast< int >(result
));
31879 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31880 PyObject
*resultobj
= 0;
31881 wxImageList
*arg1
= (wxImageList
*) 0 ;
31883 SwigValueWrapper
<wxBitmap
> result
;
31888 PyObject
* obj0
= 0 ;
31889 PyObject
* obj1
= 0 ;
31890 char * kwnames
[] = {
31891 (char *) "self",(char *) "index", NULL
31894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31896 if (!SWIG_IsOK(res1
)) {
31897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31899 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31901 if (!SWIG_IsOK(ecode2
)) {
31902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31904 arg2
= static_cast< int >(val2
);
31906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31907 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31908 wxPyEndAllowThreads(__tstate
);
31909 if (PyErr_Occurred()) SWIG_fail
;
31911 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31918 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31919 PyObject
*resultobj
= 0;
31920 wxImageList
*arg1
= (wxImageList
*) 0 ;
31927 PyObject
* obj0
= 0 ;
31928 PyObject
* obj1
= 0 ;
31929 char * kwnames
[] = {
31930 (char *) "self",(char *) "index", NULL
31933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31935 if (!SWIG_IsOK(res1
)) {
31936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31938 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31940 if (!SWIG_IsOK(ecode2
)) {
31941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31943 arg2
= static_cast< int >(val2
);
31945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31946 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31947 wxPyEndAllowThreads(__tstate
);
31948 if (PyErr_Occurred()) SWIG_fail
;
31950 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31957 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31958 PyObject
*resultobj
= 0;
31959 wxImageList
*arg1
= (wxImageList
*) 0 ;
31961 wxBitmap
*arg3
= 0 ;
31962 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31963 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31973 PyObject
* obj0
= 0 ;
31974 PyObject
* obj1
= 0 ;
31975 PyObject
* obj2
= 0 ;
31976 PyObject
* obj3
= 0 ;
31977 char * kwnames
[] = {
31978 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31983 if (!SWIG_IsOK(res1
)) {
31984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31986 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31988 if (!SWIG_IsOK(ecode2
)) {
31989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31991 arg2
= static_cast< int >(val2
);
31992 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31993 if (!SWIG_IsOK(res3
)) {
31994 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31999 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32001 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32002 if (!SWIG_IsOK(res4
)) {
32003 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32008 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
32011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32012 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
32013 wxPyEndAllowThreads(__tstate
);
32014 if (PyErr_Occurred()) SWIG_fail
;
32017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32025 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32026 PyObject
*resultobj
= 0;
32027 wxImageList
*arg1
= (wxImageList
*) 0 ;
32032 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
32033 bool arg7
= (bool) (bool)false ;
32049 PyObject
* obj0
= 0 ;
32050 PyObject
* obj1
= 0 ;
32051 PyObject
* obj2
= 0 ;
32052 PyObject
* obj3
= 0 ;
32053 PyObject
* obj4
= 0 ;
32054 PyObject
* obj5
= 0 ;
32055 PyObject
* obj6
= 0 ;
32056 char * kwnames
[] = {
32057 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
32060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32062 if (!SWIG_IsOK(res1
)) {
32063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
32065 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32067 if (!SWIG_IsOK(ecode2
)) {
32068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
32070 arg2
= static_cast< int >(val2
);
32071 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32072 if (!SWIG_IsOK(res3
)) {
32073 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32078 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32079 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32080 if (!SWIG_IsOK(ecode4
)) {
32081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
32083 arg4
= static_cast< int >(val4
);
32084 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32085 if (!SWIG_IsOK(ecode5
)) {
32086 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
32088 arg5
= static_cast< int >(val5
);
32090 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32091 if (!SWIG_IsOK(ecode6
)) {
32092 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
32094 arg6
= static_cast< int >(val6
);
32097 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
32098 if (!SWIG_IsOK(ecode7
)) {
32099 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
32101 arg7
= static_cast< bool >(val7
);
32104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32105 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
32106 wxPyEndAllowThreads(__tstate
);
32107 if (PyErr_Occurred()) SWIG_fail
;
32110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32118 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32119 PyObject
*resultobj
= 0;
32120 wxImageList
*arg1
= (wxImageList
*) 0 ;
32124 PyObject
*swig_obj
[1] ;
32126 if (!args
) SWIG_fail
;
32127 swig_obj
[0] = args
;
32128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32129 if (!SWIG_IsOK(res1
)) {
32130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
32132 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32135 result
= (int)(arg1
)->GetImageCount();
32136 wxPyEndAllowThreads(__tstate
);
32137 if (PyErr_Occurred()) SWIG_fail
;
32139 resultobj
= SWIG_From_int(static_cast< int >(result
));
32146 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32147 PyObject
*resultobj
= 0;
32148 wxImageList
*arg1
= (wxImageList
*) 0 ;
32155 PyObject
* obj0
= 0 ;
32156 PyObject
* obj1
= 0 ;
32157 char * kwnames
[] = {
32158 (char *) "self",(char *) "index", NULL
32161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32163 if (!SWIG_IsOK(res1
)) {
32164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32166 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32168 if (!SWIG_IsOK(ecode2
)) {
32169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32171 arg2
= static_cast< int >(val2
);
32173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32174 result
= (bool)(arg1
)->Remove(arg2
);
32175 wxPyEndAllowThreads(__tstate
);
32176 if (PyErr_Occurred()) SWIG_fail
;
32179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32187 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32188 PyObject
*resultobj
= 0;
32189 wxImageList
*arg1
= (wxImageList
*) 0 ;
32193 PyObject
*swig_obj
[1] ;
32195 if (!args
) SWIG_fail
;
32196 swig_obj
[0] = args
;
32197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32198 if (!SWIG_IsOK(res1
)) {
32199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32201 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32204 result
= (bool)(arg1
)->RemoveAll();
32205 wxPyEndAllowThreads(__tstate
);
32206 if (PyErr_Occurred()) SWIG_fail
;
32209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32217 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32218 PyObject
*resultobj
= 0;
32219 wxImageList
*arg1
= (wxImageList
*) 0 ;
32228 int res3
= SWIG_TMPOBJ
;
32230 int res4
= SWIG_TMPOBJ
;
32231 PyObject
* obj0
= 0 ;
32232 PyObject
* obj1
= 0 ;
32233 char * kwnames
[] = {
32234 (char *) "self",(char *) "index", NULL
32239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32241 if (!SWIG_IsOK(res1
)) {
32242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32244 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32246 if (!SWIG_IsOK(ecode2
)) {
32247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32249 arg2
= static_cast< int >(val2
);
32251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32252 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32253 wxPyEndAllowThreads(__tstate
);
32254 if (PyErr_Occurred()) SWIG_fail
;
32256 resultobj
= SWIG_Py_Void();
32257 if (SWIG_IsTmpObj(res3
)) {
32258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32260 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32263 if (SWIG_IsTmpObj(res4
)) {
32264 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32266 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32267 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32275 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32277 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32278 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32279 return SWIG_Py_Void();
32282 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32283 return SWIG_Python_InitShadowInstance(args
);
32286 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32287 PyObject
*resultobj
= 0;
32288 wxStockGDI
*result
= 0 ;
32290 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32293 result
= (wxStockGDI
*)new wxStockGDI();
32294 wxPyEndAllowThreads(__tstate
);
32295 if (PyErr_Occurred()) SWIG_fail
;
32297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32304 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32305 PyObject
*resultobj
= 0;
32306 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32309 PyObject
*swig_obj
[1] ;
32311 if (!args
) SWIG_fail
;
32312 swig_obj
[0] = args
;
32313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32314 if (!SWIG_IsOK(res1
)) {
32315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32317 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32322 wxPyEndAllowThreads(__tstate
);
32323 if (PyErr_Occurred()) SWIG_fail
;
32325 resultobj
= SWIG_Py_Void();
32332 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32333 PyObject
*resultobj
= 0;
32335 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32338 wxStockGDI::DeleteAll();
32339 wxPyEndAllowThreads(__tstate
);
32340 if (PyErr_Occurred()) SWIG_fail
;
32342 resultobj
= SWIG_Py_Void();
32349 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32350 PyObject
*resultobj
= 0;
32351 wxStockGDI
*result
= 0 ;
32353 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32357 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32358 result
= (wxStockGDI
*) &_result_ref
;
32360 wxPyEndAllowThreads(__tstate
);
32361 if (PyErr_Occurred()) SWIG_fail
;
32363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32370 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32371 PyObject
*resultobj
= 0;
32372 wxStockGDI::Item arg1
;
32373 wxBrush
*result
= 0 ;
32376 PyObject
* obj0
= 0 ;
32377 char * kwnames
[] = {
32378 (char *) "item", NULL
32381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32382 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32383 if (!SWIG_IsOK(ecode1
)) {
32384 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32386 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32389 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32390 wxPyEndAllowThreads(__tstate
);
32391 if (PyErr_Occurred()) SWIG_fail
;
32393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32400 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32401 PyObject
*resultobj
= 0;
32402 wxStockGDI::Item arg1
;
32403 wxColour
*result
= 0 ;
32406 PyObject
* obj0
= 0 ;
32407 char * kwnames
[] = {
32408 (char *) "item", NULL
32411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32412 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32413 if (!SWIG_IsOK(ecode1
)) {
32414 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32416 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32419 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32420 wxPyEndAllowThreads(__tstate
);
32421 if (PyErr_Occurred()) SWIG_fail
;
32423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32430 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32431 PyObject
*resultobj
= 0;
32432 wxStockGDI::Item arg1
;
32433 wxCursor
*result
= 0 ;
32436 PyObject
* obj0
= 0 ;
32437 char * kwnames
[] = {
32438 (char *) "item", NULL
32441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32442 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32443 if (!SWIG_IsOK(ecode1
)) {
32444 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32446 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32449 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32450 wxPyEndAllowThreads(__tstate
);
32451 if (PyErr_Occurred()) SWIG_fail
;
32453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32460 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32461 PyObject
*resultobj
= 0;
32462 wxStockGDI::Item arg1
;
32463 wxPen
*result
= 0 ;
32466 PyObject
* obj0
= 0 ;
32467 char * kwnames
[] = {
32468 (char *) "item", NULL
32471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32472 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32473 if (!SWIG_IsOK(ecode1
)) {
32474 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32476 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32479 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32480 wxPyEndAllowThreads(__tstate
);
32481 if (PyErr_Occurred()) SWIG_fail
;
32483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32490 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32491 PyObject
*resultobj
= 0;
32492 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32493 wxStockGDI::Item arg2
;
32494 wxFont
*result
= 0 ;
32499 PyObject
* obj0
= 0 ;
32500 PyObject
* obj1
= 0 ;
32501 char * kwnames
[] = {
32502 (char *) "self",(char *) "item", NULL
32505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32507 if (!SWIG_IsOK(res1
)) {
32508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32510 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32512 if (!SWIG_IsOK(ecode2
)) {
32513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32515 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32518 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32519 wxPyEndAllowThreads(__tstate
);
32520 if (PyErr_Occurred()) SWIG_fail
;
32522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32529 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32531 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32532 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32533 return SWIG_Py_Void();
32536 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32537 return SWIG_Python_InitShadowInstance(args
);
32540 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32541 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32546 SWIGINTERN PyObject
*NullBitmap_get(void) {
32547 PyObject
*pyobj
= 0;
32549 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32554 SWIGINTERN
int NullIcon_set(PyObject
*) {
32555 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32560 SWIGINTERN PyObject
*NullIcon_get(void) {
32561 PyObject
*pyobj
= 0;
32563 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32568 SWIGINTERN
int NullCursor_set(PyObject
*) {
32569 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32574 SWIGINTERN PyObject
*NullCursor_get(void) {
32575 PyObject
*pyobj
= 0;
32577 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32582 SWIGINTERN
int NullPen_set(PyObject
*) {
32583 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32588 SWIGINTERN PyObject
*NullPen_get(void) {
32589 PyObject
*pyobj
= 0;
32591 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32596 SWIGINTERN
int NullBrush_set(PyObject
*) {
32597 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32602 SWIGINTERN PyObject
*NullBrush_get(void) {
32603 PyObject
*pyobj
= 0;
32605 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32610 SWIGINTERN
int NullPalette_set(PyObject
*) {
32611 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32616 SWIGINTERN PyObject
*NullPalette_get(void) {
32617 PyObject
*pyobj
= 0;
32619 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32624 SWIGINTERN
int NullFont_set(PyObject
*) {
32625 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32630 SWIGINTERN PyObject
*NullFont_get(void) {
32631 PyObject
*pyobj
= 0;
32633 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32638 SWIGINTERN
int NullColour_set(PyObject
*) {
32639 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32644 SWIGINTERN PyObject
*NullColour_get(void) {
32645 PyObject
*pyobj
= 0;
32647 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32652 SWIGINTERN
int NullIconBundle_set(PyObject
*) {
32653 SWIG_Error(SWIG_AttributeError
,"Variable NullIconBundle is read-only.");
32658 SWIGINTERN PyObject
*NullIconBundle_get(void) {
32659 PyObject
*pyobj
= 0;
32661 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIconBundle
), SWIGTYPE_p_wxIconBundle
, 0 );
32666 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32667 PyObject
*resultobj
= 0;
32668 wxGDIObjListBase
*result
= 0 ;
32670 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32673 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32674 wxPyEndAllowThreads(__tstate
);
32675 if (PyErr_Occurred()) SWIG_fail
;
32677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32684 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32685 PyObject
*resultobj
= 0;
32686 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32689 PyObject
*swig_obj
[1] ;
32691 if (!args
) SWIG_fail
;
32692 swig_obj
[0] = args
;
32693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32694 if (!SWIG_IsOK(res1
)) {
32695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32697 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32702 wxPyEndAllowThreads(__tstate
);
32703 if (PyErr_Occurred()) SWIG_fail
;
32705 resultobj
= SWIG_Py_Void();
32712 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32714 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32715 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32716 return SWIG_Py_Void();
32719 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32720 return SWIG_Python_InitShadowInstance(args
);
32723 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32724 PyObject
*resultobj
= 0;
32725 wxPenList
*arg1
= (wxPenList
*) 0 ;
32726 wxColour
*arg2
= 0 ;
32729 wxPen
*result
= 0 ;
32737 PyObject
* obj0
= 0 ;
32738 PyObject
* obj1
= 0 ;
32739 PyObject
* obj2
= 0 ;
32740 PyObject
* obj3
= 0 ;
32741 char * kwnames
[] = {
32742 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32747 if (!SWIG_IsOK(res1
)) {
32748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32750 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32753 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32756 if (!SWIG_IsOK(ecode3
)) {
32757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32759 arg3
= static_cast< int >(val3
);
32760 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32761 if (!SWIG_IsOK(ecode4
)) {
32762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32764 arg4
= static_cast< int >(val4
);
32766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32767 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32768 wxPyEndAllowThreads(__tstate
);
32769 if (PyErr_Occurred()) SWIG_fail
;
32771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32778 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32780 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32781 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32782 return SWIG_Py_Void();
32785 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32786 PyObject
*resultobj
= 0;
32787 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32788 wxColour
*arg2
= 0 ;
32789 int arg3
= (int) wxSOLID
;
32790 wxBrush
*result
= 0 ;
32796 PyObject
* obj0
= 0 ;
32797 PyObject
* obj1
= 0 ;
32798 PyObject
* obj2
= 0 ;
32799 char * kwnames
[] = {
32800 (char *) "self",(char *) "colour",(char *) "style", NULL
32803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32805 if (!SWIG_IsOK(res1
)) {
32806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32808 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32811 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32815 if (!SWIG_IsOK(ecode3
)) {
32816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32818 arg3
= static_cast< int >(val3
);
32821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32822 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32823 wxPyEndAllowThreads(__tstate
);
32824 if (PyErr_Occurred()) SWIG_fail
;
32826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32833 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32836 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32837 return SWIG_Py_Void();
32840 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32841 PyObject
*resultobj
= 0;
32842 wxFontList
*arg1
= (wxFontList
*) 0 ;
32847 bool arg6
= (bool) false ;
32848 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32849 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32850 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32851 wxFont
*result
= 0 ;
32864 bool temp7
= false ;
32867 PyObject
* obj0
= 0 ;
32868 PyObject
* obj1
= 0 ;
32869 PyObject
* obj2
= 0 ;
32870 PyObject
* obj3
= 0 ;
32871 PyObject
* obj4
= 0 ;
32872 PyObject
* obj5
= 0 ;
32873 PyObject
* obj6
= 0 ;
32874 PyObject
* obj7
= 0 ;
32875 char * kwnames
[] = {
32876 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32881 if (!SWIG_IsOK(res1
)) {
32882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32884 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32886 if (!SWIG_IsOK(ecode2
)) {
32887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32889 arg2
= static_cast< int >(val2
);
32890 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32891 if (!SWIG_IsOK(ecode3
)) {
32892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32894 arg3
= static_cast< int >(val3
);
32895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32896 if (!SWIG_IsOK(ecode4
)) {
32897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32899 arg4
= static_cast< int >(val4
);
32900 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32901 if (!SWIG_IsOK(ecode5
)) {
32902 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32904 arg5
= static_cast< int >(val5
);
32906 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32907 if (!SWIG_IsOK(ecode6
)) {
32908 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32910 arg6
= static_cast< bool >(val6
);
32914 arg7
= wxString_in_helper(obj6
);
32915 if (arg7
== NULL
) SWIG_fail
;
32920 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32921 if (!SWIG_IsOK(ecode8
)) {
32922 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32924 arg8
= static_cast< wxFontEncoding
>(val8
);
32927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32928 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32929 wxPyEndAllowThreads(__tstate
);
32930 if (PyErr_Occurred()) SWIG_fail
;
32932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32947 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32950 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32951 return SWIG_Py_Void();
32954 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32955 PyObject
*resultobj
= 0;
32956 wxColourDatabase
*result
= 0 ;
32958 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32960 if (!wxPyCheckForApp()) SWIG_fail
;
32961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32962 result
= (wxColourDatabase
*)new wxColourDatabase();
32963 wxPyEndAllowThreads(__tstate
);
32964 if (PyErr_Occurred()) SWIG_fail
;
32966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32973 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32974 PyObject
*resultobj
= 0;
32975 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32978 PyObject
*swig_obj
[1] ;
32980 if (!args
) SWIG_fail
;
32981 swig_obj
[0] = args
;
32982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32983 if (!SWIG_IsOK(res1
)) {
32984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32986 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32991 wxPyEndAllowThreads(__tstate
);
32992 if (PyErr_Occurred()) SWIG_fail
;
32994 resultobj
= SWIG_Py_Void();
33001 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33002 PyObject
*resultobj
= 0;
33003 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33004 wxString
*arg2
= 0 ;
33008 bool temp2
= false ;
33009 PyObject
* obj0
= 0 ;
33010 PyObject
* obj1
= 0 ;
33011 char * kwnames
[] = {
33012 (char *) "self",(char *) "name", NULL
33015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33017 if (!SWIG_IsOK(res1
)) {
33018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33020 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33022 arg2
= wxString_in_helper(obj1
);
33023 if (arg2
== NULL
) SWIG_fail
;
33027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33028 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
33029 wxPyEndAllowThreads(__tstate
);
33030 if (PyErr_Occurred()) SWIG_fail
;
33032 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33047 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33048 PyObject
*resultobj
= 0;
33049 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33050 wxColour
*arg2
= 0 ;
33055 PyObject
* obj0
= 0 ;
33056 PyObject
* obj1
= 0 ;
33057 char * kwnames
[] = {
33058 (char *) "self",(char *) "colour", NULL
33061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33063 if (!SWIG_IsOK(res1
)) {
33064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33066 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33069 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33073 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
33074 wxPyEndAllowThreads(__tstate
);
33075 if (PyErr_Occurred()) SWIG_fail
;
33079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33090 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33091 PyObject
*resultobj
= 0;
33092 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33093 wxString
*arg2
= 0 ;
33094 wxColour
*arg3
= 0 ;
33097 bool temp2
= false ;
33099 PyObject
* obj0
= 0 ;
33100 PyObject
* obj1
= 0 ;
33101 PyObject
* obj2
= 0 ;
33102 char * kwnames
[] = {
33103 (char *) "self",(char *) "name",(char *) "colour", NULL
33106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33108 if (!SWIG_IsOK(res1
)) {
33109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33111 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33113 arg2
= wxString_in_helper(obj1
);
33114 if (arg2
== NULL
) SWIG_fail
;
33119 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33123 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33124 wxPyEndAllowThreads(__tstate
);
33125 if (PyErr_Occurred()) SWIG_fail
;
33127 resultobj
= SWIG_Py_Void();
33142 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33143 PyObject
*resultobj
= 0;
33144 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33145 wxString
*arg2
= 0 ;
33151 bool temp2
= false ;
33158 PyObject
* obj0
= 0 ;
33159 PyObject
* obj1
= 0 ;
33160 PyObject
* obj2
= 0 ;
33161 PyObject
* obj3
= 0 ;
33162 PyObject
* obj4
= 0 ;
33163 char * kwnames
[] = {
33164 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33169 if (!SWIG_IsOK(res1
)) {
33170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33172 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33174 arg2
= wxString_in_helper(obj1
);
33175 if (arg2
== NULL
) SWIG_fail
;
33178 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33179 if (!SWIG_IsOK(ecode3
)) {
33180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33182 arg3
= static_cast< int >(val3
);
33183 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33184 if (!SWIG_IsOK(ecode4
)) {
33185 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33187 arg4
= static_cast< int >(val4
);
33188 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33189 if (!SWIG_IsOK(ecode5
)) {
33190 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33192 arg5
= static_cast< int >(val5
);
33194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33195 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33196 wxPyEndAllowThreads(__tstate
);
33197 if (PyErr_Occurred()) SWIG_fail
;
33199 resultobj
= SWIG_Py_Void();
33214 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33216 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33217 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33218 return SWIG_Py_Void();
33221 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33222 return SWIG_Python_InitShadowInstance(args
);
33225 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33226 PyObject
*resultobj
= 0;
33227 wxFontList
*result
= 0 ;
33229 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33232 result
= (wxFontList
*)_wxPyInitTheFontList();
33233 wxPyEndAllowThreads(__tstate
);
33234 if (PyErr_Occurred()) SWIG_fail
;
33236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33243 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33244 PyObject
*resultobj
= 0;
33245 wxPenList
*result
= 0 ;
33247 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33250 result
= (wxPenList
*)_wxPyInitThePenList();
33251 wxPyEndAllowThreads(__tstate
);
33252 if (PyErr_Occurred()) SWIG_fail
;
33254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33261 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33262 PyObject
*resultobj
= 0;
33263 wxBrushList
*result
= 0 ;
33265 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33268 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33269 wxPyEndAllowThreads(__tstate
);
33270 if (PyErr_Occurred()) SWIG_fail
;
33272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33279 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33280 PyObject
*resultobj
= 0;
33281 wxColourDatabase
*result
= 0 ;
33283 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33286 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33287 wxPyEndAllowThreads(__tstate
);
33288 if (PyErr_Occurred()) SWIG_fail
;
33290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33297 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33298 PyObject
*resultobj
= 0;
33299 wxEffects
*result
= 0 ;
33301 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33304 result
= (wxEffects
*)new wxEffects();
33305 wxPyEndAllowThreads(__tstate
);
33306 if (PyErr_Occurred()) SWIG_fail
;
33308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33315 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33316 PyObject
*resultobj
= 0;
33317 wxEffects
*arg1
= (wxEffects
*) 0 ;
33321 PyObject
*swig_obj
[1] ;
33323 if (!args
) SWIG_fail
;
33324 swig_obj
[0] = args
;
33325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33326 if (!SWIG_IsOK(res1
)) {
33327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33329 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33332 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33333 wxPyEndAllowThreads(__tstate
);
33334 if (PyErr_Occurred()) SWIG_fail
;
33336 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33343 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33344 PyObject
*resultobj
= 0;
33345 wxEffects
*arg1
= (wxEffects
*) 0 ;
33349 PyObject
*swig_obj
[1] ;
33351 if (!args
) SWIG_fail
;
33352 swig_obj
[0] = args
;
33353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33354 if (!SWIG_IsOK(res1
)) {
33355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33357 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33360 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33361 wxPyEndAllowThreads(__tstate
);
33362 if (PyErr_Occurred()) SWIG_fail
;
33364 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33371 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33372 PyObject
*resultobj
= 0;
33373 wxEffects
*arg1
= (wxEffects
*) 0 ;
33377 PyObject
*swig_obj
[1] ;
33379 if (!args
) SWIG_fail
;
33380 swig_obj
[0] = args
;
33381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33382 if (!SWIG_IsOK(res1
)) {
33383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33385 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33388 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33389 wxPyEndAllowThreads(__tstate
);
33390 if (PyErr_Occurred()) SWIG_fail
;
33392 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33399 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33400 PyObject
*resultobj
= 0;
33401 wxEffects
*arg1
= (wxEffects
*) 0 ;
33405 PyObject
*swig_obj
[1] ;
33407 if (!args
) SWIG_fail
;
33408 swig_obj
[0] = args
;
33409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33410 if (!SWIG_IsOK(res1
)) {
33411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33413 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33416 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33417 wxPyEndAllowThreads(__tstate
);
33418 if (PyErr_Occurred()) SWIG_fail
;
33420 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33427 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33428 PyObject
*resultobj
= 0;
33429 wxEffects
*arg1
= (wxEffects
*) 0 ;
33433 PyObject
*swig_obj
[1] ;
33435 if (!args
) SWIG_fail
;
33436 swig_obj
[0] = args
;
33437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33438 if (!SWIG_IsOK(res1
)) {
33439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33441 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33444 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33445 wxPyEndAllowThreads(__tstate
);
33446 if (PyErr_Occurred()) SWIG_fail
;
33448 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33455 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33456 PyObject
*resultobj
= 0;
33457 wxEffects
*arg1
= (wxEffects
*) 0 ;
33458 wxColour
*arg2
= 0 ;
33462 PyObject
* obj0
= 0 ;
33463 PyObject
* obj1
= 0 ;
33464 char * kwnames
[] = {
33465 (char *) "self",(char *) "c", NULL
33468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33470 if (!SWIG_IsOK(res1
)) {
33471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33473 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33476 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33480 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33481 wxPyEndAllowThreads(__tstate
);
33482 if (PyErr_Occurred()) SWIG_fail
;
33484 resultobj
= SWIG_Py_Void();
33491 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33492 PyObject
*resultobj
= 0;
33493 wxEffects
*arg1
= (wxEffects
*) 0 ;
33494 wxColour
*arg2
= 0 ;
33498 PyObject
* obj0
= 0 ;
33499 PyObject
* obj1
= 0 ;
33500 char * kwnames
[] = {
33501 (char *) "self",(char *) "c", NULL
33504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33506 if (!SWIG_IsOK(res1
)) {
33507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33509 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33512 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33516 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33517 wxPyEndAllowThreads(__tstate
);
33518 if (PyErr_Occurred()) SWIG_fail
;
33520 resultobj
= SWIG_Py_Void();
33527 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33528 PyObject
*resultobj
= 0;
33529 wxEffects
*arg1
= (wxEffects
*) 0 ;
33530 wxColour
*arg2
= 0 ;
33534 PyObject
* obj0
= 0 ;
33535 PyObject
* obj1
= 0 ;
33536 char * kwnames
[] = {
33537 (char *) "self",(char *) "c", NULL
33540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33542 if (!SWIG_IsOK(res1
)) {
33543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33545 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33548 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33552 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33553 wxPyEndAllowThreads(__tstate
);
33554 if (PyErr_Occurred()) SWIG_fail
;
33556 resultobj
= SWIG_Py_Void();
33563 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33564 PyObject
*resultobj
= 0;
33565 wxEffects
*arg1
= (wxEffects
*) 0 ;
33566 wxColour
*arg2
= 0 ;
33570 PyObject
* obj0
= 0 ;
33571 PyObject
* obj1
= 0 ;
33572 char * kwnames
[] = {
33573 (char *) "self",(char *) "c", NULL
33576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33578 if (!SWIG_IsOK(res1
)) {
33579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33581 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33584 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33588 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33589 wxPyEndAllowThreads(__tstate
);
33590 if (PyErr_Occurred()) SWIG_fail
;
33592 resultobj
= SWIG_Py_Void();
33599 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33600 PyObject
*resultobj
= 0;
33601 wxEffects
*arg1
= (wxEffects
*) 0 ;
33602 wxColour
*arg2
= 0 ;
33606 PyObject
* obj0
= 0 ;
33607 PyObject
* obj1
= 0 ;
33608 char * kwnames
[] = {
33609 (char *) "self",(char *) "c", NULL
33612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33614 if (!SWIG_IsOK(res1
)) {
33615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33617 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33620 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33624 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33625 wxPyEndAllowThreads(__tstate
);
33626 if (PyErr_Occurred()) SWIG_fail
;
33628 resultobj
= SWIG_Py_Void();
33635 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33636 PyObject
*resultobj
= 0;
33637 wxEffects
*arg1
= (wxEffects
*) 0 ;
33638 wxColour
*arg2
= 0 ;
33639 wxColour
*arg3
= 0 ;
33640 wxColour
*arg4
= 0 ;
33641 wxColour
*arg5
= 0 ;
33642 wxColour
*arg6
= 0 ;
33650 PyObject
* obj0
= 0 ;
33651 PyObject
* obj1
= 0 ;
33652 PyObject
* obj2
= 0 ;
33653 PyObject
* obj3
= 0 ;
33654 PyObject
* obj4
= 0 ;
33655 PyObject
* obj5
= 0 ;
33656 char * kwnames
[] = {
33657 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33662 if (!SWIG_IsOK(res1
)) {
33663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33665 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33668 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33672 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33676 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33680 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33684 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33688 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33689 wxPyEndAllowThreads(__tstate
);
33690 if (PyErr_Occurred()) SWIG_fail
;
33692 resultobj
= SWIG_Py_Void();
33699 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33700 PyObject
*resultobj
= 0;
33701 wxEffects
*arg1
= (wxEffects
*) 0 ;
33704 int arg4
= (int) 1 ;
33712 PyObject
* obj0
= 0 ;
33713 PyObject
* obj1
= 0 ;
33714 PyObject
* obj2
= 0 ;
33715 PyObject
* obj3
= 0 ;
33716 char * kwnames
[] = {
33717 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33722 if (!SWIG_IsOK(res1
)) {
33723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33725 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33726 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33727 if (!SWIG_IsOK(res2
)) {
33728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33733 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33736 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33739 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33740 if (!SWIG_IsOK(ecode4
)) {
33741 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33743 arg4
= static_cast< int >(val4
);
33746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33747 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33748 wxPyEndAllowThreads(__tstate
);
33749 if (PyErr_Occurred()) SWIG_fail
;
33751 resultobj
= SWIG_Py_Void();
33758 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33759 PyObject
*resultobj
= 0;
33760 wxEffects
*arg1
= (wxEffects
*) 0 ;
33763 wxBitmap
*arg4
= 0 ;
33772 PyObject
* obj0
= 0 ;
33773 PyObject
* obj1
= 0 ;
33774 PyObject
* obj2
= 0 ;
33775 PyObject
* obj3
= 0 ;
33776 char * kwnames
[] = {
33777 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33782 if (!SWIG_IsOK(res1
)) {
33783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33785 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33788 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33790 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33791 if (!SWIG_IsOK(res3
)) {
33792 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33797 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33798 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33799 if (!SWIG_IsOK(res4
)) {
33800 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33805 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33808 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33809 wxPyEndAllowThreads(__tstate
);
33810 if (PyErr_Occurred()) SWIG_fail
;
33813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33821 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33823 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33824 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33825 return SWIG_Py_Void();
33828 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33829 return SWIG_Python_InitShadowInstance(args
);
33832 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33833 PyObject
*resultobj
= 0;
33837 wxSplitterRenderParams
*result
= 0 ;
33844 PyObject
* obj0
= 0 ;
33845 PyObject
* obj1
= 0 ;
33846 PyObject
* obj2
= 0 ;
33847 char * kwnames
[] = {
33848 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33852 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33853 if (!SWIG_IsOK(ecode1
)) {
33854 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33856 arg1
= static_cast< int >(val1
);
33857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33858 if (!SWIG_IsOK(ecode2
)) {
33859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33861 arg2
= static_cast< int >(val2
);
33862 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33863 if (!SWIG_IsOK(ecode3
)) {
33864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33866 arg3
= static_cast< bool >(val3
);
33868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33869 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33870 wxPyEndAllowThreads(__tstate
);
33871 if (PyErr_Occurred()) SWIG_fail
;
33873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33880 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33881 PyObject
*resultobj
= 0;
33882 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33885 PyObject
*swig_obj
[1] ;
33887 if (!args
) SWIG_fail
;
33888 swig_obj
[0] = args
;
33889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33890 if (!SWIG_IsOK(res1
)) {
33891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33893 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33898 wxPyEndAllowThreads(__tstate
);
33899 if (PyErr_Occurred()) SWIG_fail
;
33901 resultobj
= SWIG_Py_Void();
33908 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33909 PyObject
*resultobj
= 0;
33910 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33914 PyObject
*swig_obj
[1] ;
33916 if (!args
) SWIG_fail
;
33917 swig_obj
[0] = args
;
33918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33919 if (!SWIG_IsOK(res1
)) {
33920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33922 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33923 result
= (int)(int) ((arg1
)->widthSash
);
33924 resultobj
= SWIG_From_int(static_cast< int >(result
));
33931 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33932 PyObject
*resultobj
= 0;
33933 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33937 PyObject
*swig_obj
[1] ;
33939 if (!args
) SWIG_fail
;
33940 swig_obj
[0] = args
;
33941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33942 if (!SWIG_IsOK(res1
)) {
33943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33945 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33946 result
= (int)(int) ((arg1
)->border
);
33947 resultobj
= SWIG_From_int(static_cast< int >(result
));
33954 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33955 PyObject
*resultobj
= 0;
33956 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33960 PyObject
*swig_obj
[1] ;
33962 if (!args
) SWIG_fail
;
33963 swig_obj
[0] = args
;
33964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33965 if (!SWIG_IsOK(res1
)) {
33966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33968 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33969 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33970 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33977 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33979 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33980 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33981 return SWIG_Py_Void();
33984 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33985 return SWIG_Python_InitShadowInstance(args
);
33988 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33989 PyObject
*resultobj
= 0;
33990 wxHeaderButtonParams
*result
= 0 ;
33992 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33995 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33996 wxPyEndAllowThreads(__tstate
);
33997 if (PyErr_Occurred()) SWIG_fail
;
33999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
34006 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34007 PyObject
*resultobj
= 0;
34008 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34011 PyObject
*swig_obj
[1] ;
34013 if (!args
) SWIG_fail
;
34014 swig_obj
[0] = args
;
34015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
34016 if (!SWIG_IsOK(res1
)) {
34017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34019 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34024 wxPyEndAllowThreads(__tstate
);
34025 if (PyErr_Occurred()) SWIG_fail
;
34027 resultobj
= SWIG_Py_Void();
34034 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34035 PyObject
*resultobj
= 0;
34036 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34037 wxColour
*arg2
= (wxColour
*) 0 ;
34041 PyObject
*swig_obj
[2] ;
34043 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
34044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34045 if (!SWIG_IsOK(res1
)) {
34046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34048 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34051 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34053 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
34055 resultobj
= SWIG_Py_Void();
34062 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34063 PyObject
*resultobj
= 0;
34064 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34065 wxColour
*result
= 0 ;
34068 PyObject
*swig_obj
[1] ;
34070 if (!args
) SWIG_fail
;
34071 swig_obj
[0] = args
;
34072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34073 if (!SWIG_IsOK(res1
)) {
34074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34076 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34077 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
34078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34085 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34086 PyObject
*resultobj
= 0;
34087 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34088 wxColour
*arg2
= (wxColour
*) 0 ;
34092 PyObject
*swig_obj
[2] ;
34094 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
34095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34096 if (!SWIG_IsOK(res1
)) {
34097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34099 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34102 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34104 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34106 resultobj
= SWIG_Py_Void();
34113 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34114 PyObject
*resultobj
= 0;
34115 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34116 wxColour
*result
= 0 ;
34119 PyObject
*swig_obj
[1] ;
34121 if (!args
) SWIG_fail
;
34122 swig_obj
[0] = args
;
34123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34124 if (!SWIG_IsOK(res1
)) {
34125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34127 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34128 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34136 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34137 PyObject
*resultobj
= 0;
34138 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34139 wxString
*arg2
= (wxString
*) 0 ;
34142 bool temp2
= false ;
34143 PyObject
*swig_obj
[2] ;
34145 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34147 if (!SWIG_IsOK(res1
)) {
34148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34150 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34152 arg2
= wxString_in_helper(swig_obj
[1]);
34153 if (arg2
== NULL
) SWIG_fail
;
34156 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34158 resultobj
= SWIG_Py_Void();
34173 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34174 PyObject
*resultobj
= 0;
34175 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34176 wxString
*result
= 0 ;
34179 PyObject
*swig_obj
[1] ;
34181 if (!args
) SWIG_fail
;
34182 swig_obj
[0] = args
;
34183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34184 if (!SWIG_IsOK(res1
)) {
34185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34187 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34188 result
= (wxString
*)& ((arg1
)->m_labelText
);
34191 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34193 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34202 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34203 PyObject
*resultobj
= 0;
34204 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34205 wxFont
*arg2
= (wxFont
*) 0 ;
34210 PyObject
*swig_obj
[2] ;
34212 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34214 if (!SWIG_IsOK(res1
)) {
34215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34217 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34218 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34219 if (!SWIG_IsOK(res2
)) {
34220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34222 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34223 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34225 resultobj
= SWIG_Py_Void();
34232 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34233 PyObject
*resultobj
= 0;
34234 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34235 wxFont
*result
= 0 ;
34238 PyObject
*swig_obj
[1] ;
34240 if (!args
) SWIG_fail
;
34241 swig_obj
[0] = args
;
34242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34243 if (!SWIG_IsOK(res1
)) {
34244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34246 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34247 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34255 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34256 PyObject
*resultobj
= 0;
34257 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34258 wxColour
*arg2
= (wxColour
*) 0 ;
34262 PyObject
*swig_obj
[2] ;
34264 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34266 if (!SWIG_IsOK(res1
)) {
34267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34269 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34272 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34274 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34276 resultobj
= SWIG_Py_Void();
34283 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34284 PyObject
*resultobj
= 0;
34285 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34286 wxColour
*result
= 0 ;
34289 PyObject
*swig_obj
[1] ;
34291 if (!args
) SWIG_fail
;
34292 swig_obj
[0] = args
;
34293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34294 if (!SWIG_IsOK(res1
)) {
34295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34297 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34298 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34306 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34307 PyObject
*resultobj
= 0;
34308 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34309 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34314 PyObject
*swig_obj
[2] ;
34316 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34318 if (!SWIG_IsOK(res1
)) {
34319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34321 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34322 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34323 if (!SWIG_IsOK(res2
)) {
34324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34326 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34327 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34329 resultobj
= SWIG_Py_Void();
34336 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34337 PyObject
*resultobj
= 0;
34338 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34339 wxBitmap
*result
= 0 ;
34342 PyObject
*swig_obj
[1] ;
34344 if (!args
) SWIG_fail
;
34345 swig_obj
[0] = args
;
34346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34347 if (!SWIG_IsOK(res1
)) {
34348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34350 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34351 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34359 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34360 PyObject
*resultobj
= 0;
34361 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34367 PyObject
*swig_obj
[2] ;
34369 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34371 if (!SWIG_IsOK(res1
)) {
34372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34374 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34375 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34376 if (!SWIG_IsOK(ecode2
)) {
34377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34379 arg2
= static_cast< int >(val2
);
34380 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34382 resultobj
= SWIG_Py_Void();
34389 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34390 PyObject
*resultobj
= 0;
34391 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34395 PyObject
*swig_obj
[1] ;
34397 if (!args
) SWIG_fail
;
34398 swig_obj
[0] = args
;
34399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34400 if (!SWIG_IsOK(res1
)) {
34401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34403 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34404 result
= (int) ((arg1
)->m_labelAlignment
);
34405 resultobj
= SWIG_From_int(static_cast< int >(result
));
34412 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34415 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34416 return SWIG_Py_Void();
34419 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34420 return SWIG_Python_InitShadowInstance(args
);
34423 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34424 PyObject
*resultobj
= 0;
34427 wxRendererVersion
*result
= 0 ;
34432 PyObject
* obj0
= 0 ;
34433 PyObject
* obj1
= 0 ;
34434 char * kwnames
[] = {
34435 (char *) "version_",(char *) "age_", NULL
34438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34439 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34440 if (!SWIG_IsOK(ecode1
)) {
34441 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34443 arg1
= static_cast< int >(val1
);
34444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34445 if (!SWIG_IsOK(ecode2
)) {
34446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34448 arg2
= static_cast< int >(val2
);
34450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34451 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34452 wxPyEndAllowThreads(__tstate
);
34453 if (PyErr_Occurred()) SWIG_fail
;
34455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34462 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34463 PyObject
*resultobj
= 0;
34464 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34467 PyObject
*swig_obj
[1] ;
34469 if (!args
) SWIG_fail
;
34470 swig_obj
[0] = args
;
34471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34472 if (!SWIG_IsOK(res1
)) {
34473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34475 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34480 wxPyEndAllowThreads(__tstate
);
34481 if (PyErr_Occurred()) SWIG_fail
;
34483 resultobj
= SWIG_Py_Void();
34490 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34491 PyObject
*resultobj
= 0;
34492 wxRendererVersion
*arg1
= 0 ;
34496 PyObject
* obj0
= 0 ;
34497 char * kwnames
[] = {
34498 (char *) "ver", NULL
34501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34502 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34503 if (!SWIG_IsOK(res1
)) {
34504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34509 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34512 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34513 wxPyEndAllowThreads(__tstate
);
34514 if (PyErr_Occurred()) SWIG_fail
;
34517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34525 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34526 PyObject
*resultobj
= 0;
34527 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34531 PyObject
*swig_obj
[1] ;
34533 if (!args
) SWIG_fail
;
34534 swig_obj
[0] = args
;
34535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34536 if (!SWIG_IsOK(res1
)) {
34537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34539 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34540 result
= (int)(int) ((arg1
)->version
);
34541 resultobj
= SWIG_From_int(static_cast< int >(result
));
34548 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34549 PyObject
*resultobj
= 0;
34550 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34554 PyObject
*swig_obj
[1] ;
34556 if (!args
) SWIG_fail
;
34557 swig_obj
[0] = args
;
34558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34559 if (!SWIG_IsOK(res1
)) {
34560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34562 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34563 result
= (int)(int) ((arg1
)->age
);
34564 resultobj
= SWIG_From_int(static_cast< int >(result
));
34571 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34573 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34574 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34575 return SWIG_Py_Void();
34578 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34579 return SWIG_Python_InitShadowInstance(args
);
34582 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34583 PyObject
*resultobj
= 0;
34584 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34585 wxWindow
*arg2
= (wxWindow
*) 0 ;
34588 int arg5
= (int) 0 ;
34589 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34590 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34605 PyObject
* obj0
= 0 ;
34606 PyObject
* obj1
= 0 ;
34607 PyObject
* obj2
= 0 ;
34608 PyObject
* obj3
= 0 ;
34609 PyObject
* obj4
= 0 ;
34610 PyObject
* obj5
= 0 ;
34611 PyObject
* obj6
= 0 ;
34612 char * kwnames
[] = {
34613 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34618 if (!SWIG_IsOK(res1
)) {
34619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34621 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34622 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34623 if (!SWIG_IsOK(res2
)) {
34624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34626 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34627 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34628 if (!SWIG_IsOK(res3
)) {
34629 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34634 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34637 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34640 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34641 if (!SWIG_IsOK(ecode5
)) {
34642 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34644 arg5
= static_cast< int >(val5
);
34647 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34648 if (!SWIG_IsOK(ecode6
)) {
34649 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34651 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34654 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34655 if (!SWIG_IsOK(res7
)) {
34656 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34658 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34662 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34663 wxPyEndAllowThreads(__tstate
);
34664 if (PyErr_Occurred()) SWIG_fail
;
34666 resultobj
= SWIG_From_int(static_cast< int >(result
));
34673 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34674 PyObject
*resultobj
= 0;
34675 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34676 wxWindow
*arg2
= (wxWindow
*) 0 ;
34679 int arg5
= (int) 0 ;
34680 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34681 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34696 PyObject
* obj0
= 0 ;
34697 PyObject
* obj1
= 0 ;
34698 PyObject
* obj2
= 0 ;
34699 PyObject
* obj3
= 0 ;
34700 PyObject
* obj4
= 0 ;
34701 PyObject
* obj5
= 0 ;
34702 PyObject
* obj6
= 0 ;
34703 char * kwnames
[] = {
34704 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34709 if (!SWIG_IsOK(res1
)) {
34710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34712 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34714 if (!SWIG_IsOK(res2
)) {
34715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34717 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34718 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34719 if (!SWIG_IsOK(res3
)) {
34720 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34725 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34728 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34731 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34732 if (!SWIG_IsOK(ecode5
)) {
34733 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34735 arg5
= static_cast< int >(val5
);
34738 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34739 if (!SWIG_IsOK(ecode6
)) {
34740 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34742 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34745 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34746 if (!SWIG_IsOK(res7
)) {
34747 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34749 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34753 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34754 wxPyEndAllowThreads(__tstate
);
34755 if (PyErr_Occurred()) SWIG_fail
;
34757 resultobj
= SWIG_From_int(static_cast< int >(result
));
34764 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34765 PyObject
*resultobj
= 0;
34766 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34767 wxWindow
*arg2
= (wxWindow
*) 0 ;
34773 PyObject
* obj0
= 0 ;
34774 PyObject
* obj1
= 0 ;
34775 char * kwnames
[] = {
34776 (char *) "self",(char *) "win", NULL
34779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34781 if (!SWIG_IsOK(res1
)) {
34782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34784 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34785 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34786 if (!SWIG_IsOK(res2
)) {
34787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34789 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34792 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34793 wxPyEndAllowThreads(__tstate
);
34794 if (PyErr_Occurred()) SWIG_fail
;
34796 resultobj
= SWIG_From_int(static_cast< int >(result
));
34803 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34804 PyObject
*resultobj
= 0;
34805 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34806 wxWindow
*arg2
= (wxWindow
*) 0 ;
34809 int arg5
= (int) 0 ;
34819 PyObject
* obj0
= 0 ;
34820 PyObject
* obj1
= 0 ;
34821 PyObject
* obj2
= 0 ;
34822 PyObject
* obj3
= 0 ;
34823 PyObject
* obj4
= 0 ;
34824 char * kwnames
[] = {
34825 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34830 if (!SWIG_IsOK(res1
)) {
34831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34833 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34834 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34835 if (!SWIG_IsOK(res2
)) {
34836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34838 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34839 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34840 if (!SWIG_IsOK(res3
)) {
34841 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34846 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34849 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34852 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34853 if (!SWIG_IsOK(ecode5
)) {
34854 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34856 arg5
= static_cast< int >(val5
);
34859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34860 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34861 wxPyEndAllowThreads(__tstate
);
34862 if (PyErr_Occurred()) SWIG_fail
;
34864 resultobj
= SWIG_Py_Void();
34871 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34872 PyObject
*resultobj
= 0;
34873 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34874 wxWindow
*arg2
= (wxWindow
*) 0 ;
34877 int arg5
= (int) 0 ;
34887 PyObject
* obj0
= 0 ;
34888 PyObject
* obj1
= 0 ;
34889 PyObject
* obj2
= 0 ;
34890 PyObject
* obj3
= 0 ;
34891 PyObject
* obj4
= 0 ;
34892 char * kwnames
[] = {
34893 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34898 if (!SWIG_IsOK(res1
)) {
34899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34901 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34902 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34903 if (!SWIG_IsOK(res2
)) {
34904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34906 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34907 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34908 if (!SWIG_IsOK(res3
)) {
34909 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34914 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34917 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34920 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34921 if (!SWIG_IsOK(ecode5
)) {
34922 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34924 arg5
= static_cast< int >(val5
);
34927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34928 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34929 wxPyEndAllowThreads(__tstate
);
34930 if (PyErr_Occurred()) SWIG_fail
;
34932 resultobj
= SWIG_Py_Void();
34939 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34940 PyObject
*resultobj
= 0;
34941 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34942 wxWindow
*arg2
= (wxWindow
*) 0 ;
34946 wxOrientation arg6
;
34947 int arg7
= (int) 0 ;
34961 PyObject
* obj0
= 0 ;
34962 PyObject
* obj1
= 0 ;
34963 PyObject
* obj2
= 0 ;
34964 PyObject
* obj3
= 0 ;
34965 PyObject
* obj4
= 0 ;
34966 PyObject
* obj5
= 0 ;
34967 PyObject
* obj6
= 0 ;
34968 char * kwnames
[] = {
34969 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34974 if (!SWIG_IsOK(res1
)) {
34975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34977 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34978 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34979 if (!SWIG_IsOK(res2
)) {
34980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34982 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34983 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34984 if (!SWIG_IsOK(res3
)) {
34985 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34990 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34993 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34995 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34996 if (!SWIG_IsOK(ecode5
)) {
34997 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34999 arg5
= static_cast< int >(val5
);
35000 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35001 if (!SWIG_IsOK(ecode6
)) {
35002 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
35004 arg6
= static_cast< wxOrientation
>(val6
);
35006 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35007 if (!SWIG_IsOK(ecode7
)) {
35008 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
35010 arg7
= static_cast< int >(val7
);
35013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35014 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
35015 wxPyEndAllowThreads(__tstate
);
35016 if (PyErr_Occurred()) SWIG_fail
;
35018 resultobj
= SWIG_Py_Void();
35025 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35026 PyObject
*resultobj
= 0;
35027 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35028 wxWindow
*arg2
= (wxWindow
*) 0 ;
35031 int arg5
= (int) 0 ;
35041 PyObject
* obj0
= 0 ;
35042 PyObject
* obj1
= 0 ;
35043 PyObject
* obj2
= 0 ;
35044 PyObject
* obj3
= 0 ;
35045 PyObject
* obj4
= 0 ;
35046 char * kwnames
[] = {
35047 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35052 if (!SWIG_IsOK(res1
)) {
35053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35055 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35056 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35057 if (!SWIG_IsOK(res2
)) {
35058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35060 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35061 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35062 if (!SWIG_IsOK(res3
)) {
35063 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35068 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35071 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35074 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35075 if (!SWIG_IsOK(ecode5
)) {
35076 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
35078 arg5
= static_cast< int >(val5
);
35081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35082 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35083 wxPyEndAllowThreads(__tstate
);
35084 if (PyErr_Occurred()) SWIG_fail
;
35086 resultobj
= SWIG_Py_Void();
35093 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35094 PyObject
*resultobj
= 0;
35095 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35096 wxWindow
*arg2
= (wxWindow
*) 0 ;
35099 int arg5
= (int) 0 ;
35109 PyObject
* obj0
= 0 ;
35110 PyObject
* obj1
= 0 ;
35111 PyObject
* obj2
= 0 ;
35112 PyObject
* obj3
= 0 ;
35113 PyObject
* obj4
= 0 ;
35114 char * kwnames
[] = {
35115 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35120 if (!SWIG_IsOK(res1
)) {
35121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35123 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35124 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35125 if (!SWIG_IsOK(res2
)) {
35126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35128 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35129 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35130 if (!SWIG_IsOK(res3
)) {
35131 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35136 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35139 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35142 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35143 if (!SWIG_IsOK(ecode5
)) {
35144 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35146 arg5
= static_cast< int >(val5
);
35149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35150 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35151 wxPyEndAllowThreads(__tstate
);
35152 if (PyErr_Occurred()) SWIG_fail
;
35154 resultobj
= SWIG_Py_Void();
35161 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35162 PyObject
*resultobj
= 0;
35163 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35164 wxWindow
*arg2
= (wxWindow
*) 0 ;
35167 int arg5
= (int) 0 ;
35177 PyObject
* obj0
= 0 ;
35178 PyObject
* obj1
= 0 ;
35179 PyObject
* obj2
= 0 ;
35180 PyObject
* obj3
= 0 ;
35181 PyObject
* obj4
= 0 ;
35182 char * kwnames
[] = {
35183 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35188 if (!SWIG_IsOK(res1
)) {
35189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35191 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35193 if (!SWIG_IsOK(res2
)) {
35194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35196 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35197 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35198 if (!SWIG_IsOK(res3
)) {
35199 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35204 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35207 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35210 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35211 if (!SWIG_IsOK(ecode5
)) {
35212 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35214 arg5
= static_cast< int >(val5
);
35217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35218 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35219 wxPyEndAllowThreads(__tstate
);
35220 if (PyErr_Occurred()) SWIG_fail
;
35222 resultobj
= SWIG_Py_Void();
35229 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35230 PyObject
*resultobj
= 0;
35231 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35232 wxWindow
*arg2
= (wxWindow
*) 0 ;
35235 int arg5
= (int) 0 ;
35245 PyObject
* obj0
= 0 ;
35246 PyObject
* obj1
= 0 ;
35247 PyObject
* obj2
= 0 ;
35248 PyObject
* obj3
= 0 ;
35249 PyObject
* obj4
= 0 ;
35250 char * kwnames
[] = {
35251 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35256 if (!SWIG_IsOK(res1
)) {
35257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35259 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35260 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35261 if (!SWIG_IsOK(res2
)) {
35262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35264 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35265 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35266 if (!SWIG_IsOK(res3
)) {
35267 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35272 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35275 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35278 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35279 if (!SWIG_IsOK(ecode5
)) {
35280 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35282 arg5
= static_cast< int >(val5
);
35285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35286 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35287 wxPyEndAllowThreads(__tstate
);
35288 if (PyErr_Occurred()) SWIG_fail
;
35290 resultobj
= SWIG_Py_Void();
35297 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35298 PyObject
*resultobj
= 0;
35299 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35300 wxWindow
*arg2
= (wxWindow
*) 0 ;
35303 int arg5
= (int) 0 ;
35313 PyObject
* obj0
= 0 ;
35314 PyObject
* obj1
= 0 ;
35315 PyObject
* obj2
= 0 ;
35316 PyObject
* obj3
= 0 ;
35317 PyObject
* obj4
= 0 ;
35318 char * kwnames
[] = {
35319 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35324 if (!SWIG_IsOK(res1
)) {
35325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35327 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35328 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35329 if (!SWIG_IsOK(res2
)) {
35330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35332 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35333 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35334 if (!SWIG_IsOK(res3
)) {
35335 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35340 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35343 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35346 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35347 if (!SWIG_IsOK(ecode5
)) {
35348 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35350 arg5
= static_cast< int >(val5
);
35353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35354 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35355 wxPyEndAllowThreads(__tstate
);
35356 if (PyErr_Occurred()) SWIG_fail
;
35358 resultobj
= SWIG_Py_Void();
35365 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35366 PyObject
*resultobj
= 0;
35367 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35368 wxWindow
*arg2
= (wxWindow
*) 0 ;
35369 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35374 PyObject
* obj0
= 0 ;
35375 PyObject
* obj1
= 0 ;
35376 char * kwnames
[] = {
35377 (char *) "self",(char *) "win", NULL
35380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35382 if (!SWIG_IsOK(res1
)) {
35383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35385 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35386 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35387 if (!SWIG_IsOK(res2
)) {
35388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35390 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35393 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35394 wxPyEndAllowThreads(__tstate
);
35395 if (PyErr_Occurred()) SWIG_fail
;
35397 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35404 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35405 PyObject
*resultobj
= 0;
35406 wxRendererNative
*result
= 0 ;
35408 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35410 if (!wxPyCheckForApp()) SWIG_fail
;
35411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35413 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35414 result
= (wxRendererNative
*) &_result_ref
;
35416 wxPyEndAllowThreads(__tstate
);
35417 if (PyErr_Occurred()) SWIG_fail
;
35419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35426 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35427 PyObject
*resultobj
= 0;
35428 wxRendererNative
*result
= 0 ;
35430 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35432 if (!wxPyCheckForApp()) SWIG_fail
;
35433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35435 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35436 result
= (wxRendererNative
*) &_result_ref
;
35438 wxPyEndAllowThreads(__tstate
);
35439 if (PyErr_Occurred()) SWIG_fail
;
35441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35448 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35449 PyObject
*resultobj
= 0;
35450 wxRendererNative
*result
= 0 ;
35452 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35454 if (!wxPyCheckForApp()) SWIG_fail
;
35455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35457 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35458 result
= (wxRendererNative
*) &_result_ref
;
35460 wxPyEndAllowThreads(__tstate
);
35461 if (PyErr_Occurred()) SWIG_fail
;
35463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35470 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35471 PyObject
*resultobj
= 0;
35472 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35473 wxRendererNative
*result
= 0 ;
35476 PyObject
* obj0
= 0 ;
35477 char * kwnames
[] = {
35478 (char *) "renderer", NULL
35481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35483 if (!SWIG_IsOK(res1
)) {
35484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35486 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35488 if (!wxPyCheckForApp()) SWIG_fail
;
35489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35490 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35491 wxPyEndAllowThreads(__tstate
);
35492 if (PyErr_Occurred()) SWIG_fail
;
35494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35501 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35502 PyObject
*resultobj
= 0;
35503 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35504 SwigValueWrapper
<wxRendererVersion
> result
;
35507 PyObject
*swig_obj
[1] ;
35509 if (!args
) SWIG_fail
;
35510 swig_obj
[0] = args
;
35511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35512 if (!SWIG_IsOK(res1
)) {
35513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35515 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35518 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35519 wxPyEndAllowThreads(__tstate
);
35520 if (PyErr_Occurred()) SWIG_fail
;
35522 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35529 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35531 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35532 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35533 return SWIG_Py_Void();
35536 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35537 PyObject
*resultobj
= 0;
35538 wxPseudoDC
*result
= 0 ;
35540 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35543 result
= (wxPseudoDC
*)new wxPseudoDC();
35544 wxPyEndAllowThreads(__tstate
);
35545 if (PyErr_Occurred()) SWIG_fail
;
35547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35554 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35555 PyObject
*resultobj
= 0;
35556 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35559 PyObject
*swig_obj
[1] ;
35561 if (!args
) SWIG_fail
;
35562 swig_obj
[0] = args
;
35563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35564 if (!SWIG_IsOK(res1
)) {
35565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35567 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35570 (arg1
)->BeginDrawing();
35571 wxPyEndAllowThreads(__tstate
);
35572 if (PyErr_Occurred()) SWIG_fail
;
35574 resultobj
= SWIG_Py_Void();
35581 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35582 PyObject
*resultobj
= 0;
35583 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35586 PyObject
*swig_obj
[1] ;
35588 if (!args
) SWIG_fail
;
35589 swig_obj
[0] = args
;
35590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35591 if (!SWIG_IsOK(res1
)) {
35592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35594 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35597 (arg1
)->EndDrawing();
35598 wxPyEndAllowThreads(__tstate
);
35599 if (PyErr_Occurred()) SWIG_fail
;
35601 resultobj
= SWIG_Py_Void();
35608 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35609 PyObject
*resultobj
= 0;
35610 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35613 PyObject
*swig_obj
[1] ;
35615 if (!args
) SWIG_fail
;
35616 swig_obj
[0] = args
;
35617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35618 if (!SWIG_IsOK(res1
)) {
35619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35621 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35626 wxPyEndAllowThreads(__tstate
);
35627 if (PyErr_Occurred()) SWIG_fail
;
35629 resultobj
= SWIG_Py_Void();
35636 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35637 PyObject
*resultobj
= 0;
35638 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35641 PyObject
*swig_obj
[1] ;
35643 if (!args
) SWIG_fail
;
35644 swig_obj
[0] = args
;
35645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35646 if (!SWIG_IsOK(res1
)) {
35647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35649 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35652 (arg1
)->RemoveAll();
35653 wxPyEndAllowThreads(__tstate
);
35654 if (PyErr_Occurred()) SWIG_fail
;
35656 resultobj
= SWIG_Py_Void();
35663 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35664 PyObject
*resultobj
= 0;
35665 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35669 PyObject
*swig_obj
[1] ;
35671 if (!args
) SWIG_fail
;
35672 swig_obj
[0] = args
;
35673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35674 if (!SWIG_IsOK(res1
)) {
35675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35677 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35680 result
= (int)(arg1
)->GetLen();
35681 wxPyEndAllowThreads(__tstate
);
35682 if (PyErr_Occurred()) SWIG_fail
;
35684 resultobj
= SWIG_From_int(static_cast< int >(result
));
35691 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35692 PyObject
*resultobj
= 0;
35693 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35699 PyObject
* obj0
= 0 ;
35700 PyObject
* obj1
= 0 ;
35701 char * kwnames
[] = {
35702 (char *) "self",(char *) "id", NULL
35705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35707 if (!SWIG_IsOK(res1
)) {
35708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35710 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35712 if (!SWIG_IsOK(ecode2
)) {
35713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35715 arg2
= static_cast< int >(val2
);
35717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35718 (arg1
)->SetId(arg2
);
35719 wxPyEndAllowThreads(__tstate
);
35720 if (PyErr_Occurred()) SWIG_fail
;
35722 resultobj
= SWIG_Py_Void();
35729 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35730 PyObject
*resultobj
= 0;
35731 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35737 PyObject
* obj0
= 0 ;
35738 PyObject
* obj1
= 0 ;
35739 char * kwnames
[] = {
35740 (char *) "self",(char *) "id", NULL
35743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35745 if (!SWIG_IsOK(res1
)) {
35746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35748 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35750 if (!SWIG_IsOK(ecode2
)) {
35751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35753 arg2
= static_cast< int >(val2
);
35755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35756 (arg1
)->ClearId(arg2
);
35757 wxPyEndAllowThreads(__tstate
);
35758 if (PyErr_Occurred()) SWIG_fail
;
35760 resultobj
= SWIG_Py_Void();
35767 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35768 PyObject
*resultobj
= 0;
35769 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35775 PyObject
* obj0
= 0 ;
35776 PyObject
* obj1
= 0 ;
35777 char * kwnames
[] = {
35778 (char *) "self",(char *) "id", NULL
35781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35783 if (!SWIG_IsOK(res1
)) {
35784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35786 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35788 if (!SWIG_IsOK(ecode2
)) {
35789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35791 arg2
= static_cast< int >(val2
);
35793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35794 (arg1
)->RemoveId(arg2
);
35795 wxPyEndAllowThreads(__tstate
);
35796 if (PyErr_Occurred()) SWIG_fail
;
35798 resultobj
= SWIG_Py_Void();
35805 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35806 PyObject
*resultobj
= 0;
35807 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35819 PyObject
* obj0
= 0 ;
35820 PyObject
* obj1
= 0 ;
35821 PyObject
* obj2
= 0 ;
35822 PyObject
* obj3
= 0 ;
35823 char * kwnames
[] = {
35824 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35829 if (!SWIG_IsOK(res1
)) {
35830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35832 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35834 if (!SWIG_IsOK(ecode2
)) {
35835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35837 arg2
= static_cast< int >(val2
);
35838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35839 if (!SWIG_IsOK(ecode3
)) {
35840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35842 arg3
= static_cast< int >(val3
);
35843 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35844 if (!SWIG_IsOK(ecode4
)) {
35845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35847 arg4
= static_cast< int >(val4
);
35849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35850 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35851 wxPyEndAllowThreads(__tstate
);
35852 if (PyErr_Occurred()) SWIG_fail
;
35854 resultobj
= SWIG_Py_Void();
35861 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35862 PyObject
*resultobj
= 0;
35863 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35865 bool arg3
= (bool) true ;
35872 PyObject
* obj0
= 0 ;
35873 PyObject
* obj1
= 0 ;
35874 PyObject
* obj2
= 0 ;
35875 char * kwnames
[] = {
35876 (char *) "self",(char *) "id",(char *) "greyout", NULL
35879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35881 if (!SWIG_IsOK(res1
)) {
35882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35884 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35886 if (!SWIG_IsOK(ecode2
)) {
35887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35889 arg2
= static_cast< int >(val2
);
35891 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35892 if (!SWIG_IsOK(ecode3
)) {
35893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35895 arg3
= static_cast< bool >(val3
);
35898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35899 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35900 wxPyEndAllowThreads(__tstate
);
35901 if (PyErr_Occurred()) SWIG_fail
;
35903 resultobj
= SWIG_Py_Void();
35910 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35911 PyObject
*resultobj
= 0;
35912 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35919 PyObject
* obj0
= 0 ;
35920 PyObject
* obj1
= 0 ;
35921 char * kwnames
[] = {
35922 (char *) "self",(char *) "id", NULL
35925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35927 if (!SWIG_IsOK(res1
)) {
35928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35930 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35932 if (!SWIG_IsOK(ecode2
)) {
35933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35935 arg2
= static_cast< int >(val2
);
35937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35938 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35939 wxPyEndAllowThreads(__tstate
);
35940 if (PyErr_Occurred()) SWIG_fail
;
35943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35951 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35952 PyObject
*resultobj
= 0;
35953 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35956 int arg4
= (int) 1 ;
35957 wxColour
const &arg5_defvalue
= *wxWHITE
;
35958 wxColour
*arg5
= (wxColour
*) &arg5_defvalue
;
35959 PyObject
*result
= 0 ;
35969 PyObject
* obj0
= 0 ;
35970 PyObject
* obj1
= 0 ;
35971 PyObject
* obj2
= 0 ;
35972 PyObject
* obj3
= 0 ;
35973 PyObject
* obj4
= 0 ;
35974 char * kwnames
[] = {
35975 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35980 if (!SWIG_IsOK(res1
)) {
35981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35983 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35985 if (!SWIG_IsOK(ecode2
)) {
35986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35988 arg2
= static_cast< int >(val2
);
35989 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35990 if (!SWIG_IsOK(ecode3
)) {
35991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35993 arg3
= static_cast< int >(val3
);
35995 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35996 if (!SWIG_IsOK(ecode4
)) {
35997 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35999 arg4
= static_cast< int >(val4
);
36004 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
36008 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColour
const &)*arg5
);
36009 if (PyErr_Occurred()) SWIG_fail
;
36011 resultobj
= result
;
36018 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36019 PyObject
*resultobj
= 0;
36020 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36023 PyObject
*result
= 0 ;
36030 PyObject
* obj0
= 0 ;
36031 PyObject
* obj1
= 0 ;
36032 PyObject
* obj2
= 0 ;
36033 char * kwnames
[] = {
36034 (char *) "self",(char *) "x",(char *) "y", NULL
36037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36039 if (!SWIG_IsOK(res1
)) {
36040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36042 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36044 if (!SWIG_IsOK(ecode2
)) {
36045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
36047 arg2
= static_cast< int >(val2
);
36048 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36049 if (!SWIG_IsOK(ecode3
)) {
36050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
36052 arg3
= static_cast< int >(val3
);
36054 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
36055 if (PyErr_Occurred()) SWIG_fail
;
36057 resultobj
= result
;
36064 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36065 PyObject
*resultobj
= 0;
36066 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36068 wxDC
*arg3
= (wxDC
*) 0 ;
36075 PyObject
* obj0
= 0 ;
36076 PyObject
* obj1
= 0 ;
36077 PyObject
* obj2
= 0 ;
36078 char * kwnames
[] = {
36079 (char *) "self",(char *) "id",(char *) "dc", NULL
36082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36084 if (!SWIG_IsOK(res1
)) {
36085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36087 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36089 if (!SWIG_IsOK(ecode2
)) {
36090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
36092 arg2
= static_cast< int >(val2
);
36093 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36094 if (!SWIG_IsOK(res3
)) {
36095 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36097 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36100 (arg1
)->DrawIdToDC(arg2
,arg3
);
36101 wxPyEndAllowThreads(__tstate
);
36102 if (PyErr_Occurred()) SWIG_fail
;
36104 resultobj
= SWIG_Py_Void();
36111 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36112 PyObject
*resultobj
= 0;
36113 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36121 PyObject
* obj0
= 0 ;
36122 PyObject
* obj1
= 0 ;
36123 PyObject
* obj2
= 0 ;
36124 char * kwnames
[] = {
36125 (char *) "self",(char *) "id",(char *) "rect", NULL
36128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36130 if (!SWIG_IsOK(res1
)) {
36131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36133 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36135 if (!SWIG_IsOK(ecode2
)) {
36136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36138 arg2
= static_cast< int >(val2
);
36141 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36145 (arg1
)->SetIdBounds(arg2
,*arg3
);
36146 wxPyEndAllowThreads(__tstate
);
36147 if (PyErr_Occurred()) SWIG_fail
;
36149 resultobj
= SWIG_Py_Void();
36156 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36157 PyObject
*resultobj
= 0;
36158 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36165 PyObject
* obj0
= 0 ;
36166 PyObject
* obj1
= 0 ;
36167 char * kwnames
[] = {
36168 (char *) "self",(char *) "id", NULL
36171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36173 if (!SWIG_IsOK(res1
)) {
36174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36176 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36178 if (!SWIG_IsOK(ecode2
)) {
36179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36181 arg2
= static_cast< int >(val2
);
36183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36184 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36185 wxPyEndAllowThreads(__tstate
);
36186 if (PyErr_Occurred()) SWIG_fail
;
36188 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36195 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36196 PyObject
*resultobj
= 0;
36197 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36198 wxDC
*arg2
= (wxDC
*) 0 ;
36205 PyObject
* obj0
= 0 ;
36206 PyObject
* obj1
= 0 ;
36207 PyObject
* obj2
= 0 ;
36208 char * kwnames
[] = {
36209 (char *) "self",(char *) "dc",(char *) "rect", NULL
36212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36214 if (!SWIG_IsOK(res1
)) {
36215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36217 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36218 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36219 if (!SWIG_IsOK(res2
)) {
36220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36222 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36225 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36229 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36230 wxPyEndAllowThreads(__tstate
);
36231 if (PyErr_Occurred()) SWIG_fail
;
36233 resultobj
= SWIG_Py_Void();
36240 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36241 PyObject
*resultobj
= 0;
36242 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36243 wxDC
*arg2
= (wxDC
*) 0 ;
36244 wxRegion
*arg3
= 0 ;
36251 PyObject
* obj0
= 0 ;
36252 PyObject
* obj1
= 0 ;
36253 PyObject
* obj2
= 0 ;
36254 char * kwnames
[] = {
36255 (char *) "self",(char *) "dc",(char *) "region", NULL
36258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36260 if (!SWIG_IsOK(res1
)) {
36261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36263 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36264 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36265 if (!SWIG_IsOK(res2
)) {
36266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36268 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36269 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36270 if (!SWIG_IsOK(res3
)) {
36271 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36276 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36279 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36280 wxPyEndAllowThreads(__tstate
);
36281 if (PyErr_Occurred()) SWIG_fail
;
36283 resultobj
= SWIG_Py_Void();
36290 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36291 PyObject
*resultobj
= 0;
36292 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36293 wxDC
*arg2
= (wxDC
*) 0 ;
36298 PyObject
* obj0
= 0 ;
36299 PyObject
* obj1
= 0 ;
36300 char * kwnames
[] = {
36301 (char *) "self",(char *) "dc", NULL
36304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36306 if (!SWIG_IsOK(res1
)) {
36307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36309 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36310 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36311 if (!SWIG_IsOK(res2
)) {
36312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36314 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36317 (arg1
)->DrawToDC(arg2
);
36318 wxPyEndAllowThreads(__tstate
);
36319 if (PyErr_Occurred()) SWIG_fail
;
36321 resultobj
= SWIG_Py_Void();
36328 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36329 PyObject
*resultobj
= 0;
36330 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36333 wxColour
*arg4
= 0 ;
36334 int arg5
= (int) wxFLOOD_SURFACE
;
36344 PyObject
* obj0
= 0 ;
36345 PyObject
* obj1
= 0 ;
36346 PyObject
* obj2
= 0 ;
36347 PyObject
* obj3
= 0 ;
36348 PyObject
* obj4
= 0 ;
36349 char * kwnames
[] = {
36350 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36355 if (!SWIG_IsOK(res1
)) {
36356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36358 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36360 if (!SWIG_IsOK(ecode2
)) {
36361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36363 arg2
= static_cast< int >(val2
);
36364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36365 if (!SWIG_IsOK(ecode3
)) {
36366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36368 arg3
= static_cast< int >(val3
);
36371 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36374 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36375 if (!SWIG_IsOK(ecode5
)) {
36376 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36378 arg5
= static_cast< int >(val5
);
36381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36382 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36383 wxPyEndAllowThreads(__tstate
);
36384 if (PyErr_Occurred()) SWIG_fail
;
36386 resultobj
= SWIG_Py_Void();
36393 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36394 PyObject
*resultobj
= 0;
36395 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36396 wxPoint
*arg2
= 0 ;
36397 wxColour
*arg3
= 0 ;
36398 int arg4
= (int) wxFLOOD_SURFACE
;
36405 PyObject
* obj0
= 0 ;
36406 PyObject
* obj1
= 0 ;
36407 PyObject
* obj2
= 0 ;
36408 PyObject
* obj3
= 0 ;
36409 char * kwnames
[] = {
36410 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36415 if (!SWIG_IsOK(res1
)) {
36416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36418 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36421 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36425 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36428 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36429 if (!SWIG_IsOK(ecode4
)) {
36430 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36432 arg4
= static_cast< int >(val4
);
36435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36436 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36437 wxPyEndAllowThreads(__tstate
);
36438 if (PyErr_Occurred()) SWIG_fail
;
36440 resultobj
= SWIG_Py_Void();
36447 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36448 PyObject
*resultobj
= 0;
36449 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36464 PyObject
* obj0
= 0 ;
36465 PyObject
* obj1
= 0 ;
36466 PyObject
* obj2
= 0 ;
36467 PyObject
* obj3
= 0 ;
36468 PyObject
* obj4
= 0 ;
36469 char * kwnames
[] = {
36470 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36475 if (!SWIG_IsOK(res1
)) {
36476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36478 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36480 if (!SWIG_IsOK(ecode2
)) {
36481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36483 arg2
= static_cast< int >(val2
);
36484 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36485 if (!SWIG_IsOK(ecode3
)) {
36486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36488 arg3
= static_cast< int >(val3
);
36489 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36490 if (!SWIG_IsOK(ecode4
)) {
36491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36493 arg4
= static_cast< int >(val4
);
36494 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36495 if (!SWIG_IsOK(ecode5
)) {
36496 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36498 arg5
= static_cast< int >(val5
);
36500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36501 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36502 wxPyEndAllowThreads(__tstate
);
36503 if (PyErr_Occurred()) SWIG_fail
;
36505 resultobj
= SWIG_Py_Void();
36512 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36513 PyObject
*resultobj
= 0;
36514 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36515 wxPoint
*arg2
= 0 ;
36516 wxPoint
*arg3
= 0 ;
36521 PyObject
* obj0
= 0 ;
36522 PyObject
* obj1
= 0 ;
36523 PyObject
* obj2
= 0 ;
36524 char * kwnames
[] = {
36525 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36530 if (!SWIG_IsOK(res1
)) {
36531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36533 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36536 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36540 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36544 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36545 wxPyEndAllowThreads(__tstate
);
36546 if (PyErr_Occurred()) SWIG_fail
;
36548 resultobj
= SWIG_Py_Void();
36555 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36556 PyObject
*resultobj
= 0;
36557 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36566 PyObject
* obj0
= 0 ;
36567 PyObject
* obj1
= 0 ;
36568 PyObject
* obj2
= 0 ;
36569 char * kwnames
[] = {
36570 (char *) "self",(char *) "x",(char *) "y", NULL
36573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36575 if (!SWIG_IsOK(res1
)) {
36576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36578 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36579 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36580 if (!SWIG_IsOK(ecode2
)) {
36581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36583 arg2
= static_cast< int >(val2
);
36584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36585 if (!SWIG_IsOK(ecode3
)) {
36586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36588 arg3
= static_cast< int >(val3
);
36590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36591 (arg1
)->CrossHair(arg2
,arg3
);
36592 wxPyEndAllowThreads(__tstate
);
36593 if (PyErr_Occurred()) SWIG_fail
;
36595 resultobj
= SWIG_Py_Void();
36602 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36603 PyObject
*resultobj
= 0;
36604 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36605 wxPoint
*arg2
= 0 ;
36609 PyObject
* obj0
= 0 ;
36610 PyObject
* obj1
= 0 ;
36611 char * kwnames
[] = {
36612 (char *) "self",(char *) "pt", NULL
36615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36617 if (!SWIG_IsOK(res1
)) {
36618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36620 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36623 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36627 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36628 wxPyEndAllowThreads(__tstate
);
36629 if (PyErr_Occurred()) SWIG_fail
;
36631 resultobj
= SWIG_Py_Void();
36638 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36639 PyObject
*resultobj
= 0;
36640 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36661 PyObject
* obj0
= 0 ;
36662 PyObject
* obj1
= 0 ;
36663 PyObject
* obj2
= 0 ;
36664 PyObject
* obj3
= 0 ;
36665 PyObject
* obj4
= 0 ;
36666 PyObject
* obj5
= 0 ;
36667 PyObject
* obj6
= 0 ;
36668 char * kwnames
[] = {
36669 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36674 if (!SWIG_IsOK(res1
)) {
36675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36677 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36679 if (!SWIG_IsOK(ecode2
)) {
36680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36682 arg2
= static_cast< int >(val2
);
36683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36684 if (!SWIG_IsOK(ecode3
)) {
36685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36687 arg3
= static_cast< int >(val3
);
36688 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36689 if (!SWIG_IsOK(ecode4
)) {
36690 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36692 arg4
= static_cast< int >(val4
);
36693 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36694 if (!SWIG_IsOK(ecode5
)) {
36695 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36697 arg5
= static_cast< int >(val5
);
36698 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36699 if (!SWIG_IsOK(ecode6
)) {
36700 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36702 arg6
= static_cast< int >(val6
);
36703 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36704 if (!SWIG_IsOK(ecode7
)) {
36705 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36707 arg7
= static_cast< int >(val7
);
36709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36710 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36711 wxPyEndAllowThreads(__tstate
);
36712 if (PyErr_Occurred()) SWIG_fail
;
36714 resultobj
= SWIG_Py_Void();
36721 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36722 PyObject
*resultobj
= 0;
36723 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36724 wxPoint
*arg2
= 0 ;
36725 wxPoint
*arg3
= 0 ;
36726 wxPoint
*arg4
= 0 ;
36732 PyObject
* obj0
= 0 ;
36733 PyObject
* obj1
= 0 ;
36734 PyObject
* obj2
= 0 ;
36735 PyObject
* obj3
= 0 ;
36736 char * kwnames
[] = {
36737 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36742 if (!SWIG_IsOK(res1
)) {
36743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36745 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36748 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36752 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36756 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36760 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36761 wxPyEndAllowThreads(__tstate
);
36762 if (PyErr_Occurred()) SWIG_fail
;
36764 resultobj
= SWIG_Py_Void();
36771 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36772 PyObject
*resultobj
= 0;
36773 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36788 PyObject
* obj0
= 0 ;
36789 PyObject
* obj1
= 0 ;
36790 PyObject
* obj2
= 0 ;
36791 PyObject
* obj3
= 0 ;
36792 PyObject
* obj4
= 0 ;
36793 char * kwnames
[] = {
36794 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36799 if (!SWIG_IsOK(res1
)) {
36800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36802 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36804 if (!SWIG_IsOK(ecode2
)) {
36805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36807 arg2
= static_cast< int >(val2
);
36808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36809 if (!SWIG_IsOK(ecode3
)) {
36810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36812 arg3
= static_cast< int >(val3
);
36813 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36814 if (!SWIG_IsOK(ecode4
)) {
36815 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36817 arg4
= static_cast< int >(val4
);
36818 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36819 if (!SWIG_IsOK(ecode5
)) {
36820 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36822 arg5
= static_cast< int >(val5
);
36824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36825 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36826 wxPyEndAllowThreads(__tstate
);
36827 if (PyErr_Occurred()) SWIG_fail
;
36829 resultobj
= SWIG_Py_Void();
36836 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36837 PyObject
*resultobj
= 0;
36838 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36843 PyObject
* obj0
= 0 ;
36844 PyObject
* obj1
= 0 ;
36845 char * kwnames
[] = {
36846 (char *) "self",(char *) "rect", NULL
36849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36851 if (!SWIG_IsOK(res1
)) {
36852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36854 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36857 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36861 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36862 wxPyEndAllowThreads(__tstate
);
36863 if (PyErr_Occurred()) SWIG_fail
;
36865 resultobj
= SWIG_Py_Void();
36872 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36873 PyObject
*resultobj
= 0;
36874 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36895 PyObject
* obj0
= 0 ;
36896 PyObject
* obj1
= 0 ;
36897 PyObject
* obj2
= 0 ;
36898 PyObject
* obj3
= 0 ;
36899 PyObject
* obj4
= 0 ;
36900 PyObject
* obj5
= 0 ;
36901 PyObject
* obj6
= 0 ;
36902 char * kwnames
[] = {
36903 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36908 if (!SWIG_IsOK(res1
)) {
36909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36911 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36913 if (!SWIG_IsOK(ecode2
)) {
36914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36916 arg2
= static_cast< int >(val2
);
36917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36918 if (!SWIG_IsOK(ecode3
)) {
36919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36921 arg3
= static_cast< int >(val3
);
36922 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36923 if (!SWIG_IsOK(ecode4
)) {
36924 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36926 arg4
= static_cast< int >(val4
);
36927 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36928 if (!SWIG_IsOK(ecode5
)) {
36929 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36931 arg5
= static_cast< int >(val5
);
36932 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36933 if (!SWIG_IsOK(ecode6
)) {
36934 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36936 arg6
= static_cast< double >(val6
);
36937 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36938 if (!SWIG_IsOK(ecode7
)) {
36939 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36941 arg7
= static_cast< double >(val7
);
36943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36944 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36945 wxPyEndAllowThreads(__tstate
);
36946 if (PyErr_Occurred()) SWIG_fail
;
36948 resultobj
= SWIG_Py_Void();
36955 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36956 PyObject
*resultobj
= 0;
36957 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36958 wxPoint
*arg2
= 0 ;
36970 PyObject
* obj0
= 0 ;
36971 PyObject
* obj1
= 0 ;
36972 PyObject
* obj2
= 0 ;
36973 PyObject
* obj3
= 0 ;
36974 PyObject
* obj4
= 0 ;
36975 char * kwnames
[] = {
36976 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36981 if (!SWIG_IsOK(res1
)) {
36982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36984 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36987 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36991 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36993 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36994 if (!SWIG_IsOK(ecode4
)) {
36995 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36997 arg4
= static_cast< double >(val4
);
36998 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36999 if (!SWIG_IsOK(ecode5
)) {
37000 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
37002 arg5
= static_cast< double >(val5
);
37004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37005 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
37006 wxPyEndAllowThreads(__tstate
);
37007 if (PyErr_Occurred()) SWIG_fail
;
37009 resultobj
= SWIG_Py_Void();
37016 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37017 PyObject
*resultobj
= 0;
37018 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37027 PyObject
* obj0
= 0 ;
37028 PyObject
* obj1
= 0 ;
37029 PyObject
* obj2
= 0 ;
37030 char * kwnames
[] = {
37031 (char *) "self",(char *) "x",(char *) "y", NULL
37034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",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_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37039 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37041 if (!SWIG_IsOK(ecode2
)) {
37042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
37044 arg2
= static_cast< int >(val2
);
37045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37046 if (!SWIG_IsOK(ecode3
)) {
37047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
37049 arg3
= static_cast< int >(val3
);
37051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37052 (arg1
)->DrawPoint(arg2
,arg3
);
37053 wxPyEndAllowThreads(__tstate
);
37054 if (PyErr_Occurred()) SWIG_fail
;
37056 resultobj
= SWIG_Py_Void();
37063 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37064 PyObject
*resultobj
= 0;
37065 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37066 wxPoint
*arg2
= 0 ;
37070 PyObject
* obj0
= 0 ;
37071 PyObject
* obj1
= 0 ;
37072 char * kwnames
[] = {
37073 (char *) "self",(char *) "pt", NULL
37076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37078 if (!SWIG_IsOK(res1
)) {
37079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37081 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37084 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37088 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
37089 wxPyEndAllowThreads(__tstate
);
37090 if (PyErr_Occurred()) SWIG_fail
;
37092 resultobj
= SWIG_Py_Void();
37099 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37100 PyObject
*resultobj
= 0;
37101 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37116 PyObject
* obj0
= 0 ;
37117 PyObject
* obj1
= 0 ;
37118 PyObject
* obj2
= 0 ;
37119 PyObject
* obj3
= 0 ;
37120 PyObject
* obj4
= 0 ;
37121 char * kwnames
[] = {
37122 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37127 if (!SWIG_IsOK(res1
)) {
37128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37130 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37132 if (!SWIG_IsOK(ecode2
)) {
37133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37135 arg2
= static_cast< int >(val2
);
37136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37137 if (!SWIG_IsOK(ecode3
)) {
37138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
37140 arg3
= static_cast< int >(val3
);
37141 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37142 if (!SWIG_IsOK(ecode4
)) {
37143 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37145 arg4
= static_cast< int >(val4
);
37146 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37147 if (!SWIG_IsOK(ecode5
)) {
37148 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37150 arg5
= static_cast< int >(val5
);
37152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37153 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37154 wxPyEndAllowThreads(__tstate
);
37155 if (PyErr_Occurred()) SWIG_fail
;
37157 resultobj
= SWIG_Py_Void();
37164 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37165 PyObject
*resultobj
= 0;
37166 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37171 PyObject
* obj0
= 0 ;
37172 PyObject
* obj1
= 0 ;
37173 char * kwnames
[] = {
37174 (char *) "self",(char *) "rect", NULL
37177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37179 if (!SWIG_IsOK(res1
)) {
37180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37182 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37185 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37189 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37190 wxPyEndAllowThreads(__tstate
);
37191 if (PyErr_Occurred()) SWIG_fail
;
37193 resultobj
= SWIG_Py_Void();
37200 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37201 PyObject
*resultobj
= 0;
37202 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37203 wxPoint
*arg2
= 0 ;
37209 PyObject
* obj0
= 0 ;
37210 PyObject
* obj1
= 0 ;
37211 PyObject
* obj2
= 0 ;
37212 char * kwnames
[] = {
37213 (char *) "self",(char *) "pt",(char *) "sz", NULL
37216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37218 if (!SWIG_IsOK(res1
)) {
37219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37221 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37224 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37228 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37232 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37233 wxPyEndAllowThreads(__tstate
);
37234 if (PyErr_Occurred()) SWIG_fail
;
37236 resultobj
= SWIG_Py_Void();
37243 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37244 PyObject
*resultobj
= 0;
37245 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37263 PyObject
* obj0
= 0 ;
37264 PyObject
* obj1
= 0 ;
37265 PyObject
* obj2
= 0 ;
37266 PyObject
* obj3
= 0 ;
37267 PyObject
* obj4
= 0 ;
37268 PyObject
* obj5
= 0 ;
37269 char * kwnames
[] = {
37270 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37275 if (!SWIG_IsOK(res1
)) {
37276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37278 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37280 if (!SWIG_IsOK(ecode2
)) {
37281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37283 arg2
= static_cast< int >(val2
);
37284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37285 if (!SWIG_IsOK(ecode3
)) {
37286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37288 arg3
= static_cast< int >(val3
);
37289 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37290 if (!SWIG_IsOK(ecode4
)) {
37291 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37293 arg4
= static_cast< int >(val4
);
37294 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37295 if (!SWIG_IsOK(ecode5
)) {
37296 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37298 arg5
= static_cast< int >(val5
);
37299 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37300 if (!SWIG_IsOK(ecode6
)) {
37301 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37303 arg6
= static_cast< double >(val6
);
37305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37306 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37307 wxPyEndAllowThreads(__tstate
);
37308 if (PyErr_Occurred()) SWIG_fail
;
37310 resultobj
= SWIG_Py_Void();
37317 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37318 PyObject
*resultobj
= 0;
37319 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37327 PyObject
* obj0
= 0 ;
37328 PyObject
* obj1
= 0 ;
37329 PyObject
* obj2
= 0 ;
37330 char * kwnames
[] = {
37331 (char *) "self",(char *) "r",(char *) "radius", NULL
37334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37336 if (!SWIG_IsOK(res1
)) {
37337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37339 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37342 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37344 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37345 if (!SWIG_IsOK(ecode3
)) {
37346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37348 arg3
= static_cast< double >(val3
);
37350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37351 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37352 wxPyEndAllowThreads(__tstate
);
37353 if (PyErr_Occurred()) SWIG_fail
;
37355 resultobj
= SWIG_Py_Void();
37362 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37363 PyObject
*resultobj
= 0;
37364 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37365 wxPoint
*arg2
= 0 ;
37374 PyObject
* obj0
= 0 ;
37375 PyObject
* obj1
= 0 ;
37376 PyObject
* obj2
= 0 ;
37377 PyObject
* obj3
= 0 ;
37378 char * kwnames
[] = {
37379 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37384 if (!SWIG_IsOK(res1
)) {
37385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37387 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37390 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37394 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37396 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37397 if (!SWIG_IsOK(ecode4
)) {
37398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37400 arg4
= static_cast< double >(val4
);
37402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37403 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37404 wxPyEndAllowThreads(__tstate
);
37405 if (PyErr_Occurred()) SWIG_fail
;
37407 resultobj
= SWIG_Py_Void();
37414 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37415 PyObject
*resultobj
= 0;
37416 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37428 PyObject
* obj0
= 0 ;
37429 PyObject
* obj1
= 0 ;
37430 PyObject
* obj2
= 0 ;
37431 PyObject
* obj3
= 0 ;
37432 char * kwnames
[] = {
37433 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37438 if (!SWIG_IsOK(res1
)) {
37439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37441 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37443 if (!SWIG_IsOK(ecode2
)) {
37444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37446 arg2
= static_cast< int >(val2
);
37447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37448 if (!SWIG_IsOK(ecode3
)) {
37449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37451 arg3
= static_cast< int >(val3
);
37452 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37453 if (!SWIG_IsOK(ecode4
)) {
37454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37456 arg4
= static_cast< int >(val4
);
37458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37459 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37460 wxPyEndAllowThreads(__tstate
);
37461 if (PyErr_Occurred()) SWIG_fail
;
37463 resultobj
= SWIG_Py_Void();
37470 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37471 PyObject
*resultobj
= 0;
37472 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37473 wxPoint
*arg2
= 0 ;
37480 PyObject
* obj0
= 0 ;
37481 PyObject
* obj1
= 0 ;
37482 PyObject
* obj2
= 0 ;
37483 char * kwnames
[] = {
37484 (char *) "self",(char *) "pt",(char *) "radius", NULL
37487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37489 if (!SWIG_IsOK(res1
)) {
37490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37492 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37495 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37498 if (!SWIG_IsOK(ecode3
)) {
37499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37501 arg3
= static_cast< int >(val3
);
37503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37504 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37505 wxPyEndAllowThreads(__tstate
);
37506 if (PyErr_Occurred()) SWIG_fail
;
37508 resultobj
= SWIG_Py_Void();
37515 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37516 PyObject
*resultobj
= 0;
37517 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37532 PyObject
* obj0
= 0 ;
37533 PyObject
* obj1
= 0 ;
37534 PyObject
* obj2
= 0 ;
37535 PyObject
* obj3
= 0 ;
37536 PyObject
* obj4
= 0 ;
37537 char * kwnames
[] = {
37538 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37543 if (!SWIG_IsOK(res1
)) {
37544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37546 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37548 if (!SWIG_IsOK(ecode2
)) {
37549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37551 arg2
= static_cast< int >(val2
);
37552 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37553 if (!SWIG_IsOK(ecode3
)) {
37554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37556 arg3
= static_cast< int >(val3
);
37557 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37558 if (!SWIG_IsOK(ecode4
)) {
37559 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37561 arg4
= static_cast< int >(val4
);
37562 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37563 if (!SWIG_IsOK(ecode5
)) {
37564 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37566 arg5
= static_cast< int >(val5
);
37568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37569 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37570 wxPyEndAllowThreads(__tstate
);
37571 if (PyErr_Occurred()) SWIG_fail
;
37573 resultobj
= SWIG_Py_Void();
37580 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37581 PyObject
*resultobj
= 0;
37582 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37587 PyObject
* obj0
= 0 ;
37588 PyObject
* obj1
= 0 ;
37589 char * kwnames
[] = {
37590 (char *) "self",(char *) "rect", NULL
37593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37595 if (!SWIG_IsOK(res1
)) {
37596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37598 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37601 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37605 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37606 wxPyEndAllowThreads(__tstate
);
37607 if (PyErr_Occurred()) SWIG_fail
;
37609 resultobj
= SWIG_Py_Void();
37616 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37617 PyObject
*resultobj
= 0;
37618 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37619 wxPoint
*arg2
= 0 ;
37625 PyObject
* obj0
= 0 ;
37626 PyObject
* obj1
= 0 ;
37627 PyObject
* obj2
= 0 ;
37628 char * kwnames
[] = {
37629 (char *) "self",(char *) "pt",(char *) "sz", NULL
37632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37634 if (!SWIG_IsOK(res1
)) {
37635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37637 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37640 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37644 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37648 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37649 wxPyEndAllowThreads(__tstate
);
37650 if (PyErr_Occurred()) SWIG_fail
;
37652 resultobj
= SWIG_Py_Void();
37659 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37660 PyObject
*resultobj
= 0;
37661 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37673 PyObject
* obj0
= 0 ;
37674 PyObject
* obj1
= 0 ;
37675 PyObject
* obj2
= 0 ;
37676 PyObject
* obj3
= 0 ;
37677 char * kwnames
[] = {
37678 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37683 if (!SWIG_IsOK(res1
)) {
37684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37686 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37687 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37688 if (!SWIG_IsOK(res2
)) {
37689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37694 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37695 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37696 if (!SWIG_IsOK(ecode3
)) {
37697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37699 arg3
= static_cast< int >(val3
);
37700 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37701 if (!SWIG_IsOK(ecode4
)) {
37702 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37704 arg4
= static_cast< int >(val4
);
37706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37707 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37708 wxPyEndAllowThreads(__tstate
);
37709 if (PyErr_Occurred()) SWIG_fail
;
37711 resultobj
= SWIG_Py_Void();
37718 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37719 PyObject
*resultobj
= 0;
37720 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37722 wxPoint
*arg3
= 0 ;
37728 PyObject
* obj0
= 0 ;
37729 PyObject
* obj1
= 0 ;
37730 PyObject
* obj2
= 0 ;
37731 char * kwnames
[] = {
37732 (char *) "self",(char *) "icon",(char *) "pt", NULL
37735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37737 if (!SWIG_IsOK(res1
)) {
37738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37740 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37742 if (!SWIG_IsOK(res2
)) {
37743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37748 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37751 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37755 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37756 wxPyEndAllowThreads(__tstate
);
37757 if (PyErr_Occurred()) SWIG_fail
;
37759 resultobj
= SWIG_Py_Void();
37766 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37767 PyObject
*resultobj
= 0;
37768 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37769 wxBitmap
*arg2
= 0 ;
37772 bool arg5
= (bool) false ;
37783 PyObject
* obj0
= 0 ;
37784 PyObject
* obj1
= 0 ;
37785 PyObject
* obj2
= 0 ;
37786 PyObject
* obj3
= 0 ;
37787 PyObject
* obj4
= 0 ;
37788 char * kwnames
[] = {
37789 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37794 if (!SWIG_IsOK(res1
)) {
37795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37797 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37798 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37799 if (!SWIG_IsOK(res2
)) {
37800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37805 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37807 if (!SWIG_IsOK(ecode3
)) {
37808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37810 arg3
= static_cast< int >(val3
);
37811 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37812 if (!SWIG_IsOK(ecode4
)) {
37813 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37815 arg4
= static_cast< int >(val4
);
37817 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37818 if (!SWIG_IsOK(ecode5
)) {
37819 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37821 arg5
= static_cast< bool >(val5
);
37824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37825 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37826 wxPyEndAllowThreads(__tstate
);
37827 if (PyErr_Occurred()) SWIG_fail
;
37829 resultobj
= SWIG_Py_Void();
37836 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37837 PyObject
*resultobj
= 0;
37838 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37839 wxBitmap
*arg2
= 0 ;
37840 wxPoint
*arg3
= 0 ;
37841 bool arg4
= (bool) false ;
37849 PyObject
* obj0
= 0 ;
37850 PyObject
* obj1
= 0 ;
37851 PyObject
* obj2
= 0 ;
37852 PyObject
* obj3
= 0 ;
37853 char * kwnames
[] = {
37854 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37862 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37863 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37864 if (!SWIG_IsOK(res2
)) {
37865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37870 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37873 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37876 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37877 if (!SWIG_IsOK(ecode4
)) {
37878 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37880 arg4
= static_cast< bool >(val4
);
37883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37884 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37885 wxPyEndAllowThreads(__tstate
);
37886 if (PyErr_Occurred()) SWIG_fail
;
37888 resultobj
= SWIG_Py_Void();
37895 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37896 PyObject
*resultobj
= 0;
37897 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37898 wxString
*arg2
= 0 ;
37903 bool temp2
= false ;
37908 PyObject
* obj0
= 0 ;
37909 PyObject
* obj1
= 0 ;
37910 PyObject
* obj2
= 0 ;
37911 PyObject
* obj3
= 0 ;
37912 char * kwnames
[] = {
37913 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37918 if (!SWIG_IsOK(res1
)) {
37919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37921 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37923 arg2
= wxString_in_helper(obj1
);
37924 if (arg2
== NULL
) SWIG_fail
;
37927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37928 if (!SWIG_IsOK(ecode3
)) {
37929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37931 arg3
= static_cast< int >(val3
);
37932 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37933 if (!SWIG_IsOK(ecode4
)) {
37934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37936 arg4
= static_cast< int >(val4
);
37938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37939 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37940 wxPyEndAllowThreads(__tstate
);
37941 if (PyErr_Occurred()) SWIG_fail
;
37943 resultobj
= SWIG_Py_Void();
37958 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37959 PyObject
*resultobj
= 0;
37960 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37961 wxString
*arg2
= 0 ;
37962 wxPoint
*arg3
= 0 ;
37965 bool temp2
= false ;
37967 PyObject
* obj0
= 0 ;
37968 PyObject
* obj1
= 0 ;
37969 PyObject
* obj2
= 0 ;
37970 char * kwnames
[] = {
37971 (char *) "self",(char *) "text",(char *) "pt", NULL
37974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37976 if (!SWIG_IsOK(res1
)) {
37977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37979 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37981 arg2
= wxString_in_helper(obj1
);
37982 if (arg2
== NULL
) SWIG_fail
;
37987 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37991 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37992 wxPyEndAllowThreads(__tstate
);
37993 if (PyErr_Occurred()) SWIG_fail
;
37995 resultobj
= SWIG_Py_Void();
38010 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38011 PyObject
*resultobj
= 0;
38012 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38013 wxString
*arg2
= 0 ;
38019 bool temp2
= false ;
38026 PyObject
* obj0
= 0 ;
38027 PyObject
* obj1
= 0 ;
38028 PyObject
* obj2
= 0 ;
38029 PyObject
* obj3
= 0 ;
38030 PyObject
* obj4
= 0 ;
38031 char * kwnames
[] = {
38032 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
38035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38037 if (!SWIG_IsOK(res1
)) {
38038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38040 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38042 arg2
= wxString_in_helper(obj1
);
38043 if (arg2
== NULL
) SWIG_fail
;
38046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38047 if (!SWIG_IsOK(ecode3
)) {
38048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
38050 arg3
= static_cast< int >(val3
);
38051 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38052 if (!SWIG_IsOK(ecode4
)) {
38053 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
38055 arg4
= static_cast< int >(val4
);
38056 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
38057 if (!SWIG_IsOK(ecode5
)) {
38058 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
38060 arg5
= static_cast< double >(val5
);
38062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38063 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
38064 wxPyEndAllowThreads(__tstate
);
38065 if (PyErr_Occurred()) SWIG_fail
;
38067 resultobj
= SWIG_Py_Void();
38082 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38083 PyObject
*resultobj
= 0;
38084 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38085 wxString
*arg2
= 0 ;
38086 wxPoint
*arg3
= 0 ;
38090 bool temp2
= false ;
38094 PyObject
* obj0
= 0 ;
38095 PyObject
* obj1
= 0 ;
38096 PyObject
* obj2
= 0 ;
38097 PyObject
* obj3
= 0 ;
38098 char * kwnames
[] = {
38099 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38104 if (!SWIG_IsOK(res1
)) {
38105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38107 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38109 arg2
= wxString_in_helper(obj1
);
38110 if (arg2
== NULL
) SWIG_fail
;
38115 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38117 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38118 if (!SWIG_IsOK(ecode4
)) {
38119 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38121 arg4
= static_cast< double >(val4
);
38123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38124 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38125 wxPyEndAllowThreads(__tstate
);
38126 if (PyErr_Occurred()) SWIG_fail
;
38128 resultobj
= SWIG_Py_Void();
38143 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38144 PyObject
*resultobj
= 0;
38145 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38147 wxPoint
*arg3
= (wxPoint
*) 0 ;
38148 int arg4
= (int) 0 ;
38149 int arg5
= (int) 0 ;
38156 PyObject
* obj0
= 0 ;
38157 PyObject
* obj1
= 0 ;
38158 PyObject
* obj2
= 0 ;
38159 PyObject
* obj3
= 0 ;
38160 char * kwnames
[] = {
38161 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38166 if (!SWIG_IsOK(res1
)) {
38167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38169 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38171 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38172 if (arg3
== NULL
) SWIG_fail
;
38175 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38176 if (!SWIG_IsOK(ecode4
)) {
38177 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38179 arg4
= static_cast< int >(val4
);
38182 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38183 if (!SWIG_IsOK(ecode5
)) {
38184 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38186 arg5
= static_cast< int >(val5
);
38189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38190 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38191 wxPyEndAllowThreads(__tstate
);
38192 if (PyErr_Occurred()) SWIG_fail
;
38194 resultobj
= SWIG_Py_Void();
38196 if (arg3
) delete [] arg3
;
38201 if (arg3
) delete [] arg3
;
38207 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38208 PyObject
*resultobj
= 0;
38209 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38211 wxPoint
*arg3
= (wxPoint
*) 0 ;
38212 int arg4
= (int) 0 ;
38213 int arg5
= (int) 0 ;
38214 int arg6
= (int) wxODDEVEN_RULE
;
38223 PyObject
* obj0
= 0 ;
38224 PyObject
* obj1
= 0 ;
38225 PyObject
* obj2
= 0 ;
38226 PyObject
* obj3
= 0 ;
38227 PyObject
* obj4
= 0 ;
38228 char * kwnames
[] = {
38229 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38234 if (!SWIG_IsOK(res1
)) {
38235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38237 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38239 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38240 if (arg3
== NULL
) SWIG_fail
;
38243 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38244 if (!SWIG_IsOK(ecode4
)) {
38245 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38247 arg4
= static_cast< int >(val4
);
38250 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38251 if (!SWIG_IsOK(ecode5
)) {
38252 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38254 arg5
= static_cast< int >(val5
);
38257 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38258 if (!SWIG_IsOK(ecode6
)) {
38259 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38261 arg6
= static_cast< int >(val6
);
38264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38265 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38266 wxPyEndAllowThreads(__tstate
);
38267 if (PyErr_Occurred()) SWIG_fail
;
38269 resultobj
= SWIG_Py_Void();
38271 if (arg3
) delete [] arg3
;
38276 if (arg3
) delete [] arg3
;
38282 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38283 PyObject
*resultobj
= 0;
38284 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38285 wxString
*arg2
= 0 ;
38287 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38288 int arg5
= (int) -1 ;
38291 bool temp2
= false ;
38297 PyObject
* obj0
= 0 ;
38298 PyObject
* obj1
= 0 ;
38299 PyObject
* obj2
= 0 ;
38300 PyObject
* obj3
= 0 ;
38301 PyObject
* obj4
= 0 ;
38302 char * kwnames
[] = {
38303 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38308 if (!SWIG_IsOK(res1
)) {
38309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38311 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38313 arg2
= wxString_in_helper(obj1
);
38314 if (arg2
== NULL
) SWIG_fail
;
38319 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38322 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38323 if (!SWIG_IsOK(ecode4
)) {
38324 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38326 arg4
= static_cast< int >(val4
);
38329 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38330 if (!SWIG_IsOK(ecode5
)) {
38331 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38333 arg5
= static_cast< int >(val5
);
38336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38337 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38338 wxPyEndAllowThreads(__tstate
);
38339 if (PyErr_Occurred()) SWIG_fail
;
38341 resultobj
= SWIG_Py_Void();
38356 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38357 PyObject
*resultobj
= 0;
38358 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38359 wxString
*arg2
= 0 ;
38360 wxBitmap
*arg3
= 0 ;
38362 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38363 int arg6
= (int) -1 ;
38366 bool temp2
= false ;
38374 PyObject
* obj0
= 0 ;
38375 PyObject
* obj1
= 0 ;
38376 PyObject
* obj2
= 0 ;
38377 PyObject
* obj3
= 0 ;
38378 PyObject
* obj4
= 0 ;
38379 PyObject
* obj5
= 0 ;
38380 char * kwnames
[] = {
38381 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38386 if (!SWIG_IsOK(res1
)) {
38387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38389 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38391 arg2
= wxString_in_helper(obj1
);
38392 if (arg2
== NULL
) SWIG_fail
;
38395 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38396 if (!SWIG_IsOK(res3
)) {
38397 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38402 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38405 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38408 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38409 if (!SWIG_IsOK(ecode5
)) {
38410 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38412 arg5
= static_cast< int >(val5
);
38415 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38416 if (!SWIG_IsOK(ecode6
)) {
38417 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38419 arg6
= static_cast< int >(val6
);
38422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38423 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38424 wxPyEndAllowThreads(__tstate
);
38425 if (PyErr_Occurred()) SWIG_fail
;
38427 resultobj
= SWIG_Py_Void();
38442 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38443 PyObject
*resultobj
= 0;
38444 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38446 wxPoint
*arg3
= (wxPoint
*) 0 ;
38449 PyObject
* obj0
= 0 ;
38450 PyObject
* obj1
= 0 ;
38451 char * kwnames
[] = {
38452 (char *) "self",(char *) "points", NULL
38455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38457 if (!SWIG_IsOK(res1
)) {
38458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38460 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38462 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38463 if (arg3
== NULL
) SWIG_fail
;
38466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38467 (arg1
)->DrawSpline(arg2
,arg3
);
38468 wxPyEndAllowThreads(__tstate
);
38469 if (PyErr_Occurred()) SWIG_fail
;
38471 resultobj
= SWIG_Py_Void();
38473 if (arg3
) delete [] arg3
;
38478 if (arg3
) delete [] arg3
;
38484 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38485 PyObject
*resultobj
= 0;
38486 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38489 PyObject
*swig_obj
[1] ;
38491 if (!args
) SWIG_fail
;
38492 swig_obj
[0] = args
;
38493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38494 if (!SWIG_IsOK(res1
)) {
38495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38497 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38501 wxPyEndAllowThreads(__tstate
);
38502 if (PyErr_Occurred()) SWIG_fail
;
38504 resultobj
= SWIG_Py_Void();
38511 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38512 PyObject
*resultobj
= 0;
38513 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38519 PyObject
* obj0
= 0 ;
38520 PyObject
* obj1
= 0 ;
38521 char * kwnames
[] = {
38522 (char *) "self",(char *) "font", NULL
38525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38527 if (!SWIG_IsOK(res1
)) {
38528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38530 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38531 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38532 if (!SWIG_IsOK(res2
)) {
38533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38538 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38541 (arg1
)->SetFont((wxFont
const &)*arg2
);
38542 wxPyEndAllowThreads(__tstate
);
38543 if (PyErr_Occurred()) SWIG_fail
;
38545 resultobj
= SWIG_Py_Void();
38552 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38553 PyObject
*resultobj
= 0;
38554 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38560 PyObject
* obj0
= 0 ;
38561 PyObject
* obj1
= 0 ;
38562 char * kwnames
[] = {
38563 (char *) "self",(char *) "pen", NULL
38566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38568 if (!SWIG_IsOK(res1
)) {
38569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38571 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38572 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38573 if (!SWIG_IsOK(res2
)) {
38574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38577 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38579 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38582 (arg1
)->SetPen((wxPen
const &)*arg2
);
38583 wxPyEndAllowThreads(__tstate
);
38584 if (PyErr_Occurred()) SWIG_fail
;
38586 resultobj
= SWIG_Py_Void();
38593 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38594 PyObject
*resultobj
= 0;
38595 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38596 wxBrush
*arg2
= 0 ;
38601 PyObject
* obj0
= 0 ;
38602 PyObject
* obj1
= 0 ;
38603 char * kwnames
[] = {
38604 (char *) "self",(char *) "brush", NULL
38607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38609 if (!SWIG_IsOK(res1
)) {
38610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38612 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38614 if (!SWIG_IsOK(res2
)) {
38615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38620 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38623 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38624 wxPyEndAllowThreads(__tstate
);
38625 if (PyErr_Occurred()) SWIG_fail
;
38627 resultobj
= SWIG_Py_Void();
38634 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38635 PyObject
*resultobj
= 0;
38636 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38637 wxBrush
*arg2
= 0 ;
38642 PyObject
* obj0
= 0 ;
38643 PyObject
* obj1
= 0 ;
38644 char * kwnames
[] = {
38645 (char *) "self",(char *) "brush", NULL
38648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38650 if (!SWIG_IsOK(res1
)) {
38651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38653 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38655 if (!SWIG_IsOK(res2
)) {
38656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38661 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38664 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38665 wxPyEndAllowThreads(__tstate
);
38666 if (PyErr_Occurred()) SWIG_fail
;
38668 resultobj
= SWIG_Py_Void();
38675 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38676 PyObject
*resultobj
= 0;
38677 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38683 PyObject
* obj0
= 0 ;
38684 PyObject
* obj1
= 0 ;
38685 char * kwnames
[] = {
38686 (char *) "self",(char *) "mode", NULL
38689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38691 if (!SWIG_IsOK(res1
)) {
38692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38694 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38696 if (!SWIG_IsOK(ecode2
)) {
38697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38699 arg2
= static_cast< int >(val2
);
38701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38702 (arg1
)->SetBackgroundMode(arg2
);
38703 wxPyEndAllowThreads(__tstate
);
38704 if (PyErr_Occurred()) SWIG_fail
;
38706 resultobj
= SWIG_Py_Void();
38713 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38714 PyObject
*resultobj
= 0;
38715 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38716 wxPalette
*arg2
= 0 ;
38721 PyObject
* obj0
= 0 ;
38722 PyObject
* obj1
= 0 ;
38723 char * kwnames
[] = {
38724 (char *) "self",(char *) "palette", NULL
38727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38729 if (!SWIG_IsOK(res1
)) {
38730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38732 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38733 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38734 if (!SWIG_IsOK(res2
)) {
38735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38738 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38740 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38743 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38744 wxPyEndAllowThreads(__tstate
);
38745 if (PyErr_Occurred()) SWIG_fail
;
38747 resultobj
= SWIG_Py_Void();
38754 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38755 PyObject
*resultobj
= 0;
38756 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38757 wxColour
*arg2
= 0 ;
38761 PyObject
* obj0
= 0 ;
38762 PyObject
* obj1
= 0 ;
38763 char * kwnames
[] = {
38764 (char *) "self",(char *) "colour", NULL
38767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38769 if (!SWIG_IsOK(res1
)) {
38770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38772 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38775 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38779 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38780 wxPyEndAllowThreads(__tstate
);
38781 if (PyErr_Occurred()) SWIG_fail
;
38783 resultobj
= SWIG_Py_Void();
38790 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38791 PyObject
*resultobj
= 0;
38792 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38793 wxColour
*arg2
= 0 ;
38797 PyObject
* obj0
= 0 ;
38798 PyObject
* obj1
= 0 ;
38799 char * kwnames
[] = {
38800 (char *) "self",(char *) "colour", NULL
38803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38805 if (!SWIG_IsOK(res1
)) {
38806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38808 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38811 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38815 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38816 wxPyEndAllowThreads(__tstate
);
38817 if (PyErr_Occurred()) SWIG_fail
;
38819 resultobj
= SWIG_Py_Void();
38826 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38827 PyObject
*resultobj
= 0;
38828 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38834 PyObject
* obj0
= 0 ;
38835 PyObject
* obj1
= 0 ;
38836 char * kwnames
[] = {
38837 (char *) "self",(char *) "function", NULL
38840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38842 if (!SWIG_IsOK(res1
)) {
38843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38845 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38847 if (!SWIG_IsOK(ecode2
)) {
38848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38850 arg2
= static_cast< int >(val2
);
38852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38853 (arg1
)->SetLogicalFunction(arg2
);
38854 wxPyEndAllowThreads(__tstate
);
38855 if (PyErr_Occurred()) SWIG_fail
;
38857 resultobj
= SWIG_Py_Void();
38864 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38867 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38868 return SWIG_Py_Void();
38871 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38872 return SWIG_Python_InitShadowInstance(args
);
38875 static PyMethodDef SwigMethods
[] = {
38876 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38877 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38878 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38879 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38880 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38881 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38883 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38884 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38885 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38886 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38887 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38888 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38889 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38890 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38892 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38893 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38895 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38896 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38899 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38900 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38901 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38903 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38906 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38907 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38908 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38909 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38910 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38911 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38912 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38913 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38914 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38915 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38916 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38917 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38918 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38920 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38922 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38924 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38925 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38926 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38928 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38929 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38931 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38932 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38933 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38934 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38936 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38937 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38938 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38939 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38940 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
38941 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38942 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38943 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38944 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38946 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38948 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38952 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38953 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38954 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38955 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38956 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38957 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38958 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38960 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38961 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38964 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38965 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38967 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38968 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38969 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38971 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38972 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38973 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38974 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38975 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38976 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38977 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38978 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38979 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38980 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38981 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38982 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38983 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38984 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38985 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38986 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38987 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38988 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38989 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38990 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38991 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38992 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38993 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38995 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38996 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38997 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38998 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38999 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39000 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39001 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
39002 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39003 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39004 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
39005 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
39006 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
39007 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
39008 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
39009 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
39010 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
39011 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
39012 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
39013 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39014 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
39015 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
39016 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39018 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39019 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39020 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39021 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
39022 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39023 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39024 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39025 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
39026 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
39027 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
39028 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39029 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
39030 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
39031 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39032 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39033 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39034 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
39035 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
39036 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
39037 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
39038 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39039 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39040 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39041 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39042 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
39043 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
39044 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39045 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
39046 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
39047 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39048 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
39049 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39050 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
39051 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
39052 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
39053 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
39054 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39056 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
39057 { (char *)"IconBundle_IsOk", (PyCFunction
)_wrap_IconBundle_IsOk
, METH_O
, NULL
},
39058 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39060 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39061 { (char *)"IconBundle_GetIconOfExactSize", (PyCFunction
) _wrap_IconBundle_GetIconOfExactSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39062 { (char *)"IconBundle_GetIconCount", (PyCFunction
)_wrap_IconBundle_GetIconCount
, METH_O
, NULL
},
39063 { (char *)"IconBundle_GetIconByIndex", (PyCFunction
) _wrap_IconBundle_GetIconByIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39064 { (char *)"IconBundle_IsEmpty", (PyCFunction
)_wrap_IconBundle_IsEmpty
, METH_O
, NULL
},
39065 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
39066 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
39067 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39068 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
39069 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
39072 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
39073 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
39074 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39078 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
39079 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
39080 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39082 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39083 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39084 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39085 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39086 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39090 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39093 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39099 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39100 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39101 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39103 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39104 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39105 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39106 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39107 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39108 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39109 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39110 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39111 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39112 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39113 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39114 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39115 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39116 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39117 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39118 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39119 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39120 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39121 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39122 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39123 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39125 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39126 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39127 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39128 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39129 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39130 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39131 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39140 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39141 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39142 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39143 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39144 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39145 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39146 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39147 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39148 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39149 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39150 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39151 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39152 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39153 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39154 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39155 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39158 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39159 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39160 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39163 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39169 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39171 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39172 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39174 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39175 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39177 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39183 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39186 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39187 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39188 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39189 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39190 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39191 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39192 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39193 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39194 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39195 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39196 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39197 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39198 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39208 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39209 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39210 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39211 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39212 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39214 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39215 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39216 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39217 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39218 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39219 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39220 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39222 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39223 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39224 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39225 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39227 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39228 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39229 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39230 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39231 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39232 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39233 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39234 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39235 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39237 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39238 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39239 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39240 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39241 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39242 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39243 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39244 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39245 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39246 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39247 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39250 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39257 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39258 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39259 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39260 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39261 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39262 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39264 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39265 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39266 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39267 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39268 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39269 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39270 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39276 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39277 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39278 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39279 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39280 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39281 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39300 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"DC_StretchBlit", (PyCFunction
) _wrap_DC_StretchBlit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"DC_StretchBlitPointSize", (PyCFunction
) _wrap_DC_StretchBlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39330 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39332 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39333 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39334 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39341 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39342 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39343 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39344 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39345 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39350 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39351 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39352 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39353 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39362 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39363 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39364 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39365 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39366 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39367 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39368 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39369 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39370 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39371 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39372 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39373 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39374 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39375 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39376 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39378 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39380 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39382 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39383 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39386 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39387 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39388 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39390 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39391 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39392 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39393 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39394 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39395 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39396 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39397 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39398 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39399 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39400 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39401 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39402 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39403 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39404 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39405 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39407 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39410 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39411 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39412 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39413 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39414 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39415 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39416 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39417 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39418 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39419 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39420 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39421 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39422 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39423 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39424 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39425 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39426 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39427 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39429 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39430 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39431 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39432 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39433 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39434 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39435 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39436 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39437 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39438 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39440 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39441 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39442 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39446 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39447 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39448 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39449 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39450 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39452 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39453 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39454 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39456 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39457 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39459 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39460 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39461 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39463 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39464 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39466 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39467 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39468 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39469 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39470 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39471 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39473 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39474 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39475 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39476 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39477 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39478 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39479 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39480 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39481 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39482 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39483 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39484 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39486 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39487 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39489 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39490 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39491 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39492 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39493 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39494 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39495 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39496 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39497 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39498 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39499 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39500 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39501 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39502 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39503 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39504 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39505 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39506 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39507 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
39509 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39510 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39511 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39512 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39514 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39515 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39516 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39517 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39518 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39519 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39520 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39521 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39522 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39523 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39524 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39525 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39526 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39527 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39534 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39537 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39538 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39539 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39540 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39541 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39542 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39545 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39552 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39553 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39556 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39557 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
39558 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39565 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39566 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39567 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39568 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39570 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39573 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39576 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39578 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39580 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39583 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39586 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39587 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39588 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39589 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39590 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39591 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39593 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39594 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39595 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39597 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39598 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39599 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39600 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39601 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39602 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39603 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39604 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39605 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39606 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39607 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39608 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39609 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39610 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39611 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39612 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39613 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39614 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39615 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39616 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39617 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39619 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39620 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39621 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39622 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39623 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39624 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39625 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39626 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39627 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39628 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39629 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39631 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39632 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39633 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39634 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39635 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39636 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39638 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39639 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39640 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39641 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39642 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39643 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39644 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39645 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39646 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39647 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39648 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39649 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39650 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39651 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39652 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39653 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39654 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39655 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39657 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39658 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39659 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39660 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39661 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39662 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39663 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39664 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39665 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39666 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39667 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39668 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39669 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39670 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39671 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39672 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39673 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39674 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39675 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39677 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39679 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39680 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39681 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39682 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39683 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39684 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39685 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39686 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39687 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39688 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39689 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39690 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39691 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39692 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39693 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39694 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39695 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39696 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39697 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39698 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39699 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39700 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39701 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39702 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39703 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39704 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39705 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39706 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39707 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39708 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39709 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39710 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39711 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39712 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39713 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39719 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39720 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39722 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39723 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39724 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39725 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39726 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39727 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39728 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39729 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39730 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39731 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39732 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39733 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39734 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39735 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39736 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39737 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39740 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39741 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39742 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39743 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39744 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39745 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39748 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39749 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39751 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39757 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39761 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39762 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39763 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39764 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39765 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39766 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39767 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39768 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39769 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39772 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39773 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39776 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39778 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39779 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39780 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39781 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39782 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39783 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39784 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39786 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39787 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39788 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39789 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39790 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39791 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39792 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39800 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39801 { NULL
, NULL
, 0, NULL
}
39805 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39807 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39808 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39810 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39811 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39813 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39814 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39816 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39817 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39819 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39820 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39822 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39823 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39825 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39826 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39828 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39829 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39831 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39832 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39834 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39835 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39837 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39838 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39840 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39841 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39843 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39844 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39846 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39847 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39849 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39850 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39852 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39853 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39855 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39856 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39858 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39859 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39861 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39862 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39864 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39865 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39867 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39868 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39870 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39871 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39873 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39874 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39876 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39877 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39879 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39880 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39882 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39883 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39885 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39886 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39888 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39889 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39891 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39892 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39894 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39895 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39897 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39898 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39900 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39901 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39903 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39904 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39906 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39907 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39909 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39910 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39912 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39913 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39915 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39916 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39918 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39919 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39921 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39922 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39924 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39925 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39927 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39928 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39930 static void *_p_wxPenTo_p_wxObject(void *x
) {
39931 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39933 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39934 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39936 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
39937 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
39939 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39940 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39942 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39943 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39945 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39946 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39948 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39949 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39951 static void *_p_wxIconTo_p_wxObject(void *x
) {
39952 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39954 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39955 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39957 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39958 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39960 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39961 return (void *)((wxObject
*) ((wxSizer
*) x
));
39963 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39964 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39966 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39967 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39969 static void *_p_wxEventTo_p_wxObject(void *x
) {
39970 return (void *)((wxObject
*) ((wxEvent
*) x
));
39972 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39973 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39975 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39976 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39978 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39979 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39981 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39982 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39984 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39985 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39987 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39988 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39990 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39991 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39993 static void *_p_wxDCTo_p_wxObject(void *x
) {
39994 return (void *)((wxObject
*) ((wxDC
*) x
));
39996 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39997 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39999 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40000 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40002 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40003 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40005 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40006 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40008 static void *_p_wxControlTo_p_wxObject(void *x
) {
40009 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40011 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
40012 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40014 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40015 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40017 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
40018 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
40020 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40021 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40023 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
40024 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
40026 static void *_p_wxRegionTo_p_wxObject(void *x
) {
40027 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
40029 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40030 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40032 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
40033 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
40035 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
40036 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
40038 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
40039 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
40041 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
40042 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40044 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
40045 return (void *)((wxObject
*) ((wxEffects
*) x
));
40047 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40048 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40050 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40051 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40053 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
40054 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
40056 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
40057 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40059 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40060 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40062 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40063 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40065 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40066 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40068 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40069 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40071 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40072 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40074 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40075 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40077 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40078 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40080 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40081 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40083 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40084 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40086 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40087 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40089 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40090 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40092 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40093 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40095 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40096 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40098 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40099 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40101 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40102 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40104 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40105 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40107 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40108 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40110 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40111 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40113 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40114 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40116 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40117 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40119 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40120 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40122 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40123 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40125 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40126 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40128 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40129 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40131 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40132 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40134 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40135 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40137 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40138 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40140 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40141 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40143 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40144 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40146 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40147 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40149 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40150 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40152 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40153 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40155 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40156 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40158 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40159 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40161 static void *_p_wxImageTo_p_wxObject(void *x
) {
40162 return (void *)((wxObject
*) ((wxImage
*) x
));
40164 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40165 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40167 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40168 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40170 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40171 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40173 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40174 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40176 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40177 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40179 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40180 return (void *)((wxObject
*) ((wxImageList
*) x
));
40182 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40183 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40185 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40186 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40188 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40189 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40191 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40192 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40194 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40195 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40197 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40198 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40200 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40201 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40203 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40204 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40206 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40207 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40209 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40210 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40212 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40213 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40215 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40216 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40218 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40219 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40221 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40222 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40224 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40225 return (void *)((wxObject
*) ((wxMask
*) x
));
40227 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40228 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40230 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40231 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40233 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40234 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40236 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40237 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40239 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40240 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40242 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40243 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40245 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40246 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40248 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40249 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40251 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40252 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40254 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40255 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40257 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40258 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40260 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40261 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40263 static void *_p_wxFontTo_p_wxObject(void *x
) {
40264 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40266 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40267 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40269 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40270 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40272 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40275 static void *_p_wxColourTo_p_wxObject(void *x
) {
40276 return (void *)((wxObject
*) ((wxColour
*) x
));
40278 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40279 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40281 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40282 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40284 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40285 return (void *)((wxWindow
*) ((wxControl
*) x
));
40287 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40288 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40290 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40291 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40293 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40294 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40296 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40297 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40299 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40300 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40301 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40302 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};
40303 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40304 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40305 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40306 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40307 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40308 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40309 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40310 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40311 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40312 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40313 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40314 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40315 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40316 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40317 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40318 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40319 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40320 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40321 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40322 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40323 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40324 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40325 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40326 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40327 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40328 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40329 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40330 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40331 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40332 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40333 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40334 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40335 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40336 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40337 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40338 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40339 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40340 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40341 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40342 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40343 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40344 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40345 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40346 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40347 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40348 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40349 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40350 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40351 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40352 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40353 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40354 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40355 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40356 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40357 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40358 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40359 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40360 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40361 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40362 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40363 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
40364 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40365 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40366 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40367 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40368 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40369 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40370 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40371 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40372 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40373 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40374 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40375 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40376 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40377 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40378 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40379 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40380 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40381 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40382 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40383 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40384 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40385 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40386 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40387 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40388 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40389 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40390 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40391 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40392 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40393 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40394 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40395 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40396 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40397 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40398 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40399 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40400 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40401 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40402 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40403 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40404 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40405 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40406 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40407 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40408 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40409 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40410 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40411 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40412 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40413 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40414 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40415 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40416 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40417 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40418 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40419 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40420 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40421 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40422 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40423 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40424 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40425 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40426 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40427 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40428 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40429 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40430 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40431 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40432 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40433 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40434 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40435 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40436 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40437 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40438 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40439 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40440 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40441 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40442 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40443 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40444 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40445 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40446 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40447 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40448 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40449 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40450 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40451 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40452 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40453 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40454 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40455 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40456 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
40457 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40458 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40459 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40460 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40461 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40462 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40463 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40464 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40465 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40466 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40467 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40469 static swig_type_info
*swig_type_initial
[] = {
40473 &_swigt__p_form_ops_t
,
40475 &_swigt__p_unsigned_char
,
40476 &_swigt__p_unsigned_int
,
40477 &_swigt__p_unsigned_long
,
40479 &_swigt__p_wxANIHandler
,
40480 &_swigt__p_wxAcceleratorTable
,
40481 &_swigt__p_wxActivateEvent
,
40482 &_swigt__p_wxAlphaPixelData
,
40483 &_swigt__p_wxAlphaPixelData_Accessor
,
40484 &_swigt__p_wxAutoBufferedPaintDC
,
40485 &_swigt__p_wxBMPHandler
,
40486 &_swigt__p_wxBitmap
,
40487 &_swigt__p_wxBoxSizer
,
40488 &_swigt__p_wxBrush
,
40489 &_swigt__p_wxBrushList
,
40490 &_swigt__p_wxBufferedDC
,
40491 &_swigt__p_wxBufferedPaintDC
,
40492 &_swigt__p_wxCURHandler
,
40493 &_swigt__p_wxChildFocusEvent
,
40494 &_swigt__p_wxClientDC
,
40495 &_swigt__p_wxClipboardTextEvent
,
40496 &_swigt__p_wxCloseEvent
,
40497 &_swigt__p_wxColour
,
40498 &_swigt__p_wxColourDatabase
,
40499 &_swigt__p_wxCommandEvent
,
40500 &_swigt__p_wxContextMenuEvent
,
40501 &_swigt__p_wxControl
,
40502 &_swigt__p_wxControlWithItems
,
40503 &_swigt__p_wxCursor
,
40505 &_swigt__p_wxDCBrushChanger
,
40506 &_swigt__p_wxDCClipper
,
40507 &_swigt__p_wxDCOverlay
,
40508 &_swigt__p_wxDCPenChanger
,
40509 &_swigt__p_wxDCTextColourChanger
,
40511 &_swigt__p_wxDateEvent
,
40512 &_swigt__p_wxDisplayChangedEvent
,
40513 &_swigt__p_wxDropFilesEvent
,
40514 &_swigt__p_wxDuplexMode
,
40515 &_swigt__p_wxEffects
,
40516 &_swigt__p_wxEncodingConverter
,
40517 &_swigt__p_wxEraseEvent
,
40518 &_swigt__p_wxEvent
,
40519 &_swigt__p_wxEventBlocker
,
40520 &_swigt__p_wxEvtHandler
,
40521 &_swigt__p_wxFSFile
,
40522 &_swigt__p_wxFileSystem
,
40523 &_swigt__p_wxFlexGridSizer
,
40524 &_swigt__p_wxFocusEvent
,
40526 &_swigt__p_wxFontList
,
40527 &_swigt__p_wxFontMapper
,
40528 &_swigt__p_wxGBSizerItem
,
40530 &_swigt__p_wxGDIObjListBase
,
40531 &_swigt__p_wxGDIObject
,
40532 &_swigt__p_wxGIFHandler
,
40533 &_swigt__p_wxGraphicsBrush
,
40534 &_swigt__p_wxGraphicsContext
,
40535 &_swigt__p_wxGraphicsFont
,
40536 &_swigt__p_wxGraphicsMatrix
,
40537 &_swigt__p_wxGraphicsObject
,
40538 &_swigt__p_wxGraphicsPath
,
40539 &_swigt__p_wxGraphicsPen
,
40540 &_swigt__p_wxGraphicsRenderer
,
40541 &_swigt__p_wxGridBagSizer
,
40542 &_swigt__p_wxGridSizer
,
40543 &_swigt__p_wxHeaderButtonParams
,
40544 &_swigt__p_wxICOHandler
,
40546 &_swigt__p_wxIconBundle
,
40547 &_swigt__p_wxIconLocation
,
40548 &_swigt__p_wxIconizeEvent
,
40549 &_swigt__p_wxIdleEvent
,
40550 &_swigt__p_wxImage
,
40551 &_swigt__p_wxImageHandler
,
40552 &_swigt__p_wxImageList
,
40553 &_swigt__p_wxIndividualLayoutConstraint
,
40554 &_swigt__p_wxInitDialogEvent
,
40555 &_swigt__p_wxJPEGHandler
,
40556 &_swigt__p_wxKeyEvent
,
40557 &_swigt__p_wxLanguageInfo
,
40558 &_swigt__p_wxLayoutConstraints
,
40559 &_swigt__p_wxLocale
,
40561 &_swigt__p_wxMaximizeEvent
,
40562 &_swigt__p_wxMemoryDC
,
40564 &_swigt__p_wxMenuBar
,
40565 &_swigt__p_wxMenuEvent
,
40566 &_swigt__p_wxMenuItem
,
40567 &_swigt__p_wxMetaFile
,
40568 &_swigt__p_wxMetaFileDC
,
40569 &_swigt__p_wxMirrorDC
,
40570 &_swigt__p_wxMouseCaptureChangedEvent
,
40571 &_swigt__p_wxMouseCaptureLostEvent
,
40572 &_swigt__p_wxMouseEvent
,
40573 &_swigt__p_wxMoveEvent
,
40574 &_swigt__p_wxNativeEncodingInfo
,
40575 &_swigt__p_wxNativeFontInfo
,
40576 &_swigt__p_wxNativePixelData
,
40577 &_swigt__p_wxNativePixelData_Accessor
,
40578 &_swigt__p_wxNavigationKeyEvent
,
40579 &_swigt__p_wxNcPaintEvent
,
40580 &_swigt__p_wxNotifyEvent
,
40581 &_swigt__p_wxObject
,
40582 &_swigt__p_wxOverlay
,
40583 &_swigt__p_wxPCXHandler
,
40584 &_swigt__p_wxPNGHandler
,
40585 &_swigt__p_wxPNMHandler
,
40586 &_swigt__p_wxPaintDC
,
40587 &_swigt__p_wxPaintEvent
,
40588 &_swigt__p_wxPalette
,
40589 &_swigt__p_wxPaletteChangedEvent
,
40590 &_swigt__p_wxPaperSize
,
40592 &_swigt__p_wxPenList
,
40593 &_swigt__p_wxPixelDataBase
,
40594 &_swigt__p_wxPoint
,
40595 &_swigt__p_wxPoint2D
,
40596 &_swigt__p_wxPostScriptDC
,
40597 &_swigt__p_wxPrintData
,
40598 &_swigt__p_wxPrinterDC
,
40599 &_swigt__p_wxPseudoDC
,
40600 &_swigt__p_wxPyApp
,
40601 &_swigt__p_wxPyCommandEvent
,
40602 &_swigt__p_wxPyEvent
,
40603 &_swigt__p_wxPyFontEnumerator
,
40604 &_swigt__p_wxPyImageHandler
,
40605 &_swigt__p_wxPyLocale
,
40606 &_swigt__p_wxPySizer
,
40607 &_swigt__p_wxPyValidator
,
40608 &_swigt__p_wxQueryNewPaletteEvent
,
40610 &_swigt__p_wxRect2D
,
40611 &_swigt__p_wxRegion
,
40612 &_swigt__p_wxRegionIterator
,
40613 &_swigt__p_wxRendererNative
,
40614 &_swigt__p_wxRendererVersion
,
40615 &_swigt__p_wxScreenDC
,
40616 &_swigt__p_wxScrollEvent
,
40617 &_swigt__p_wxScrollWinEvent
,
40618 &_swigt__p_wxSetCursorEvent
,
40619 &_swigt__p_wxShowEvent
,
40621 &_swigt__p_wxSizeEvent
,
40622 &_swigt__p_wxSizer
,
40623 &_swigt__p_wxSizerItem
,
40624 &_swigt__p_wxSplitterRenderParams
,
40625 &_swigt__p_wxStaticBoxSizer
,
40626 &_swigt__p_wxStdDialogButtonSizer
,
40627 &_swigt__p_wxStockGDI
,
40628 &_swigt__p_wxString
,
40629 &_swigt__p_wxSysColourChangedEvent
,
40630 &_swigt__p_wxTGAHandler
,
40631 &_swigt__p_wxTIFFHandler
,
40632 &_swigt__p_wxUpdateUIEvent
,
40633 &_swigt__p_wxValidator
,
40634 &_swigt__p_wxWindow
,
40635 &_swigt__p_wxWindowCreateEvent
,
40636 &_swigt__p_wxWindowDC
,
40637 &_swigt__p_wxWindowDestroyEvent
,
40638 &_swigt__p_wxXPMHandler
,
40641 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40642 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40643 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40644 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40645 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40646 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40647 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40648 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40649 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40650 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40651 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40652 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40653 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40654 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40655 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40656 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}};
40657 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40658 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}};
40659 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40660 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40661 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40662 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}};
40663 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40664 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40665 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40666 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40667 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40668 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40669 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40670 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40671 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40672 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40673 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40674 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40675 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40676 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}};
40677 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}};
40678 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40679 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40680 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40681 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40682 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}};
40683 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40684 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40685 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40686 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40687 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40688 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40689 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40690 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40691 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40692 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40693 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}};
40694 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40695 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}};
40696 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40697 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40698 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40699 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40700 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40701 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40702 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40703 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40704 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
40705 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40706 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40707 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40708 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40709 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40710 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40711 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40712 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40713 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40714 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40715 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40716 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40717 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40718 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40719 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40720 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40721 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40722 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40723 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40724 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40725 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40726 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40727 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40728 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40729 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40730 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40731 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40732 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40733 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40734 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40735 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40736 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40737 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40738 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40739 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40740 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40741 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40742 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40743 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40744 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40745 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40746 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40747 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40748 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40749 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40750 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40751 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40752 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40753 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40754 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40755 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40756 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40757 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40758 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40759 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40760 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40761 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40762 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40763 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40764 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40765 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40766 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40767 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40768 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40769 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40770 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40771 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40772 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40773 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40774 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40775 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40776 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40777 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40778 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40779 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40780 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40781 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_wxEventBlocker
, _p_wxEventBlockerTo_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_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_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_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_wxDateEvent
, _p_wxDateEventTo_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}};
40782 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40783 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40784 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40785 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40786 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40787 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40788 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}};
40789 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40790 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40791 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40792 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40793 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40794 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40795 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40796 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40797 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40798 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
40799 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40800 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40801 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40802 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40803 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40804 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40805 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40806 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40807 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40808 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}};
40809 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}};
40811 static swig_cast_info
*swig_cast_initial
[] = {
40815 _swigc__p_form_ops_t
,
40817 _swigc__p_unsigned_char
,
40818 _swigc__p_unsigned_int
,
40819 _swigc__p_unsigned_long
,
40821 _swigc__p_wxANIHandler
,
40822 _swigc__p_wxAcceleratorTable
,
40823 _swigc__p_wxActivateEvent
,
40824 _swigc__p_wxAlphaPixelData
,
40825 _swigc__p_wxAlphaPixelData_Accessor
,
40826 _swigc__p_wxAutoBufferedPaintDC
,
40827 _swigc__p_wxBMPHandler
,
40828 _swigc__p_wxBitmap
,
40829 _swigc__p_wxBoxSizer
,
40831 _swigc__p_wxBrushList
,
40832 _swigc__p_wxBufferedDC
,
40833 _swigc__p_wxBufferedPaintDC
,
40834 _swigc__p_wxCURHandler
,
40835 _swigc__p_wxChildFocusEvent
,
40836 _swigc__p_wxClientDC
,
40837 _swigc__p_wxClipboardTextEvent
,
40838 _swigc__p_wxCloseEvent
,
40839 _swigc__p_wxColour
,
40840 _swigc__p_wxColourDatabase
,
40841 _swigc__p_wxCommandEvent
,
40842 _swigc__p_wxContextMenuEvent
,
40843 _swigc__p_wxControl
,
40844 _swigc__p_wxControlWithItems
,
40845 _swigc__p_wxCursor
,
40847 _swigc__p_wxDCBrushChanger
,
40848 _swigc__p_wxDCClipper
,
40849 _swigc__p_wxDCOverlay
,
40850 _swigc__p_wxDCPenChanger
,
40851 _swigc__p_wxDCTextColourChanger
,
40853 _swigc__p_wxDateEvent
,
40854 _swigc__p_wxDisplayChangedEvent
,
40855 _swigc__p_wxDropFilesEvent
,
40856 _swigc__p_wxDuplexMode
,
40857 _swigc__p_wxEffects
,
40858 _swigc__p_wxEncodingConverter
,
40859 _swigc__p_wxEraseEvent
,
40861 _swigc__p_wxEventBlocker
,
40862 _swigc__p_wxEvtHandler
,
40863 _swigc__p_wxFSFile
,
40864 _swigc__p_wxFileSystem
,
40865 _swigc__p_wxFlexGridSizer
,
40866 _swigc__p_wxFocusEvent
,
40868 _swigc__p_wxFontList
,
40869 _swigc__p_wxFontMapper
,
40870 _swigc__p_wxGBSizerItem
,
40872 _swigc__p_wxGDIObjListBase
,
40873 _swigc__p_wxGDIObject
,
40874 _swigc__p_wxGIFHandler
,
40875 _swigc__p_wxGraphicsBrush
,
40876 _swigc__p_wxGraphicsContext
,
40877 _swigc__p_wxGraphicsFont
,
40878 _swigc__p_wxGraphicsMatrix
,
40879 _swigc__p_wxGraphicsObject
,
40880 _swigc__p_wxGraphicsPath
,
40881 _swigc__p_wxGraphicsPen
,
40882 _swigc__p_wxGraphicsRenderer
,
40883 _swigc__p_wxGridBagSizer
,
40884 _swigc__p_wxGridSizer
,
40885 _swigc__p_wxHeaderButtonParams
,
40886 _swigc__p_wxICOHandler
,
40888 _swigc__p_wxIconBundle
,
40889 _swigc__p_wxIconLocation
,
40890 _swigc__p_wxIconizeEvent
,
40891 _swigc__p_wxIdleEvent
,
40893 _swigc__p_wxImageHandler
,
40894 _swigc__p_wxImageList
,
40895 _swigc__p_wxIndividualLayoutConstraint
,
40896 _swigc__p_wxInitDialogEvent
,
40897 _swigc__p_wxJPEGHandler
,
40898 _swigc__p_wxKeyEvent
,
40899 _swigc__p_wxLanguageInfo
,
40900 _swigc__p_wxLayoutConstraints
,
40901 _swigc__p_wxLocale
,
40903 _swigc__p_wxMaximizeEvent
,
40904 _swigc__p_wxMemoryDC
,
40906 _swigc__p_wxMenuBar
,
40907 _swigc__p_wxMenuEvent
,
40908 _swigc__p_wxMenuItem
,
40909 _swigc__p_wxMetaFile
,
40910 _swigc__p_wxMetaFileDC
,
40911 _swigc__p_wxMirrorDC
,
40912 _swigc__p_wxMouseCaptureChangedEvent
,
40913 _swigc__p_wxMouseCaptureLostEvent
,
40914 _swigc__p_wxMouseEvent
,
40915 _swigc__p_wxMoveEvent
,
40916 _swigc__p_wxNativeEncodingInfo
,
40917 _swigc__p_wxNativeFontInfo
,
40918 _swigc__p_wxNativePixelData
,
40919 _swigc__p_wxNativePixelData_Accessor
,
40920 _swigc__p_wxNavigationKeyEvent
,
40921 _swigc__p_wxNcPaintEvent
,
40922 _swigc__p_wxNotifyEvent
,
40923 _swigc__p_wxObject
,
40924 _swigc__p_wxOverlay
,
40925 _swigc__p_wxPCXHandler
,
40926 _swigc__p_wxPNGHandler
,
40927 _swigc__p_wxPNMHandler
,
40928 _swigc__p_wxPaintDC
,
40929 _swigc__p_wxPaintEvent
,
40930 _swigc__p_wxPalette
,
40931 _swigc__p_wxPaletteChangedEvent
,
40932 _swigc__p_wxPaperSize
,
40934 _swigc__p_wxPenList
,
40935 _swigc__p_wxPixelDataBase
,
40937 _swigc__p_wxPoint2D
,
40938 _swigc__p_wxPostScriptDC
,
40939 _swigc__p_wxPrintData
,
40940 _swigc__p_wxPrinterDC
,
40941 _swigc__p_wxPseudoDC
,
40943 _swigc__p_wxPyCommandEvent
,
40944 _swigc__p_wxPyEvent
,
40945 _swigc__p_wxPyFontEnumerator
,
40946 _swigc__p_wxPyImageHandler
,
40947 _swigc__p_wxPyLocale
,
40948 _swigc__p_wxPySizer
,
40949 _swigc__p_wxPyValidator
,
40950 _swigc__p_wxQueryNewPaletteEvent
,
40952 _swigc__p_wxRect2D
,
40953 _swigc__p_wxRegion
,
40954 _swigc__p_wxRegionIterator
,
40955 _swigc__p_wxRendererNative
,
40956 _swigc__p_wxRendererVersion
,
40957 _swigc__p_wxScreenDC
,
40958 _swigc__p_wxScrollEvent
,
40959 _swigc__p_wxScrollWinEvent
,
40960 _swigc__p_wxSetCursorEvent
,
40961 _swigc__p_wxShowEvent
,
40963 _swigc__p_wxSizeEvent
,
40965 _swigc__p_wxSizerItem
,
40966 _swigc__p_wxSplitterRenderParams
,
40967 _swigc__p_wxStaticBoxSizer
,
40968 _swigc__p_wxStdDialogButtonSizer
,
40969 _swigc__p_wxStockGDI
,
40970 _swigc__p_wxString
,
40971 _swigc__p_wxSysColourChangedEvent
,
40972 _swigc__p_wxTGAHandler
,
40973 _swigc__p_wxTIFFHandler
,
40974 _swigc__p_wxUpdateUIEvent
,
40975 _swigc__p_wxValidator
,
40976 _swigc__p_wxWindow
,
40977 _swigc__p_wxWindowCreateEvent
,
40978 _swigc__p_wxWindowDC
,
40979 _swigc__p_wxWindowDestroyEvent
,
40980 _swigc__p_wxXPMHandler
,
40984 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40986 static swig_const_info swig_const_table
[] = {
40987 {0, 0, 0, 0.0, 0, 0}};
40992 /* -----------------------------------------------------------------------------
40993 * Type initialization:
40994 * This problem is tough by the requirement that no dynamic
40995 * memory is used. Also, since swig_type_info structures store pointers to
40996 * swig_cast_info structures and swig_cast_info structures store pointers back
40997 * to swig_type_info structures, we need some lookup code at initialization.
40998 * The idea is that swig generates all the structures that are needed.
40999 * The runtime then collects these partially filled structures.
41000 * The SWIG_InitializeModule function takes these initial arrays out of
41001 * swig_module, and does all the lookup, filling in the swig_module.types
41002 * array with the correct data and linking the correct swig_cast_info
41003 * structures together.
41005 * The generated swig_type_info structures are assigned staticly to an initial
41006 * array. We just loop though that array, and handle each type individually.
41007 * First we lookup if this type has been already loaded, and if so, use the
41008 * loaded structure instead of the generated one. Then we have to fill in the
41009 * cast linked list. The cast data is initially stored in something like a
41010 * two-dimensional array. Each row corresponds to a type (there are the same
41011 * number of rows as there are in the swig_type_initial array). Each entry in
41012 * a column is one of the swig_cast_info structures for that type.
41013 * The cast_initial array is actually an array of arrays, because each row has
41014 * a variable number of columns. So to actually build the cast linked list,
41015 * we find the array of casts associated with the type, and loop through it
41016 * adding the casts to the list. The one last trick we need to do is making
41017 * sure the type pointer in the swig_cast_info struct is correct.
41019 * First off, we lookup the cast->type name to see if it is already loaded.
41020 * There are three cases to handle:
41021 * 1) If the cast->type has already been loaded AND the type we are adding
41022 * casting info to has not been loaded (it is in this module), THEN we
41023 * replace the cast->type pointer with the type pointer that has already
41025 * 2) If BOTH types (the one we are adding casting info to, and the
41026 * cast->type) are loaded, THEN the cast info has already been loaded by
41027 * the previous module so we just ignore it.
41028 * 3) Finally, if cast->type has not already been loaded, then we add that
41029 * swig_cast_info to the linked list (because the cast->type) pointer will
41031 * ----------------------------------------------------------------------------- */
41041 #define SWIGRUNTIME_DEBUG
41045 SWIG_InitializeModule(void *clientdata
) {
41047 swig_module_info
*module_head
;
41048 static int init_run
= 0;
41050 clientdata
= clientdata
;
41052 if (init_run
) return;
41055 /* Initialize the swig_module */
41056 swig_module
.type_initial
= swig_type_initial
;
41057 swig_module
.cast_initial
= swig_cast_initial
;
41059 /* Try and load any already created modules */
41060 module_head
= SWIG_GetModule(clientdata
);
41062 swig_module
.next
= module_head
->next
;
41063 module_head
->next
= &swig_module
;
41065 /* This is the first module loaded */
41066 swig_module
.next
= &swig_module
;
41067 SWIG_SetModule(clientdata
, &swig_module
);
41070 /* Now work on filling in swig_module.types */
41071 #ifdef SWIGRUNTIME_DEBUG
41072 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41074 for (i
= 0; i
< swig_module
.size
; ++i
) {
41075 swig_type_info
*type
= 0;
41076 swig_type_info
*ret
;
41077 swig_cast_info
*cast
;
41079 #ifdef SWIGRUNTIME_DEBUG
41080 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41083 /* if there is another module already loaded */
41084 if (swig_module
.next
!= &swig_module
) {
41085 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41088 /* Overwrite clientdata field */
41089 #ifdef SWIGRUNTIME_DEBUG
41090 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41092 if (swig_module
.type_initial
[i
]->clientdata
) {
41093 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41094 #ifdef SWIGRUNTIME_DEBUG
41095 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41099 type
= swig_module
.type_initial
[i
];
41102 /* Insert casting types */
41103 cast
= swig_module
.cast_initial
[i
];
41104 while (cast
->type
) {
41105 /* Don't need to add information already in the list */
41107 #ifdef SWIGRUNTIME_DEBUG
41108 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41110 if (swig_module
.next
!= &swig_module
) {
41111 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41112 #ifdef SWIGRUNTIME_DEBUG
41113 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41117 if (type
== swig_module
.type_initial
[i
]) {
41118 #ifdef SWIGRUNTIME_DEBUG
41119 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41124 /* Check for casting already in the list */
41125 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41126 #ifdef SWIGRUNTIME_DEBUG
41127 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41129 if (!ocast
) ret
= 0;
41134 #ifdef SWIGRUNTIME_DEBUG
41135 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41138 type
->cast
->prev
= cast
;
41139 cast
->next
= type
->cast
;
41145 /* Set entry in modules->types array equal to the type */
41146 swig_module
.types
[i
] = type
;
41148 swig_module
.types
[i
] = 0;
41150 #ifdef SWIGRUNTIME_DEBUG
41151 printf("**** SWIG_InitializeModule: Cast List ******\n");
41152 for (i
= 0; i
< swig_module
.size
; ++i
) {
41154 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41155 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41156 while (cast
->type
) {
41157 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41161 printf("---- Total casts: %d\n",j
);
41163 printf("**** SWIG_InitializeModule: Cast List ******\n");
41167 /* This function will propagate the clientdata field of type to
41168 * any new swig_type_info structures that have been added into the list
41169 * of equivalent types. It is like calling
41170 * SWIG_TypeClientData(type, clientdata) a second time.
41173 SWIG_PropagateClientData(void) {
41175 swig_cast_info
*equiv
;
41176 static int init_run
= 0;
41178 if (init_run
) return;
41181 for (i
= 0; i
< swig_module
.size
; i
++) {
41182 if (swig_module
.types
[i
]->clientdata
) {
41183 equiv
= swig_module
.types
[i
]->cast
;
41185 if (!equiv
->converter
) {
41186 if (equiv
->type
&& !equiv
->type
->clientdata
)
41187 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41189 equiv
= equiv
->next
;
41209 /* Python-specific SWIG API */
41210 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41211 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41212 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41214 /* -----------------------------------------------------------------------------
41215 * global variable support code.
41216 * ----------------------------------------------------------------------------- */
41218 typedef struct swig_globalvar
{
41219 char *name
; /* Name of global variable */
41220 PyObject
*(*get_attr
)(void); /* Return the current value */
41221 int (*set_attr
)(PyObject
*); /* Set the value */
41222 struct swig_globalvar
*next
;
41225 typedef struct swig_varlinkobject
{
41227 swig_globalvar
*vars
;
41228 } swig_varlinkobject
;
41230 SWIGINTERN PyObject
*
41231 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41232 return PyString_FromString("<Swig global variables>");
41235 SWIGINTERN PyObject
*
41236 swig_varlink_str(swig_varlinkobject
*v
) {
41237 PyObject
*str
= PyString_FromString("(");
41238 swig_globalvar
*var
;
41239 for (var
= v
->vars
; var
; var
=var
->next
) {
41240 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41241 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41243 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41248 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41249 PyObject
*str
= swig_varlink_str(v
);
41250 fprintf(fp
,"Swig global variables ");
41251 fprintf(fp
,"%s\n", PyString_AsString(str
));
41257 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41258 swig_globalvar
*var
= v
->vars
;
41260 swig_globalvar
*n
= var
->next
;
41267 SWIGINTERN PyObject
*
41268 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41269 PyObject
*res
= NULL
;
41270 swig_globalvar
*var
= v
->vars
;
41272 if (strcmp(var
->name
,n
) == 0) {
41273 res
= (*var
->get_attr
)();
41278 if (res
== NULL
&& !PyErr_Occurred()) {
41279 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41285 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41287 swig_globalvar
*var
= v
->vars
;
41289 if (strcmp(var
->name
,n
) == 0) {
41290 res
= (*var
->set_attr
)(p
);
41295 if (res
== 1 && !PyErr_Occurred()) {
41296 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41301 SWIGINTERN PyTypeObject
*
41302 swig_varlink_type(void) {
41303 static char varlink__doc__
[] = "Swig var link object";
41304 static PyTypeObject varlink_type
;
41305 static int type_init
= 0;
41307 const PyTypeObject tmp
41309 PyObject_HEAD_INIT(NULL
)
41310 0, /* Number of items in variable part (ob_size) */
41311 (char *)"swigvarlink", /* Type name (tp_name) */
41312 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41313 0, /* Itemsize (tp_itemsize) */
41314 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41315 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41316 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41317 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41318 0, /* tp_compare */
41319 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41320 0, /* tp_as_number */
41321 0, /* tp_as_sequence */
41322 0, /* tp_as_mapping */
41325 (reprfunc
)swig_varlink_str
, /* tp_str */
41326 0, /* tp_getattro */
41327 0, /* tp_setattro */
41328 0, /* tp_as_buffer */
41330 varlink__doc__
, /* tp_doc */
41331 0, /* tp_traverse */
41333 0, /* tp_richcompare */
41334 0, /* tp_weaklistoffset */
41335 #if PY_VERSION_HEX >= 0x02020000
41336 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41338 #if PY_VERSION_HEX >= 0x02030000
41341 #ifdef COUNT_ALLOCS
41342 0,0,0,0 /* tp_alloc -> tp_next */
41345 varlink_type
= tmp
;
41346 varlink_type
.ob_type
= &PyType_Type
;
41349 return &varlink_type
;
41352 /* Create a variable linking object for use later */
41353 SWIGINTERN PyObject
*
41354 SWIG_Python_newvarlink(void) {
41355 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41359 return ((PyObject
*) result
);
41363 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41364 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41365 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41367 size_t size
= strlen(name
)+1;
41368 gv
->name
= (char *)malloc(size
);
41370 strncpy(gv
->name
,name
,size
);
41371 gv
->get_attr
= get_attr
;
41372 gv
->set_attr
= set_attr
;
41373 gv
->next
= v
->vars
;
41379 SWIGINTERN PyObject
*
41381 static PyObject
*_SWIG_globals
= 0;
41382 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41383 return _SWIG_globals
;
41386 /* -----------------------------------------------------------------------------
41387 * constants/methods manipulation
41388 * ----------------------------------------------------------------------------- */
41390 /* Install Constants */
41392 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41395 for (i
= 0; constants
[i
].type
; ++i
) {
41396 switch(constants
[i
].type
) {
41397 case SWIG_PY_POINTER
:
41398 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41400 case SWIG_PY_BINARY
:
41401 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41408 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41414 /* -----------------------------------------------------------------------------*/
41415 /* Fix SwigMethods to carry the callback ptrs when needed */
41416 /* -----------------------------------------------------------------------------*/
41419 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41420 swig_const_info
*const_table
,
41421 swig_type_info
**types
,
41422 swig_type_info
**types_initial
) {
41424 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41425 const char *c
= methods
[i
].ml_doc
;
41426 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41428 swig_const_info
*ci
= 0;
41429 const char *name
= c
+ 10;
41430 for (j
= 0; const_table
[j
].type
; ++j
) {
41431 if (strncmp(const_table
[j
].name
, name
,
41432 strlen(const_table
[j
].name
)) == 0) {
41433 ci
= &(const_table
[j
]);
41438 size_t shift
= (ci
->ptype
) - types
;
41439 swig_type_info
*ty
= types_initial
[shift
];
41440 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41441 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41442 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41445 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41447 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41449 strncpy(buff
, "swig_ptr: ", 10);
41451 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41452 methods
[i
].ml_doc
= ndoc
;
41464 /* -----------------------------------------------------------------------------*
41465 * Partial Init method
41466 * -----------------------------------------------------------------------------*/
41471 SWIGEXPORT
void SWIG_init(void) {
41474 /* Fix SwigMethods to carry the callback ptrs when needed */
41475 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41477 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41478 d
= PyModule_GetDict(m
);
41480 SWIG_InitializeModule(0);
41481 SWIG_InstallConstants(d
,swig_const_table
);
41484 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41485 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41486 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41487 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41488 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41489 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41490 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41491 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41492 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41493 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41494 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41495 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41496 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41497 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41498 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41499 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41500 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41501 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41502 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41503 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41504 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41505 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41506 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41507 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41508 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41509 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41510 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41511 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41512 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41513 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41514 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41515 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41516 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41517 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41518 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41519 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41520 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41521 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41522 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41523 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41524 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41525 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41526 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41527 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41528 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41529 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41530 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41531 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41532 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41533 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41534 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41535 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41536 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41537 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41538 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41539 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41540 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41541 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41542 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41543 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41544 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41545 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41546 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41547 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41548 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41549 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41550 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41551 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41552 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41553 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41554 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41555 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41556 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41557 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41558 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41559 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41560 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41561 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41562 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41563 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41564 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41565 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41566 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41567 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41568 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41569 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41570 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41571 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41572 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41573 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41574 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41575 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41576 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41577 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41578 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41579 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41580 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41581 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41582 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41583 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41584 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41585 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41586 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41587 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41588 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41589 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41590 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41591 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41592 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41593 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41594 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41595 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41596 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41597 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41598 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41599 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41600 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41601 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41602 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41603 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41604 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41605 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41606 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41607 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41608 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41609 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41610 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41611 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41612 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41613 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41614 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41615 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41617 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41619 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41620 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41621 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41622 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41623 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41624 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41625 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41626 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41627 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41628 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41629 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41630 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41631 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41632 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41633 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41634 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41635 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41636 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41637 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41638 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41639 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41640 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41641 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41642 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41643 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41644 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41645 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41646 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41647 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41648 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41649 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41650 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41651 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41652 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41653 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41654 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41655 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41656 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41657 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41658 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41659 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41660 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41661 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41662 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41663 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41664 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41665 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41666 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41667 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41668 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41669 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41670 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41671 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41672 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41673 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41674 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41675 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41676 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41677 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41678 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41679 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41680 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41681 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41682 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41683 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41684 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41685 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41686 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41687 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41688 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41689 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41690 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41691 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41692 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41693 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41694 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41695 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41696 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41697 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41698 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41699 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41700 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41701 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41702 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41703 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41704 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41705 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41706 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41707 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41708 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41709 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41710 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41711 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41712 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41713 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41714 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41715 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41716 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41717 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41718 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41719 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41720 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41721 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41722 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41723 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41724 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41725 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41726 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41727 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41728 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41729 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41730 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41731 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41732 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41733 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41734 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41735 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41736 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41737 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41738 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41739 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41740 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41741 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41742 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41743 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41744 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41745 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41746 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41747 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41748 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41749 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41750 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41751 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41752 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41753 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41754 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41755 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41756 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41757 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41758 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41759 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41760 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41761 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41762 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41763 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41764 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41765 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41766 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41767 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41768 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41769 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41770 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41771 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41772 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41773 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41774 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41775 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41776 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41777 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41778 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41779 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41780 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41781 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41782 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41783 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41784 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41785 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41786 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41787 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41788 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41789 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41790 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41791 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41792 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41793 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41794 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41795 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41796 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41797 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41798 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41799 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41800 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41801 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41802 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41803 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41804 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41805 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41806 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41807 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41808 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41809 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41810 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41811 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41812 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41813 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41814 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41815 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41816 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41817 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41818 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41819 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41820 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41821 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41822 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41823 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41824 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41825 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41826 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41827 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41828 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41829 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41830 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41831 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41832 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41833 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41834 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41835 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41836 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41837 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41838 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41839 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41840 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41841 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41842 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41843 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41844 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41845 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41846 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41847 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41848 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41849 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41850 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41851 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41852 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41853 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41854 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41855 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41856 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41857 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41858 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41859 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41860 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41861 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41862 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41863 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41864 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41865 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41866 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41867 SWIG_Python_SetConstant(d
, "BUFFER_USES_SHARED_BUFFER",SWIG_From_int(static_cast< int >(wxBUFFER_USES_SHARED_BUFFER
)));
41868 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41869 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41870 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41871 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41872 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41873 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41874 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41875 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41876 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41877 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41878 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41879 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41880 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41881 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41882 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41883 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41884 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41885 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41886 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41887 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41888 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41889 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41890 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41891 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41892 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41893 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41894 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41895 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41896 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41897 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41898 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41899 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41900 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41901 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41902 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41903 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41904 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41905 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41906 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41907 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41908 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41909 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41910 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41911 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41912 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41913 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41914 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41915 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41916 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41917 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41918 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41919 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41920 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41921 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41922 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41923 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41924 SWIG_addvarlink(SWIG_globals(),(char*)"NullIconBundle",NullIconBundle_get
, NullIconBundle_set
);
41925 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41926 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41927 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41928 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41929 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41930 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41931 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41932 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41933 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41934 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41935 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41936 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41937 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41938 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41939 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41940 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41941 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41942 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41943 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41944 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41946 // Work around a chicken/egg problem in drawlist.cpp
41947 wxPyDrawList_SetAPIPtr();